codeweb-pitch

codeweb-pitch is a command for Claude Code from GhostlyGawd/codeweb. It costs 45 tokens per session (567 once invoked), scanned A, original, MIT.

A command that drafts a one-page memo arguing for a code refactor, using reports and analysis already generated from the repository.

In plain words
What is it for?
Use it to prepare a funding pitch for a refactor or a shareable summary of repository findings, with citations and blocked items stated honestly.
Why use it?
It turns scattered measurements and findings into a reviewable business case while requiring every number to point back to its source artifact.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the codeweb plugin — 3 skills, 4 commands, 2 agents, 3 hooks, 1 MCP server shipped together

Good fit Use it to prepare a funding pitch for a refactor or a shareable summary of repository findings, with citations and blocked items stated honestly.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/ghostlygawd/codeweb/pitch
Install

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.

Clone the repo
git clone --depth 1 https://github.com/GhostlyGawd/codeweb

Made for: Claude Code.

Or install codeweb, the plugin that ships this one along with the rest of its 3 skills, 4 commands, 2 agents, 3 hooks, 1 MCP server.

Wrote 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.

agentmods badge for codeweb-pitch

README.md
[![agentmods](https://agentmods.dev/badge/commands/ghostlygawd/codeweb/pitch/github.svg)](https://agentmods.dev/commands/ghostlygawd/codeweb/pitch)
Your own site
<a href="https://agentmods.dev/commands/ghostlygawd/codeweb/pitch"><img src="https://agentmods.dev/badge/commands/ghostlygawd/codeweb/pitch/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.

agentmods 80×15 button for codeweb-pitch

Your own site · 80×15
<a href="https://agentmods.dev/commands/ghostlygawd/codeweb/pitch"><img src="https://agentmods.dev/badge/commands/ghostlygawd/codeweb/pitch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 567 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00045 $0.00567
Opus 5.5 $0.00018 $0.00227
Sonnet 5.5 $0.00009 $0.00113
Haiku 4.5 $0.00005 $0.00057

Measured 1mo ago against content hash 1c73ca6f8a87, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

codeweb-pitch 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 1mo 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.

commands/pitch.md · 47 lines

How it starts

The opening of the file, as written. The whole thing — 47 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/codeweb-pitch

Draft the business case users assemble by hand today (AI-IDEAS.md Idea 4): a one-page memo for "fund this refactor" (team lead) or "here's what codeweb found in our repo" (the shareable story). You select and narrate; the numbers come only from artifacts.

Hard rules

  • Every number carries a citation to the artifact path it came from (optimize.md, campaign --json, .codeweb/history.jsonl, stats.json, trend output). A number you cannot cite does not go in the memo.
  • Draft only — the user reviews before anything leaves the machine. Never post, send, or commit the memo anywhere yourself. End with: "Review before sharing — numbers are only as fresh as the map (mapped <date> in the report masthead)."
  • The honest-null voice. Blocked-tier items are stated as blocked with the gate's reason; no rounding up, no projections presented as measurements (the repo's claims-check culture).

Inputs to read (all local, all already generated)

  1. optimize.md / codeweb_campaign — ready/blocked/review counts, LOC reclaimable, per-step gate verdicts.
  2. .codeweb/history.jsonl (or node scripts/trend.mjs --history …) — the trajectory: confirmed dups and coupling over the last N maps.
  3. node scripts/hotspots.mjs <graph> — where the risk concentrates (auditable components).
  4. stats.json (npm run stats) — the local receipt: regressions flagged before landing, cards delivered, queries served.

Shape (one page, in this order)

trajectory (one sentence + the history series) → the ask (which ready merges, expected −LOC and cycles, per optimize.md) → what's deliberately NOT proposed (blocked tier + why) → the safety story (every merge pre-flighted by codeweb_simulate, landed behind the diff gate) → receipts (stats.json lifetime line).

Usage

/codeweb-pitch                    # draft the memo for the current map
/codeweb-pitch --audience lead    # "fund this refactor" framing
/codeweb-pitch --audience share   # "what codeweb found" framing for a post/README

Read the full file on GitHub · 47 lines

Changes

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.

  1. 1mo ago First seen · 47 lines · 45 tokens per session scan A 1c73ca6f8a87

Subscribe to this mod's changes

codeweb-pitch is a command published in the GitHub repository GhostlyGawd/codeweb (0 stars, last pushed 4d ago), licensed MIT. It adds 45 tokens to every session and 567 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.