[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6JGZTQ2PVA7VB4Z9MENQGWX":3,"skill-same:01M6JGZTQ2PVA7VB4Z9MENQGWX":66},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":14,"repositoryHtmlUrl":47,"repositoryHomepageUrl":6,"ownerHtmlUrl":48,"ownerBlogUrl":49,"ownerDescription":50,"updatedAt":51,"install":52,"resources":65},"01M6JGZTQ2PVA7VB4Z9MENQGWX","analyze-config",null,"Analyze Agent Smith session metrics and produce tuning recommendations for Claude Code, Codex, OpenCode, or Pi. Use when asked to analyze metrics, tune config, review agent performance, generate a performance report, or optimize agent settings.","chetmancini\u002Fagent-smith","chetmancini","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F170039?v=4","01M6JGZ7AG7F23SVP99D30TJBJ","chet","01M6JGZ7EVFQYQ1QMWA8HKTXRX",0,"MIT","https:\u002F\u002Fgithub.com\u002Fchetmancini\u002Fagent-smith\u002Fblob\u002Fmain\u002Fskills\u002Fanalyze-config\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"analyze config","config","analyze","settings","for","performance report","recommendations","optimize","opencode","use","session","pi","review","produce","review agent","report","code","generate","performance","codex","2026-11-10 10:12:30",false,"---\nname: analyze-config\ndescription: Analyze Agent Smith session metrics and produce tuning recommendations for Claude Code, Codex, OpenCode, or Pi. Use when asked to analyze metrics, tune config, review agent performance, generate a performance report, or optimize agent settings.\n---\n\n# Analyze Config\n\nAnalyze session metrics and produce tuning recommendations for Claude Code, Codex, OpenCode, or Pi configuration.\n\n## Resolve Agent Smith Root\n\nBefore running any scripts, resolve `AGENT_SMITH_ROOT`:\n\n- If the current repo already contains `scripts\u002Fanalyze-config.sh` plus `.claude-plugin\u002Fplugin.json`, `.codex-plugin\u002Fplugin.json`, `opencode-plugin\u002Fpackage.json`, or `.pi\u002Fextensions\u002Fagent-smith\u002Findex.ts`, use the current repo root.\n- Otherwise, locate the installed Agent Smith plugin root first, then run all scripts from that path.\n\n## Process\n\n1. **Resolve the initiating agent**: use `claude` when running inside Claude Code, `codex` when running inside Codex, `opencode` when running inside OpenCode, and `pi` when running inside Pi. Do not mix them unless the user explicitly asks for a cross-agent report.\n2. **Run rollup**: Execute `bash \"${AGENT_SMITH_ROOT}\u002Fscripts\u002Fmetrics-rollup.sh\"` to ensure the SQLite database at `~\u002F.config\u002Fagent-smith\u002Frollup.db` is current\n3. **Run local analysis first**: Execute `bash \"${AGENT_SMITH_ROOT}\u002Fscripts\u002Fanalyze-config.sh\" --sessions 50 --tool \u003Cinitiating-agent>` (adjust session count as needed)\n4. **Read the report**: Read the generated report from `~\u002F.config\u002Fagent-smith\u002Freports\u002F`\n5. **Only use LLM analysis with explicit approval**: If the user wants AI-generated tuning suggestions, execute `bash \"${AGENT_SMITH_ROOT}\u002Fscripts\u002Fanalyze-config.sh\" --llm --sessions 50 --tool \u003Cinitiating-agent>`. Only add `--include-settings` if the user explicitly approves sending the relevant local settings snapshot.\n6. **Categorize suggestions**: Split findings into auto-apply (safe) and approval-required (structural)\n7. **Apply safe changes**: For wording improvements in the initiating agent's prompt\u002Finstruction files, apply directly — these are non-breaking prompt refinements\n8. **Present structural changes**: For permission changes, hook timeout adjustments, hook additions, or settings modifications — show the user a summary table with the proposed change, risk level, and rationale. Wait for explicit approval before applying\n9. **Validate**: After any changes, verify the relevant config file still parses\n\n## What to Look For\n\n- **High tool failure rates** -> suggest timeout increases or prompt improvements\n- **Frequent permission denials** -> suggest additions to `permissions.allow` in settings.json\n- **Test failure loops** -> suggest better test strategy wording in commands or CLAUDE.md\n- **Clarifying question patterns** -> suggest more prescriptive wording in the commands that triggered vague prompts\n- **Session stop reasons** (e.g. frequent `max_tokens`) -> suggest model or effort level adjustments\n\n## Auto-Apply Rules\n\n**Safe to apply directly (non-breaking):**\n\n- Wording improvements in `~\u002F.claude\u002Fcommands\u002F*.md` or `.claude\u002Fcommands\u002F*.md`\n- Wording improvements in CLAUDE.md files\n- Adding clarifying instructions to existing prompt text\n\n**Requires user approval:**\n\n- Adding items to `permissions.allow` in settings.json\n- Changing hook timeouts or matchers in settings.json\n- Adding or removing hooks\n- Modifying model or effort level settings\n- Changes to hook shell scripts\n\n## Raw Data Mode\n\nLocal raw analysis is the default: `bash \"${AGENT_SMITH_ROOT}\u002Fscripts\u002Fanalyze-config.sh\" --sessions 50 --tool \u003Cinitiating-agent>`\n","# Analyze Config\n\nAnalyze session metrics and produce tuning recommendations for Claude Code, Codex, OpenCode, or Pi configuration.\n\n## Resolve Agent Smith Root\n\nBefore running any scripts, resolve `AGENT_SMITH_ROOT`:\n\n- If the current repo already contains `scripts\u002Fanalyze-config.sh` plus `.claude-plugin\u002Fplugin.json`, `.codex-plugin\u002Fplugin.json`, `opencode-plugin\u002Fpackage.json`, or `.pi\u002Fextensions\u002Fagent-smith\u002Findex.ts`, use the current repo root.\n- Otherwise, locate the installed Agent Smith plugin root first, then run all scripts from that path.\n\n## Process\n\n1. **Resolve the initiating agent**: use `claude` when running inside Claude Code, `codex` when running inside Codex, `opencode` when running inside OpenCode, and `pi` when running inside Pi. Do not mix them unless the user explicitly asks for a cross-agent report.\n2. **Run rollup**: Execute `bash \"${AGENT_SMITH_ROOT}\u002Fscripts\u002Fmetrics-rollup.sh\"` to ensure the SQLite database at `~\u002F.config\u002Fagent-smith\u002Frollup.db` is current\n3. **Run local analysis first**: Execute `bash \"${AGENT_SMITH_ROOT}\u002Fscripts\u002Fanalyze-config.sh\" --sessions 50 --tool \u003Cinitiating-agent>` (adjust session count as needed)\n4. **Read the report**: Read the generated report from `~\u002F.config\u002Fagent-smith\u002Freports\u002F`\n5. **Only use LLM analysis with explicit approval**: If the user wants AI-generated tuning suggestions, execute `bash \"${AGENT_SMITH_ROOT}\u002Fscripts\u002Fanalyze-config.sh\" --llm --sessions 50 --tool \u003Cinitiating-agent>`. Only add `--include-settings` if the user explicitly approves sending the relevant local settings snapshot.\n6. **Categorize suggestions**: Split findings into auto-apply (safe) and approval-required (structural)\n7. **Apply safe changes**: For wording improvements in the initiating agent's prompt\u002Finstruction files, apply directly — these are non-breaking prompt refinements\n8. **Present structural changes**: For permission changes, hook timeout adjustments, hook additions, or settings modifications — show the user a summary table with the proposed change, risk level, and rationale. Wait for explicit approval before applying\n9. **Validate**: After any changes, verify the relevant config file still parses\n\n## What to Look For\n\n- **High tool failure rates** -> suggest timeout increases or prompt improvements\n- **Frequent permission denials** -> suggest additions to `permissions.allow` in settings.json\n- **Test failure loops** -> suggest better test strategy wording in commands or CLAUDE.md\n- **Clarifying question patterns** -> suggest more prescriptive wording in the commands that triggered vague prompts\n- **Session stop reasons** (e.g. frequent `max_tokens`) -> suggest model or effort level adjustments\n\n## Auto-Apply Rules\n\n**Safe to apply directly (non-breaking):**\n\n- Wording improvements in `~\u002F.claude\u002Fcommands\u002F*.md` or `.claude\u002Fcommands\u002F*.md`\n- Wording improvements in CLAUDE.md files\n- Adding clarifying instructions to existing prompt text\n\n**Requires user approval:**\n\n- Adding items to `permissions.allow` in settings.json\n- Changing hook timeouts or matchers in settings.json\n- Adding or removing hooks\n- Modifying model or effort level settings\n- Changes to hook shell scripts\n\n## Raw Data Mode\n\nLocal raw analysis is the default: `bash \"${AGENT_SMITH_ROOT}\u002Fscripts\u002Fanalyze-config.sh\" --sessions 50 --tool \u003Cinitiating-agent>`\n",{"name":5,"description":7},"main","fc2b3d28429dc60a690d69138f815ec5b8a8de73","skills\u002Fanalyze-config","https:\u002F\u002Fgithub.com\u002Fchetmancini\u002Fagent-smith","https:\u002F\u002Fgithub.com\u002Fchetmancini","http:\u002F\u002Fchetmancini.com","AI Platform Engineering at Norm Ai. Available for speaking.","2026-06-06 13:14:10",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add chetmancini\u002Fagent-smith --skill analyze-config",{"tool":58,"command":59},"bunx","bunx skills add chetmancini\u002Fagent-smith --skill analyze-config",{"tool":61,"command":62},"pnpm","pnpm dlx skills add chetmancini\u002Fagent-smith --skill analyze-config","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fchetmancini\u002Fagent-smith\u002Fblob\u002Fmain\u002Fskills\u002Fanalyze-config\u002FSKILL.md",true,[],[67,89,106,111,116,121],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":39},"01M6JH01M596F5SFY6F5PAEJP4","validate-schemas","Validate the installed agent config against the latest schema, surface new features to adopt, and flag deprecated config to remove. Use when asked to validate settings, check schema, update schemas, verify configuration files, or review config for new\u002Fdeprecated options.","https:\u002F\u002Fgithub.com\u002Fchetmancini\u002Fagent-smith\u002Fblob\u002Fmain\u002Fskills\u002Fvalidate-schemas\u002FSKILL.md",[],[74,75,31,20,76,77,78,79,22,80,28,81,82,83,84,85,86,23,87,88],"validate","validate schemas","update","verify","agent config","check","remove","schema","files","validate settings","options","adopt","latest","features","deprecated",{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":39},"01M6JGZXTZ96GX0JPK1PAQDHJX","upgrade-settings","Refresh the latest schema for the active agent, compare it against the installed config, and produce an implementation plan for new features to adopt or deprecated settings to remove. Use when asked to review schema updates, upgrade settings, leverage new schema features, deprecate old settings, or turn schema drift into an actionable implementation plan.","https:\u002F\u002Fgithub.com\u002Fchetmancini\u002Fagent-smith\u002Fblob\u002Fmain\u002Fskills\u002Fupgrade-settings\u002FSKILL.md",[],[22,96,97,31,20,32,98,99,80,28,81,100,101,85,102,103,104,105,23,87],"upgrade","upgrade settings","plan","refresh","drift","active","leverage","compare","actionable","updates",{"skillNo":107,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":39},"01M6JGZQ9VMEDRXWDFZVF78J06","https:\u002F\u002Fgithub.com\u002Fchetmancini\u002Fagent-smith\u002Fblob\u002Fmain\u002Fgrok-plugin\u002Fskills\u002Fvalidate-schemas\u002FSKILL.md",[],[74,75,31,20,76,77,78,79,22,80,28,81,82,83,84,85,86,23,87,88],{"skillNo":112,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":39},"01M6JGZKX4PSCW7PZ093NSTTVY","https:\u002F\u002Fgithub.com\u002Fchetmancini\u002Fagent-smith\u002Fblob\u002Fmain\u002Fgrok-plugin\u002Fskills\u002Fupgrade-settings\u002FSKILL.md",[],[22,96,97,31,20,32,98,99,80,28,81,100,101,85,102,103,104,105,23,87],{"skillNo":117,"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":118,"categories":119,"keywords":120,"publishedAt":39},"01M6JGZETGZS77FVE3ZKZ7QAGR","https:\u002F\u002Fgithub.com\u002Fchetmancini\u002Fagent-smith\u002Fblob\u002Fmain\u002Fgrok-plugin\u002Fskills\u002Fanalyze-config\u002FSKILL.md",[],[20,21,19,31,38,37,36,35,34,33,32,22,30,29,28,27,26,25,24,23],{"skillNo":122,"name":69,"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":123,"categories":124,"keywords":125,"publishedAt":39},"01M6JGZCQ2V08FEHWFY968MK63","https:\u002F\u002Fgithub.com\u002Fchetmancini\u002Fagent-smith\u002Fblob\u002Fmain\u002F.grok\u002Fskills\u002Fvalidate-schemas\u002FSKILL.md",[],[74,75]]