taylorsmithgg

Loopgraph — Development skill for Claude Code

Development community

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