langchain-builder
- Repo stars 0
- Author repo skills-registry
LangChain Builder
Build LangChain chains, agents, and tool integrations with scaffolding, validation, and template generation.
What it does
Scaffolds LangChain projects, generates chain and agent configurations, creates prompt templates, and validates chain configs for common errors. Produces ready-to-run Python files with proper imports and structure.
Commands
| Command | Description |
|---|---|
init <project> |
Scaffold a new LangChain project with requirements.txt and project structure |
chain <type> --name <n> |
Generate a chain template: llm, sequential, router |
agent <tools> |
Generate an agent config with specified tools (search, calculator, python_repl) |
prompt <description> |
Create a prompt template from a natural language description |
validate <file> |
Check a chain/agent Python file for common configuration errors |
Examples
python3 langchain_builder.py init my-rag-app
python3 langchain_builder.py chain llm --name summarizer
python3 langchain_builder.py agent search,calculator
python3 langchain_builder.py prompt "Summarize a document in 3 bullet points"
python3 langchain_builder.py validate my_chain.py
Chain types
- llm — Single LLMChain with prompt + model
- sequential — SequentialChain connecting multiple LLMChains
- router — RouterChain that selects sub-chains based on input classification
Generated files include
- Proper
langchainimports (community packages where needed) - Environment variable loading via
python-dotenv - Error handling and type hints
- Runnable patterns (LangChain Expression Language where applicable)
<!-- tomevault:4.0:skill_md:2026-05-23 -->Source: Danielhogben/hermes-skills — distributed by TomeVault.
- Fluxly category
- AI
- Author-declared agents
- No explicit declaration found; this is not inferred or tested compatibility
- Static check
- 88 / 100 · heuristic scan, not runtime safety proof
- Author / version / license
- @tomevault-io · no license declared
- Fluxly token estimate
- Lean
- Fluxly setup estimate
- Plug-and-play
- External API key
- No requirement detected
- Detected OS requirements
- Unspecified
- Runtime requirements
- Python
- Detected file/system behavior
-
- Read-only
- Write / modify
- Env read
- Detected network behavior
- Local-only
- Install commands
- None (reference only)
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
The current SKILL.md does not define a fixed output example. Scaffolds LangChain projects, generates chain and agent configurations, creates prompt templates, and validates chain configs for common errors. Produces ready-to-run Python files with proper imports and structure.
Command · Description init <project> · Scaffold a new LangChain project with requirements.txt and project structure chain <type> --name <n> · Generate a chain template: llm, sequential, router
Examples
llm — Single LLMChain with prompt + model sequential — SequentialChain connecting multiple LLMChains router — RouterChain that selects sub-chains based on input classification
Proper langchain imports (community packages where needed) Environment variable loading via python-dotenv Error handling and type hints
# LangChain Builder
Build LangChain chains, agents, and tool integrations with scaffolding, validation, and template generation.
## What it does
Scaffolds LangChain projects, generates chain and agent configurations, creates prompt templates, and validates chain configs for common errors. Produces ready-to-run Python files with proper imports and structure.
## Commands
| Command | Description |
|---------|-------------|
| `init <project>` | Scaffold a new LangChain project with requirements.txt and project structure |
| `chain <type> --name <n>` | Generate a chain template: `llm`, `sequential`, `router` |
| `agent <tools>` | Generate an agent config with specified tools (search, calculator, python_repl) |
| `prompt <description>` | Create a prompt template from a natural language description |
| `validate <file>` | Check a chain/agent Python file for common configuration errors |
## Examples
```bash
python3 langchain_builder.py init my-rag-app
python3 langchain_builder.py chain llm --name summarizer
python3 langchain_builder.py agent search,calculator
python3 langchain_builder.py prompt "Summarize a document in 3 bullet points"
python3 langchain_builder.py validate my_chain.py
```
## Chain types
- **llm** — Single LLMChain with prompt + model
- **sequential** — SequentialChain connecting multiple LLMChains
- **router** — RouterChain that selects sub-chains based on input classification
## Generated files include
- Proper `langchain` imports (community packages where needed)
- Environment variable loading via `python-dotenv`
- Error handling and type hints
- Runnable patterns (LangChain Expression Language where applicable)
---
… Author text anchors workflow facts; Fluxly only indexes current sections, terms, files, and commands.
sections -> What it does → Commands → Examples → Chain types → Generated files include
terms -> llm · sequential · router · Build LangChain chains, agents, and tool integrations with scaffolding, validation, and template generation. · --- > Source: [Danielhogben/hermes-skills](https://github.com/Danielhogben/hermes-skills) — distributed by [TomeVault](https://tomevault.io).
files/cmd -> init <project> · chain <type> --name <n> · llm · sequential · router · agent <tools> · prompt <description> · validate <file>
body sha256 -> c94fce76139b
Decide Fit First
Design Intent
How To Use It
Boundaries And Review