chain-patterns

Solid

Chain patterns for CC 2.1.71 pipelines — MCP detection, handoff files, checkpoint-resume, worktree agents, CronCreate monitoring. Use when building multi-phase pipeline skills. Loaded via skills: field by pipeline skills (fix-issue, implement, brainstorm, verify). Not user-invocable.

AI & Automation 180 stars 15 forks Updated today MIT

Install

View on GitHub

Quality Score: 86/100

Stars 20%
75
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Chain Patterns ## Overview Foundation patterns for CC 2.1.71 pipeline skills. This skill is loaded via the `skills:` frontmatter field — it provides patterns that parent skills follow. ## Pattern 1: MCP Detection (ToolSearch Probe) Run BEFORE any MCP tool call. Probes are parallel and instant. ```python # FIRST thing in any pipeline skill — all in ONE message: ToolSearch(query="select:mcp__memory__search_nodes") ToolSearch(query="select:mcp__context7__resolve-library-id") ToolSearch(query="select:mcp__sequential-thinking__sequentialthinking") # Store results for all phases: Write(".claude/chain/capabilities.json", JSON.stringify({ "memory": true_or_false, "context7": true_or_false, "sequential": true_or_false, "timestamp": "ISO-8601" })) ``` **Usage in phases:** ```python # BEFORE any mcp__memory__ call: if capabilities.memory: mcp__memory__search_nodes(query="...") # else: skip gracefully, no error ``` Load details: `Read("${CLAUDE_SKILL_DIR}/references/mcp-detection.md")` ## Pattern 2: Handoff Files Write structured JSON after every major phase. Survives context compaction and rate limits. ```python Write(".claude/chain/NN-phase-name.json", JSON.stringify({ "phase": "rca", "skill": "fix-issue", "timestamp": "ISO-8601", "status": "completed", "outputs": { ... }, # phase-specific results "mcps_used": ["memory"], "next_phase": 5 })) ``` **Location:** `.claude/chain/` — numbered files for ordering, descriptive names for clarity....

Details

Author
yonatangross
Repository
yonatangross/orchestkit
Created
5 months ago
Last Updated
today
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

cm-skill-chain

Skill Chain Engine — compose skills into automated pipelines. One task triggers multi-skill workflows with progress tracking, auto-detection, and step management.

44 Updated today
tody-agent
AI & Automation Solid

when-chaining-agent-pipelines-use-stream-chain

Chain agent outputs as inputs in sequential or parallel pipelines for data flow orchestration

335 Updated today
aiskillstore
AI & Automation Listed

claws-skill-chaining

Mid-execution Skill→Skill invocation — how a skill delegates to another via the Skill tool, inheriting full context and decision logic without restarting the session.

9 Updated 2 days ago
neunaha
Data & Documents Listed

cli-forge-pipeline

Expert CI/CD pipeline optimizer using biomimetic patterns from nature: leafcutter ants (task partitioning), slime mold (adaptive path optimization), army ants (self-organizing parallelism), honeybees (dynamic resource allocation), and mycelium (fault-tolerant routing). Works with any CI system — examples cover both GitLab CI and GitHub Actions. Use this skill whenever the user asks to optimize, design, review, speed up, parallelize, or fix a CI/CD pipeline. Also triggers on: "slow pipeline", "flaky tests", "runners", "artifacts", "CI cache", "parallel build", "GitLab CI", "GitHub Actions", "pipeline design", "reduce build time", DAG pipelines, job dependencies, or any request mixing infrastructure + automation + deployment. Use it even when the user just pastes a YAML pipeline without asking explicitly.

4 Updated yesterday
Destynova2
AI & Automation Listed

skill-factory

Analyze session work and automatically convert reusable patterns into Claude Code skills. Use when: "세션을 스킬로", "스킬 만들어", "이거 스킬로", "skill factory", "이 작업 자동화해", "스킬 추출", "make this a skill", "extract skill", "convert to skill", "스킬 팩토리", "자동 스킬 생성". Differs from skill-creator (archived) and manage-skills (drift detection): this skill actively analyzes sessions, checks for duplicates, and creates skills via Agent Teams.

4 Updated today
immacualate