Langchain tools
Skill a5c-ai/babysitter/library/specializations/ai-agents-conversational/skills/langchain-tools
LangChain tool creation and integration utilities for agent systemsFrom its SKILL.md
npx -y skills add a5c-ai/babysitter --skill langchain-toolsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.5 KB, 217 tokens by cl100k_base, as published. Nobody here has run it
LangChain Tools Skill
Capabilities
- Create custom LangChain tools with proper schemas
- Integrate existing tools and APIs
- Design tool descriptions for optimal LLM understanding
- Implement structured tool inputs with Pydantic
- Handle tool errors and fallbacks
- Create tool chains and pipelines
Target Processes
- custom-tool-development
- function-calling-agent
Implementation Details
Tool Creation Patterns
- @tool decorator: Simple function-based tools
- StructuredTool: Tools with complex input schemas
- BaseTool subclass: Full control over tool behavior
- Tool from functions: Dynamic tool creation
Configuration Options
- Tool name and description
- Input schema (args_schema)
- Return type specification
- Error handling strategy
- Async/sync execution modes
Best Practices
- Clear, action-oriented descriptions
- Explicit input parameter documentation
- Proper error messages for LLM understanding
- Idempotent operations where possible
Dependencies
- langchain-core
- pydantic
What ships with it: 1 file
593 B alongside SKILL.md
- README.md593 B