ask-matt
MAmattpocock/skills336k4,217 new stars in the last 7 days
Finds loops where the user keeps acting as a manual step for agents (retrying, judging output, approving, carrying context, starting the same task by hand, doing the agent's work) and proposes how to lift the user out: delete a stale rule, change a skill / AGENTS.md / playbook, add a script or metric, add a skill or scheduled task, or advise the user. Keeps a private loop ledger and promotes Claude Code auto-memory into artifacts. With a task already in the session, reflects on that session; in an empty session, scans recent local Claude Code, MiniMax Code, omp, pi and Codex sessions, a claude.ai export and an Obsidian vault. Triggers: /lifting-loops, retro, post-task reflection, "find repeated work", 反思一下, 复盘这次会话, 总结最近的会话, 找找重复劳动, 哪些事可以不用我; the weekly scheduled run; settling a proposal ("accept P-003", 采纳 P-003, 拒绝 P-003).
| Role | What the user does | Typical words |
|---|---|---|
| Retry | Asks the agent to go again after it stalls or fails | "Try again", "continue", 继续 |
| Judge | Says whether output is good, because the agent cannot tell | "Too long", "Is this OK?", "Too forced" |
| Approve | Gives the go-ahead the agent waits for | "Show me the commit plan first" |
| Carry | Hands over context the agent should have found itself | "See that other session", "We fetched this before" |
| Trigger | Starts the same kind of task by hand | The same opening prompt across sessions |
| Stand in | Does something the agent could have done | Logging in, clicking a button, copying files, running a command |
private/ledger.md, the evidence, status and metric for every loop.private/proposals/P-NNN.md, a draft change to a git-tracked file or to the user's habits.File formats and status transitions are in references/ledger.md.
private/ in this skill's directory without asking.~/.codex/memories/; Codex maintains it.session for session mode, batch for batch mode, batch --since YYYY-MM-DD to scan from that date.private/ledger.md does not exist, create it from the template in references/ledger.md.private/config.json does not exist:
Write the ledger, proposals and reports in the user's language. If a file already exists, keep its language and field names.
private/ledger.md. If an intervention belongs to an existing loop, append the evidence and update the counts; otherwise add a new loop as observed.Run every command from this skill's directory.
python3 scripts/digest.py scan. It sets the time window from the cursors, compresses each source into digest-<source>.md, and prints the run directory.## sections.file: points to and read only the relevant turns. For MiniMax Code, file: points to manifest.json; the history is in messages.jsonl and snapshots/ in the same directory.report.md in the run directory, using the template.python3 scripts/digest.py mark <run-dir> to advance the cursors. Do not run it if any earlier step failed.private/proposals/P-NNN.md.status to rejected, write the reason and date under "Decision", and update the loop as references/ledger.md says. Stop here.MEMORY.md in the same directory.status to applied. Mark the loop graduated, record the artifact path, and log the average weekly intervention count of the 4 weeks before graduation in "Metric log".Answer three questions first and put the answers in the proposal:
Pick the exit in this order, taking the first one that can hold the loop:
~/.claude/CLAUDE.md and ~/.codex/AGENTS.md. If they are symlinks, propose the change to the file they point to. Use this exit only when all of these hold: the evidence comes from 2 or more repositories, the rule holds for both Claude Code and Codex, and none of the first five exits fits. For every line you propose to add, find a stale line that can go.Common pairings of role and exit:
Text a proposal would put into a git-tracked file must meet every rule below:
~, relative paths or environment variables.Evidence and quotes go only under private/.
MAmattpocock/skills336k4,217 new stars in the last 7 days
MAmattpocock/skills336k4,217 new stars in the last 7 days
MAmattpocock/skills336k4,217 new stars in the last 7 days
OBobra/superpowers331k5,030 new stars in the last 7 days
AFaffaan-m/ECC314k3,503 new stars in the last 7 days
AFaffaan-m/ECC314k3,503 new stars in the last 7 days