
Circuit
- Updated May 19, 2026
- petekp/circuit-next
circuit is a Claude Code skill in the AI & Agent Building category. Structured, resumable developer flows for Claude Code.
Key points
- circuit
- AI & Agent Building
- AI-coding skill
Circuit by the numbers
- Data as of Jul 7, 2026 (Skillselion catalog sync)
/plugin marketplace add petekp/circuit-next/plugin install circuit@circuit-nextAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Last updated | May 19, 2026 |
|---|---|
| Repository | petekp/circuit-next ↗ |
What it does
Structured, resumable developer flows for Claude Code.
README.md
Claude Code Plugin Package
This directory is the self-contained Claude Code plugin package for Circuit. Load it from this checkout with:
claude --plugin-dir ./plugins/claude
What lives here
.claude-plugin/plugin.json— hand-authored plugin manifest (name, version, description, keywords).commands/<id>.md— generated Claude Code command files copied from source command files.skills/<flow>/— generated compiled flow JSON files. One folder per flow that registers a slash command. Each folder containscircuit.json(the default mode) and any per-mode variants (e.g.lite.json).hooks/— Claude Code auto-loaded SessionStart hook registration and hook script.runtime/circuit-next.js— generated bundled Circuit runtime. Normal installs use this file; no separatecircuit-nextbinary is required.scripts/circuit-next.mjs— plugin-local wrapper that injects this package's generated flow root before launching the bundled runtime. For development only,CIRCUIT_NEXT_CLI=/absolute/path/to/bin/circuit-nextoverrides the bundle andCIRCUIT_NEXT_DEV=1allows repo-local orPATHfallback.
Editing rules
.claude-plugin/plugin.json,hooks/, andscripts/— edit by hand.commands/<id>.md— do not edit by hand. Editsrc/commands/<id>.mdfor direct commands orsrc/flows/<id>/command.mdfor flow-owned commands.skills/<flow>/*.json— do not edit by hand. Edit the flow's schematic (src/flows/<id>/schematic.json).runtime/circuit-next.js— do not edit by hand. Runnpm run build-plugin-runtime.- After editing an authored source, run
npm run emit-flows. The drift check (npm run check-flow-drift) fails CI if generated files diverge.
Why generated
The runtime composes a compiled flow from each schematic via the catalog and emit pipeline. This is the canonical source. Hand-edited host output would silently diverge from the source and break the runtime contract.
Related skills
AI & Agent Buildingagents