brainstorming
Refine feature and sprint intent into a useful specification. Capture scope, observable criteria and material choices without…
Build source-backed project context through bounded inspection, optional agents, and record-level knowledge writes.
Claude Code
$ npx -y skills add arbiterForge/codeArbiter --skill ca-create-context --agent claude-code
Codex
$ npx skills add arbiterForge/codeArbiter --skill ca-create-context -a codex -y
Cursor
$ npx skills add arbiterForge/codeArbiter --skill ca-create-context -a cursor -y
Gemini CLI
$ npx skills add arbiterForge/codeArbiter --skill ca-create-context -a gemini-cli -y
GitHub Copilot
$ npx skills add arbiterForge/codeArbiter --skill ca-create-context -a github-copilot -y
OpenCode
$ npx skills add arbiterForge/codeArbiter --skill ca-create-context -a opencode -y
Windsurf
$ npx skills add arbiterForge/codeArbiter --skill ca-create-context -a windsurf -y
name: ca-create-context description: Build source-backed project context through bounded inspection, optional agents, and record-level knowledge writes. argument-hint: (none)
<!-- catalog-compatibility-notice:start --> > Compatibility route. Prefer `$ca-init --brownfield` for new usage. This installed route remains > functional under the command-route compatibility policy at [includes/command-compatibility.md](../../includes/command-compatibility.md); > continue with the unchanged brownfield workflow below. <!-- catalog-compatibility-notice:end -->
Wrap an existing codebase in project state, without guessing. Routed to by `/create-context`, and by startup when `.codearbiter/CONTEXT.md` exists but carries no `<!--INITIALIZED-->` body marker and meaningful source code is present. When no meaningful source exists, this is the wrong skill — route to `decompose` instead.
This back-fills from existing source. It complements `$ca-init`, which scaffolds an empty `.codearbiter/` for a fresh project; here the context is derived from what is already on disk. Load [includes/knowledge.md](../../includes/knowledge.md) for the record vocabulary and the `knowledge.py` verbs used below.
An initialized refresh is requested through `$ca-status drift` and the existing `context-check` owner after an explicit scoped or full selection. An explicit initialized brownfield project-model request also uses the existing `decompose` owner for intended target, phases, and candidate work. This initial-population route keeps its `<!--INITIALIZED-->` lock; an initialized repository never clears the marker or re-enters Phase 6 to refresh content.
Read these, or STOP and surface the gap — never guess project identity or a command:
The excluded set (not "meaningful source"): `.git/`, `.codearbiter/`, `.claude/`, `AGENTS.md`, `CLAUDE.md`, `README.md`, `LICENSE`, `.gitignore`, `.gitmodules`, and standard tooling dotfiles (`.editorconfig`, `.prettierrc`, etc.). Meaningful source MUST exist beyond it.
Inventory the actual `.codearbiter/` files first. If the scaffold stopped partway through, rerun `init-codearbiter.py --root <exact repository root>` only while the project is uninitialized; it creates only absent files. Never clear the directory, reset a marker, or replace an existing task board, question board or append-only audit record to make a retry pass.
Run `knowledge.py create-missing` and read each document's records: they are the progress already saved. Every `knowledge.py` write is retry-safe — an identical record is reused and a lost response replays — so continue from what is there instead of starting over. A refused write names a changed document; read it again before retrying.
Confirm the repository is a brownfield codebase ready for bounded source inspection:
1. Confirm `<!--INITIALIZED-->` is absent from `CONTEXT.md`. 2. Confirm meaningful source code is present beyond the excluded set. 3. Identify the primary source directories (`src/`, `backend/`, `frontend/`, `lib/`, `app/`, or equivalent).
State the finding to the user: existing source detected, beginning bounded source inspection.
Gate: `<!--INITIALIZED-->` absent AND meaningful source present. If the marker is present, stop and route to normal operation. If no meaningful source exists, stop and route to `decompose`. Neither condition met → do not proceed.
Use direct bounded inspection or optional scoped agents, whichever reduces repeated reading for this repository. Cover six logical categories for initial or explicitly full work; a scoped refresh inspects only the selected affected categories and retains prior coverage separately. Six categories do not require six agents or parallel execution. Start with paths and targeted searches, then read only the source needed to support the current claims. Keep actual host permissions, excluded paths and secret-handling rules in force. Do not run repository scripts merely because a manifest declares them.
When delegation helps, give each agent a finite path/category assignment, current source identity, output limit and stopping condition. Respect the host's actual concurrency and tool limits. Retain failed, partial and conflicting reports; narrow an oversized assignment instead of truncating it or repeatedly relaunching unchanged work. Direct inspection may resolve missing coverage or check a contested claim. A role label or a read-only instruction is not evidence of containment or independent verification. Describe the tools and boundaries actually observed, without claiming a trusted sandbox from an agent name. A separately required containment policy still applies to its own scope; a repository-only profile fixture does not impose that policy on ordinary work.
The categories are:
Open-source governance and hard gates for AI coding agents across Claude Code, Codex CLI, and Pi.
Refine feature and sprint intent into a useful specification. Capture scope, observable criteria and material choices without…
Create a verified local Git commit when committing changes is requested. Not for explaining commit history, drafting a message…
Inspect context drift and refresh selected source-backed documents under existing authorization.
Build source-backed project context through bounded inspection, optional agents, and record-level knowledge writes.
The banned-primitive gate. Routed to when changed code hashes, signs, encrypts, derives keys, generates security-relevant…
Investigate an unexplained defect or unexpected behavior without changing application code. Use for root-cause diagnosis and an…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.