Build LangChain (Python) tools using Claude Code's fail-closed design pattern — unified name/schema/security/execution in one class, with automatic three-layer execution (validate → permission → call). Use this skill whenever the user wants to define a new LangChain tool, add permission or validation logic to an existing tool, set up the ClaudeStyleTool base class in a project, or asks about "build_tool", "Claude Code style tool", "工具定义", or "langchain tool with permissions". Also trigger when the user says "create a tool for X" or "定义一个工具" in a LangChain Python project context, even without mentioning Claude Code explicitly.
$npx -y skills add simbajigege/book2skills --skill langchain-tool-builderInstalls into the current project.
Run `npx skills use "https://github.com/simbajigege/book2skills" --skill "simbajigege/book2skills/langchain-tool-builder"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/simbajigege/book2skills" that are relevant to the current task. Run `npx skills add "https://github.com/simbajigege/book2skills"` and select the relevant skills, then follow their instructions.