[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DV5HPF3EW57VWE5DPT7TNY":3,"skill-same:01M7DV5HPF3EW57VWE5DPT7TNY":74},{"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":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7DV5HPF3EW57VWE5DPT7TNY","mk-context-audit",null,"Read-only audit of the project's agent-tree structural overhead vs the context window. NOT for cost tracking (budget skill); NOT for read\u002Fcompact decisions (mk:context-engineering).","ngocsangyem\u002FMeowKit","ngocsangyem","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F33769536?v=4","01M6J3FSMJAG9PVQEGRT7AQ9J2","Sang Nguyen","01M6J3FSRTJG0MNP6NV71639RM",16,"MIT","https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fkit\u002Fbundles\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-context-audit\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: \"mk-context-audit\"\ndescription: \"Read-only audit of the project's agent-tree structural overhead vs the context window. NOT for cost tracking (budget skill); NOT for read\u002Fcompact decisions (mk:context-engineering).\"\n---\n\n# the context-audit skill — Context Window Structural Audit\n\nRead-only audit of the project's agent-tree (`.cursor\u002F` + `.cursor\u002Fskills\u002F`) structural overhead. Surfaces what is loaded into\nevery host-runtime session and how much of the context window it consumes,\nthen recommends the highest-leverage trims.\n\nComplementary lens: the toolkit source repository (not part of this install) keeps a\ngenerated substrate view that groups the same artifact set by the responsibility each\nserves (covered \u002F partial \u002F missing), and `mewkit validate --substrate` there reports\nwhether that view is in sync and every responsibility is covered, so a trim can be\nchecked against responsibility coverage before removing an artifact. The\nper-phase read budget that bounds what an audit-driven session should load lives in\nthe context-budget rules.\n\n## When to Use\n\nThree concrete triggers:\n\n1. **Pre-add capacity check** — before adding a new agent, skill, or rule file,\n   confirm the project is below the 25% structural-overhead threshold.\n2. **Post-degradation diagnostic** — when sessions feel slow, off-topic, or\n   over-compacted, audit to see if structural overhead has grown past 10%.\n3. **Periodic health audit** — quarterly or on model upgrades, confirm\n   the always-on bundle still pays its keep (paired with the dead-weight audit\n   in the harness rules Rule 7).\n\n## Context vs Cost (Boundary)\n\n| Concern                         | Mechanism                                                | Unit          |\n| ------------------------------- | -------------------------------------------------------- | ------------- |\n| Monetary cost                   | `the budget skill` + `..\u002Fautobuild\u002Fscripts\u002Fbudget-tracker.sh`  | USD           |\n| Window utilization (this skill) | `the context-audit skill` + `scripts\u002Finventory-context.sh`      | tokens \u002F %    |\n\nThe three concerns are deliberately separate. This skill measures only what\nis **statically loaded** into every session — the always-on bundle. Conversation\nhistory, tool output, and active edits live elsewhere.\n\n## Workflow\n\nThe slash command runs the pipeline:\n\n```bash\nSCAN_ROOT=\"${1:-$PWD}\"\nbash .cursor\u002Fskills\u002Fcontext-audit\u002Fscripts\u002Finventory-context.sh \"$SCAN_ROOT\" \\\n  | bash .cursor\u002Fskills\u002Fcontext-audit\u002Fscripts\u002Festimate-tokens.sh \\\n  | bash .cursor\u002Fskills\u002Fcontext-audit\u002Fscripts\u002Fformat-audit-report.sh\n```\n\nOutput is markdown, printed to terminal. The skill does NOT write any files.\n\nSteps:\n\n1. **Inventory** — `inventory-context.sh` walks the agent tree and emits raw\n   byte\u002Fline counts per category (AGENTS.md chain, agents, skills, rules,\n   MCP) as JSON.\n2. **Estimate** — `estimate-tokens.sh` enriches the inventory with\n   `estimated_tokens` (chars\u002F4 heuristic) and\n   computes `totals` including `structural_overhead_pct` against a 200K window.\n3. **Format** — `format-audit-report.sh` emits a 5-section markdown report:\n   header, summary table, top consumers, recommendations, footer.\n4. **Banner** — the formatter selects a banner based on\n   `structural_overhead_pct`:\n   - `\u003C 10%`  → Healthy\n   - `10–25%` → Watch\n   - `≥ 25%`  → Action recommended\n\n## Output Format\n\n```\n# Context Audit — \u003Cscan_root>\n*Scanned at \u003Ctimestamp> · model window 200K tokens · banner: \u003CHealthy|Watch|Action>*\n\n## Summary\n| Category | Components | Bytes | Tokens | % of Window |\n| ...      | ...        | ...   | ...    | ...          |\n\n## Top Consumers\n1. \u003Ccomponent> ~\u003Ctokens> (\u003Cpath>)\n... (top 10)\n\n## Recommendations\n1. \u003Cpriority finding> — saves ~\u003Ctokens>\n... (sorted by token impact, descending)\n\n## How to Act\n- Cost: see `the budget skill`\n- Runtime trim: see `mk:lazy-agent-loader`\n```\n\nThe 10% \u002F 25% thresholds are the canonical source of truth for token-overhead\nbanners — see `references\u002Ftoken-cost-model.md`. They are NOT linked to\n`MEOWKIT_BUDGET_*` env vars (those are USD amounts, not token percentages).\n\n## Integration Points\n\n- **Self-contained heuristic:** `scripts\u002Festimate-tokens.sh` defines the chars\u002F4\n  estimate inline; it needs no hook or build step.\n- **Reads, does not write:** `.meowkit\u002Ftelemetry\u002Fcost-log.json`,\n  the project's agent-tree, `.mcp.json`. No file writes anywhere.\n- **No env vars introduced.** Window size is hard-coded 200K; override deferred\n  until a real 1M-context use case appears.\n- **Discovery:** via `keywords:` frontmatter and a cross-reference from\n  `the budget skill`. There is no separate routing rule.\n\n## Gotchas\n\n(none yet — grow from observed failures)\n\n## Related Rules\n\n- Skill authoring conventions — discovery + Gotchas section requirements\n- `AGENTS.md` (Data & injection boundary) Rule 11 — Skill Rule of Two; this skill\n  scores 2 of 3 (untrusted SCAN_ROOT input + filename inventory may surface\n  sensitive paths) so paths are canonicalized via `realpath` and never executed.","# the context-audit skill — Context Window Structural Audit\n\nRead-only audit of the project's agent-tree (`.cursor\u002F` + `.cursor\u002Fskills\u002F`) structural overhead. Surfaces what is loaded into\nevery host-runtime session and how much of the context window it consumes,\nthen recommends the highest-leverage trims.\n\nComplementary lens: the toolkit source repository (not part of this install) keeps a\ngenerated substrate view that groups the same artifact set by the responsibility each\nserves (covered \u002F partial \u002F missing), and `mewkit validate --substrate` there reports\nwhether that view is in sync and every responsibility is covered, so a trim can be\nchecked against responsibility coverage before removing an artifact. The\nper-phase read budget that bounds what an audit-driven session should load lives in\nthe context-budget rules.\n\n## When to Use\n\nThree concrete triggers:\n\n1. **Pre-add capacity check** — before adding a new agent, skill, or rule file,\n   confirm the project is below the 25% structural-overhead threshold.\n2. **Post-degradation diagnostic** — when sessions feel slow, off-topic, or\n   over-compacted, audit to see if structural overhead has grown past 10%.\n3. **Periodic health audit** — quarterly or on model upgrades, confirm\n   the always-on bundle still pays its keep (paired with the dead-weight audit\n   in the harness rules Rule 7).\n\n## Context vs Cost (Boundary)\n\n| Concern                         | Mechanism                                                | Unit          |\n| ------------------------------- | -------------------------------------------------------- | ------------- |\n| Monetary cost                   | `the budget skill` + `..\u002Fautobuild\u002Fscripts\u002Fbudget-tracker.sh`  | USD           |\n| Window utilization (this skill) | `the context-audit skill` + `scripts\u002Finventory-context.sh`      | tokens \u002F %    |\n\nThe three concerns are deliberately separate. This skill measures only what\nis **statically loaded** into every session — the always-on bundle. Conversation\nhistory, tool output, and active edits live elsewhere.\n\n## Workflow\n\nThe slash command runs the pipeline:\n\n```bash\nSCAN_ROOT=\"${1:-$PWD}\"\nbash .cursor\u002Fskills\u002Fcontext-audit\u002Fscripts\u002Finventory-context.sh \"$SCAN_ROOT\" \\\n  | bash .cursor\u002Fskills\u002Fcontext-audit\u002Fscripts\u002Festimate-tokens.sh \\\n  | bash .cursor\u002Fskills\u002Fcontext-audit\u002Fscripts\u002Fformat-audit-report.sh\n```\n\nOutput is markdown, printed to terminal. The skill does NOT write any files.\n\nSteps:\n\n1. **Inventory** — `inventory-context.sh` walks the agent tree and emits raw\n   byte\u002Fline counts per category (AGENTS.md chain, agents, skills, rules,\n   MCP) as JSON.\n2. **Estimate** — `estimate-tokens.sh` enriches the inventory with\n   `estimated_tokens` (chars\u002F4 heuristic) and\n   computes `totals` including `structural_overhead_pct` against a 200K window.\n3. **Format** — `format-audit-report.sh` emits a 5-section markdown report:\n   header, summary table, top consumers, recommendations, footer.\n4. **Banner** — the formatter selects a banner based on\n   `structural_overhead_pct`:\n   - `\u003C 10%`  → Healthy\n   - `10–25%` → Watch\n   - `≥ 25%`  → Action recommended\n\n## Output Format\n\n```\n# Context Audit — \u003Cscan_root>\n*Scanned at \u003Ctimestamp> · model window 200K tokens · banner: \u003CHealthy|Watch|Action>*\n\n## Summary\n| Category | Components | Bytes | Tokens | % of Window |\n| ...      | ...        | ...   | ...    | ...          |\n\n## Top Consumers\n1. \u003Ccomponent> ~\u003Ctokens> (\u003Cpath>)\n... (top 10)\n\n## Recommendations\n1. \u003Cpriority finding> — saves ~\u003Ctokens>\n... (sorted by token impact, descending)\n\n## How to Act\n- Cost: see `the budget skill`\n- Runtime trim: see `mk:lazy-agent-loader`\n```\n\nThe 10% \u002F 25% thresholds are the canonical source of truth for token-overhead\nbanners — see `references\u002Ftoken-cost-model.md`. They are NOT linked to\n`MEOWKIT_BUDGET_*` env vars (those are USD amounts, not token percentages).\n\n## Integration Points\n\n- **Self-contained heuristic:** `scripts\u002Festimate-tokens.sh` defines the chars\u002F4\n  estimate inline; it needs no hook or build step.\n- **Reads, does not write:** `.meowkit\u002Ftelemetry\u002Fcost-log.json`,\n  the project's agent-tree, `.mcp.json`. No file writes anywhere.\n- **No env vars introduced.** Window size is hard-coded 200K; override deferred\n  until a real 1M-context use case appears.\n- **Discovery:** via `keywords:` frontmatter and a cross-reference from\n  `the budget skill`. There is no separate routing rule.\n\n## Gotchas\n\n(none yet — grow from observed failures)\n\n## Related Rules\n\n- Skill authoring conventions — discovery + Gotchas section requirements\n- `AGENTS.md` (Data & injection boundary) Rule 11 — Skill Rule of Two; this skill\n  scores 2 of 3 (untrusted SCAN_ROOT input + filename inventory may surface\n  sensitive paths) so paths are canonicalized via `realpath` and never executed.",{"name":5,"description":7},"main","c7ff0a9e672de2c0590b03f6459385c2d7a63c1a","kit\u002Fbundles\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-context-audit",3,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit","https:\u002F\u002Fdocs.meowkit.dev\u002F","https:\u002F\u002Fgithub.com\u002Fngocsangyem","Keep moving forward","2026-11-15 03:54:21",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add ngocsangyem\u002FMeowKit --skill mk-context-audit",{"tool":39,"command":40},"bunx","bunx skills add ngocsangyem\u002FMeowKit --skill mk-context-audit",{"tool":42,"command":43},"pnpm","pnpm dlx skills add ngocsangyem\u002FMeowKit --skill mk-context-audit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fkit\u002Fbundles\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-context-audit\u002FSKILL.md",true,[47,53,57,62,66,70],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002F.gitkeep","REFERENCE","参考文档",0,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fkit\u002Fbundles\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-context-audit\u002Freferences\u002F.gitkeep",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Ftoken-cost-model.md",3860,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fkit\u002Fbundles\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-context-audit\u002Freferences\u002Ftoken-cost-model.md",{"path":58,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":51,"sourceHtmlUrl":61},"scripts\u002F.gitkeep","SCRIPT","脚本","https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fkit\u002Fbundles\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-context-audit\u002Fscripts\u002F.gitkeep",{"path":63,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":64,"sourceHtmlUrl":65},"scripts\u002Festimate-tokens.sh",2426,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fkit\u002Fbundles\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-context-audit\u002Fscripts\u002Festimate-tokens.sh",{"path":67,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":68,"sourceHtmlUrl":69},"scripts\u002Fformat-audit-report.sh",5574,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fkit\u002Fbundles\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-context-audit\u002Fscripts\u002Fformat-audit-report.sh",{"path":71,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":72,"sourceHtmlUrl":73},"scripts\u002Finventory-context.sh",5464,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fkit\u002Fbundles\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-context-audit\u002Fscripts\u002Finventory-context.sh",[75,82,89,96,103,110],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7DVHF481B4J41T4855KGM50","mk-worktree","Manages git worktrees for parallel agent isolation: creates parallel\u002F{name}-{timestamp} branches, merges with conflict detection. NOT for user feature branches (use git worktree directly).","https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fkit\u002Fbundles\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-worktree\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7DVHAWVKDKPB1EA3F1NC4JC","mk-workflow-orchestrator","Auto-invoked 7-phase workflow for complex-feature intent; fasttrack mode for pre-approved specs. NOT for explicit single tasks (mk:cook), green-field builds (mk:autobuild), or simple fixes (mk:fix).","https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fkit\u002Fbundles\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-workflow-orchestrator\u002FSKILL.md",[],[],{"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":19},"01M7DVH6SYBHWW00TRZXCC56JW","mk-web-to-markdown","Fetch a URL and return clean markdown, for arbitrary external pages (blog, RFC, GitHub issue, vendor doc) not covered by mk:docs-finder. Static-only by default; opt-in JS rendering available.","https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fkit\u002Fbundles\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-web-to-markdown\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":19},"01M7DVH3HGW47BX3PEF30JV6EJ","mk-vulnerability-scanner","Vulnerability analysis: OWASP Top 10, current threat landscape, supply chain security, attack surface mapping, risk prioritization. Use for security audits. NOT for STRIDE\u002FCSO infra audits (mk:cso).","https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fkit\u002Fbundles\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-vulnerability-scanner\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":19},"01M7DVGZBKMB9WDFH9MFMA99FV","mk-vue","Vue 3 authoring\u002Freview: components, composables, reactivity, Pinia, Pinia Colada, file routing, forms. Composition API + script setup. Auto-activates on .vue files. Deep review: mk:vue-best-practices.","https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fkit\u002Fbundles\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-vue\u002FSKILL.md",[],[],{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":19},"01M7DVGSE12AA1M7599HB8HRCT","mk-vue-testing-best-practices","Vue 3 testing best-practices review: Vitest + Vue Test Utils for components, composables, Pinia, Router, async\u002FSuspense, forms, a11y, plus Playwright E2E strategy. Advisory only.","https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fkit\u002Fbundles\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-vue-testing-best-practices\u002FSKILL.md",[],[]]