Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
Pete Petrash avatar

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-next

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Last updatedMay 19, 2026
Repositorypetekp/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>.mdgenerated 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 contains circuit.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.jsgenerated bundled Circuit runtime. Normal installs use this file; no separate circuit-next binary 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-next overrides the bundle and CIRCUIT_NEXT_DEV=1 allows repo-local or PATH fallback.

Editing rules

  • .claude-plugin/plugin.json, hooks/, and scripts/ — edit by hand.
  • commands/<id>.mddo not edit by hand. Edit src/commands/<id>.md for direct commands or src/flows/<id>/command.md for flow-owned commands.
  • skills/<flow>/*.jsondo not edit by hand. Edit the flow's schematic (src/flows/<id>/schematic.json).
  • runtime/circuit-next.jsdo not edit by hand. Run npm 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

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.