a5c-ai/babysitter / library/specializations/ai-agents-conversational/skills/langchain-tools
langchain-tools
VerifiedLangChain tool creation and integration utilities for agent systems
SKILL.md
View on GitHub---
name: langchain-tools
description: LangChain tool creation and integration utilities for agent systems
allowed-tools:
- Read
- Write
- Edit
- Bash
- Glob
- Grep
graph:
domains: [domain:software-engineering]
specializations: [specialization:ai-agents-conversational]
skillAreas: [skill-area:tool-use, skill-area:tool-service-integration-agents]
roles: [role:ml-engineer, role:backend-engineer]
workflows: [workflow:feature-development, workflow:ml-model-lifecycle]
topics: [topic:api-design]
---
# 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
1. **@tool decorator**: Simple function-based tools
2. **StructuredTool**: Tools with complex input schemas
3. **BaseTool subclass**: Full control over tool behavior
4. **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
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |