nanostack
AGENTS.md207 starsChanged 8 months agoApache-2.0View on GitHub
This file lists every built-in skill shipped by Nanostack for the verified adapters: Claude Code, Cursor, OpenAI Codex, OpenCode, and Gemini CLI. Each skill folder contains a SKILL.md for adapter discovery and an agents/openai.yaml for OpenAI-compatible agents. Adapter capability evidence lives in adapters/<host>.json; treat the JSON as the single source of truth for what a given host actually enforces (hook execution, write guard, phase gate). /feature coordinates the built-in sprint, either directly or after /think --autopilot completes its brief. /nano…
The file
Files
Nanostack: Agent Discovery
This file lists every built-in skill shipped by Nanostack for the verified adapters: Claude Code, Cursor, OpenAI Codex, OpenCode, and Gemini CLI. Each skill folder contains a SKILL.md for adapter discovery and an agents/openai.yaml for OpenAI-compatible agents. Adapter capability evidence lives in adapters/<host>.json; treat the JSON as the single source of truth for what a given host actually enforces (hook execution, write guard, phase gate).
Available skills
Default sprint
/feature coordinates the built-in sprint, either directly or after /think --autopilot completes its brief. /nano returns a plan; review, security, and QA return findings. Repairs happen in build after verification readers stop, then verification runs again. Automatic plan approval does not authorize publication.
| Skill | Directory | Description |
| think | think/ | Refines a rough idea before code: questions one at a time, alternatives with trade-offs, design walked in sections. Calibrated per archetype. Saves a structured artifact (value proposition, scope mode, target user, narrowest wedge, key risk, premise validation). |
| nano | plan/ | Implementation planning. Planned files, plan approval, scope assessment, product standards. |
| review | review/ | Two-pass code review (structural + adversarial). Scope drift detection against /nano. Conflict precedence with /security. |
| qa | qa/ | Browser, API, CLI, or debug testing. Reports reproducible findings without repairing product code. |
| security | security/ | OWASP Top 10 + STRIDE audit. Cross-references /review for conflicts. |
| ship | ship/ | Pre-flight, PR creation, CI monitoring, post-deploy verification. Generates the sprint journal on success. |
| compound | compound/ | Knowledge capture after /ship. Promotes proven solutions across sprints (bug, pattern, decision) with confidence and applied_count. |
Orchestration and safety
| Skill | Directory | Description |
| guard | guard/ | Block and warn rules on Bash + Write/Edit. Phase concurrency, sprint phase gate, and budget gate run inside the same pipeline. Rule counts live in guard/rules.json. |
| conductor | conductor/ | Multi-agent sprint orchestrator. Parallel sessions via claim/complete protocol with atomic file locking. |
Onboarding and entry points
| Skill | Directory | Description |
| feature | feature/ | Coordinates plan through authorized shipping. Direct calls skip discovery; think autopilot hands off its existing session. |
| nano-run | start/ | First-run onboarding. Reads adapter capabilities, writes a setup artifact, configures permissions and stack preferences through a conversation. |
| nano-help | help/ | Quick reference for all built-in skills and the default sprint flow. |
| nano-doctor | doctor/ | Diagnostic. Reports the actual enforcement level for the running adapter and any drift between adapter declarations and the local install. |
Custom workflow stacks
Custom stacks declare their own phases in .nanostack/config.json (custom_phases + phase_graph) and live under <store>/skills/<name>/. They get the same lifecycle support as the built-in sprint (graph-aware progression, concurrency enforcement, artifact trust, schema validation, routing intent through phase_context). The contract is in reference/custom-stack-contract.md; examples/custom-stack-template/compliance-release/ is a worked example.
Know-how pipeline
Skills automatically save artifacts to .nanostack/. Downstream skills read upstream artifacts through bin/resolve.sh, which honors the artifact-trust contract (PR 2) and the routing contract for custom skills (PR 5). /ship generates a sprint journal. bin/discard-sprint.sh cleans up bad sessions.
Visual artifacts
bin/render-artifact.sh renders core and registered custom phase artifacts, sprint journals, and custom stack DAGs as local HTML views under .nanostack/visual/. JSON stays canonical; the HTML is a derived, deletable inspection layer. The renderer is offline (no external scripts, no fetch, no storage) and supports --strict for integrity-verified rendering plus --interactive for copy-only clipboard buttons on /plan and /review. Contract: reference/visual-artifact-contract.md.
Usage
Each skill's SKILL.md contains the full instructions. Read it and follow the process described. Supporting files (templates, references, checklists, scripts) live in subdirectories and are referenced from the SKILL.md when needed.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

