agentleFS
acogoodacogood/diffmode_free/CLAUDE.md

diffmode_free

CLAUDE.md162 starsChanged 4 months agoApache-2.0View on GitHub

Guidance for AI agents working in the Diffmode Growth Tactics standalone repo. The free Diffmode growth-ideation pipeline, packaged as a portable Claude Code plugin (+ a Codex scaffold). It takes a founder from a 2-minute intake to a synthesis.md of 7-9 novel demand-gen tactic IDEAS and stops at synthesis. It is an extract of the private ai-cmo monorepo's pipeline-skills/ — re-pointed so it runs standalone, leaking none of the paid product. This is a prompt-based system, not traditional software: no…

  • In this repositoryOne other file it gives its agents.

The file

We split this CLAUDE.md into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    MUST NOT read anything under tactics_DB/.

    line 28
  2. Very specific:

    No host-repo dependencies: Never reintroduce a "confirm repo root / ai-cmo-workspace/ / prompts/ present, abort if not" pre-flight.

    line 60

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

CLAUDE.md

Guidance for AI agents working in the Diffmode Growth Tactics standalone repo.

What this repo is

The free Diffmode growth-ideation pipeline, packaged as a portable Claude Code plugin (+ a Codex scaffold). It takes a founder from a 2-minute intake to a synthesis.md of 7-9 novel demand-gen tactic IDEAS and stops at synthesis. It is an extract of the private ai-cmo monorepo's pipeline-skills/ — re-pointed so it runs standalone, leaking none of the paid product.

This is a prompt-based system, not traditional software: no build, no runtime. The "code" is Markdown (SKILL.md bodies, agent defs, orchestrator commands) executed by a coding-agent runtime. Outputs are Markdown/JSON files written to a per-run workspace.

Buyer-facing essence / moat framing lives in README.md and plugin/README.md.

The moat (do not erode it)

The synthesis method is what this repo gives away. Paid + proprietary (never ship, never reference content of): the 576-vector growth database (tactics_DB/ in the private repo), its intelligence layer + saturation/anti-vector tracking, and the downstream prioritization + implementation stages. The free pipeline runs the same method on a deliberately weaker per-run LIGHT DB mined fresh from public case studies, and stops.

Clean-room rule (moat-critical): growth-factors-mining and the whole synthesis chain MUST NOT read anything under tactics_DB/. Mentions of tactics_DB/ in this repo are only prohibitions / moat framing — never actual DB content, vector counts (no 542/8,238), or prompts/ source files. Keep it that way.

Architecture — single source of truth + what ships

  • One repo, one physical copy of the skills. The 13 skills live once in plugin/skills/. Edit them there. codex/.agents/skills/* are relative symlinks (../../../plugin/skills/<name>) — Codex reads the same files; do NOT create a second copy.
  • Only plugin/ ships to Claude users. marketplace.json (repo root) declares source: ./plugin, so Claude copies just that dir to its cache. docs/, codex/, and the root README.md do not ship — put internal notes there, not in plugin/.
  • Codex reads a checked-out repo (not a copy), so the symlinks resolve. The Codex side is a second, working orchestrator — codex/orchestrate.py drives the same DAG, codex/codex_dispatch.py dispatches workers, and codex/checks.py holds the deterministic stage checks. checks.py is the more precise of the two implementations (per-stage completeness anchors with rationale, substring match semantics, the 15-40 gate vs 20-40 acceptance split): when a structural check needs fixing, port from it rather than reinventing the check in prose in start.md — and change both in the same commit. See codex/CODEX.md.
PathRoleShips to Claude?
plugin/skills/13 SKILL.md — canonical methodologyyes
plugin/agents/5 worker sub-agents (research · research-perplexity (opt-in) · analysis · synthesis · reviewer)yes
plugin/commands/start (main entry) orchestratoryes
plugin/reference/bundled Marketing-Channel-Menu-2026.mdyes
codex/AGENTS.md + CODEX.md + worker .toml + symlinked skills + the orchestrate.py / checks.py / codex_dispatch.py driversno
docs/architecture, eval-methodology, STATUS, full-pipeline-mapno

Portability rules (the whole point of the extract — don't regress)

  1. No host-repo dependencies. Never reintroduce a "confirm repo root / ai-cmo-workspace/ / prompts/ present, abort if not" pre-flight. Runs write to ./<slug>/ in the user's current directory.
  2. Resolve bundled files via ${CLAUDE_PLUGIN_ROOT} (expands to the install dir at runtime): the channel menu is ${CLAUDE_PLUGIN_ROOT}/reference/…; reviewer spec_paths are ${CLAUDE_PLUGIN_ROOT}/skills/<skill>/SKILL.md. Never point at prompts/….
  3. Skill bodies stay runtime-neutral — no Claude-only tool ids baked in (say "your web-research backend", not mcp__perplexity__* or WebSearch). The concrete tool binding belongs in plugin/agents/*.md (Claude) / codex/agents/*.toml (Codex). Skills treat input paths (incl. the channel menu) as invoker-supplied.

    The built-in web search is the default and only assumed backend. Perplexity is opt-in. Nothing detects, probes for, or announces a Perplexity MCP; a configured server is not consent. It is dispatched only when the founder names it in $ARGUMENTS (see plugin/commands/start.md → Arguments), and it is a separate agent file (plugin/agents/research-worker-perplexity.md) so the default worker cannot reach those tools at all — structural enforcement, the same pattern that keeps analysis-worker off the web.

    Justify that on cost and setup, never on quality. Perplexity is opt-in because it bills a paid API and its key can expire mid-run (it did, silently, after a founder had been told they were paying for it) — not because the built-in search produces better output. docs/eval-methodology.md §4c measured no quality delta and requires n≥3 to re-open the question; do not add "quality slightly lower/higher" language on either path, anywhere.

  4. Plugin name stays diffmode-growth-tactics — the diffmode-growth-tactics:* namespaced dispatch ids in commands/agents depend on it.

The pipeline (DAG)

diagnostics-intake → enrichment (competitors → audience ‖ acq-tactics)
  → think-tank ×3 (competitor-gaps · cross-industry · platform-arbitrage)
  ‖ growth-factors-mining (LIGHT DB; starts right after the competitors gate, overlaps enrichment + think-tanks)
  → lite-constraints → synthesis (explore → build) → synthesis.md  (STOP)
  → founder-report (best-effort packaging) → growth-tactics.md  (the founder-facing view; renderer falls back to synthesis.md when absent)

A parameterized reviewer gates two stages (v2.3.0): enrichment competitors and the final synthesis (build) — score ≥ 7, max 3 retries, blocking_issues injected into a FRESH worker. Every other generating stage (audience + acquisition-tactics, the 3 think-tanks, growth-factors, lite-constraints, the intermediate explore, the post-gate founder-report packaging) gets a structural check. Workers are single-shot and stateless — every retry is a fresh spawn; never SendMessage a returned worker. Research stages run on the built-in WebSearch (the default, zero-setup path); a Perplexity MCP is opt-in only, on a separate worker (see portability rule 3). Analysis + synthesis run with no MCP by design (structurally enforces no-web-search).

Common tasks

  • Edit a skill / agent / command → edit under plugin/. After editing, reinstall the plugin to pick up changes. Codex symlinks need no action.
  • Validate → claude plugin validate plugin (must pass before publishing / community submission), plus bash dev/smoke-test.sh <completed-workspace> and python3 codex/checks.py (its self-test; point DIFFMODE_FIXTURE_WS at a completed workspace). There is no CI — nothing runs these but you.
  • Confirm which copy of the plugin is live → it resolves from whatever ~/.claude/settings.json → extraKnownMarketplaces.diffmode-free.source points at. A directory source runs this working tree (skill edits take effect with no reinstall); a github source runs ~/.claude/plugins/cache/diffmode-free/…/<version>/. Stale cache dirs from earlier installs coexist and are NOT used under a directory source — delete them so you can't test the wrong tree. Each run also records plugin_version + plugin_root in its ledger's first row, so a finished workspace can answer this after the fact.
  • When docs disagree with code, code wins. docs/STATUS.md is an append-only build log — historical entries are never rewritten, so an old claim there can contradict current plugin/. Trust plugin/.
  • Check nothing external leaked back in → grep -rn "prompts/\|ai-cmo-workspace\|repo root" plugin/ should return nothing but the README's references to this repo's own root.
  • Confirm Codex symlinks resolve → ls -L codex/.agents/skills/ lists all 13.

Pointers

  • Repo landing + install (both runtimes) → README.md
  • Plugin internals + command reference → plugin/README.md
  • Codex setup, MCP KEY/TOKEN gotcha, porting guide → codex/CODEX.md
  • Codex orchestration model (DAG, gates, clean-room) → codex/AGENTS.md
  • Design rationale / state contract → docs/architecture.md
  • Reviewer methodology / scoring → docs/eval-methodology.md
  • Why the output isn't default LLM answer (the 7 novelty layers, with file:line backing — source for buyer-facing copy) → docs/novelty-engineering.md
  • Build/version history → docs/STATUS.md

Open decisions (carry these forward)

  1. Marketplace name is diffmode-free (in marketplace.json + install strings as @diffmode-free) — deliberately NOT diffmode, to avoid colliding with / squatting the paid diffmode CLI + skill (github.com/agentic-builders/diffmode-cli). The plugin name stays diffmode-growth-tactics.
  2. Source of truth between this repo and the private ai-cmo/pipeline-skills/ dev origin is undecided — keep edits here in sync deliberately until that's settled.
  3. claude-community marketplace submission — optional, after the repo is verified.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.