chain-patterns SKILL.md skillA
chain-patterns from yonatangross/orchestkit is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add yonatangross/orchestkit/chain-patterns@v1.0.0Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- yonatangross/orchestkit
- Path
plugins/ork/skills/chain-patterns/SKILL.md- Versions recorded
- 12
- Latest version
- v1.0.0, committed Nov 4, 2026
- First version recorded
- Aug 11, 2026
- Size
- 21,051 bytes
- Repository stars
- 299
- License
- MIT
Multi-phase pipeline patterns: MCP detection, handoff files, checkpoint-resume, worktree agents, cron monitoring. Use when building or debugging a pipeline skill.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 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("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({
…Read the whole file at its exact version.
How to install
mdr add yonatangross/orchestkit/chain-patterns@sha256:8ba3f5a2160b39d4The line at the top of this page pins the label v1.0.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_m66mmdw7sjb6t2vs)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 12 versions of this file, between Aug 11, 2026 and Nov 4, 2026, about one every 8 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.0.0 latest | 2026-11-04 | 3036b27 | 21,051 B | A | view · diff |
| v1.0.0 | 2026-10-11 | 1894035 | 21,068 B | A | view · diff |
| v1.0.0 | 2026-09-29 | 105a980 | 20,538 B | A | view · diff |
| v1.0.0 | 2026-09-28 | 220adb4 | 20,539 B | A | view · diff |
| v1.0.0 | 2026-09-20 | 02cb935 | 20,541 B | A | view · diff |
| v1.0.0 | 2026-09-09 | 4f38cbc | 20,541 B | A | view · diff |
| v1.0.0 | 2026-09-06 | fc0b166 | 20,556 B | A | view · diff |
| v1.0.0 | 2026-08-29 | b1a2d7b | 20,820 B | A | view · diff |
| v1.0.0 | 2026-08-29 | 2aed0b0 | 20,432 B | A | view · diff |
| v1.0.0 | 2026-08-23 | 0376978 | 20,432 B | A | view · diff |
| v1.0.0 | 2026-08-12 | 84549cc | 19,536 B | A | view · diff |
| v1.0.0 | 2026-08-11 | c884823 | 18,905 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (21051 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
yonatangross/orchestkit · 299 stars · license MIT · pushed 2026-11-07 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_m66mmdw7sjb6t2vs GET https://markdownregistry.com/api/v1/resolve?ref=yonatangross/orchestkit/chain-patterns GET https://markdownregistry.com/api/v1/blob/8ba3f5a2160b39d453bbd1b7c3a0a3eb1c35650d302f56dcd40d00cfa4631bd8
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from yonatangross/orchestkit
Every file in yonatangross/orchestkit