Flowfile Debugging Playbook
Edwardvaneechoud/Flowfile
Symptom-to-cause triage playbook for Flowfile (core/worker/kernel/frontend/AI) — covers "no such table" DB cascades (two distinct causes), import-time Alembic migration corruption, silent…
Diagnoses surprising LoopX behavior, such as stale recommendations or tiny progress, assigns it to the responsible layer and repairs it at the lowest durable level.
$ npx skills add loopx-project/loopx --skill loopx-self-repair -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install loopx-project/loopx loopx-self-repair --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/loopx-project/loopx.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/loopx-self-repair .claude/skills/loopx-self-repair && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "loopx-self-repair" agent skill from https://github.com/loopx-project/loopx/tree/main/skills/loopx-self-repair into .claude/skills/loopx-self-repair/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "loopx-self-repair", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/loopx-project/loopx/tree/main/skills/loopx-self-repairType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add loopx-project/loopx --skill loopx-self-repair -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install loopx-project/loopx loopx-self-repair --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/loopx-project/loopx.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/loopx-self-repair .agents/skills/loopx-self-repair && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "loopx-self-repair" agent skill from https://github.com/loopx-project/loopx/tree/main/skills/loopx-self-repair into .agents/skills/loopx-self-repair/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "loopx-self-repair", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add loopx-project/loopx --skill loopx-self-repair -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install loopx-project/loopx loopx-self-repair --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/loopx-project/loopx.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/loopx-self-repair .cursor/skills/loopx-self-repair && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "loopx-self-repair" agent skill from https://github.com/loopx-project/loopx/tree/main/skills/loopx-self-repair into .cursor/skills/loopx-self-repair/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "loopx-self-repair", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/loopx-project/loopx.git --path skills/loopx-self-repair--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add loopx-project/loopx --skill loopx-self-repair -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install loopx-project/loopx loopx-self-repair --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/loopx-project/loopx.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/loopx-self-repair .gemini/skills/loopx-self-repair && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "loopx-self-repair" agent skill from https://github.com/loopx-project/loopx/tree/main/skills/loopx-self-repair into .gemini/skills/loopx-self-repair/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "loopx-self-repair", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install loopx-project/loopx loopx-self-repairInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add loopx-project/loopx --skill loopx-self-repair -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/loopx-project/loopx.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/loopx-self-repair .github/skills/loopx-self-repair && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "loopx-self-repair" agent skill from https://github.com/loopx-project/loopx/tree/main/skills/loopx-self-repair into .github/skills/loopx-self-repair/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "loopx-self-repair", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add loopx-project/loopx --skill loopx-self-repair -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install loopx-project/loopx loopx-self-repair --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/loopx-project/loopx.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/loopx-self-repair .opencode/skills/loopx-self-repair && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "loopx-self-repair" agent skill from https://github.com/loopx-project/loopx/tree/main/skills/loopx-self-repair into .opencode/skills/loopx-self-repair/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "loopx-self-repair", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
loopx-self-repairDiagnoses surprising LoopX behavior, such as stale recommendations or tiny progress, assigns it to the responsible layer and repairs it at the lowest durable level.
The skill turns an unexpected LoopX behavior into a durable fix rather than an apology or a one-off explanation. It applies when a task makes unexpectedly small progress, follows a stale or contradictory recommended_action, skips a higher-priority blocked item for fallback work, reports vague owner or user gates, loses todo projection, misaligns a benchmark with the real product path, or mixes temporary artifacts into commits.
The repair loop starts by pausing delivery selection until control-plane facts explain why the current work is valid, then reuses evidence from the failed command's structured response before gathering more. A script, scripts/find_pattern.py, looks a symptom or error code up in a pattern catalog, and its --id option reads the full guidance without loading the whole catalog.
The responsible layer is then named: an agent mistake, a state projection or quota payload bug, an active-state authoring gap, a benchmark harness mismatch, or a docs and process gap. Repair happens at the lowest durable layer, from writing back correct state after a one-off mistake to fixing CLI status or quota projection with a focused smoke test. Reference files cover repair patterns, targeted diagnostics and escalating issues upstream.
7 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 8205c8b. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (Python), which the agent can run.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
LoopX Self Repair loads about 2.2k tokens when it runs, and up to ~62k if it reads all its reference files. Until then it costs about 131 tokens; SKILL.md has 1,050 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from loopx-project/loopx at commit 8205c8b, republished under its Apache-2.0 licence (© loopx-project). 1,050 words, ~2,217 tokens.
.claude/skills/loopx-self-repair/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.Use this skill to turn a surprising LoopX behavior into a durable fix, not only an apology or a one-off explanation.
python3 scripts/find_pattern.py --query '<error code or symptom terms>' from this skill directory, or invoke its
absolute path. Use --id <returned-id> to read the relevant full guidance.
Search instructions explain pagination and
fallback. Do not load the complete catalog, paginate it into context, or
reread unchanged references already available in this task. If no pattern
fits, diagnose from current facts and add one after the fix.goal_vision_replan_contract_v0 packet with
replan_trigger_summary through normal loopx refresh-state --vision-*
fields, using the same --agent-id as the current lane, or
--agent-vision-json for generated multi-field patches, before returning
to delivery. If the next executable step is already known, also add or
link the concrete successor todo; do not leave the correction only in chat
or an incident note.loopx check on changed public surfaces
when docs/contracts changed.A public GitHub issue is an optional final escalation, not a default side effect of self-repair. Consider it only when the responsible layer is a reusable LoopX product, CLI, skill, installer, or control-plane gap and durable upstream tracking adds value beyond the local repair or PR.
Read references/upstream-issue-escalation.md before publishing anything.
Invoking this skill never grants publication permission. The guarded path must:
loopx check;If qualification, authority, authentication, boundary scanning, or duplicate search is uncertain, preserve the draft and stop before publication. Prefer a direct fix or PR when no separate issue is needed for coordination.
Use the bounded vision contract when self-repair discovers that LoopX did not notice a missing outcome, route, or acceptance condition by itself. The packet is the bridge from human or agent insight to quota-visible replan state:
{
"schema_version": "goal_vision_replan_contract_v0",
"state": "vision_drift_detected",
"vision_patch": {
"vision_summary": "Name the corrected route or acceptance target.",
"acceptance_summary": "Name the machine-visible condition that must hold.",
"replan_trigger_summary": "Name why the current frontier is insufficient."
},
"todo_delta": ["create_successor"]
}Record it with normal inline refresh-state --vision-summary --vision-acceptance --vision-replan-trigger fields using the same --agent-id
that ran the repair. Use --agent-vision-json when a generated patch is clearer
than a command line. Replan closes only through a typed semantic observation or
an atomic Todo transition bound with --replan-obligation-id, a typed
--action-kind, and a stable --target-key or Explore node ref; do not append
a second --autonomous-replan-recorded repair ACK. A vision patch without a
runnable Todo is still useful: quota should-run can promote its
replan_trigger_summary into goal_frontier_projection.acceptance_gaps[] when
the advancement frontier is empty.
If the repair concludes that the existing per-agent vision is still correct,
close the required checkpoint with --vision-unchanged-reason instead of
writing a fake patch. If a material refresh-state lacks both a patch and an
unchanged/no-follow-up decision, LoopX should preserve a per-agent
vision_checkpoint_v0 with decision=missing_required so the same agent's
next quota check can enter replan. A scheduler wake alone is not a material
vision boundary: when quota explicitly projects a normally admitted open
advancement Todo as delivery_boundary=in_flight_continuation, use the
projected settlement command and do not invent a vision patch. The next
heartbeat keeps that same Todo selected only after accountable
outcome_progress; Todo completion, blocker/gap, durable Next Action change,
replan, or terminal closeout must return to the strict semantic checkpoint.
recommended_action,
goal_boundary.write_scope, todos, and interaction contract disagree, treat
that as a projection bug or state authoring bug first.scripts/find_pattern.py;
references/pattern-lookup.md explains the lookup, not a required full read.references/targeted-diagnostics.md.references/upstream-issue-escalation.md.../../docs/state-interaction-model.md and
../../docs/concepts/interaction-pattern-catalog.md.../../docs/quota-allocation.md and
../../docs/heartbeat-automation-prompt.md.../../AGENTS.md.© loopx-project, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 7 other files (scripts, references) in skills/loopx-self-repair of loopx-project/loopx.
Open the folder on GitHubat commit 8205c8b
LoopX Self Repair next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| LoopX Self Repair this skillloopx-project/loopx | 6.2k | — | ~2.2k | Automated safety check: Pass | Apache-2.0 | |
| Flowfile Debugging PlaybookEdwardvaneechoud/Flowfile | 370 | — | ~6.3k | Automated safety check: Pass | MIT | |
| Autoresearch Iteration Loopuditgoenka/autoresearch | 6.5k | 1 repos | ~2k | Automated safety check: Pass | MIT | |
| Orca Run Replayiflytek/skillhub | 5.2k | 4 repos | ~3k | Automated safety check: Pass | Apache-2.0 | |
| Build Failure Recoveryjsmastery-pro/jsm-agent-skill | 216 | — | ~1.8k | Automated safety check: Pass | MIT | |
| Verification Before Completionforyourhealth111-pixel/Vibe-Skills | 3.6k | — | ~1.1k | Automated safety check: Pass | Apache-2.0 |
Edwardvaneechoud/Flowfile
Symptom-to-cause triage playbook for Flowfile (core/worker/kernel/frontend/AI) — covers "no such table" DB cascades (two distinct causes), import-time Alembic migration corruption, silent…
uditgoenka/autoresearch
Runs an autonomous modify, verify, keep-or-discard loop against any metric, with subcommands for planning, debugging, fixing, security audits, shipping and more.
iflytek/skillhub
Answers questions about a past agent run from its recording, using causal graphs and replay, instead of reconstructing events from memory.
jsmastery-pro/jsm-agent-skill
Diagnoses which of three failure modes a stalled AI-assisted build is in, then chooses a targeted fix, a hard reset or a rethink instead of more prompting.
foryourhealth111-pixel/Vibe-Skills
Completion-evidence route used before claiming work is complete, fixed, passing, committed, or PR-ready.
obra/superpowers
Investigates a session where Superpowers went wrong, reads the transcripts on disk and produces an evidence-cited report, optionally prepared as a bug report for the maintainers.
loopx-project/loopx
Tracks a group of pull or merge requests across repositories as durable LoopX state: inventory, reconcile changes, keep priorities and a roadmap, and monitor over time.
loopx-project/loopx
Role playbook for a LoopX worker running an auto-research lane, with execution checklists, artifact contracts and stop conditions.
loopx-project/loopx
Operates or analyzes a LoopX-managed benchmark experiment: launching runs, maintaining the experiment board, qualifying integrity, and writing case insights.
loopx-project/loopx
Registers durable project materials such as design docs, SOPs and research notes in a LoopX project's own registry so future agents can find them without raw URLs or private content.
loopx-project/loopx
Runs an evidence-backed pull request review through the loopx CLI and posts bilingual reviews: a full Chinese review plus one concise English verdict.
loopx-project/loopx
Connects and configures LoopX projects and Goals, repairs project-local state and stale status, syncs registry entries and diagnoses CLI routing.
Categories
Diagnoses surprising LoopX behavior, such as stale recommendations or tiny progress, assigns it to the responsible layer and repairs it at the lowest durable level. The skill turns an unexpected LoopX behavior into a durable fix rather than an apology or a one-off explanation. It applies when a task makes unexpectedly small progress, follows a stale or contradictory recommended_action, skips a higher-priority blocked item for fallback work, reports vague owner or user gates, loses todo projection, misaligns a benchmark with the real product path, or mixes temporary artifacts into commits.
LoopX Self Repair fits situations like: A LoopX task makes unexpectedly small progress; the agent follows a stale or contradictory recommended_action; finding the root cause of why the LoopX harness behaved unexpectedly; temporary artifacts keep ending up in commits.
Run `npx skills add loopx-project/loopx --skill loopx-self-repair -a claude-code`. Or copy the skill folder (skills/loopx-self-repair in loopx-project/loopx) into .claude/skills/loopx-self-repair in your project. Claude Code loads it when a task matches its description.
Run `npx skills add loopx-project/loopx --skill loopx-self-repair -a codex`. Or copy the skill folder (skills/loopx-self-repair in loopx-project/loopx) into .agents/skills/loopx-self-repair in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add loopx-project/loopx --skill loopx-self-repair -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/loopx-self-repair, .gemini/skills/loopx-self-repair, .github/skills/loopx-self-repair and .opencode/skills/loopx-self-repair in your project.
Going by SKILL.md and its folder, LoopX Self Repair needs Python for the scripts in its folder. Our summary lists: A LoopX installation; Python 3 to run scripts/find_pattern.py.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
LoopX Self Repair is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.2k tokens (SKILL.md is roughly 8.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 60k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with LoopX Self Repair: Flowfile Debugging Playbook (Edwardvaneechoud/Flowfile, 370 stars), Autoresearch Iteration Loop (uditgoenka/autoresearch, 6.5k stars), Orca Run Replay (iflytek/skillhub, 5.2k stars) and Build Failure Recovery (jsmastery-pro/jsm-agent-skill, 216 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
loopx-project (a GitHub organization) maintains it in loopx-project/loopx, which has 6,167 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 7, 2026.
Source: loopx-project/loopx on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.