[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M723JSJCT0T01BR854Z4RREV":3,"skill-same:01M723JSJCT0T01BR854Z4RREV":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M723JSJCT0T01BR854Z4RREV","ca-init",null,"Opt this repo into codeArbiter — scaffold the root-level .codearbiter\u002F state store.","arbiterForge\u002FcodeArbiter","arbiterForge","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F292945970?v=4","01M723CJ1FZ9YBVA7XXT0NJESP","01M723CJ23SYBFFTGBA7Q63BKH",153,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002FarbiterForge\u002FcodeArbiter\u002Fblob\u002Fmain\u002Fplugins\u002Fca-codex\u002Fskills\u002Fca-init\u002FSKILL.md",[],[],"2026-11-10 18:39:20",false,"---\nname: ca-init\ndescription: Opt this repo into codeArbiter — scaffold the root-level .codearbiter\u002F state store.\nargument-hint: \"[--stage N] [--greenfield|--brownfield] | --check\"\n---\n\n# $ca-init — first-run scaffold\n\nStand up the root-level `.codearbiter\u002F` project-state store that opts a repo into arbiter\nmanagement. This is the v2 replacement for vendoring\u002F`init-vendor`: no symlinks, no shims, no dual\nroot. It writes the activation flag and the empty state files, then hands off to the populator.\n\n`.codearbiter\u002FCONTEXT.md` frontmatter `arbiter: enabled` is the single activation flag — it gates\nthe SessionStart persona injection. The scaffolded\n`CONTEXT.md` is a **stub** (no initialization sentinel), so after scaffolding the project still needs\npopulating before normal operation.\n\n\u003C!-- catalog-command-modes:start -->\n## Explicit population strategies\n\n\u003C!-- command-mode:--greenfield legacy-route:decompose -->\n`--greenfield` selects the exact [skills\u002Fca-decompose\u002FSKILL.md](..\u002Fca-decompose\u002FSKILL.md) workflow.\n\n\u003C!-- command-mode:--brownfield legacy-route:create-context -->\n`--brownfield` selects the exact [skills\u002Fca-create-context\u002FSKILL.md](..\u002Fca-create-context\u002FSKILL.md) workflow.\nThat workflow populates an uninitialized stub. For an initialized brownfield\nproject, keep the existing marker and route source-observed acquisition and\ntarget\u002Fdelta work to `$ca-decompose` instead of replaying initial population.\nAn initialized refresh of existing context facts uses `$ca-status drift`\nand the `context-check` owner after an explicit scoped or full selection.\n\n### Brownfield preparation\n\nConfirm the intended repository, existing state, selected outcome and actual\nhost permissions before activation. Scaffolding enables governance and may\ninstall Git hooks; it does not prove context correctness or host enforcement.\nFor existing source, use bounded inspection and the safe installed context\nwriter in [routines\u002Fcontext-creation\u002FSKILL.md](..\u002F..\u002Froutines\u002Fcontext-creation\u002FSKILL.md). Scoped agents are\noptional. Ordinary native Windows work does not require a special scout sandbox,\nprofile attestation or per-document artifact approval.\n\nIf a real host permission or the installed safe writer is unavailable, report\nthe exact operation and retain current state. Continue independent authorized\ninspection; do not fabricate a profile, receipt, context document or initialized\nmarker. Successful scaffold or `--check` output is inventory, not evidence that\npopulation or a live host probe completed.\n\nThe two flags are mutually exclusive and neither may combine with `--check`. `--stage N` may\naccompany one only while `.codearbiter\u002FCONTEXT.md` is absent: after checking the repository and host permissions,\nscaffold at that stage, then enter the\nselected workflow. When an uninitialized stub already exists, skip the refusing scaffolder and enter\nthe selected workflow directly. An initialized marker selects the initialized\nacquisition or refresh owner above; a source-shape mismatch retains the selected\nlegacy workflow's BLOCK. Without an explicit strategy, continue with the unchanged auto-detection\nprocedure below under the same repository and host permissions.\n\u003C!-- catalog-command-modes:end -->\n\n## Procedure\n\nBefore opening an active host session in an unfamiliar repository, a trusted\nexternal process may inspect an explicit directory with\n`python \"${PLUGIN_ROOT}\u002Fhooks\u002Finit-codearbiter.py\" --check --passive --root PATH`.\nThis bounded read checks only that directory's `.codearbiter\u002FCONTEXT.md` activation\nmarker and prints a JSON inventory for Git hooks\u002Fexclusions, background Git fetch,\nupdate refresh, and inference transport. Every effect is `performed: false`, with\ncapability `unverified` and authorization `not_established`. The root is caller\nsupplied and unverified; no Git command, repository script, network request,\nglobal setting edit, or model source read occurs. Sensitive\u002Fexcluded source paths\nmust be inventoried separately before any model read. If an active host session\nhas already started, this inspection cannot undo its earlier startup effects.\n\nActivation is a separate step under the applicable host, network, repository-write,\nand inference permissions. The normal scaffold and active SessionStart behavior\nbelow remain in force for repositories that already opted in.\n\n1. Run the scaffolder against the repo's git toplevel (resolved by the script):\n\n   ```\n   python \"${PLUGIN_ROOT}\u002Fhooks\u002Finit-codearbiter.py\"\n   ```\n\n   It is idempotent and refuses if `.codearbiter\u002FCONTEXT.md` already exists — it never overwrites\n   state. Pass `--stage N` to set the initial maturity value (default `1`). Use `--check` to report\n   state without creating anything.\n\n2. The default creates `.codearbiter\u002F` with `CONTEXT.md` (`arbiter: enabled`,\n   `stage: N`, `context-format: html`, stub body), `open-questions.md`,\n   `overrides.log` (audit header), `last-checkpoint` (`0`) and `.gitattributes`\n   exact-byte rules. It does not create `open-tasks.md` or `done-tasks.md`.\n   The HTML knowledge population step creates the native portable work project\n   identity in the same transaction as the initialized marker. Until then,\n   native work creation refuses; do not create a placeholder task or board.\n   `--format markdown` retains the legacy Markdown documents and both task\n   boards. An existing HTML project with a legacy board stays legacy until\n   explicit adoption. See [includes\u002Fknowledge.md](..\u002F..\u002Fincludes\u002Fknowledge.md).\n\n3. **Then route to the populator** — the stub is not yet usable:\n   - **Source code already exists** in the repo → route to `$ca-create-context` (brownfield: bounded inspection and optional agents\n     read the codebase and synthesize the full context, writing the initialization sentinel).\n   - **Greenfield** (no meaningful source) → route to `$ca-decompose` (resumable interview).\n\n   The populator is **mandatory, not optional**: it authors `tech-stack.md`, `coding-standards.md`,\n   and `security-controls.md`, or their HTML knowledge documents (and writes the initialization\n   sentinel). The pipeline reads that context — `writing-plans` and `tdd` need `tech-stack.md`, the\n   security gates need `security-controls.md` — so `$ca-feature` run on a\n   freshly-scaffolded stub will STOP at pre-flight until the populator has run. Unknown facts may\n   stay unknown; population does not need every question answered. `session-start` surfaces this\n   as `NOT INITIALIZED` every session.\n\n4. Report what was created and which populator you are routing to.\n\n## When NOT to use\n\n- `.codearbiter\u002F` already scaffolded → the scaffolder refuses; run `$ca-create-context` or\n  `$ca-decompose` to populate, or `$ca-status` to see state.\n- You only want to re-check detection state → run the scaffolder with `--check`.\n\n## Hard gate\n\nMUST NOT hand-author `.codearbiter\u002FCONTEXT.md` frontmatter — the scaffolder is the sanctioned path so\nthe activation flag and state-file shapes match what the hook parses. MUST NOT mark a\nstub initialized; only the populator writes the initialization sentinel.\n","# $ca-init — first-run scaffold\n\nStand up the root-level `.codearbiter\u002F` project-state store that opts a repo into arbiter\nmanagement. This is the v2 replacement for vendoring\u002F`init-vendor`: no symlinks, no shims, no dual\nroot. It writes the activation flag and the empty state files, then hands off to the populator.\n\n`.codearbiter\u002FCONTEXT.md` frontmatter `arbiter: enabled` is the single activation flag — it gates\nthe SessionStart persona injection. The scaffolded\n`CONTEXT.md` is a **stub** (no initialization sentinel), so after scaffolding the project still needs\npopulating before normal operation.\n\n\u003C!-- catalog-command-modes:start -->\n## Explicit population strategies\n\n\u003C!-- command-mode:--greenfield legacy-route:decompose -->\n`--greenfield` selects the exact [skills\u002Fca-decompose\u002FSKILL.md](..\u002Fca-decompose\u002FSKILL.md) workflow.\n\n\u003C!-- command-mode:--brownfield legacy-route:create-context -->\n`--brownfield` selects the exact [skills\u002Fca-create-context\u002FSKILL.md](..\u002Fca-create-context\u002FSKILL.md) workflow.\nThat workflow populates an uninitialized stub. For an initialized brownfield\nproject, keep the existing marker and route source-observed acquisition and\ntarget\u002Fdelta work to `$ca-decompose` instead of replaying initial population.\nAn initialized refresh of existing context facts uses `$ca-status drift`\nand the `context-check` owner after an explicit scoped or full selection.\n\n### Brownfield preparation\n\nConfirm the intended repository, existing state, selected outcome and actual\nhost permissions before activation. Scaffolding enables governance and may\ninstall Git hooks; it does not prove context correctness or host enforcement.\nFor existing source, use bounded inspection and the safe installed context\nwriter in [routines\u002Fcontext-creation\u002FSKILL.md](..\u002F..\u002Froutines\u002Fcontext-creation\u002FSKILL.md). Scoped agents are\noptional. Ordinary native Windows work does not require a special scout sandbox,\nprofile attestation or per-document artifact approval.\n\nIf a real host permission or the installed safe writer is unavailable, report\nthe exact operation and retain current state. Continue independent authorized\ninspection; do not fabricate a profile, receipt, context document or initialized\nmarker. Successful scaffold or `--check` output is inventory, not evidence that\npopulation or a live host probe completed.\n\nThe two flags are mutually exclusive and neither may combine with `--check`. `--stage N` may\naccompany one only while `.codearbiter\u002FCONTEXT.md` is absent: after checking the repository and host permissions,\nscaffold at that stage, then enter the\nselected workflow. When an uninitialized stub already exists, skip the refusing scaffolder and enter\nthe selected workflow directly. An initialized marker selects the initialized\nacquisition or refresh owner above; a source-shape mismatch retains the selected\nlegacy workflow's BLOCK. Without an explicit strategy, continue with the unchanged auto-detection\nprocedure below under the same repository and host permissions.\n\u003C!-- catalog-command-modes:end -->\n\n## Procedure\n\nBefore opening an active host session in an unfamiliar repository, a trusted\nexternal process may inspect an explicit directory with\n`python \"${PLUGIN_ROOT}\u002Fhooks\u002Finit-codearbiter.py\" --check --passive --root PATH`.\nThis bounded read checks only that directory's `.codearbiter\u002FCONTEXT.md` activation\nmarker and prints a JSON inventory for Git hooks\u002Fexclusions, background Git fetch,\nupdate refresh, and inference transport. Every effect is `performed: false`, with\ncapability `unverified` and authorization `not_established`. The root is caller\nsupplied and unverified; no Git command, repository script, network request,\nglobal setting edit, or model source read occurs. Sensitive\u002Fexcluded source paths\nmust be inventoried separately before any model read. If an active host session\nhas already started, this inspection cannot undo its earlier startup effects.\n\nActivation is a separate step under the applicable host, network, repository-write,\nand inference permissions. The normal scaffold and active SessionStart behavior\nbelow remain in force for repositories that already opted in.\n\n1. Run the scaffolder against the repo's git toplevel (resolved by the script):\n\n   ```\n   python \"${PLUGIN_ROOT}\u002Fhooks\u002Finit-codearbiter.py\"\n   ```\n\n   It is idempotent and refuses if `.codearbiter\u002FCONTEXT.md` already exists — it never overwrites\n   state. Pass `--stage N` to set the initial maturity value (default `1`). Use `--check` to report\n   state without creating anything.\n\n2. The default creates `.codearbiter\u002F` with `CONTEXT.md` (`arbiter: enabled`,\n   `stage: N`, `context-format: html`, stub body), `open-questions.md`,\n   `overrides.log` (audit header), `last-checkpoint` (`0`) and `.gitattributes`\n   exact-byte rules. It does not create `open-tasks.md` or `done-tasks.md`.\n   The HTML knowledge population step creates the native portable work project\n   identity in the same transaction as the initialized marker. Until then,\n   native work creation refuses; do not create a placeholder task or board.\n   `--format markdown` retains the legacy Markdown documents and both task\n   boards. An existing HTML project with a legacy board stays legacy until\n   explicit adoption. See [includes\u002Fknowledge.md](..\u002F..\u002Fincludes\u002Fknowledge.md).\n\n3. **Then route to the populator** — the stub is not yet usable:\n   - **Source code already exists** in the repo → route to `$ca-create-context` (brownfield: bounded inspection and optional agents\n     read the codebase and synthesize the full context, writing the initialization sentinel).\n   - **Greenfield** (no meaningful source) → route to `$ca-decompose` (resumable interview).\n\n   The populator is **mandatory, not optional**: it authors `tech-stack.md`, `coding-standards.md`,\n   and `security-controls.md`, or their HTML knowledge documents (and writes the initialization\n   sentinel). The pipeline reads that context — `writing-plans` and `tdd` need `tech-stack.md`, the\n   security gates need `security-controls.md` — so `$ca-feature` run on a\n   freshly-scaffolded stub will STOP at pre-flight until the populator has run. Unknown facts may\n   stay unknown; population does not need every question answered. `session-start` surfaces this\n   as `NOT INITIALIZED` every session.\n\n4. Report what was created and which populator you are routing to.\n\n## When NOT to use\n\n- `.codearbiter\u002F` already scaffolded → the scaffolder refuses; run `$ca-create-context` or\n  `$ca-decompose` to populate, or `$ca-status` to see state.\n- You only want to re-check detection state → run the scaffolder with `--check`.\n\n## Hard gate\n\nMUST NOT hand-author `.codearbiter\u002FCONTEXT.md` frontmatter — the scaffolder is the sanctioned path so\nthe activation flag and state-file shapes match what the hook parses. MUST NOT mark a\nstub initialized; only the populator writes the initialization sentinel.\n",{"name":5,"description":7,"argument-hint":23},"[--stage N] [--greenfield|--brownfield] | --check","main","fd7eb34b2da439551443d09526ab48fd1d1bb9bf","plugins\u002Fca-codex\u002Fskills\u002Fca-init",9,"https:\u002F\u002Fgithub.com\u002FarbiterForge\u002FcodeArbiter","https:\u002F\u002Fcodearbiter.dev\u002F","https:\u002F\u002Fgithub.com\u002FarbiterForge","https:\u002F\u002FArbiterForge.com","2026-11-15 04:04:31",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add arbiterForge\u002FcodeArbiter --skill ca-init",{"tool":39,"command":40},"bunx","bunx skills add arbiterForge\u002FcodeArbiter --skill ca-init",{"tool":42,"command":43},"pnpm","pnpm dlx skills add arbiterForge\u002FcodeArbiter --skill ca-init","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FarbiterForge\u002FcodeArbiter\u002Fblob\u002Fmain\u002Fplugins\u002Fca-codex\u002Fskills\u002Fca-init\u002FSKILL.md",true,[],[48,55,62,68,75,82],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":18},"01M723VC2J3R1BJ20XW56WZG3K","myskill","A sample skill for fixtures — does one gated thing well.","https:\u002F\u002Fgithub.com\u002FarbiterForge\u002FcodeArbiter\u002Fblob\u002Fmain\u002Fsite\u002Ftest\u002Ffixtures\u002Fplugin\u002Fskills\u002Fmyskill\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":18},"01M723VAQ3APJEW6G1ESJ7AGFN","dup","Second of two same-named skills, used to prove within-collection dedup still works.","https:\u002F\u002Fgithub.com\u002FarbiterForge\u002FcodeArbiter\u002Fblob\u002Fmain\u002Fsite\u002Ftest\u002Ffixtures\u002Fplugin-collisions\u002Fskills\u002Fdupskill-b\u002FSKILL.md",[],[],{"skillNo":63,"name":57,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":18},"01M723V963M5R77EQM2N36KRTK","First of two same-named skills, used to prove within-collection dedup still works.","https:\u002F\u002Fgithub.com\u002FarbiterForge\u002FcodeArbiter\u002Fblob\u002Fmain\u002Fsite\u002Ftest\u002Ffixtures\u002Fplugin-collisions\u002Fskills\u002Fdupskill-a\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":18},"01M723V7VKBK473J4WMKV758B5","debug","A fixture skill named debug, colliding with the debug command\u002Fagent.","https:\u002F\u002Fgithub.com\u002FarbiterForge\u002FcodeArbiter\u002Fblob\u002Fmain\u002Fsite\u002Ftest\u002Ffixtures\u002Fplugin-collisions\u002Fskills\u002Fdebug\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":18},"01M723V5PS7H5QY903F2WB8MJY","writing-plans","Turn the selected specification into a maintained implementation plan with clear outcomes, useful tasks, dependencies, and verification steps. Drafting uses the existing authorization and does not require artifact approval codes, reviewer receipts, or a frozen implementation script.","https:\u002F\u002Fgithub.com\u002FarbiterForge\u002FcodeArbiter\u002Fblob\u002Fmain\u002Fplugins\u002Fca\u002Fskills\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":18},"01M723V22QK0R2VJ4HA74PRRW5","using-git-worktrees","OPTIONAL per-task isolation for autonomous parallel work. Routed to only on explicit opt-in by subagent-driven-development or dispatching-parallel-agents, so parallel units mutate files without colliding. Stands up one worktree per unit, works it in isolation, then integrates each unit back onto the caller's working branch for the caller's single commit-gate + finishing-a-development-branch exit. Never on the default path; it does not bypass a gate or finish per unit.","https:\u002F\u002Fgithub.com\u002FarbiterForge\u002FcodeArbiter\u002Fblob\u002Fmain\u002Fplugins\u002Fca\u002Fskills\u002Fusing-git-worktrees\u002FSKILL.md",[],[]]