chain

Discovers and executes token-efficient chains of skills and prompts with shared cache loading.

Updated Jun 17, 2026
One-click install
npx skills add https://github.com/ndestates/ndestates-website --skill chain-ndestates
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: chain
Source: https://github.com/ndestates/ndestates-website/tree/main/.copilot/skills/chain
Command: npx skills add https://github.com/ndestates/ndestates-website --skill chain-ndestates

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Running multiple AI skills and prompts in sequence wastes tokens on repeated context loading and requires manual coordination between steps. This Skill composes predefined or auto-matched chains of skills with one shared cache load and minimal handoffs between steps. ## Core Features & Use Cases - Chain Discovery & Matching: Matches user intent against chains/registry.yaml by chain id or intent keywords, with explicit opt-out when the user prefers a single skill. - Shared Cache Loading: Loads cache files once per chain, capped by token policy limits, so steps reference shared context instead of reloading files. - Custom Chain Registration: Registers logical, reusable multi-skill sequences into chains/registry.yaml after audit validation. - Use Case: A developer says "commit and push this branch" and the Skill matches the delivery chain, loads the shared cache once, runs each step in order with compact handoffs, and produces a summary of steps run and skipped. ## Quick Start Ask the assistant to run a chain by naming a chain id or describing your intent, such as "run the session-start chain" or "deploy check".

Frequently Asked Questions about chain

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run a chain of multiple AI skills in one workflow?▼

Provide a chain id or describe your intent, and the Skill matches it against chains/registry.yaml. It loads the shared cache once, then executes each step in order with compact handoffs between skills.

How do I skip a chain and run just one skill?▼

Say "no chain", "skip chain", or name a single skill, and the Skill takes the opt-out path. It runs only that skill or handles the request directly with a minimal cache load, then reports a skipped-chain summary.

Can I register a custom chain of skills for reuse?▼

Yes, after a successful ad-hoc multi-skill run the Skill can propose a registry entry if the steps are logically ordered, resolvable, reusable, within budget, and not duplicated. It appends the entry to chains/registry.yaml and updates CHAIN.md after your approval.

What happens when the chain match is ambiguous?▼

The Skill does not auto-run anything when intent is unclear. It presents a menu of candidate chains plus a no-chain option and waits for your reply before proceeding.

What are the limitations of chained skill execution?▼

Chains stop immediately if a step fails a guardrail, and they cannot exceed max_steps or max_cache_files limits. One-off task sequences are better handled by an ad-hoc orchestrator prompt rather than a registered chain.