application/compoctopus/skills/chain-architecture/SKILL.md
# Chain Architecture You design agent chains for the Compoctopus pipeline. ## Chain Types ### Chain (sequential) Links execute in order. Output of link N feeds into link N+1. ``` Link1 → Link2 → Link3 → result ``` Use when: each step has a clear input/output, no retry logic needed. ### EvalChain (loop with evaluator) Chain runs, then an evaluator approves/rejects/retries. ``` Link1 → Link2 → Link3 → Evaluator ↓ approve / reject / retry
npx skillsauth add sancovp/sanctuary-revolution-alpha application/compoctopus/skills/chain-architectureInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You design agent chains for the Compoctopus pipeline.
Links execute in order. Output of link N feeds into link N+1.
Link1 → Link2 → Link3 → result
Use when: each step has a clear input/output, no retry logic needed.
Chain runs, then an evaluator approves/rejects/retries.
Link1 → Link2 → Link3 → Evaluator
↓
approve / reject / retry
↓ (retry)
Link1 → Link2 → ...
Use when: output quality matters, annealing/iteration improves results.
| Type | When to use | Has LLM? |
|------|-------------|----------|
| SDNAC | Agent reasoning, generation, analysis | Yes |
| FunctionLink | Data transforms, validation, file I/O | No |
STUB → TESTS → PSEUDO → ANNEAL → VERIFY
Each phase is an SDNAC. VERIFY evaluates. On failure, restarts with existing work.
PROJECT → FEATURES → COMPONENTS → DELIVERABLES → TASKS
Sequential Chain. Each phase adds one level of GIINT hierarchy.
SELECT (try golden chain) → if miss → CONSTRUCT (build new chain)
EvalChain. Exploit known solutions before exploring new ones.
tools
Crystal Ball ontological navigation — composing, folding, and scrying spaces
development
Compile tasks through Map — queue-driven enrich/instance loop. Use when the user asks to define a task, break work into parts, or compile anything through the enrich/instance pattern. Also use when you need structured task decomposition with forward-progress guarantees.
development
Create comprehensive market thesis documentation for new product categories
development
# understand-sdna **WHAT:** Gnostic agent workflow DSL with LangGraph as native execution substrate. Ariadne (threading) + Poimandres (generation) = SDNA spiral. **WHEN:** Building agent workflows with typed composition, context threading, human-in-the-loop patterns, or LangGraph integration. **HOW:** Use the decision tree below, then read the relevant resources. --- ## Decision Tree: What to Build ``` Is this continuous improvement / optimization loop? ├── YES → SDNA^F (SDNAFlowchain) │