Agent skill · Security

loop-graph

Author and optionally direct-launch one durable loop-graph run as executor, ledger, directives, and supervisor artifacts under a dated `.longgraph` directory, then present copy-ready host prompts. Use for multi-round work with gated milestones, independent audit, cross-host execution, or durable state. Detect Codex or Claude Code from context and create both same-host runtime nodes when the owner chooses direct launch. Existing runtime nodes are self-contained.

Levi Qiao23★ · 1 repos on radarProfile →
claude-codeMIT
Install
npx skills add levi-qiao/graphkit --skill loop-graph --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 31
SKILL.md size: 18 KB
Bundled scripts: none
Path: skills/loop-graph/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 23
Language: Shell

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# loop-graph — a graph of agent nodes, not a drifting loop ## What it does & why Turns a vague long-horizon request ("make it production-ready", "accuracy above baseline", "finish the migration") into a small **graph of agent nodes** that stays on-spec across many rounds: - an **executor node** — drives the work round by round against a single scoreboard; - a **supervisor node** — audits the work from *outside* the executor's context (re-verifying claimed-done against the shared standards) and corrects course before drift compounds. Why a graph, not a loop: an agent grinding a long task **is inside the context that drifted**, so it rationalizes scope creep and calls half-done work "done". The nodes talk only through durable, inspectable state (ledger, git tree, directives file) — never a shared, polluted context. **Each node runs on its own timer, and no node ever wakes another.** The executor fires, closes several verified rounds on warm context, and ends. The supervisor fires on a slower cadence, audits, appends corrections, and ends. A correction is picked up on the executor's next fire. Two independent clocks and one file edge — no dispatch, no resume prompt, no liveness protoc

What's inside
Steps it walks through
  1. What it does & why
  2. The graph it builds
  3. When to use it
  4. Language
  5. How to run it
  6. The rules that make it work (encoded in the templates)
  7. Files in this skill
Ships with 24 files
  • README.md
  • README.zh-CN.md
  • docs/model.md
  • examples/add-tests-to-cli/README.md
  • examples/add-tests-to-cli/executor.md
  • examples/add-tests-to-cli/ledger.md
  • examples/migrate-blob-storage/README.md
  • examples/migrate-blob-storage/archive/directives.md
  • examples/migrate-blob-storage/archive/rounds.md
  • examples/migrate-blob-storage/directives.md
  • examples/migrate-blob-storage/executor.md
  • examples/migrate-blob-storage/ledger.md
  • examples/redacted-multiday-control-plane/README.md
  • examples/redacted-multiday-control-plane/README.zh-CN.md
  • examples/scout-library-choice/README.md
  • examples/self-iteration-longgraph-skill/README.md
  • examples/self-iteration-longgraph-skill/README.zh-CN.md
  • references/claude-code.md
  • references/codex.md
  • references/cursor.md
  • references/grok.md
  • references/shell-cron.md
  • templates/directives.md
  • templates/executor.md
first 24 of 31
About this skill
What does the loop-graph skill do?

Author and optionally direct-launch one durable loop-graph run as executor, ledger, directives, and supervisor artifacts under a dated `.longgraph` directory, then present copy-ready host prompts. Use for multi-round work with gated milestones, independent audit, cross-host execution, or durable state. Detect Codex or Claude Code from context and create both same-host runtime nodes when the owner chooses direct launch. Existing runtime nodes are self-contained.

How do I install it?

Run `npx skills add levi-qiao/graphkit --skill loop-graph --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From levi-qiao/graphkit, a repository with 23 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going