[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78SRXPP5HBPBWRGFDZAR4G2":3,"skill-same:01M78SRXPP5HBPBWRGFDZAR4G2":62},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M78SRXPP5HBPBWRGFDZAR4G2","pi-agent-tool-analysis-report",null,"Build, rerun, update, and interpret the repo's Pi agent tool-analysis reports. Use when a user asks to regenerate reports\u002Fpi-agent-tool-analysis-*.html or *.stats.json, compare Pi worker sweeps, analyze worker tool usage\u002Flift, review kill thresholds, update report HTML formatting, or preserve the repeatable report workflow from reports\u002F.","fjooord\u002Fgamecube-decomp-harness","fjooord","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F44952366?v=4","01M75A80KS3BN58VMNBG7AXAM1","Ford Lascari","01M75A80MCVXVSXGREY7Y9Z8H5",7,"MIT","https:\u002F\u002Fgithub.com\u002Ffjooord\u002Fgamecube-decomp-harness\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002Fpi-agent-tool-analysis-report\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: pi-agent-tool-analysis-report\ndescription: \"Build, rerun, update, and interpret the repo's Pi agent tool-analysis reports. Use when a user asks to regenerate reports\u002Fpi-agent-tool-analysis-*.html or *.stats.json, compare Pi worker sweeps, analyze worker tool usage\u002Flift, review kill thresholds, update report HTML formatting, or preserve the repeatable report workflow from reports\u002F.\"\n---\n\n# Pi Agent Tool Analysis Report\n\nUse this skill to refresh the Pi worker tool-analysis report from repo-local\nSQLite events and worker JSONL transcripts. Keep the existing analyzer and\nrenderer scripts as the source of truth unless the user explicitly asks to\nchange the report shape.\n\nFor report semantics, HTML section expectations, and formatting notes, read\n`references\u002Freport-contract.md` before changing `scripts\u002Fanalyze-pi-agent-tools.py`\nor `scripts\u002Frender-pi-agent-tool-report.py`.\n\n## Standard Workflow\n\n1. Work from the repository root. Inspect recent artifacts and current run\n   mapping:\n\n   ```bash\n   ls -t reports\u002Fpi-agent-tool-analysis-* 2>\u002Fdev\u002Fnull | head -20\n   sed -n '\u002F^RUNS = {\u002F,\u002F^}\u002Fp' scripts\u002Fanalyze-pi-agent-tools.py\n   ```\n\n2. Discover candidate run IDs from the state database. Do not infer run IDs from\n   report filenames.\n\n   ```bash\n   python3 - \u003C\u003C'PY'\n   import sqlite3\n   db = sqlite3.connect(\"projects\u002Fmelee\u002Fstate\u002Forchestrator.sqlite\")\n   rows = db.execute(\"\"\"\n     SELECT run_id, COUNT(*) AS sessions, MIN(created_at), MAX(created_at)\n     FROM pi_sessions\n     WHERE role='worker'\n     GROUP BY run_id\n     ORDER BY MAX(created_at) DESC\n     LIMIT 12\n   \"\"\")\n   for run_id, sessions, first, last in rows:\n       print(f\"{run_id}\\t{sessions}\\t{first}\\t{last}\")\n   PY\n   ```\n\n3. Map the baseline\u002Fcontrol sweep to `run1` and the new\u002Fexperiment\u002Flatest sweep\n   to `run2`. If the mapping needs to change, prefer the helper:\n\n   ```bash\n   python3 .codex\u002Fskills\u002Fpi-agent-tool-analysis-report\u002Fscripts\u002Fset-pi-tool-runs.py \\\n     --run1 \u003Cbaseline-or-control-run-id> \\\n     --run2 \u003Cexperiment-or-latest-run-id>\n   ```\n\n4. Build durable artifacts beside the report:\n\n   ```bash\n   export OUT=\"reports\u002Fpi-agent-tool-analysis-$(date +%F)\"\n   python3 scripts\u002Fanalyze-pi-agent-tools.py \"${OUT}.stats.json\"\n   python3 scripts\u002Frender-pi-agent-tool-report.py \"${OUT}.stats.json\" \"${OUT}.html\"\n   ```\n\n   Use a `\u002Ftmp\u002F*.json` stats path only for scratch exploration. For a handoff or\n   rerunnable result, keep `reports\u002F*.stats.json` next to `reports\u002F*.html`.\n\n5. Validate the output before reporting success:\n\n   ```bash\n   python3 -m json.tool \"${OUT}.stats.json\" >\u002Fdev\u002Fnull\n   python3 - \u003C\u003C'PY'\n   import json, os\n   out = os.environ.get(\"OUT\", \"reports\u002Fpi-agent-tool-analysis\")\n   with open(out + \".stats.json\") as f:\n       stats = json.load(f)\n   assert stats[\"leases\"], \"stats JSON has no leases\"\n   assert {\"run1\", \"run2\"} \u003C= set(stats[\"funnel\"]), \"missing run1\u002Frun2 funnel\"\n   print(len(stats[\"leases\"]), \"leases\")\n   PY\n   rg -n \"\\\\{\\\\{|TODO|Traceback|nan\" \"${OUT}.html\"\n   ```\n\n   `rg` returning no matches for the HTML check is expected.\n\n## Interpretation Rules\n\n- Treat `runner_validation` as canonical. \"Confirmed\" means result\n  `exact`\u002F`improved` with validation status `passed`, not the worker's local\n  claim.\n- Compare runs by rate and worker-hours, not raw success count alone.\n- Keep `run1`\u002F`run2` labels stable for the renderer: `run1` is the comparison\n  baseline, `run2` is the new run.\n- Remember that medium-thinking leases are filtered out by the analyzer; the\n  report is xhigh-only unless the script is intentionally changed.\n- Treat lift as correlational. Use it to choose exposure experiments, not to\n  declare a tool causally good or bad.\n- In-flight leases are excluded from terminal stats. Mid-run refreshes are fine,\n  but call out that the report is a snapshot.\n\n## HTML And Format Changes\n\n- Prefer changing `scripts\u002Frender-pi-agent-tool-report.py` and rerendering over\n  hand-editing generated HTML. If a one-off HTML edit is unavoidable, document\n  that in the report's method note.\n- Keep the report self-contained: inline CSS, no external JS, no remote assets.\n- Preserve the method\u002Fcaveats block near the end and mention data sources,\n  included run IDs, in-flight exclusions, and runner validation.\n- When the user asks for branch-delta or \"big sweep\" formatting, use\n  `reports\u002Fpi-agent-tool-analysis-2026-06-16.html` as the current rich-layout\n  reference and include branch-delta data only when\n  `projects\u002Fmelee\u002Fcheckout\u002Fbuild\u002FGALE01\u002Freport_changes_production.json` is\n  present and relevant.\n- After any tool surface change, update renderer tier lists before rerendering:\n  `PRIMARY_SURFACE_TOOLS`, `INJECTED_CONTEXT_TOOLS`, `AUTO_CLOSE_TOOLS`,\n  `SPECIALIST_TOOLS`, and the optional-action rules.\n","# Pi Agent Tool Analysis Report\n\nUse this skill to refresh the Pi worker tool-analysis report from repo-local\nSQLite events and worker JSONL transcripts. Keep the existing analyzer and\nrenderer scripts as the source of truth unless the user explicitly asks to\nchange the report shape.\n\nFor report semantics, HTML section expectations, and formatting notes, read\n`references\u002Freport-contract.md` before changing `scripts\u002Fanalyze-pi-agent-tools.py`\nor `scripts\u002Frender-pi-agent-tool-report.py`.\n\n## Standard Workflow\n\n1. Work from the repository root. Inspect recent artifacts and current run\n   mapping:\n\n   ```bash\n   ls -t reports\u002Fpi-agent-tool-analysis-* 2>\u002Fdev\u002Fnull | head -20\n   sed -n '\u002F^RUNS = {\u002F,\u002F^}\u002Fp' scripts\u002Fanalyze-pi-agent-tools.py\n   ```\n\n2. Discover candidate run IDs from the state database. Do not infer run IDs from\n   report filenames.\n\n   ```bash\n   python3 - \u003C\u003C'PY'\n   import sqlite3\n   db = sqlite3.connect(\"projects\u002Fmelee\u002Fstate\u002Forchestrator.sqlite\")\n   rows = db.execute(\"\"\"\n     SELECT run_id, COUNT(*) AS sessions, MIN(created_at), MAX(created_at)\n     FROM pi_sessions\n     WHERE role='worker'\n     GROUP BY run_id\n     ORDER BY MAX(created_at) DESC\n     LIMIT 12\n   \"\"\")\n   for run_id, sessions, first, last in rows:\n       print(f\"{run_id}\\t{sessions}\\t{first}\\t{last}\")\n   PY\n   ```\n\n3. Map the baseline\u002Fcontrol sweep to `run1` and the new\u002Fexperiment\u002Flatest sweep\n   to `run2`. If the mapping needs to change, prefer the helper:\n\n   ```bash\n   python3 .codex\u002Fskills\u002Fpi-agent-tool-analysis-report\u002Fscripts\u002Fset-pi-tool-runs.py \\\n     --run1 \u003Cbaseline-or-control-run-id> \\\n     --run2 \u003Cexperiment-or-latest-run-id>\n   ```\n\n4. Build durable artifacts beside the report:\n\n   ```bash\n   export OUT=\"reports\u002Fpi-agent-tool-analysis-$(date +%F)\"\n   python3 scripts\u002Fanalyze-pi-agent-tools.py \"${OUT}.stats.json\"\n   python3 scripts\u002Frender-pi-agent-tool-report.py \"${OUT}.stats.json\" \"${OUT}.html\"\n   ```\n\n   Use a `\u002Ftmp\u002F*.json` stats path only for scratch exploration. For a handoff or\n   rerunnable result, keep `reports\u002F*.stats.json` next to `reports\u002F*.html`.\n\n5. Validate the output before reporting success:\n\n   ```bash\n   python3 -m json.tool \"${OUT}.stats.json\" >\u002Fdev\u002Fnull\n   python3 - \u003C\u003C'PY'\n   import json, os\n   out = os.environ.get(\"OUT\", \"reports\u002Fpi-agent-tool-analysis\")\n   with open(out + \".stats.json\") as f:\n       stats = json.load(f)\n   assert stats[\"leases\"], \"stats JSON has no leases\"\n   assert {\"run1\", \"run2\"} \u003C= set(stats[\"funnel\"]), \"missing run1\u002Frun2 funnel\"\n   print(len(stats[\"leases\"]), \"leases\")\n   PY\n   rg -n \"\\\\{\\\\{|TODO|Traceback|nan\" \"${OUT}.html\"\n   ```\n\n   `rg` returning no matches for the HTML check is expected.\n\n## Interpretation Rules\n\n- Treat `runner_validation` as canonical. \"Confirmed\" means result\n  `exact`\u002F`improved` with validation status `passed`, not the worker's local\n  claim.\n- Compare runs by rate and worker-hours, not raw success count alone.\n- Keep `run1`\u002F`run2` labels stable for the renderer: `run1` is the comparison\n  baseline, `run2` is the new run.\n- Remember that medium-thinking leases are filtered out by the analyzer; the\n  report is xhigh-only unless the script is intentionally changed.\n- Treat lift as correlational. Use it to choose exposure experiments, not to\n  declare a tool causally good or bad.\n- In-flight leases are excluded from terminal stats. Mid-run refreshes are fine,\n  but call out that the report is a snapshot.\n\n## HTML And Format Changes\n\n- Prefer changing `scripts\u002Frender-pi-agent-tool-report.py` and rerendering over\n  hand-editing generated HTML. If a one-off HTML edit is unavoidable, document\n  that in the report's method note.\n- Keep the report self-contained: inline CSS, no external JS, no remote assets.\n- Preserve the method\u002Fcaveats block near the end and mention data sources,\n  included run IDs, in-flight exclusions, and runner validation.\n- When the user asks for branch-delta or \"big sweep\" formatting, use\n  `reports\u002Fpi-agent-tool-analysis-2026-06-16.html` as the current rich-layout\n  reference and include branch-delta data only when\n  `projects\u002Fmelee\u002Fcheckout\u002Fbuild\u002FGALE01\u002Freport_changes_production.json` is\n  present and relevant.\n- After any tool surface change, update renderer tier lists before rerendering:\n  `PRIMARY_SURFACE_TOOLS`, `INJECTED_CONTEXT_TOOLS`, `AUTO_CLOSE_TOOLS`,\n  `SPECIALIST_TOOLS`, and the optional-action rules.\n",{"name":5,"description":7},"main","e7e6fb660782e780949acacded7546400b54f2ae",".codex\u002Fskills\u002Fpi-agent-tool-analysis-report",3,"https:\u002F\u002Fgithub.com\u002Ffjooord\u002Fgamecube-decomp-harness","https:\u002F\u002Fgithub.com\u002Ffjooord","https:\u002F\u002Flascari.ai\u002F","2026-11-06 04:39:50",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add fjooord\u002Fgamecube-decomp-harness --skill pi-agent-tool-analysis-report",{"tool":38,"command":39},"bunx","bunx skills add fjooord\u002Fgamecube-decomp-harness --skill pi-agent-tool-analysis-report",{"tool":41,"command":42},"pnpm","pnpm dlx skills add fjooord\u002Fgamecube-decomp-harness --skill pi-agent-tool-analysis-report","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ffjooord\u002Fgamecube-decomp-harness\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002Fpi-agent-tool-analysis-report\u002FSKILL.md",true,[46,52,56],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"agents\u002Fopenai.yaml","REFERENCE","参考文档",258,"https:\u002F\u002Fgithub.com\u002Ffjooord\u002Fgamecube-decomp-harness\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002Fpi-agent-tool-analysis-report\u002Fagents\u002Fopenai.yaml",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Freport-contract.md",5529,"https:\u002F\u002Fgithub.com\u002Ffjooord\u002Fgamecube-decomp-harness\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002Fpi-agent-tool-analysis-report\u002Freferences\u002Freport-contract.md",{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"scripts\u002Fset-pi-tool-runs.py","SCRIPT","脚本",1995,"https:\u002F\u002Fgithub.com\u002Ffjooord\u002Fgamecube-decomp-harness\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002Fpi-agent-tool-analysis-report\u002Fscripts\u002Fset-pi-tool-runs.py",[63,70,77,84,91,98],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M78ST6YK3EBH0GKFER68ZV8V","better-writing","UX writing and interface copy, from voice and button labels to error messages and empty states. Use when writing or reviewing any user-facing text: button and link labels, form errors, placeholders, settings labels, onboarding flows, notifications, or empty states. Triggers on UX writing, microcopy, interface copy, product copy, copywriting, button labels, link text, error messages, empty states, placeholder text, settings labels, capitalization, title case, sentence case, voice and tone.","https:\u002F\u002Fgithub.com\u002Ffjooord\u002Fgamecube-decomp-harness\u002Fblob\u002Fmain\u002Fref\u002Fjakubkrehel skills main skills\u002Fbetter-writing\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M78ST15FSPN2WB4T98BP4HXE","better-ui","Design engineering principles for making interfaces feel polished. Use when building UI components, reviewing frontend code, implementing animations, hover states, shadows, borders, micro-interactions, enter\u002Fexit animations, choosing or reviewing icons, or any visual detail work. Triggers on UI polish, design details, \"make it feel better\", \"feels off\", stagger animations, border radius, optical alignment, image outlines, box shadows, icons, icon stroke weight, icon states, motion restraint.","https:\u002F\u002Fgithub.com\u002Ffjooord\u002Fgamecube-decomp-harness\u002Fblob\u002Fmain\u002Fref\u002Fjakubkrehel skills main skills\u002Fbetter-ui\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M78SSSVHD4MB3GWJFPHAR6NX","better-typography","Web typography from choosing fonts to spacing, wrapping and accessibility. Use when picking or pairing typefaces, configuring variable fonts or OpenType features, setting up a type scale, checking heading hierarchy, styling text in components, truncating text, styling underlines, selection, placeholders or carets, or reviewing frontend code for typography. Triggers on typography, fonts, font formats, woff2, variable fonts, font-weight, opentype, font-feature-settings, letter-spacing, line-height, type scale, heading hierarchy, heading levels, tabular numbers, text-wrap, truncation, line clamp, underlines, text-decoration, text selection, iOS input zoom, font smoothing, text contrast, measure, line length, text-box, smart punctuation, drop cap.","https:\u002F\u002Fgithub.com\u002Ffjooord\u002Fgamecube-decomp-harness\u002Fblob\u002Fmain\u002Fref\u002Fjakubkrehel skills main skills\u002Fbetter-typography\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M78SSM8Z4ESHX0YA5GQSKREK","better-layout","Layout structure for web interfaces, from grouping and alignment to reading order, progressive disclosure, and adaptive breakpoints. Use when structuring a page or component, spacing or aligning controls, deciding what collapses at small sizes, handling RTL layout direction, or reviewing frontend code for layout. Triggers on layout, spacing, alignment, grouping, negative space, whitespace, visual hierarchy, reading order, progressive disclosure, breakpoints, responsive layout, container queries, safe area, full-bleed, edge-to-edge, layout margins, RTL layout, logical properties.","https:\u002F\u002Fgithub.com\u002Ffjooord\u002Fgamecube-decomp-harness\u002Fblob\u002Fmain\u002Fref\u002Fjakubkrehel skills main skills\u002Fbetter-layout\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M78SSFS2YJ7CAJTS6PXA8YYY","better-interface","User-invoked, cross-discipline interface review that coordinates better-accessibility, better-layout, better-writing, better-typography, better-colors, and better-ui. Use when explicitly invoked for a holistic review of a screen, flow, feature, or product interface. Supports quick and full review modes. Triggers on better-interface, full interface review, holistic UI audit, cross-discipline design review, review the whole interface.","https:\u002F\u002Fgithub.com\u002Ffjooord\u002Fgamecube-decomp-harness\u002Fblob\u002Fmain\u002Fref\u002Fjakubkrehel skills main skills\u002Fbetter-interface\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M78SSB3HCMJVWVZYQ7QN5VPX","better-colors","OKLCH color space and color usage for web projects. Convert hex\u002Frgb\u002Fhsl to oklch, generate palettes, check contrast, handle gamut boundaries, theme with Tailwind v4, and apply color with meaning. Triggers on oklch, color conversion, palette generation, contrast ratio, gamut, display p3, design tokens, semantic color tokens, hue drift, chroma, dark mode colors, accent color, color meaning, light and dark appearance, increased contrast.","https:\u002F\u002Fgithub.com\u002Ffjooord\u002Fgamecube-decomp-harness\u002Fblob\u002Fmain\u002Fref\u002Fjakubkrehel skills main skills\u002Fbetter-colors\u002FSKILL.md",[],[]]