Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/GhostlyGawd/codewebWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/ghostlygawd/codeweb/apply)<a href="https://agentmods.dev/commands/ghostlygawd/codeweb/apply"><img src="https://agentmods.dev/badge/commands/ghostlygawd/codeweb/apply/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/ghostlygawd/codeweb/apply"><img src="https://agentmods.dev/badge/commands/ghostlygawd/codeweb/apply.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00052 | $0.00787 |
| Opus 5.5 | $0.00021 | $0.00315 |
| Sonnet 5.5 | $0.00010 | $0.00157 |
| Haiku 4.5 | $0.00005 | $0.00079 |
Grade A, and why
codeweb-apply scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 15d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 52 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/codeweb-apply
Execute the gated worklist that /codeweb ends at. Today the advisory stops at a plan
("the agent (+ the gate) executes each step"); this command is that execution — ready-tier
merges only, every accept/reject decided by the deterministic gate, never by you.
Hard rules (AI-IDEAS.md Idea 1 — the fence)
- Ready tier only. Never touch
blockedorreviewtier items — blocked means the gate already rejected the naive merge; review means a human judgement the user has not delegated. - Merge steps only. Campaign
deleteproposals require source review and separate explicit deletion authorization. A green structural gate does not establish unused code or deletion safety. - The gate owns the verdict. You simulate, edit, and run tests;
codeweb_diff(exit 1 on a new cycle / new duplication / lost callers) and the test subset decide. You never overrule them. - Revert on any failure. A red diff-gate or failing test subset →
git checkoutthe touched files (orgit revertthe step commit), record the step as blocked with the gate's reason, and CONTINUE to the next step (campaign ordering keeps later steps valid). - Stop conditions: first unexpected error class (not a per-step gate failure), a dirty working tree you did not create, or the user interrupting. Never force-push, never touch CI.
- codemod --write is CLI-only by design — the MCP surface stays read-only; the user's agent writes, codeweb never does.
The loop
- Preconditions: clean
git status; a fresh map (codeweb_mapornode scripts/run.mjs .). - Get the plan:
codeweb_campaign(ornode scripts/optimize.mjs <graph> --json) — take the ready tier in listed order. - Per step:
a. Pre-flight:
codeweb_simulatewith the step's merge (merge,into) — skip the step as blocked ifprojected.okis false (record why). b. Snapshot: copygraph.jsonto abefore.jsonfor this step. c. Apply:node scripts/codemod.mjs <graph> --merge <ids> --into <id> --writefor mechanical merges; hand-edit only when codemod declines, keeping the edit minimal. d. Refresh:codeweb_refresh(ornode scripts/refresh.mjs <graph>). e. Gate:codeweb_diffbefore vs after — exit 1 → revert (rule above). f. Tests:codeweb_testsfor the surviving symbol → run exactly that subset. Red → revert. g. Commit: one commit per step, message citing the step id and the gate verdict. - Final receipt (print it, in the value-receipt voice):
applied N merge(s) · −L LOC · cycles broken C · blocked B (reasons listed) · gate green.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 15d ago Changed · +2 lines f06790779a55
- 1mo ago First seen · 50 lines · 52 tokens per session scan A c8a96df0710c
codeweb-apply is a command published in the GitHub repository GhostlyGawd/codeweb (0 stars, last pushed 5d ago), licensed MIT. It adds 52 tokens to every session and 787 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
test
Test commit. Use for add tests, update tests, test coverage, unit test, spec.
impact
Which tests a change impacts, with a ready-to-run test command.
ccc-verify
Verify the current codebase in a fixed order (build, types, lint, tests with coverage, secrets, debug logs, git status) and return a PASS/FAIL report with a ready-for-PR verdict. Use before committing, before opening a PR, or when asked to check that everything still works.
replay
You are reconstructing the historical evolution of this sprint by recompiling every version of claims.json from git history.
genshijin-commit
A command that writes a commit message for changes already placed in Git's staging area. It follows the repository's existing language and uses a short imperative subject without AI attribution.
implement
Execute all implementation tasks from tasks.md with test-driven development, parallel batching, and atomic commits.