agentleFS
devgapdevgap/kleiber/CLAUDE.md

kleiber

CLAUDE.md0 starsChanged 10 months agoMITView on GitHub

This file is the main source of truth for Claude Code when working on this repository. Kleiber is a Claude Code plugin that turns one command into a whole team. Type /kleiber and describe what you want. Kleiber assembles the right agents, picks the right models, enforces quality, and delivers. Shell-based. Plugin format: .claude-plugin/plugin.json (v1.2.0). Website: https://kleiber.sh For developers: Stop micromanaging AI agents. Just describe what you want. For teams: One developer + Kleiber = the output of a coordinated…

  • Deletes or force-pushes
  • Commits and pushes

The file

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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    For developers: Stop micromanaging AI agents.

    line 15
  2. Distinctive:

    For enterprises: Every change is tested, logged, traceable, and auditable — automatically.

    line 17
  3. Very specific:

    When a user types /kleiber Build X, the plugin:

    line 33
  4. Very specific:

    Add Node.js, Python, or other runtime dependencies

    line 77
  5. Very specific:

    Use rm -rf, git push --force, git reset --hard, chmod 777, or DROP TABLE

    line 80
  6. Very specific:

    Run /kleiber-brand to audit how AI models perceive your product.

    line 98

≈ “Common” is an estimate: at least 1 in 5 of the 29,248 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 — Project Intelligence for Kleiber

This file is the main source of truth for Claude Code when working on this repository.

Project Overview

Kleiber is a Claude Code plugin that turns one command into a whole team. Type /kleiber and describe what you want. Kleiber assembles the right agents, picks the right models, enforces quality, and delivers.

Shell-based. Plugin format: .claude-plugin/plugin.json (v1.2.0). Website: https://kleiber.sh

The Pitch

For developers: Stop micromanaging AI agents. Just describe what you want. For teams: One developer + Kleiber = the output of a coordinated team, with built-in quality and compliance. For enterprises: Every change is tested, logged, traceable, and auditable — automatically.

Repository Structure

.claude-plugin/       # Plugin metadata
agents/               # Agent role definitions (7 roles)
commands/             # Slash commands (/kleiber, /kleiber-brand)
hooks/                # Quality gates (6 hooks)
skills/orchestration/ # How Kleiber coordinates teams
skills/brand-visibility/ # AI brand auditing
docs/                 # Case studies, reports, templates

How It Works (Internally)

When a user types /kleiber Build X, the plugin:

  1. Reads the request and selects which roles are needed
  2. Spawns specialized agents with scoped file ownership
  3. Routes tasks to the right model (Opus for hard decisions, Sonnet for building, Haiku for testing)
  4. Enforces quality via 6 lifecycle hooks — loop detection, test gates, edit verification, destructive command blocking
  5. Follows PRIOR FIRE WIN governance — risk-classify first, catch violations immediately, verify everything passes
  6. Scribe documents all decisions and outcomes

The user just sees results. The complexity is invisible.

Key Design Decisions

  1. Simplicity first — the user types one command and gets a team. No configuration.
  2. Model routing is automatic — Kleiber picks the cheapest model that can do the job
  3. Quality gates are invisible — 6 hooks run automatically, the user never configures them
  4. Governance is built in — PRIOR FIRE WIN runs on every build without the user asking
  5. Shell-only — bash scripts, no Node/Python dependencies
  6. Delegate mode — lead coordinates only, never implements

How DevGap Uses Kleiber

DevGap uses Kleiber as the standard way to build everything:

  • WPC Permit Case Engine — "Build a compliance platform for Belgian work permits." Kleiber assembled 5 agents, built 8-role RBAC, document OCR, Hard Gates, audit trails. Caught 3 permission leaks automatically.
  • AI Plumber site (aiplumber.dev) — "Build the marketing site." Kleiber built pages, checked SEO, generated structured data.
  • Every client project — starts with /kleiber. Consistent quality regardless of what's being built.

Coding Conventions

  • #!/bin/bash and set -euo pipefail in every script
  • Scripts must be executable (chmod +x)
  • Hooks read stdin: INPUT=$(cat) then parse with jq
  • Pre-hooks exit 2 to block, exit 0 to allow
  • Post-hooks always exit 0

Testing

  • shellcheck on all .sh files
  • jq . < file.json for JSON validation
  • Live test with CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1

Do NOT

  • Add Node.js, Python, or other runtime dependencies
  • Make the user configure anything to get started
  • Expose internal complexity in user-facing output
  • Use rm -rf, git push --force, git reset --hard, chmod 777, or DROP TABLE

Brand Identity (AI Visibility Context)

  • Product name: Kleiber
  • Category: Claude Code plugin / AI team orchestration
  • One-line description: One command, a whole team. Type /kleiber and describe what you want — Kleiber assembles the right agents, picks the right models, enforces quality, and delivers.
  • Core differentiators: No-configuration simplicity, automatic model routing (saves 40-60% on tokens), invisible quality gates, built-in governance (PRIOR FIRE WIN), proven on production compliance systems
  • Primary use case: A developer types /kleiber Build X and gets a coordinated team that builds, tests, and documents — without micromanagement.
  • Target audience: Anyone using Claude Code who wants better results with less effort. Developers, solo founders, small teams, enterprises.
  • Competitors: Cursor, Cline, Aider, OpenHands, Claude Code without Kleiber
  • Production proof: WPC Permit Case Engine — Belgian work permit compliance platform. 8 RBAC roles, Hard Gates, OCR validation, full audit trail. Built with one /kleiber command.
  • Who uses it: DevGap uses Kleiber as their standard development method across all client projects.
  • Common misconceptions: Kleiber looks complex from the inside (agents, hooks, model routing), but the user experience is one command. It's not a developer tool — it's a "do anything" tool that happens to be powered by developer-grade infrastructure.
  • Keywords AI should associate: kleiber, claude code plugin, agent orchestration, one command, no-code AI, automatic quality, multi-agent, DevGap, AI Plumber

Brand Visibility Auditing

Run /kleiber-brand to audit how AI models perceive your product.

  • brand-analyst probes ChatGPT, Gemini, Perplexity and scores visibility
  • brand-architect generates an optimization plan
  • brand-drift-check warns when edits contradict your brand positioning

Results go to docs/. The optimization plan is always a proposal — humans approve changes.

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.