Skip to content
Back to skills

Langchain Chains

ASecurity

LangChain chain composition including SequentialChain, RouterChain, and LCEL patterns

  • 1,760 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 2, 2026
ai-agentsbashexpressbackend

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 2, 2026

npx -y skills add a5c-ai/babysitter --skill langchain-chains --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Langchain Chains?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Langchain Chains
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/a5c-ai-langchain-chains-babysitter/badge)](https://www.skillsdirectory.com/skills/a5c-ai-langchain-chains-babysitter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: langchain-chains
description: LangChain chain composition including SequentialChain, RouterChain, and LCEL patterns
allowed-tools:
  - Read
  - Write
  - Edit
  - Bash
  - Glob
  - Grep
graph:
  domains: [domain:software-engineering]
  specializations: [specialization:ai-agents-conversational]
  skillAreas: [skill-area:chain-of-thought-multistep-orchestration, skill-area:tool-service-integration-agents]
  roles: [role:ml-engineer, role:backend-engineer]
  workflows: [workflow:feature-development, workflow:ml-model-lifecycle]
  topics: [topic:design-patterns]

---

# LangChain Chains Skill

## Capabilities

- Compose LangChain chains using LCEL (LangChain Expression Language)
- Implement sequential chain patterns
- Design router chains for conditional logic
- Create parallel execution chains
- Handle chain fallbacks and retries
- Implement streaming chains

## Target Processes

- dialogue-flow-design
- chatbot-design-implementation

## Implementation Details

### Chain Patterns

1. **LCEL Pipelines**: Modern composition with | operator
2. **SequentialChain**: Linear chain execution (legacy)
3. **RouterChain**: Conditional routing based on input
4. **RunnableParallel**: Parallel execution branches
5. **RunnableBranch**: Conditional branching

### Configuration Options

- Input/output key mapping
- Error handling strategies
- Retry configuration
- Streaming settings
- Batch processing options

### Best Practices

- Use LCEL for new implementations
- Implement proper input/output schemas
- Add fallback chains for resilience
- Use streaming for long operations

### Dependencies

- langchain-core
- langchain

Files in this skill

  • README.md634 B
  • SKILL.md1.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…