[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6E36TWMZ1MXHCE3RE39Y64T":3,"skill-same:01M6E36TWMZ1MXHCE3RE39Y64T":210},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":40,"linkOnly":41,"markdownContent":42,"markdownBody":43,"frontMatter":44,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":50,"ownerHtmlUrl":51,"ownerBlogUrl":6,"ownerDescription":52,"updatedAt":53,"install":54,"resources":67},"01M6E36TWMZ1MXHCE3RE39Y64T","pi-loop-forensics",null,"Diagnose pi-go agent loops and degenerate turns — \"agent loop aborted\", runaway thinking with no tool calls, repeated phrases. Discriminates genuine model repetition collapse from a race, a tool-parse failure, or a too-low guard, and A\u002FB replays a seed session across providers.","dimetron\u002Fpi-go","dimetron","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F877433?v=4","01M6E34QX9HKYKMWJVZQEPR2Q3","Dmytro Rashko","01M6E34R2A6563XM0PTZE8KPGG",224,"MIT","https:\u002F\u002Fgithub.com\u002Fdimetron\u002Fpi-go\u002Fblob\u002Fmain\u002F.pi-go\u002Fskills\u002Fpi-loop-forensics\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],"forensics","pi loop","loop","pi","pi loop forensics","agent loop","parse","tool calls","calls","with","loops","across","seed","thinking","session","go","model","tool","guard","Providers","diagnose","2026-11-10 10:12:30",false,"---\nname: pi-loop-forensics\ndescription: Diagnose pi-go agent loops and degenerate turns — \"agent loop aborted\", runaway thinking with no tool calls, repeated phrases. Discriminates genuine model repetition collapse from a race, a tool-parse failure, or a too-low guard, and A\u002FB replays a seed session across providers.\n---\n\n# Loop Forensics\n\nUse when a run dies with `agent loop aborted: ...`, or a model burns a long turn\nthinking without ever calling a tool. This skill decides **why** before anything\nis changed: the abort message names a symptom, not a cause.\n\nSibling skill `pi-check-session-logs` covers *tool call errors*. This one covers\n*repetition and runaway turns*. They do not overlap.\n\n## Where the evidence lives\n\n| What | Path |\n|---|---|\n| Session logs (JSONL, one per run) | `~\u002F.pi-go\u002Flog\u002F\u003Cyyyy-mm-dd>\u002Fsession-HH-MM-SS.log` |\n| Session state (resumable) | `~\u002F.pi-go\u002Fsessions\u002F\u003Cid>\u002F` — `events.jsonl`, `meta.json`, `trajectory.atif.json` |\n| Detector source | `internal\u002Ftui\u002Fagent_loop.go` |\n\nLog rows are `{\"time\",\"type\",\"content\",...}` with `type` in `session_start`,\n`thinking`, `llm_text`, `tool_call`, `tool_result`, `user`, `error`. The model\nname is on the `session_start` row — always record it, findings are per-model.\n\n## How the guard actually works\n\n`stuckDetector` (`internal\u002Ftui\u002Fagent_loop.go:119`) has three independent arms:\n\n- `observe` — identical consecutive tool calls, trips at `maxRepeatToolCalls`=10.\n  Pagination args are stripped first (`volatileToolArgs`), so paging one file\n  collapses to one fingerprint.\n- `observeError` — same tool failing `maxToolErrorStreak`=10 times running.\n- `observeOutput` (`:246`) — the model's own text\u002Fthinking. Needs a period ≥\n  `minOutputPeriod`=16 bytes, ≥ `minPeriodVariety`=8 distinct bytes, and\n  `maxOutputRepeats`=12 **byte-exact** back-to-back copies inside an 8 KB tail.\n\nThe third arm is the only one that sees a turn making no tool calls at all.\n`outBuf` is never reset across a run, and the thinking branch (`:690`) skips\n`dedup.SkipText`, unlike the text branch (`:697`).\n\n**Timeline caveat — check this before judging any old log.** Sessions predating\nthese commits cannot be compared against current behavior:\n\n| Commit | Landed | Effect |\n|---|---|---|\n| `e069b34` | 2026-08-08 06:56:44 +0200 | added `observeOutput` (the phrase-repetition arm) |\n| `5a4cb8b` | 2026-08-08 18:52:42 +0200 | stopped aborting productive polling (`bash_output`) |\n\n## Steps\n\n1. **Sweep the corpus** for scale and per-model distribution:\n\n   ```bash\n   python3 .pi-go\u002Fskills\u002Fpi-loop-forensics\u002Fscan_logs.py\n   ```\n\n   Reports per model: session count, aborts, longest tool-free thinking run\n   (max\u002Fp95), worst periodic repetition. Also lists aborted sessions and the\n   top offenders. Loops are almost always concentrated in one model.\n\n2. **Score individual logs**:\n\n   ```bash\n   python3 .pi-go\u002Fskills\u002Fpi-loop-forensics\u002Fscore_run.py ~\u002F.pi-go\u002Flog\u002F*\u002Fsession-*.log\n   ```\n\n   Three metrics per log: `think_run` (longest tool-free thinking run),\n   `reps\u002Fperiod` (longest byte-exact periodic tail), `intent\u002Fcalls`\n   (\"let me write\u002Frun\u002Ftest\" phrases vs actual tool calls). A high intent:calls\n   ratio is the signature of announce-but-never-act.\n\n   `reps>=12` is the reliable discriminator. The `think_run>=20` arm is\n   heuristic and does produce false positives on models that legitimately think\n   in long bursts — confirm with `reps` before calling it a loop.\n\n3. **Discriminate the cause.** Run all three tests; do not stop at the first\n   plausible one.\n\n   - **Race \u002F double-emission?** Hash every `thinking` payload in the session\n     and count exact duplicates, and check timestamps. Genuine model output has\n     **zero duplicate payloads**, varied lengths, and monotonic timestamps\n     spaced by stream latency. Duplicated payloads or identical timestamps\n     would mean pi-go re-emitted chunks — a real bug in the stream path.\n   - **Tool-parse failure?** Grep thinking *and* text for tool-call syntax that\n     leaked in as prose: `\u003Ctool_call`, `\u003Cfunction`, `tool_calls`,\n     `\"name\":...,\"arguments\"`, ` ```json `, `\u003Cthink>`, `\u003C｜tool`. If the model\n     emitted a call the provider layer failed to parse, the raw syntax shows up\n     in a text channel and the model never receives a result — which looks\n     exactly like a loop. Zero matches rules this out.\n   - **Guard too low?** Compare the tripping value against the corpus. Healthy\n     sessions peak around 1 periodic repeat; the threshold is 12 byte-exact\n     copies. If healthy runs sit far below the threshold, the guard is not the\n     problem.\n\n   If all three are ruled out, it is inference-level repetition collapse, and\n   the fix is a provider\u002Fsampling question, not a pi-go parsing question.\n\n4. **A\u002FB replay across providers.** Find a seed session whose **last persisted\n   event is the tool result immediately before the spiral** — the degenerate\n   thinking usually never gets committed to `events.jsonl`, so resuming\n   restores the exact pre-failure state and the next turn is the one that broke.\n\n   ```bash\n   # From an isolated worktree — a resumed agent can write files.\n   PI=\u002Fpath\u002Fto\u002Fpi TRIALS=3 OUT=\u002Ftmp\u002Fab-replay \\\n     bash .pi-go\u002Fskills\u002Fpi-loop-forensics\u002Fab_replay.sh\n   ```\n\n   Arms are `ollama-cloud`, `ollama-local`, `opencode` (override with\n   `ARMS=\"ollama-cloud opencode\"`). Each arm runs a **preflight** one-shot first\n   and is skipped with its error if credentials are dead, so a bad key costs one\n   call instead of every trial. Override the seed with `SEED=\u003Csession-id>`.\n\n   Per trial the script copies the seed to a throwaway session ID (the original\n   is never mutated), rewrites `meta.json` (`id`\u002F`model`\u002F`provider`\u002F`workDir`),\n   resumes with `--trace-http --mode print`, scores the log, and deletes the copy.\n\n   - Nothing pins temperature or seed, so reproduction is **probabilistic** —\n     run several trials per arm and compare rates, not single outcomes.\n   - `--trace-http` writes full request\u002Fresponse bodies to the session log.\n     Credentials are masked (`internal\u002Fprovider\u002Fprovider.go:440`); **prompts and\n     source context are not**.\n   - Run from a git worktree, never the primary checkout: a resumed agent can\n     write files.\n\n## Guidelines\n\n- Always name the model and check it against the commit timeline before\n  concluding anything about an old log.\n- An abort message describes the symptom the guard caught, not the cause. A\n  correct abort on genuine degeneration and a false positive on healthy polling\n  look identical in the log.\n- Ollama requests set only `num_predict` (`internal\u002Fprovider\u002Follama.go:104-110`)\n  — no `repeat_penalty`, `repeat_last_n`, `temperature`. A looping Ollama model\n  currently has no tunable knob, which makes provider A\u002FB the informative test.\n- When reporting, separate *the guard behaved correctly* from *the model\n  degenerated*. Both can be true at once, and they imply different fixes.\n\n## Probing providers: `pi ping` is not trustworthy\n\nVerified 2026-08-09. `pi ping` resolves URLs and credentials differently from the\nreal agent path, so a ping failure is **not** evidence a provider is down.\nConfirm with a one-shot real run instead:\n\n```bash\n.\u002Fpi --model \u003Cmodel> --mode print \"reply with exactly: OK\"\n```\n\nObserved ping-only failures, all of which the real path handled fine:\n\n| Symptom | Cause |\n|---|---|\n| `DNS resolution failed: lookup : no such host` (empty host) on `opencode\u002F*` | ping never applies `opencodeDefaultBaseURL` (`internal\u002Fprovider\u002Fopencode.go:62`) |\n| `\u003Cmodel>:cloud` dials `localhost:11434` despite `OLLAMA_API_KEY` being set | ping does not pass the key, so the cloud-URL switch (`internal\u002Fprovider\u002Follama.go:38`) never fires |\n| `dial tcp [::1]:11434: connection refused` while the daemon is up | ping's dialer picks the IPv6 literal; the Ollama daemon binds IPv4. Pass `--url http:\u002F\u002F127.0.0.1:11434` |\n\nKeys live in `~\u002F.pi-go\u002F.env` **and** `\u003Crepo>\u002F.pi-go\u002F.env`; pi-go merges both\n(`internal\u002Fconfig\u002Fconfig.go:387-389`). Neither is in a shell profile, so an\nagent's own shell will not have them exported — but pi-go reads the files\nitself, so that only matters for scripts that gate on env vars.\n\n## Examples\n\n- `\u002Fpi-loop-forensics` — sweep all logs, report per-model loop distribution\n- \"why did my run abort with 'repeated a 89-character phrase'\" — steps 2 and 3\n- \"does this loop happen on the other provider too\" — step 4\n","# Loop Forensics\n\nUse when a run dies with `agent loop aborted: ...`, or a model burns a long turn\nthinking without ever calling a tool. This skill decides **why** before anything\nis changed: the abort message names a symptom, not a cause.\n\nSibling skill `pi-check-session-logs` covers *tool call errors*. This one covers\n*repetition and runaway turns*. They do not overlap.\n\n## Where the evidence lives\n\n| What | Path |\n|---|---|\n| Session logs (JSONL, one per run) | `~\u002F.pi-go\u002Flog\u002F\u003Cyyyy-mm-dd>\u002Fsession-HH-MM-SS.log` |\n| Session state (resumable) | `~\u002F.pi-go\u002Fsessions\u002F\u003Cid>\u002F` — `events.jsonl`, `meta.json`, `trajectory.atif.json` |\n| Detector source | `internal\u002Ftui\u002Fagent_loop.go` |\n\nLog rows are `{\"time\",\"type\",\"content\",...}` with `type` in `session_start`,\n`thinking`, `llm_text`, `tool_call`, `tool_result`, `user`, `error`. The model\nname is on the `session_start` row — always record it, findings are per-model.\n\n## How the guard actually works\n\n`stuckDetector` (`internal\u002Ftui\u002Fagent_loop.go:119`) has three independent arms:\n\n- `observe` — identical consecutive tool calls, trips at `maxRepeatToolCalls`=10.\n  Pagination args are stripped first (`volatileToolArgs`), so paging one file\n  collapses to one fingerprint.\n- `observeError` — same tool failing `maxToolErrorStreak`=10 times running.\n- `observeOutput` (`:246`) — the model's own text\u002Fthinking. Needs a period ≥\n  `minOutputPeriod`=16 bytes, ≥ `minPeriodVariety`=8 distinct bytes, and\n  `maxOutputRepeats`=12 **byte-exact** back-to-back copies inside an 8 KB tail.\n\nThe third arm is the only one that sees a turn making no tool calls at all.\n`outBuf` is never reset across a run, and the thinking branch (`:690`) skips\n`dedup.SkipText`, unlike the text branch (`:697`).\n\n**Timeline caveat — check this before judging any old log.** Sessions predating\nthese commits cannot be compared against current behavior:\n\n| Commit | Landed | Effect |\n|---|---|---|\n| `e069b34` | 2026-08-08 06:56:44 +0200 | added `observeOutput` (the phrase-repetition arm) |\n| `5a4cb8b` | 2026-08-08 18:52:42 +0200 | stopped aborting productive polling (`bash_output`) |\n\n## Steps\n\n1. **Sweep the corpus** for scale and per-model distribution:\n\n   ```bash\n   python3 .pi-go\u002Fskills\u002Fpi-loop-forensics\u002Fscan_logs.py\n   ```\n\n   Reports per model: session count, aborts, longest tool-free thinking run\n   (max\u002Fp95), worst periodic repetition. Also lists aborted sessions and the\n   top offenders. Loops are almost always concentrated in one model.\n\n2. **Score individual logs**:\n\n   ```bash\n   python3 .pi-go\u002Fskills\u002Fpi-loop-forensics\u002Fscore_run.py ~\u002F.pi-go\u002Flog\u002F*\u002Fsession-*.log\n   ```\n\n   Three metrics per log: `think_run` (longest tool-free thinking run),\n   `reps\u002Fperiod` (longest byte-exact periodic tail), `intent\u002Fcalls`\n   (\"let me write\u002Frun\u002Ftest\" phrases vs actual tool calls). A high intent:calls\n   ratio is the signature of announce-but-never-act.\n\n   `reps>=12` is the reliable discriminator. The `think_run>=20` arm is\n   heuristic and does produce false positives on models that legitimately think\n   in long bursts — confirm with `reps` before calling it a loop.\n\n3. **Discriminate the cause.** Run all three tests; do not stop at the first\n   plausible one.\n\n   - **Race \u002F double-emission?** Hash every `thinking` payload in the session\n     and count exact duplicates, and check timestamps. Genuine model output has\n     **zero duplicate payloads**, varied lengths, and monotonic timestamps\n     spaced by stream latency. Duplicated payloads or identical timestamps\n     would mean pi-go re-emitted chunks — a real bug in the stream path.\n   - **Tool-parse failure?** Grep thinking *and* text for tool-call syntax that\n     leaked in as prose: `\u003Ctool_call`, `\u003Cfunction`, `tool_calls`,\n     `\"name\":...,\"arguments\"`, ` ```json `, `\u003Cthink>`, `\u003C｜tool`. If the model\n     emitted a call the provider layer failed to parse, the raw syntax shows up\n     in a text channel and the model never receives a result — which looks\n     exactly like a loop. Zero matches rules this out.\n   - **Guard too low?** Compare the tripping value against the corpus. Healthy\n     sessions peak around 1 periodic repeat; the threshold is 12 byte-exact\n     copies. If healthy runs sit far below the threshold, the guard is not the\n     problem.\n\n   If all three are ruled out, it is inference-level repetition collapse, and\n   the fix is a provider\u002Fsampling question, not a pi-go parsing question.\n\n4. **A\u002FB replay across providers.** Find a seed session whose **last persisted\n   event is the tool result immediately before the spiral** — the degenerate\n   thinking usually never gets committed to `events.jsonl`, so resuming\n   restores the exact pre-failure state and the next turn is the one that broke.\n\n   ```bash\n   # From an isolated worktree — a resumed agent can write files.\n   PI=\u002Fpath\u002Fto\u002Fpi TRIALS=3 OUT=\u002Ftmp\u002Fab-replay \\\n     bash .pi-go\u002Fskills\u002Fpi-loop-forensics\u002Fab_replay.sh\n   ```\n\n   Arms are `ollama-cloud`, `ollama-local`, `opencode` (override with\n   `ARMS=\"ollama-cloud opencode\"`). Each arm runs a **preflight** one-shot first\n   and is skipped with its error if credentials are dead, so a bad key costs one\n   call instead of every trial. Override the seed with `SEED=\u003Csession-id>`.\n\n   Per trial the script copies the seed to a throwaway session ID (the original\n   is never mutated), rewrites `meta.json` (`id`\u002F`model`\u002F`provider`\u002F`workDir`),\n   resumes with `--trace-http --mode print`, scores the log, and deletes the copy.\n\n   - Nothing pins temperature or seed, so reproduction is **probabilistic** —\n     run several trials per arm and compare rates, not single outcomes.\n   - `--trace-http` writes full request\u002Fresponse bodies to the session log.\n     Credentials are masked (`internal\u002Fprovider\u002Fprovider.go:440`); **prompts and\n     source context are not**.\n   - Run from a git worktree, never the primary checkout: a resumed agent can\n     write files.\n\n## Guidelines\n\n- Always name the model and check it against the commit timeline before\n  concluding anything about an old log.\n- An abort message describes the symptom the guard caught, not the cause. A\n  correct abort on genuine degeneration and a false positive on healthy polling\n  look identical in the log.\n- Ollama requests set only `num_predict` (`internal\u002Fprovider\u002Follama.go:104-110`)\n  — no `repeat_penalty`, `repeat_last_n`, `temperature`. A looping Ollama model\n  currently has no tunable knob, which makes provider A\u002FB the informative test.\n- When reporting, separate *the guard behaved correctly* from *the model\n  degenerated*. Both can be true at once, and they imply different fixes.\n\n## Probing providers: `pi ping` is not trustworthy\n\nVerified 2026-08-09. `pi ping` resolves URLs and credentials differently from the\nreal agent path, so a ping failure is **not** evidence a provider is down.\nConfirm with a one-shot real run instead:\n\n```bash\n.\u002Fpi --model \u003Cmodel> --mode print \"reply with exactly: OK\"\n```\n\nObserved ping-only failures, all of which the real path handled fine:\n\n| Symptom | Cause |\n|---|---|\n| `DNS resolution failed: lookup : no such host` (empty host) on `opencode\u002F*` | ping never applies `opencodeDefaultBaseURL` (`internal\u002Fprovider\u002Fopencode.go:62`) |\n| `\u003Cmodel>:cloud` dials `localhost:11434` despite `OLLAMA_API_KEY` being set | ping does not pass the key, so the cloud-URL switch (`internal\u002Fprovider\u002Follama.go:38`) never fires |\n| `dial tcp [::1]:11434: connection refused` while the daemon is up | ping's dialer picks the IPv6 literal; the Ollama daemon binds IPv4. Pass `--url http:\u002F\u002F127.0.0.1:11434` |\n\nKeys live in `~\u002F.pi-go\u002F.env` **and** `\u003Crepo>\u002F.pi-go\u002F.env`; pi-go merges both\n(`internal\u002Fconfig\u002Fconfig.go:387-389`). Neither is in a shell profile, so an\nagent's own shell will not have them exported — but pi-go reads the files\nitself, so that only matters for scripts that gate on env vars.\n\n## Examples\n\n- `\u002Fpi-loop-forensics` — sweep all logs, report per-model loop distribution\n- \"why did my run abort with 'repeated a 89-character phrase'\" — steps 2 and 3\n- \"does this loop happen on the other provider too\" — step 4\n",{"name":5,"description":7},"main","bcfcd42255878c3d40e545abcdeb2520b6d31a52",".pi-go\u002Fskills\u002Fpi-loop-forensics",34,"https:\u002F\u002Fgithub.com\u002Fdimetron\u002Fpi-go","https:\u002F\u002Fpi-go.sh","https:\u002F\u002Fgithub.com\u002Fdimetron","🎸💻 🚧🦞","2026-11-15 03:48:24",{"source":8,"skillName":5,"commands":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add dimetron\u002Fpi-go --skill pi-loop-forensics",{"tool":60,"command":61},"bunx","bunx skills add dimetron\u002Fpi-go --skill pi-loop-forensics",{"tool":63,"command":64},"pnpm","pnpm dlx skills add dimetron\u002Fpi-go --skill pi-loop-forensics","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdimetron\u002Fpi-go\u002Fblob\u002Fmain\u002F.pi-go\u002Fskills\u002Fpi-loop-forensics\u002FSKILL.md",true,[68,74,80,84,88,94,98,102,106,110,114,118,122,126,130,134,138,142,146,150,154,158,162,166,170,174,178,182,186,190,194,198,202,206],{"path":69,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"ab_replay.sh","SCRIPT","脚本",2820,"https:\u002F\u002Fgithub.com\u002Fdimetron\u002Fpi-go\u002Fblob\u002Fmain\u002F.pi-go\u002Fskills\u002Fpi-loop-forensics\u002Fab_replay.sh",{"path":75,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":78,"sourceHtmlUrl":79},"rules\u002F3d.md","REFERENCE","参考文档",2290,"https:\u002F\u002Fgithub.com\u002Fdatnguyense1104\u002Fhom-nay-an-gi\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fremotion\u002Frules\u002F3d.md",{"path":81,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":82,"sourceHtmlUrl":83},"rules\u002Fanimations.md",790,"https:\u002F\u002Fgithub.com\u002Fdatnguyense1104\u002Fhom-nay-an-gi\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fremotion\u002Frules\u002Fanimations.md",{"path":85,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":86,"sourceHtmlUrl":87},"rules\u002Fassets.md",1590,"https:\u002F\u002Fgithub.com\u002Fdatnguyense1104\u002Fhom-nay-an-gi\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fremotion\u002Frules\u002Fassets.md",{"path":89,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":92,"sourceHtmlUrl":93},"rules\u002Fassets\u002Fcharts-bar-chart.tsx","OTHER","其他",3429,"https:\u002F\u002Fgithub.com\u002Fdatnguyense1104\u002Fhom-nay-an-gi\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fremotion\u002Frules\u002Fassets\u002Fcharts-bar-chart.tsx",{"path":95,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":96,"sourceHtmlUrl":97},"rules\u002Fassets\u002Ftext-animations-typewriter.tsx",2183,"https:\u002F\u002Fgithub.com\u002Fdatnguyense1104\u002Fhom-nay-an-gi\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fremotion\u002Frules\u002Fassets\u002Ftext-animations-typewriter.tsx",{"path":99,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":100,"sourceHtmlUrl":101},"rules\u002Fassets\u002Ftext-animations-word-highlight.tsx",2387,"https:\u002F\u002Fgithub.com\u002Fdatnguyense1104\u002Fhom-nay-an-gi\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fremotion\u002Frules\u002Fassets\u002Ftext-animations-word-highlight.tsx",{"path":103,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":104,"sourceHtmlUrl":105},"rules\u002Faudio.md",3822,"https:\u002F\u002Fgithub.com\u002Fdatnguyense1104\u002Fhom-nay-an-gi\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fremotion\u002Frules\u002Faudio.md",{"path":107,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":108,"sourceHtmlUrl":109},"rules\u002Fcalculate-metadata.md",2920,"https:\u002F\u002Fgithub.com\u002Fdatnguyense1104\u002Fhom-nay-an-gi\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fremotion\u002Frules\u002Fcalculate-metadata.md",{"path":111,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":112,"sourceHtmlUrl":113},"rules\u002Fcan-decode.md",1587,"https:\u002F\u002Fgithub.com\u002Fdatnguyense1104\u002Fhom-nay-an-gi\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fremotion\u002Frules\u002Fcan-decode.md",{"path":115,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":116,"sourceHtmlUrl":117},"rules\u002Fcharts.md",1751,"https:\u002F\u002Fgithub.com\u002Fdatnguyense1104\u002Fhom-nay-an-gi\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fremotion\u002Frules\u002Fcharts.md",{"path":119,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":120,"sourceHtmlUrl":121},"rules\u002Fcompositions.md",3445,"https:\u002F\u002Fgithub.com\u002Fdatnguyense1104\u002Fhom-nay-an-gi\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fremotion\u002Frules\u002Fcompositions.md",{"path":123,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":124,"sourceHtmlUrl":125},"rules\u002Fdisplay-captions.md",3698,"https:\u002F\u002Fgithub.com\u002Fdatnguyense1104\u002Fhom-nay-an-gi\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fremotion\u002Frules\u002Fdisplay-captions.md",{"path":127,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":128,"sourceHtmlUrl":129},"rules\u002Fextract-frames.md",5496,"https:\u002F\u002Fgithub.com\u002Fdatnguyense1104\u002Fhom-nay-an-gi\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fremotion\u002Frules\u002Fextract-frames.md",{"path":131,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":132,"sourceHtmlUrl":133},"rules\u002Ffonts.md",3484,"https:\u002F\u002Fgithub.com\u002Fdatnguyense1104\u002Fhom-nay-an-gi\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fremotion\u002Frules\u002Ffonts.md",{"path":135,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":136,"sourceHtmlUrl":137},"rules\u002Fget-audio-duration.md",1354,"https:\u002F\u002Fgithub.com\u002Fdatnguyense1104\u002Fhom-nay-an-gi\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fremotion\u002Frules\u002Fget-audio-duration.md",{"path":139,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":140,"sourceHtmlUrl":141},"rules\u002Fget-video-dimensions.md",1627,"https:\u002F\u002Fgithub.com\u002Fdatnguyense1104\u002Fhom-nay-an-gi\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fremotion\u002Frules\u002Fget-video-dimensions.md",{"path":143,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":144,"sourceHtmlUrl":145},"rules\u002Fget-video-duration.md",1341,"https:\u002F\u002Fgithub.com\u002Fdatnguyense1104\u002Fhom-nay-an-gi\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fremotion\u002Frules\u002Fget-video-duration.md",{"path":147,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":148,"sourceHtmlUrl":149},"rules\u002Fgifs.md",3868,"https:\u002F\u002Fgithub.com\u002Fdatnguyense1104\u002Fhom-nay-an-gi\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fremotion\u002Frules\u002Fgifs.md",{"path":151,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":152,"sourceHtmlUrl":153},"rules\u002Fimages.md",2783,"https:\u002F\u002Fgithub.com\u002Fdatnguyense1104\u002Fhom-nay-an-gi\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fremotion\u002Frules\u002Fimages.md",{"path":155,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":156,"sourceHtmlUrl":157},"rules\u002Fimport-srt-captions.md",2113,"https:\u002F\u002Fgithub.com\u002Fdatnguyense1104\u002Fhom-nay-an-gi\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fremotion\u002Frules\u002Fimport-srt-captions.md",{"path":159,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":160,"sourceHtmlUrl":161},"rules\u002Flottie.md",1779,"https:\u002F\u002Fgithub.com\u002Fdatnguyense1104\u002Fhom-nay-an-gi\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fremotion\u002Frules\u002Flottie.md",{"path":163,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":164,"sourceHtmlUrl":165},"rules\u002Fmeasuring-dom-nodes.md",974,"https:\u002F\u002Fgithub.com\u002Fdatnguyense1104\u002Fhom-nay-an-gi\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fremotion\u002Frules\u002Fmeasuring-dom-nodes.md",{"path":167,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":168,"sourceHtmlUrl":169},"rules\u002Fmeasuring-text.md",3000,"https:\u002F\u002Fgithub.com\u002Fdatnguyense1104\u002Fhom-nay-an-gi\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fremotion\u002Frules\u002Fmeasuring-text.md",{"path":171,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":172,"sourceHtmlUrl":173},"rules\u002Fsequencing.md",2389,"https:\u002F\u002Fgithub.com\u002Fdatnguyense1104\u002Fhom-nay-an-gi\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fremotion\u002Frules\u002Fsequencing.md",{"path":175,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":176,"sourceHtmlUrl":177},"rules\u002Ftailwind.md",422,"https:\u002F\u002Fgithub.com\u002Fdatnguyense1104\u002Fhom-nay-an-gi\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fremotion\u002Frules\u002Ftailwind.md",{"path":179,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":180,"sourceHtmlUrl":181},"rules\u002Ftext-animations.md",700,"https:\u002F\u002Fgithub.com\u002Fdatnguyense1104\u002Fhom-nay-an-gi\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fremotion\u002Frules\u002Ftext-animations.md",{"path":183,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":184,"sourceHtmlUrl":185},"rules\u002Ftiming.md",3939,"https:\u002F\u002Fgithub.com\u002Fdatnguyense1104\u002Fhom-nay-an-gi\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fremotion\u002Frules\u002Ftiming.md",{"path":187,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":188,"sourceHtmlUrl":189},"rules\u002Ftranscribe-captions.md",850,"https:\u002F\u002Fgithub.com\u002Fdatnguyense1104\u002Fhom-nay-an-gi\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fremotion\u002Frules\u002Ftranscribe-captions.md",{"path":191,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":192,"sourceHtmlUrl":193},"rules\u002Ftransitions.md",3730,"https:\u002F\u002Fgithub.com\u002Fdatnguyense1104\u002Fhom-nay-an-gi\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fremotion\u002Frules\u002Ftransitions.md",{"path":195,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":196,"sourceHtmlUrl":197},"rules\u002Ftrimming.md",1210,"https:\u002F\u002Fgithub.com\u002Fdatnguyense1104\u002Fhom-nay-an-gi\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fremotion\u002Frules\u002Ftrimming.md",{"path":199,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":200,"sourceHtmlUrl":201},"rules\u002Fvideos.md",3509,"https:\u002F\u002Fgithub.com\u002Fdatnguyense1104\u002Fhom-nay-an-gi\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fremotion\u002Frules\u002Fvideos.md",{"path":203,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":204,"sourceHtmlUrl":205},"scan_logs.py",5327,"https:\u002F\u002Fgithub.com\u002Fdimetron\u002Fpi-go\u002Fblob\u002Fmain\u002F.pi-go\u002Fskills\u002Fpi-loop-forensics\u002Fscan_logs.py",{"path":207,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":208,"sourceHtmlUrl":209},"score_run.py",2449,"https:\u002F\u002Fgithub.com\u002Fdimetron\u002Fpi-go\u002Fblob\u002Fmain\u002F.pi-go\u002Fskills\u002Fpi-loop-forensics\u002Fscore_run.py",[211,235,258,274,289,308],{"skillNo":212,"name":213,"nameZh":6,"description":214,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":215,"categories":216,"keywords":217,"publishedAt":40},"01M70SJ3216A0Y2NXYJJ2MVER0","verify-session-flow","Formally verify the interactive session flow before or after changing it. Use when editing internal\u002Ftui\u002Ftui.go's handleKey, handleInterruptKey, handleInputSubmit, ctrlCCount or quitting, internal\u002Ftui\u002Fagent_loop.go's enqueuePrompt, submit, steerPrompt, cancelAgent or handleAgentDone, or the deferred-init splash — or when a user reports that Ctrl+C quit on the first press, that Esc did not stop a turn or a goal loop, that a queued prompt was lost when they canceled, or that the TUI hung on a spinner nothing could clear.","https:\u002F\u002Fgithub.com\u002Fdimetron\u002Fpi-go\u002Fblob\u002Fmain\u002Finternal\u002Fextension\u002Fbundled_skills\u002Fverify-session-flow\u002FSKILL.md",[],[33,218,219,220,221,222,223,224,21,225,226,227,228,229,230,231,232,34,233,234],"verify session flow","verify","flow","submit","editing","init","use","prompt","when","interactive","reports","first","goal","CTRL","clear","spinner","tui",{"skillNo":236,"name":237,"nameZh":6,"description":238,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":239,"categories":240,"keywords":241,"publishedAt":40},"01M70SJ02CTB40V2VFGAF80SBG","verify-run-pipeline","Formally verify the \u002Frun phase machine before or after changing it. Use when editing internal\u002Ftui\u002Frun.go's phase transitions (handleRunAgentDone, runGates result handling, verifyRunComplete, retryRun, reportGateHang, merge), internal\u002Fsop\u002Fverdict.go's Passed, or the checklist refresh — or when a run merged work it should not have, retried a hung gate, lost a cycle at the retry budget, or merged on a stale PASS.","https:\u002F\u002Fgithub.com\u002Fdimetron\u002Fpi-go\u002Fblob\u002Fmain\u002Finternal\u002Fextension\u002Fbundled_skills\u002Fverify-run-pipeline\u002FSKILL.md",[],[242,243,219,244,245,246,222,247,248,249,224,226,250,251,252,253,254,255,256,257],"pipeline","verify run pipeline","run","run pipeline","retry","cycle","run phase","machine","phase","refresh","work","verdict","transitions","result","merge","sop",{"skillNo":259,"name":260,"nameZh":6,"description":261,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":262,"categories":263,"keywords":264,"publishedAt":40},"01M70SHWJV9N3PQWRAMCQE9C2E","verify-history-rewrite","Formally verify the session-history rewrite path before or after changing it. Use when editing internal\u002Fsession\u002Fautocompact.go, internal\u002Fsession\u002Fcompaction*.go, internal\u002Fsession\u002Fstore.go's Compact\u002FClearEvents\u002FrewriteEvents, internal\u002Fagent\u002Fagent.go's Run\u002FRunStreaming\u002FrunPreTurn, or internal\u002Ftui\u002Fcommands.go's clearConversation\u002FclearSessionContext and the context gauge — or when a turn is canceled mid-flight, a tool call and its result get separated, a session's history disappears while the agent is still working, or the model is sent a tool result whose call was compacted away.","https:\u002F\u002Fgithub.com\u002Fdimetron\u002Fpi-go\u002Fblob\u002Fmain\u002Finternal\u002Fextension\u002Fbundled_skills\u002Fverify-history-rewrite\u002FSKILL.md",[],[265,266,267,219,268,35,222,33,36,269,224,270,226,271,272,255,244,273,34,234],"history","rewrite","verify history rewrite","get","call","compact","store","gauge","commands",{"skillNo":275,"name":276,"nameZh":6,"description":277,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":278,"categories":279,"keywords":280,"publishedAt":40},"01M70SHSJ5A2XV5SXBXM96RH7P","verify-goal-loop","Formally verify the \u002Fgoal automatic loop before or after changing it. Use when editing internal\u002Ftui\u002Fgoal.go, internal\u002Ftui\u002Fagent_loop.go's handleAgentDone\u002FcancelAgent\u002FsteerPrompt, or internal\u002Ftools\u002Fgoal.go's GoalController — or when a goal loop will not stop, stops one cycle early, closes a goal that is not met, or restarts a goal you finished.","https:\u002F\u002Fgithub.com\u002Fdimetron\u002Fpi-go\u002Fblob\u002Fmain\u002Finternal\u002Fextension\u002Fbundled_skills\u002Fverify-goal-loop\u002FSKILL.md",[],[21,281,282,219,230,283,222,247,224,226,284,285,34,234,286,287,288],"verify goal loop","verify goal","goal loop","you","automatic","Tools","it","stop",{"skillNo":290,"name":291,"nameZh":6,"description":292,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":293,"categories":294,"keywords":295,"publishedAt":40},"01M70SHPYN1AS6D6RJ8HN270RZ","verify-agent-lifecycle","Formally verify the subagent lifecycle before or after changing it. Use when editing internal\u002Fsubagent\u002Forchestrator.go's Spawn, trackAgent, forwardAgentEvents, terminalStatus, Cancel, ShutdownWithTimeout or evictCompletedAgentsLocked, or internal\u002Fsubagent\u002Fpool.go — or when a canceled agent is reported as failed, an agent vanishes from the list with no verdict, the orchestrator panics on a pool release, or an agent can be canceled twice.","https:\u002F\u002Fgithub.com\u002Fdimetron\u002Fpi-go\u002Fblob\u002Fmain\u002Finternal\u002Fextension\u002Fbundled_skills\u002Fverify-agent-lifecycle\u002FSKILL.md",[],[296,297,298,219,299,222,224,226,300,301,302,28,253,303,304,305,306,34,287,307],"lifecycle","verify agent lifecycle","agent lifecycle","as","cancel","subagent","can","orchestrator","spawn","release","list","pool",{"skillNo":309,"name":310,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":311,"categories":312,"keywords":313,"publishedAt":40},"01M6E37WZM8ZF36DRYQGZDGP7M","test-new-skill","https:\u002F\u002Fgithub.com\u002Fdimetron\u002Fpi-go\u002Fblob\u002Fmain\u002Finternal\u002Ftui\u002F.pi-go\u002Fskills\u002Ftest-new-skill\u002FSKILL.md",[],[314,315,316,317],"test","new skill","test new skill","new"]