Skip to content
/

claude-code-pro-pack

sisyphusse-pro-pack · sisyphusse1-ops/claude-code-pro-pack · ★ 26 · last commit 2026-05-10

Provides a 12-rule drop-in CLAUDE.md behavior baseline (building on Karpathy's 4-rule original) that addresses agent-orchestration failures: token spirals, silent failures, two-pattern pollution, duplicate drift.

Best whenPast ~200 lines of CLAUDE.md compliance drops sharply — 12 rules that cite real failure modes beat 200 lines of preferences.
Skip ifCLAUDE.md files over 200 lines, Vague rules with no failure mode citation
vs seeds
superpowerswhich uses a SessionStart hook to inject behavior automatically, claude-code-pro-pack relies on the agent reading CLAUDE…
Primitive shape 5 total
Skills 5
00

Summary

claude-code-pro-pack — Summary

claude-code-pro-pack is a minimal, battle-tested behavior file for AI coding agents — a 12-rule CLAUDE.md plus a matching AGENTS.md, five example skills, and three templates (PRD generator, browser workflow graduation, skill template). The 12 rules explicitly build on Andrej Karpathy's original 4-rule CLAUDE.md, adding 8 rules that address agent-orchestration failures the original didn't cover: token spirals, silent partial failures, two-pattern pollution, and duplicate-function drift.

Problem it solves: Most CLAUDE.md files either have too few rules (missing common failure modes) or too many (compliance drops past ~200 lines). The pack holds at 12 rules with per-rule failure-mode citations to stay within the agent's attention budget while covering the most impactful behavioral failures.

Distinctive trait: Every rule in the file cites the specific failure mode it closes — e.g., Rule 7 closes "two codebase patterns disagreeing," Rule 12 closes "silent partial failures." This makes the reasoning auditable and the rules extensible by developers who want to add new rules with the same pattern.

Target audience: Developers on any AI coding tool who want a drop-in behavior baseline that works out-of-the-box without installing a framework. Positioned as "Claude Code behavior baseline" to use alongside anthropic/skills (domain tasks) and addyosmani/agent-skills (lifecycle workflow).

Differs from seeds: Closest to agent-os (Archetype 4 — markdown scaffold, zero primitives) but differs: agent-os includes commands that write the standards files, while this pack is purely drop-in files with no installer or commands. Unlike superpowers (which uses hooks and skills to enforce behavior automatically), this pack relies entirely on the agent reading and following the CLAUDE.md — no injection mechanism.

01

Overview

claude-code-pro-pack — Overview

Origin

Published by sisyphusse1-ops on GitHub. 26 stars, 7 forks, MIT license. Last commit: 2026-05-10. Language: HTML (landing page). GitHub Actions action included (action.yml).

Philosophy

"Built from real-world agent failure modes across 30+ codebases. Drop-in files. No framework. ~700 tokens total."

"Karpathy's original 4-rule CLAUDE.md cut Claude coding mistakes from ~40% to ~11%. This pack adds 8 more rules covering the agent-orchestration failures the original didn't — token spirals, silent partial failures, two-pattern pollution, duplicate-function drift."

"Past ~200 lines of CLAUDE.md, compliance drops sharply — rules get buried. The pack holds at 12 rules + minimal boilerplate so the agent actually reads and follows the file. Every rule cites a real failure it closes, not a preference."

The 12 Rules (verbatim from CLAUDE.md)

  1. Think before coding. State assumptions out loud. Surface tradeoffs. Push back when a simpler approach exists. No silent guesses.
  2. Simplicity first. Minimum code that solves the stated problem. No speculative features. No abstractions for single-use code.
  3. Surgical changes. Touch only what the task requires. Don't "improve" adjacent code, comments, or formatting. Match existing style.
  4. Goal-driven execution. Define success criteria up front, then loop until verified. Prefer stating the goal over dictating steps.
  5. Don't make the model do non-language work. Retries, routing, rate-limiting, arithmetic, time — write deterministic code, not prompts.
  6. Hard token budget. Every loop gets a ceiling. If the same 8KB input has been re-chewed for 90 minutes, stop and step back.
  7. Surface conflicts, don't average them. When two parts of the codebase disagree, pick one visibly and explain why.
  8. Read before you write. Before adding code, read the nearby code. New functions that duplicate existing ones break silently through import order.
  9. Tests are gated by correctness, not "pass." A passing test on a function returning a constant is not a passing test.
  10. Long-running operations need checkpoints. Multi-step refactors and migrations commit between steps.
  11. Convention beats novelty. In a codebase with an established pattern, use that pattern even when yours is "better."
  12. Fail visibly, not silently. A migration that "completed successfully" while skipping 14% of records is a bug, not a success.

Positioning vs. Competitors

Explicit comparison table in README:

This pack anthropic/skills addyosmani/agent-skills
Shape Drop-in CLAUDE.md + 5 example skills Plugin marketplace Plugin with slash commands
Install Copy one file /plugin install /plugin install
Focus Agent behavior baseline Domain skills catalog Dev lifecycle workflow
Token cost ~700 total Per-skill Per-skill + hook
02

Architecture

claude-code-pro-pack — Architecture

Distribution

  • Type: Template bundle (static files) + optional GitHub Action
  • License: MIT
  • Language: HTML (landing page), Markdown (templates + rules)

Install Method

# Step 1: Copy CLAUDE.md (or AGENTS.md for Codex) to project root
# Step 2: Uncomment ## Project specifics block, add stack/test runner/off-limits rules
# Step 3: Commit
# Step 4 (optional): Copy 2-3 skills from examples/ into .claude/skills/ or skills/

No CLI, no installer, no npm package. Manual copy.

Directory Tree

cc-pro-pack/
├── CLAUDE.md                            # 12-rule behavior file — Claude Code
├── AGENTS.md                            # Same 12 rules, Codex/OpenCode variant
├── templates/
│   ├── prd-generator.md                 # Senior PM prompt → agent-ready PRDs
│   ├── browser-skill-graduation.md      # Turn browser workflows into reusable skills
│   └── skill-template.md               # SKILL.md frontmatter + structure template
├── examples/
│   ├── skill-plan-first.md
│   ├── skill-systematic-debugging.md
│   ├── skill-tdd-loop.md
│   ├── skill-github-pr-workflow.md
│   └── skill-code-review.md
├── docs/
│   ├── why-12-rules.md                  # Failure mode each rule closes
│   └── adoption-guide.md               # 10-minute setup for any project
├── action.yml                           # GitHub Action (cc-audit integration)
└── index.html                           # GitHub Pages landing page

Required Runtime

None for the behavior files. The GitHub Action uses Node (not documented in detail).

Target AI Tools

  • Claude Code (CLAUDE.md)
  • Codex / OpenCode (AGENTS.md)
  • Cursor (CLAUDE.md readable)
  • Hermes Agent
  • GitHub Copilot
  • cc-audit: companion one-file Python linter that scores any CLAUDE.md/AGENTS.md against the 12-rule baseline (mentioned in README; separate repo under same author)
03

Components

claude-code-pro-pack — Components

Core Files (2)

File Purpose
CLAUDE.md 12-rule behavior file for Claude Code, Cursor, Hermes (~700 tokens)
AGENTS.md Same 12 rules, same structure, filename for Codex/OpenCode tooling

Both files have a ## Project specifics section that is commented out — users uncomment and fill in stack-specific rules.

Both files include a ## Verification checklist with 4 pre-return self-checks.

Example Skills (5)

File Purpose
examples/skill-plan-first.md Plan before implementation; clarify requirements
examples/skill-systematic-debugging.md Root cause analysis before fixing
examples/skill-tdd-loop.md Red-green-refactor TDD cycle
examples/skill-github-pr-workflow.md PR creation and review workflow
examples/skill-code-review.md Structured code review

Templates (3)

File Purpose
templates/prd-generator.md Senior PM prompt → agent-ready PRDs
templates/browser-skill-graduation.md Convert browser automation workflows into reusable skills
templates/skill-template.md SKILL.md frontmatter + structure template

Documentation (2)

File Purpose
docs/why-12-rules.md Rationale for each rule, failure mode cited
docs/adoption-guide.md 10-minute setup guide

No Commands, Hooks, MCP, or Subagents

The pack ships zero slash-commands, zero lifecycle hooks, zero MCP servers, and zero subagents. Pure behavioral instructions in markdown files.

05

Prompts

claude-code-pro-pack — Prompt Excerpts

Excerpt 1: CLAUDE.md — The 12-Rule Behavior File

# CLAUDE.md — 12 Rules

Drop this file in your project root. Claude Code / Codex / Cursor / Hermes all read it.
Keep it short — past ~200 lines compliance drops sharply.

## Rules

...

7. **Surface conflicts, don't average them.** When two parts of the codebase disagree
   (two error patterns, two state stores), pick one visibly and explain why. Doing both
   doubles the bug surface.

8. **Read before you write.** Before adding code, read the nearby code. New functions that
   duplicate existing ones break silently through import order.

9. **Tests are gated by correctness, not "pass."** A passing test on a function returning
   a constant is not a passing test. Tie assertions to behavior, not shape.

12. **Fail visibly, not silently.** A migration that "completed successfully" while
    skipping 14% of records on constraint violations is a bug, not a success. Surface
    partial failure, skipped rows, truncated output, retry exhaustion.

## Verification checklist

Before returning a task as done:

- [ ] Did I state my assumptions explicitly?
- [ ] Did any change touch code outside the stated scope? If yes, revert or justify.
- [ ] Did any test pass without actually verifying behavior? Re-check assertions.
- [ ] Any partial failure, skipped record, truncated output? Surface it in the summary.

Prompting technique: Failure-mode-anchored rule definition. Each rule is phrased to describe the bad outcome it prevents, not just the desired behavior. Rule 9 doesn't say "write good tests" — it defines what "not a passing test" means. The verification checklist converts abstract rules into a concrete exit-condition.


Excerpt 2: AGENTS.md — Same Rules, Codex Variant

# AGENTS.md — 12 Rules for Codex / OpenCode / Cursor

Same 12 rules as `CLAUDE.md`, filename change for Codex-style tooling that looks for `AGENTS.md`.

...

## Project specifics

<!-- Add repo-specific rules here. Keep it under 50 lines. -->

Prompting technique: The two-file pattern (CLAUDE.md + AGENTS.md with identical content) is a cross-tool portability pattern — the same baseline reads differently named files depending on the AI tool in use. The ## Project specifics comment block is the extension point, with explicit constraint: "Keep it under 50 lines."

09

Uniqueness

claude-code-pro-pack — Uniqueness & Positioning

Differs From Seeds

Most similar to agent-os (Archetype 4 — markdown scaffold, zero primitives): both ship structured markdown files for agents to read passively. The key difference: agent-os ships opinionated standards/ content and "commands" that write those standards into new projects, targeting a standards-install workflow; claude-code-pro-pack is a single drop-in CLAUDE.md + AGENTS.md pair targeting a behavior-baseline use case. Also similar to superpowers in behavioral philosophy (enforcing engineering discipline) but lacks superpowers' automatic injection via hooks — compliance is passive.

The notable positioning move is the explicit origin story: "builds on Karpathy's original 4-rule CLAUDE.md." This grounds the pack in a widely-cited reference point in the community and makes the "8 additional rules" framing legible.

CLAUDE.md vs AGENTS.md Schism

This pack ships both a CLAUDE.md and an AGENTS.md with identical content — the same 12 rules, just different filenames for different tool conventions. This is a direct response to the naming schism in the AI coding community: Claude Code reads CLAUDE.md, Codex and OpenCode read AGENTS.md, other tools have their own conventions. The pack resolves this with parallel files rather than symlinks or a unified format.

Observable Failure Modes

  • No injection mechanism — an agent that doesn't read CLAUDE.md carefully (e.g., compacted context) loses all 12 rules
  • Rules 1–12 rely on the agent's willingness to follow them; adversarial or misconfigured agents ignore them
  • The ~700 token claim is small, but 12 rules + boilerplate + project specifics + example skills can add up quickly
  • No verification that the agent actually complied with any rule — the checklist is self-assessed

Relationship to Ecosystem

README recommends using this pack together with anthropic/skills (domain tasks) and addyosmani/agent-skills (lifecycle workflow): "Use all three — pack for behavior, anthropic/skills for domain tasks, addyosmani for lifecycle flow."

04

Workflow

claude-code-pro-pack — Workflow

Setup Flow

Phase Action Artifact
Setup Copy CLAUDE.md to project root CLAUDE.md in project
Customization Uncomment Project specifics, add stack/test runner Customized CLAUDE.md
Optional Copy example skills to .claude/skills/ Skills available to agent
Agent session Agent reads CLAUDE.md at session start 12 rules in context

Per-Task Flow (implicit in rules)

  1. State assumptions, surface tradeoffs (Rule 1)
  2. Define success criteria (Rule 4)
  3. Read adjacent code before writing (Rule 8)
  4. Check for convention conflicts; pick one explicitly (Rule 7)
  5. Implement with checkpoints for long operations (Rule 10)
  6. Tests must verify behavior, not just pass (Rule 9)
  7. Surface partial failures explicitly (Rule 12)
  8. Before returning: run verification checklist

Verification Checklist (verbatim from CLAUDE.md)

  • Did I state my assumptions explicitly?
  • Did any change touch code outside the stated scope? If yes, revert or justify.
  • Did any test pass without actually verifying behavior? Re-check assertions.
  • Any partial failure, skipped record, truncated output? Surface it in the summary.

Approval Gates

None automated. The verification checklist is a self-check instruction, not a gate enforced by any mechanism.

06

Memory Context

claude-code-pro-pack — Memory & Context

State Storage

None. The CLAUDE.md and AGENTS.md files are static — they serve as persistent context that the agent reads at session start, but no runtime state is written.

Token Budget Awareness

Rule 6 explicitly addresses context spiral: "Every loop gets a ceiling. If the same 8KB input has been re-chewed for 90 minutes, stop and step back." This is a behavioral instruction rather than a technical mechanism.

Cross-Session Handoff

None built in. The pack does not address how to hand off context between sessions.

Context Engineering Philosophy

The pack's token budget (~700 tokens for the 12 rules + boilerplate) is itself a design choice: "Past ~200 lines of CLAUDE.md, compliance drops sharply." The framework trusts the agent's baseline capabilities and adds only the minimum behavioral anchors that real-world failures showed were needed.

07

Orchestration

claude-code-pro-pack — Orchestration

No multi-agent, no orchestration, no hooks, no MCP. Single-agent behavioral baseline.

The example skills (skill-tdd-loop.md, etc.) can be loaded by the agent's host tool but ship no orchestration mechanism — they are instructions, not code.

08

Ui Cli Surface

claude-code-pro-pack — UI / CLI Surface

CLI Binary

None.

Local UI

A GitHub Pages site at index.html (same pattern as ai-context-templates by the same approach). Marketing only.

GitHub Action

The action.yml is included but its purpose is described as integration with cc-audit — a companion Python linter (separate repo) that scores any CLAUDE.md/AGENTS.md against the 12-rule baseline.

IDE Integration

None beyond standard file reading by the agent.

Related frameworks

same archetype · same primary tool · same memory type

alirezarezvani/claude-skills ★ 16k

313+ skills for 12 AI tools covering engineering, marketing, C-level advisory, compliance, research, and finance — all from one…

MoAI-ADK ★ 1.0k

Implements Harness Engineering as a Go-binary-installed Claude Code environment with auto-TDD/DDD methodology selection, 20-event…

REAP (c-d-cc/reap) ★ 41

Prevent context loss, scattered development, and forgotten lessons through a generation-based lifecycle where AI and human…

Codex Harness MCP ★ 7

Gives MCP-capable coding agents a local contract-lifecycle harness with governance audits and explicit completion gates.

meta-agent-teams (jbrahy) ★ 2

Build self-improving AI agent teams via a supervised training loop: specialist agents advise, a meta-agent evolves prompts based…

Browser Harness ★ 14k

Thin, self-healing CDP harness connecting an LLM to the user's real Chrome browser with coordinate-first clicking and…