[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AVNB3185SPDA76EW64VJG3":3,"skill-same:01M7AVNB3185SPDA76EW64VJG3":65},{"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":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M7AVNB3185SPDA76EW64VJG3","context-anti-rot-sync",null,"Audit, prune, synchronize, and lint multi-layer codebase context files across agent configurations. Enforces Rule 11 line limits, eliminates lint leakage, and synchronizes single-source instructions. Do not use for generic prose editing or creative writing.","SpectreDeath\u002FBrain-Harness","SpectreDeath","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F207463416?v=4","01M7AVGR1D4X8ADT47APKGVH2Z","JL","01M7AVGR2HSGD23BA5DBTJJTVN",0,"MIT","https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcontext-anti-rot-sync\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: context-anti-rot-sync\ndescription: Audit, prune, synchronize, and lint multi-layer codebase context files across agent configurations. Enforces Rule 11 line limits, eliminates lint leakage, and synchronizes single-source instructions. Do not use for generic prose editing or creative writing.\n---\n\n# Context Anti-Rot Sync: Automated Hygiene & Synchronization\n\n`context-anti-rot-sync` packages the end-to-end operational workflow for maintaining codebase context health, eliminating instruction rot, pruning lint leakage, and synchronizing single-source rules across coding agent tools.\n\n## Dependencies\n\nThis workflow coordinates and reuses the following core skills:\n- [`codebase-context-governor`](..\u002Fcodebase-context-governor\u002FSKILL.md): Orchestrates 5-stage context governance and compute tier assessment.\n- [`codebase-context-architect`](..\u002Fcodebase-context-architect\u002FSKILL.md): Provides context synchronization engines and multi-agent projection rules.\n- [`agent-instruction-architect`](..\u002Fagent-instruction-architect\u002FSKILL.md): Enforces instruction file boundaries, seam definitions, and negative constraints.\n- [`compute-model-assessor`](..\u002Fcompute-model-assessor\u002FSKILL.md): Assesses 5D complexity to calibrate reasoning budgets.\n\n## Quick Start\n\n```bash\n# Option A: One-Shot Composite Context Hygiene Execution (Recommended)\npython .agents\u002Fskills\u002Fcontext-anti-rot-sync\u002Fscripts\u002Fcontext_sync_cli.py run --target AGENTS.md --output %TEMP%\u002Fcontext_sync_report.json\n\n# Option B: Granular Multi-Step Execution\n# 1. Audit AGENTS.md for line-count overflow (>150 lines) and lint leakage\npython .agents\u002Fskills\u002Fcontext-anti-rot-sync\u002Fscripts\u002Fcontext_sync_cli.py audit --target AGENTS.md --output %TEMP%\u002Faudit_report.json\n\n# 2. Prune redundant whitespace and enforce negative boundaries\npython .agents\u002Fskills\u002Fcontext-anti-rot-sync\u002Fscripts\u002Fcontext_sync_cli.py clean --target AGENTS.md --output %TEMP%\u002Fcleaned_agents.md\n\n# 3. Synchronize canonical instructions to secondary agents (CLAUDE.md, .cursorrules)\npython .agents\u002Fskills\u002Fcontext-anti-rot-sync\u002Fscripts\u002Fcontext_sync_cli.py sync --source AGENTS.md --output %TEMP%\u002Fsync_manifest.json\n\n# 4. Run automated anti-rot linter suite across all context files\npython .agents\u002Fskills\u002Fcontext-anti-rot-sync\u002Fscripts\u002Fcontext_sync_cli.py lint --output %TEMP%\u002Flint_results.json\n```\n\n## Utility Scripts\n\nThe companion CLI script `scripts\u002Fcontext_sync_cli.py` delegates to `context_sync_engine.py` and implements both composite and modular subcommands:\n\n- `run`: Executes the complete context hygiene pipeline (audit, clean, sync, and workspace lint) in a single atomic pass.\n- `audit`: Scans instruction files for bloat, line-count overflow (>150 lines), token budget violations, and lint leakage. Writes full diagnostic findings to `--output \u003Cfile.json>`.\n- `clean`: Applies deterministic rule trimming, eliminates tutorial prose, deduplicates whitespace, and formats command palettes. Writes cleaned file to `--output \u003Cfile.md>`.\n- `sync`: Evaluates primary manifest against derived target configs (`CLAUDE.md`, `.cursorrules`), projecting shared rules without manual copy-paste.\n- `lint`: Verifies all context files against line limits, frontmatter character budgets (100–350 chars), link formats, and delimiter syntax.\n\n## Workflow Stages\n\n### Stage 1: Context Rot & Line Audit\nScan all instruction files in the workspace for Rule 11 violations (lines > 150), transient lint dumps, and conflicting command palettes.\n> **Completion criterion**: Concrete list of target line-count and smell violations cataloged in JSON audit report.\n\n### Stage 2: Deterministic Cleanse\nPrune conversational narrative and redundant examples while strictly preserving execution seams (build\u002Ftest\u002Flint) and negative boundaries (\"what NOT to touch\").\n> **Completion criterion**: Sanitized instruction file bounded strictly within $\\le 150$ lines.\n\n### Stage 3: Single-Source Synchronization\nPropagate updated invariants from the canonical manifest (`AGENTS.md`) to secondary tool instructions without divergence or semantic drift.\n> **Completion criterion**: All derived client instruction files synchronized with zero manual editing errors.\n\n### Stage 4: Mandatory Checkpoint\nGenerate an interactive audit brief and review report. Author an `implementation_plan.md` artifact if structural edits exceed threshold, and await explicit user confirmation before applying file changes.\n> **Completion criterion**: Explicit user confirmation received before in-place modification of repository context files.\n\n### Stage 5: Automated Anti-Rot Linting\nExecute continuous verification through `context_sync_cli.py lint` to assert that all files pass line count, frontmatter budget, and link checks.\n> **Completion criterion**: 100% linter rules pass with zero critical warnings across all repository context files.\n\n## Visual Brief\n\nWhen audit findings indicate structural drift or line-count bloat $\\ge 150$ lines, generate an interactive HTML status report saved to `%TEMP%\u002Fcontext-anti-rot-review-\u003Ctimestamp>.html` rendering a before\u002Fafter line-count comparison table and Mermaid synchronization DAG.\n\n## Anti-Patterns\n\n- **Instruction Bloat** — Expanding instruction files beyond 150 lines with tutorials, generic API documentation, or prose explanations.\n- **Transient Lint Leakage** — Pasting transient compiler errors, tracebacks, or linter reports directly into persistent instruction files.\n- **Manual Divergent Sync** — Manually editing secondary agent files (`CLAUDE.md`, `.cursorrules`) instead of projecting from the canonical SSOT manifest.\n- **Bypassing Negative Boundaries** — Removing explicit \"what NOT to touch\" sections, allowing agent edits to bleed into forbidden directories.\n","# Context Anti-Rot Sync: Automated Hygiene & Synchronization\n\n`context-anti-rot-sync` packages the end-to-end operational workflow for maintaining codebase context health, eliminating instruction rot, pruning lint leakage, and synchronizing single-source rules across coding agent tools.\n\n## Dependencies\n\nThis workflow coordinates and reuses the following core skills:\n- [`codebase-context-governor`](..\u002Fcodebase-context-governor\u002FSKILL.md): Orchestrates 5-stage context governance and compute tier assessment.\n- [`codebase-context-architect`](..\u002Fcodebase-context-architect\u002FSKILL.md): Provides context synchronization engines and multi-agent projection rules.\n- [`agent-instruction-architect`](..\u002Fagent-instruction-architect\u002FSKILL.md): Enforces instruction file boundaries, seam definitions, and negative constraints.\n- [`compute-model-assessor`](..\u002Fcompute-model-assessor\u002FSKILL.md): Assesses 5D complexity to calibrate reasoning budgets.\n\n## Quick Start\n\n```bash\n# Option A: One-Shot Composite Context Hygiene Execution (Recommended)\npython .agents\u002Fskills\u002Fcontext-anti-rot-sync\u002Fscripts\u002Fcontext_sync_cli.py run --target AGENTS.md --output %TEMP%\u002Fcontext_sync_report.json\n\n# Option B: Granular Multi-Step Execution\n# 1. Audit AGENTS.md for line-count overflow (>150 lines) and lint leakage\npython .agents\u002Fskills\u002Fcontext-anti-rot-sync\u002Fscripts\u002Fcontext_sync_cli.py audit --target AGENTS.md --output %TEMP%\u002Faudit_report.json\n\n# 2. Prune redundant whitespace and enforce negative boundaries\npython .agents\u002Fskills\u002Fcontext-anti-rot-sync\u002Fscripts\u002Fcontext_sync_cli.py clean --target AGENTS.md --output %TEMP%\u002Fcleaned_agents.md\n\n# 3. Synchronize canonical instructions to secondary agents (CLAUDE.md, .cursorrules)\npython .agents\u002Fskills\u002Fcontext-anti-rot-sync\u002Fscripts\u002Fcontext_sync_cli.py sync --source AGENTS.md --output %TEMP%\u002Fsync_manifest.json\n\n# 4. Run automated anti-rot linter suite across all context files\npython .agents\u002Fskills\u002Fcontext-anti-rot-sync\u002Fscripts\u002Fcontext_sync_cli.py lint --output %TEMP%\u002Flint_results.json\n```\n\n## Utility Scripts\n\nThe companion CLI script `scripts\u002Fcontext_sync_cli.py` delegates to `context_sync_engine.py` and implements both composite and modular subcommands:\n\n- `run`: Executes the complete context hygiene pipeline (audit, clean, sync, and workspace lint) in a single atomic pass.\n- `audit`: Scans instruction files for bloat, line-count overflow (>150 lines), token budget violations, and lint leakage. Writes full diagnostic findings to `--output \u003Cfile.json>`.\n- `clean`: Applies deterministic rule trimming, eliminates tutorial prose, deduplicates whitespace, and formats command palettes. Writes cleaned file to `--output \u003Cfile.md>`.\n- `sync`: Evaluates primary manifest against derived target configs (`CLAUDE.md`, `.cursorrules`), projecting shared rules without manual copy-paste.\n- `lint`: Verifies all context files against line limits, frontmatter character budgets (100–350 chars), link formats, and delimiter syntax.\n\n## Workflow Stages\n\n### Stage 1: Context Rot & Line Audit\nScan all instruction files in the workspace for Rule 11 violations (lines > 150), transient lint dumps, and conflicting command palettes.\n> **Completion criterion**: Concrete list of target line-count and smell violations cataloged in JSON audit report.\n\n### Stage 2: Deterministic Cleanse\nPrune conversational narrative and redundant examples while strictly preserving execution seams (build\u002Ftest\u002Flint) and negative boundaries (\"what NOT to touch\").\n> **Completion criterion**: Sanitized instruction file bounded strictly within $\\le 150$ lines.\n\n### Stage 3: Single-Source Synchronization\nPropagate updated invariants from the canonical manifest (`AGENTS.md`) to secondary tool instructions without divergence or semantic drift.\n> **Completion criterion**: All derived client instruction files synchronized with zero manual editing errors.\n\n### Stage 4: Mandatory Checkpoint\nGenerate an interactive audit brief and review report. Author an `implementation_plan.md` artifact if structural edits exceed threshold, and await explicit user confirmation before applying file changes.\n> **Completion criterion**: Explicit user confirmation received before in-place modification of repository context files.\n\n### Stage 5: Automated Anti-Rot Linting\nExecute continuous verification through `context_sync_cli.py lint` to assert that all files pass line count, frontmatter budget, and link checks.\n> **Completion criterion**: 100% linter rules pass with zero critical warnings across all repository context files.\n\n## Visual Brief\n\nWhen audit findings indicate structural drift or line-count bloat $\\ge 150$ lines, generate an interactive HTML status report saved to `%TEMP%\u002Fcontext-anti-rot-review-\u003Ctimestamp>.html` rendering a before\u002Fafter line-count comparison table and Mermaid synchronization DAG.\n\n## Anti-Patterns\n\n- **Instruction Bloat** — Expanding instruction files beyond 150 lines with tutorials, generic API documentation, or prose explanations.\n- **Transient Lint Leakage** — Pasting transient compiler errors, tracebacks, or linter reports directly into persistent instruction files.\n- **Manual Divergent Sync** — Manually editing secondary agent files (`CLAUDE.md`, `.cursorrules`) instead of projecting from the canonical SSOT manifest.\n- **Bypassing Negative Boundaries** — Removing explicit \"what NOT to touch\" sections, allowing agent edits to bleed into forbidden directories.\n",{"name":5,"description":7},"main","eff3b00e36d1d233ad4a4389605c82fbfa0326d3",".agents\u002Fskills\u002Fcontext-anti-rot-sync","https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness","https:\u002F\u002Fgithub.com\u002FSpectreDeath","I'm here to manage stress so I wouldn't expect earth shattering break throughs I'm just an enthusiast that likes making stuff. ","2026-11-15 05:32:58",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add SpectreDeath\u002FBrain-Harness --skill context-anti-rot-sync",{"tool":37,"command":38},"bunx","bunx skills add SpectreDeath\u002FBrain-Harness --skill context-anti-rot-sync",{"tool":40,"command":41},"pnpm","pnpm dlx skills add SpectreDeath\u002FBrain-Harness --skill context-anti-rot-sync","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcontext-anti-rot-sync\u002FSKILL.md",true,[45,51,55,61],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"CARD.md","REFERENCE","参考文档",3911,"https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcontext-anti-rot-sync\u002FCARD.md",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"config.default.yaml",509,"https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcontext-anti-rot-sync\u002Fconfig.default.yaml",{"path":56,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":59,"sourceHtmlUrl":60},"scripts\u002Fcontext_sync_cli.py","SCRIPT","脚本",6001,"https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcontext-anti-rot-sync\u002Fscripts\u002Fcontext_sync_cli.py",{"path":62,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":63,"sourceHtmlUrl":64},"scripts\u002Fcontext_sync_engine.py",22647,"https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcontext-anti-rot-sync\u002Fscripts\u002Fcontext_sync_engine.py",[66,73,80,87,94,101],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7E0W6FR68J2N9CXCZTAQJFX","ui-behavior-primitive-architect","Architect, audit, and verify zero-dependency headless UI behavior primitives, WebMCP agent bridges, WAI-ARIA\u002FSSR\u002FRTL tri-modal checks, and framework expert routing. Do not use for static CSS theme styling or backend database migrations.","https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fui-behavior-primitive-architect\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7E0VZ7JQNW34G271DENFGYP","trustgraph-ontology-governor","Govern knowledge graphs, SHACL-AF triple policies, OntologyRAG subclass validation, PROV-O dual named graphs, and Laya entropy decision scoring. Do not use for relational SQL queries or generic web scraping.","https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftrustgraph-ontology-governor\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7E0VQ6Z7R45Q8QAZ4MT39EK","shim-harness-governor","Govern universal CLI agent loops, 4-tier tool permissions, ancestor-symlink workspace sandboxes, deterministic-first command routing, collision-safe MCP namespacing, and layered skill loading. Do not use for static UI styling or external SQL analytics.","https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fshim-harness-governor\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7E0VC18NMP1QBSRJ3TPQ7MB","graphiti-zep-memory-governor","Govern bi-temporal knowledge graphs with Graphiti future-edge clamping, MinHash\u002FLSH entity dedup, RRF\u002FMMR reranking, and Zep typed ontologies. Do not use for static SQL joins or generic web crawling.","https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgraphiti-zep-memory-governor\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M7E0V12ABE1RW3ZRCST8VH5Z","agora-mcp-workbench-architect","Architect, audit, and orchestrate Agora Workbench MCP servers, loopback sidecars, unified state graphs, gateway\u002Fdispatcher connectors, and policy-enforced data lakes. Do not use for static frontend CSS styling or non-MCP desktop GUI automation.","https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fagora-mcp-workbench-architect\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":19},"01M7BFYG6QT3484VC57TZ19V7P","skill-eval-assurance-runner","Evaluate and assure agent skills using small-N Wilson confidence intervals, unbiased pass^k reliability, deterministic trajectory graders, preflight boundary honesty, and sealed digest verification. Do not use for subjective prose review or unconstrained production deployment.","https:\u002F\u002Fgithub.com\u002FSpectreDeath\u002FBrain-Harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fskill-eval-assurance-runner\u002FSKILL.md",[],[]]