Loopgraph — Development skill for Claude Code
An agent will tell you it is finished — ask the repository instead.
How to install Loopgraph
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open taylorsmithgg/loopgraph and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Loopgraph does
An agent will tell you it is finished — ask the repository instead. Criteria in a context graph, done computed from evidence, and a stop gate that refuses to end a turn while one is red.
Alternatives in Development
- Understand Anything — Graphs that teach graphs that impress 80.7k ★
- Understand Anything — Claude Code skills that turn any codebase into an interactive knowledge graph you can explore, search, and ask 2.5k ★
- Af Ship From PRD — If $ARGUMENTS is empty, stop and ask 187 ★
README
loopgraph
**An agent will tell you it is finished. Ask the repository instead.**
Criteria live in a context graph. A criterion is a statement, a command and an expectation — so "done" is computed by running the command, never claimed in prose. A `Stop` hook reads the graph and refuses to end the turn while one of them is red.
$ loopgraph check
C1 closed the queue drains under restart
C2 failing no duplicate rows after replay
G-pytest closed the repo's own suite still passes [guard]
C3 unproven restart is idempotent under load
terminal_state null — keep working · exit 1
Nothing in that table is an opinion. An agent that grades its own work is not being dishonest when it reports success; it just has no fact to check against. This supplies one.
**Documentation → **
Install
Python 3.12+, no runtime dependencies. [`uv`](https://docs.astral.sh/uv/) runs the venv and the console script.
git clone https://github.com/taylorsmithgg/loopgraph ~/src/loopgraph
cd ~/src/loopgraph
uv sync
uv run pytest -q # 402 tests, ~14s
# 'loopgraph' from any directory
export LOOPGRAPH_HOME=~/src/loopgraph # add to your shell profile
install -m 755 dist/loopgraph-shim.sh ~/.local/bin/loopgraph
# optional: /loopgraph slash command in Claude Code
cp dist/slash-command.md ~/.claude/commands/loopgraph.md
State lives in `~/.loopgraph/.db`. Nothing is written into your project, and both gates stay inert until you give them something — the scope gate is silent without a `SCOPE:` line, the loop gate silent without criteria.
Declaring one
$ loopgraph add C1 "the queue drains under restart" \
--cmd 'for i in $(seq 50); do ./restart; done; [ $(in) -eq $(out) ]'
C1 added (unproven)
`add` runs the check immediately and **refuses one that already passes**, because a check that is green before the work cannot tell done fr
Related Skills
Claude Skill Proof Of Done
Claude Code skill against false completion: frozen acceptance contract, receipts written by a script, stale an
Osint Graph
Validate the case entity graph and render it as a link chart — mermaid by default, Graphviz DOT or a plain-tex
Obsidian Vault Kit
A knowledge vault Claude Code maintains for you — document and session-history ingest into a linked Obsidian g
Unity Ralph
Relentless verify-fix loop — refuses to stop until the project is clean. Runs unity-verifier repeatedly with c
Runner Down
Stop an agent-runner slot. Auto-detects whether it was launched via runner-autostart.py register and routes to
Claude Autoshutdown
Shut down Windows only after every Claude Code session and its subagents have really finished. Reads agent tur
Related Agents
Agri Treat
Turn a classification into treatment and remedy advice, ordered least-to-most chemical. Refuses to advise when
Jtbd Critic
Pre-build review of a feature proposal in prose (not a diff). Lists each job-to-be-done the feature creates —
Omd UI Junior
Junior UI designer that translates a journey + Core v2 design system into ASCII wireframes (Phase 4) or compon