[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6E36PS6TFXMQE81CSZ0X9E8":3,"skill-same:01M6E36PS6TFXMQE81CSZ0X9E8":105},{"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":41,"linkOnly":42,"markdownContent":43,"markdownBody":44,"frontMatter":45,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":49,"repositoryHtmlUrl":50,"repositoryHomepageUrl":51,"ownerHtmlUrl":52,"ownerBlogUrl":6,"ownerDescription":53,"updatedAt":54,"install":55,"resources":68},"01M6E36PS6TFXMQE81CSZ0X9E8","pi-check-session-logs",null,"Analyze pi-go session logs (last 24h by default) for tool call errors, deduplicate them, and present a summary table with error patterns and counts.","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-check-session-logs\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"logs","check","pi","session","session logs","pi check session logs","patterns","error patterns","for","last","errors","with","error","present","call","summary","go","default","table","analyze","tool","deduplicate","2026-11-10 10:12:30",false,"---\nname: pi-check-session-logs\ndescription: Analyze pi-go session logs (last 24h by default) for tool call errors, deduplicate them, and present a summary table with error patterns and counts.\n---\n\n# Check Session Logs\n\nScan recent pi-go session logs for tool call errors, deduplicate by pattern, and present results.\n\n## Steps\n\n1. **Run the analysis script** (scans last 24h by default, override with `HOURS=N`):\n\n```bash\nbash .pi-go\u002Fskills\u002Fpi-check-session-logs\u002Fanalyze.sh\n```\n\nTo scan a different time window:\n\n```bash\nHOURS=48 bash .pi-go\u002Fskills\u002Fpi-check-session-logs\u002Fanalyze.sh\n```\n\n2. **Present the raw output** to the user as-is — the script already formats a markdown table.\n\n3. **Suggest optimizations** based on the error patterns:\n   - For \"not found\" errors: suggest better path resolution or fallback logic\n   - For \"permission denied\": suggest sandbox configuration changes\n   - For \"exit code\" failures: suggest build\u002Ftest fixes\n   - For repeated tool errors: suggest system prompt improvements to avoid the pattern\n   - For STREAM_ERROR: suggest retry\u002Freconnect improvements\n\n4. **Extract actionable fixes** — After presenting the summary, create (or update) an actionable fixes document:\n\n   ```\n   mkdir -p .\u002Fspecs\u002Fissues\u002F001-session-errors\n   echo \"\u003Cresearch>\" > .\u002Fspecs\u002Fissues\u002F001-session-errors\u002FPROMPT.md\n   ```\n\n   This file should contain a prompt that can be loaded to guide the agent toward fixing the detected error patterns. Structure it with sections for:\n   - The top N error patterns are detected (with specific examples)\n   - Corresponding fix suggestions per pattern\n   - Context about when each fix applies (which tools, which scenarios)\n\n   Use this format for the prompt file:\n\n   ```markdown\n   # Session Error Fix Prompts\n\n   ## Pattern: [error name]\n   - **Detected in**: [sessions\u002Ffiles where found]\n   - **Fix suggestion**: [specific actionable steps]\n   ```\n\n   If the file already exists, update it to include new patterns while preserving existing ones.\n\n## Examples\n\n- `\u002Fpi-check-session-logs` — Analyze logs from last 24h\n- `\u002Fpi-check-session-logs HOURS=48` — Analyze logs from last 48h\n\n5. **Run the analysis for the findings**\n\nResearch on each issue using subagent - for each issue with priority, score, if it's going to be implemented or rejected. \n\nSave the findings in .\u002Fspecs\u002Fissues\u002F001-session-errors\u002FPROMPT.md","# Check Session Logs\n\nScan recent pi-go session logs for tool call errors, deduplicate by pattern, and present results.\n\n## Steps\n\n1. **Run the analysis script** (scans last 24h by default, override with `HOURS=N`):\n\n```bash\nbash .pi-go\u002Fskills\u002Fpi-check-session-logs\u002Fanalyze.sh\n```\n\nTo scan a different time window:\n\n```bash\nHOURS=48 bash .pi-go\u002Fskills\u002Fpi-check-session-logs\u002Fanalyze.sh\n```\n\n2. **Present the raw output** to the user as-is — the script already formats a markdown table.\n\n3. **Suggest optimizations** based on the error patterns:\n   - For \"not found\" errors: suggest better path resolution or fallback logic\n   - For \"permission denied\": suggest sandbox configuration changes\n   - For \"exit code\" failures: suggest build\u002Ftest fixes\n   - For repeated tool errors: suggest system prompt improvements to avoid the pattern\n   - For STREAM_ERROR: suggest retry\u002Freconnect improvements\n\n4. **Extract actionable fixes** — After presenting the summary, create (or update) an actionable fixes document:\n\n   ```\n   mkdir -p .\u002Fspecs\u002Fissues\u002F001-session-errors\n   echo \"\u003Cresearch>\" > .\u002Fspecs\u002Fissues\u002F001-session-errors\u002FPROMPT.md\n   ```\n\n   This file should contain a prompt that can be loaded to guide the agent toward fixing the detected error patterns. Structure it with sections for:\n   - The top N error patterns are detected (with specific examples)\n   - Corresponding fix suggestions per pattern\n   - Context about when each fix applies (which tools, which scenarios)\n\n   Use this format for the prompt file:\n\n   ```markdown\n   # Session Error Fix Prompts\n\n   ## Pattern: [error name]\n   - **Detected in**: [sessions\u002Ffiles where found]\n   - **Fix suggestion**: [specific actionable steps]\n   ```\n\n   If the file already exists, update it to include new patterns while preserving existing ones.\n\n## Examples\n\n- `\u002Fpi-check-session-logs` — Analyze logs from last 24h\n- `\u002Fpi-check-session-logs HOURS=48` — Analyze logs from last 48h\n\n5. **Run the analysis for the findings**\n\nResearch on each issue using subagent - for each issue with priority, score, if it's going to be implemented or rejected. \n\nSave the findings in .\u002Fspecs\u002Fissues\u002F001-session-errors\u002FPROMPT.md",{"name":5,"description":7},"main","bcfcd42255878c3d40e545abcdeb2520b6d31a52",".pi-go\u002Fskills\u002Fpi-check-session-logs",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":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add dimetron\u002Fpi-go --skill pi-check-session-logs",{"tool":61,"command":62},"bunx","bunx skills add dimetron\u002Fpi-go --skill pi-check-session-logs",{"tool":64,"command":65},"pnpm","pnpm dlx skills add dimetron\u002Fpi-go --skill pi-check-session-logs","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdimetron\u002Fpi-go\u002Fblob\u002Fmain\u002F.pi-go\u002Fskills\u002Fpi-check-session-logs\u002FSKILL.md",true,[69,75,81,85,89,93,97,101],{"path":70,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":74},"analyze.sh","SCRIPT","脚本",6989,"https:\u002F\u002Fgithub.com\u002Fdimetron\u002Fpi-go\u002Fblob\u002Fmain\u002F.pi-go\u002Fskills\u002Fpi-check-session-logs\u002Fanalyze.sh",{"path":76,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":79,"sourceHtmlUrl":80},"references\u002Fcode-quality-checklist.md","REFERENCE","参考文档",3619,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__cklxx--code-review\u002Freferences\u002Fcode-quality-checklist.md",{"path":82,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Fremoval-plan.md",1450,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__cklxx--code-review\u002Freferences\u002Fremoval-plan.md",{"path":86,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":87,"sourceHtmlUrl":88},"references\u002Fsecurity-checklist.md",4231,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__cklxx--code-review\u002Freferences\u002Fsecurity-checklist.md",{"path":90,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":91,"sourceHtmlUrl":92},"references\u002Fsolid-checklist.md",3474,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__cklxx--code-review\u002Freferences\u002Fsolid-checklist.md",{"path":94,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":95,"sourceHtmlUrl":96},"run.py",3436,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__cklxx--code-review\u002Frun.py",{"path":98,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":99,"sourceHtmlUrl":100},"tests\u002F__init__.py",0,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__cklxx--code-review\u002Ftests\u002F__init__.py",{"path":102,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":103,"sourceHtmlUrl":104},"tests\u002Ftest_code_review.py",4183,"https:\u002F\u002Fgithub.com\u002FJSGforever\u002Fskillguard\u002Fblob\u002Fmain\u002Fbenchmarks\u002Ffinal\u002Fskills\u002Fasset1__cklxx--code-review\u002Ftests\u002Ftest_code_review.py",[106,131,154,170,185,204],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":41},"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",[],[22,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,35,129,130],"verify session flow","verify","flow","submit","editing","init","use","loop","prompt","when","interactive","reports","first","goal","CTRL","clear","spinner","tui",{"skillNo":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":41},"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",[],[138,139,114,140,141,142,117,143,144,145,119,122,146,147,148,149,150,151,152,153],"pipeline","verify run pipeline","run","run pipeline","retry","cycle","run phase","machine","phase","refresh","work","verdict","transitions","result","merge","sop",{"skillNo":155,"name":156,"nameZh":6,"description":157,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":158,"categories":159,"keywords":160,"publishedAt":41},"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",[],[161,162,163,114,164,165,117,22,39,33,119,166,122,167,168,151,140,169,35,130],"history","rewrite","verify history rewrite","get","model","compact","store","gauge","commands",{"skillNo":171,"name":172,"nameZh":6,"description":173,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":174,"categories":175,"keywords":176,"publishedAt":41},"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",[],[120,177,178,114,126,179,117,143,119,122,180,181,35,130,182,183,184],"verify goal loop","verify goal","goal loop","you","automatic","Tools","it","stop",{"skillNo":186,"name":187,"nameZh":6,"description":188,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":189,"categories":190,"keywords":191,"publishedAt":41},"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",[],[192,193,194,114,195,117,119,122,196,197,198,30,149,199,200,201,202,35,183,203],"lifecycle","verify agent lifecycle","agent lifecycle","as","cancel","subagent","can","orchestrator","spawn","release","list","pool",{"skillNo":205,"name":206,"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":207,"categories":208,"keywords":209,"publishedAt":41},"01M6E37WZM8ZF36DRYQGZDGP7M","test-new-skill","https:\u002F\u002Fgithub.com\u002Fdimetron\u002Fpi-go\u002Fblob\u002Fmain\u002Finternal\u002Ftui\u002F.pi-go\u002Fskills\u002Ftest-new-skill\u002FSKILL.md",[],[210,211,212,213],"test","new skill","test new skill","new"]