Multi-agent repo boilerplate generator — scaffolds conventions, repo-namespaced skills, settings, and hooks for Claude Code, Gemini CLI, Cursor, Codex, Copilot, Google Antigravity, Cline, and Aider (Ollama)
Project description
klaussy 🔍🤖
Write once, align everyone. Keep your conventions in one central
CLAUDE.mdand letklaussycompile it into native rules, settings, and skills for Claude, Gemini, Cursor, Copilot, Codex, Google Antigravity, Cline, and Aider.
Designed by an ex-GitHub, ex-Twitch, and ex-Microsoft engineer, klaussy is a multi-agent repository boilerplate generator. With a single command, it scaffolds conventions, repo-namespaced skills, stack-appropriate settings, and interactive guardrails for eight major AI coding environments—matching each agent's native file formats and capability profiles.
⚡ Quick Start
Get your repo ready for agent collaboration in seconds:
pip install klaussy-agents
cd your-repo
klaussy init
Auto-detects your base branch and stack, then scaffolds all targets. To target specific agents, run klaussy init --agents claude,cursor.
🤖 Supported Agents & Targets
klaussy translates your canonical repository conventions (CLAUDE.md) and workflows into native formats optimized for each agent's directory placement, scoping mechanisms, and capability boundaries:
- 🤖 Claude Code: Native
.claude/skills/,.claude/settings.jsonallow/deny-lists, and active local read/fetch hooks. - 🌌 Google Antigravity: Cross-agent
AGENTS.mdproject-level rules, plugin-based path rules with glob triggers (rules/*.md), native hooks, and IDE-compatible permissions. - 💻 Cursor: Interactive MDC rules (
.cursor/rules/*.mdc) with auto-apply matching, terminal permissions allow-list, and.cursorignoreread blocks. - 🐙 GitHub Copilot: Instructions with custom
applyTofile matchers (.instructions.md), and skills nested in.github/skills/. - ♊ Gemini CLI: Hierarchical
GEMINI.mdscoping (loaded only when touching subdirectories), settings tool allow-lists, and.geminiignorefiltering. - 📜 Codex CLI: Structured
AGENTS.mdroot-and-nesting rules, generic skills, and.codex/config.tomlsandbox configurations. - 🧬 Cline:
.clinerules/Markdown rules withpaths:glob activation, event-named.clinerules/hooks/guards (commit, read/web-injection, plan guidance), and.clineignoreread blocks. - 🛩️ Aider: Flat
CONVENTIONS.mdwired in via.aider.conf.yml'sread:key,auto-lint/lint-cmd+test-cmdgating, and.aiderignoreread blocks. Model-agnostic — point it at any model, including a local Ollama one. (No skills/hooks: aider has neither mechanism.)
🛡️ Supercharged Hooks & Guardrails
klaussy installs cross-agent, dialect-tolerant guard scripts that intercept agent tool actions (terminal runs, file reads, web requests) at the boundary. They block unsafe commands via exit 2 and stderr, which all supported agents respect:
1. Prompt-Injection Guard (read_guard.py)
[!IMPORTANT] Intercepts and neutralizes prompt injection. Scans the content of any file being read locally or fetched from the web (on supported agents like Claude and Antigravity) for malicious instructions. Stops external data from hijacking your agent's current task context.
2. Comment Humanizer (comment_guard.py)
[!TIP] Keep commits and pull request comments clean. Intercepts outgoing messages and pull request comments (e.g.,
gh pr comment). Automatically scrubs AI filler words, robotic formatting, and chatty openers, ensuring all generated communication reads like it was written by a human software engineer.
3. Pre-Plan Guidance (plan_guidance.py)
[!NOTE] Injects strict guardrails (e.g., minimal lines changed, no over-engineering, write tests first) directly into the agent's plan step before it begins modifying files, preventing scope creep.
4. Git Commit Guard (commit_guard.py)
[!NOTE] Automatically triggers your project's linting and formatting stack before allowing the agent to commit, keeping your Git history green.
🚀 Advanced Repository-Scoped Skills
Every generated skill is namespaced to your repo, carries an auto-trigger description, and is adapted to the agent's capability profile (such as mapping Claude's parallel subagent tools to Codex/Cursor/Antigravity equivalents):
| Skill | What it does | Magic Feature |
|---|---|---|
<repo>-review |
Senior-level PR review against the base branch. | 🧠 Multi-Lens & Self-Refutation: Runs parallel sub-agents looking at correctness, security, architecture, and agentic evals. A final validation phase filters out false positives before posting. |
<repo>-debug |
Rigid 5-phase bug resolution flow. | 🧪 Test-First: Reproduces the bug, writes a failing test, implements the fix, and runs the entire suite to verify. |
<repo>-plan |
Multi-phase planning and execution. | 📋 Plan Gate: Writes a detailed plan.md checklist and halts, waiting for your explicit approval before modifying files. |
<repo>-precommit |
Last-mile review of staged changes. | 🔍 5-Lens Safety check: Reviews changed lines only for silent failures, leaked secrets, debug leftovers, and verbose comments. |
<repo>-humanize |
Prose and documentation cleaner. | ✍️ AI-Tell Scrubber: Runs the deterministic klaussy humanize regex engine to strip chatbot scaffolding and formalisms. |
Also bundles skills for commit, pr, implement, refactor, explain, test, and new-worktree.
⚙️ How it Works under the Hood
- Discover: Wraps
klaussy-repo-conventionsto auto-analyze your codebase and compileCLAUDE.md. - Translate: Parses rules and dynamically injects them into the
<repo>-reviewskill so reviews check path-scoped rules. - Scaffold: Detects your stack (Python, Go, Node, Rust, Make) to generate custom permissions (
settings.json,config.toml) and allowed tool prefixes. - Isolate: Writes
.cursorignoreand.geminiignorewith secret-excluding patterns.
🔧 Installation & Usage
As a CLI
pip install klaussy-agents
klaussy init
As a Claude Code Plugin
/plugin marketplace add steph-dove/klaussy-agents
/plugin install klaussy@klaussy
As an MCP Server
Add to your project's .mcp.json:
{
"mcpServers": {
"klaussy": {
"command": "klaussy-mcp",
"env": { "PYTHONUNBUFFERED": "1" }
}
}
}
Programmatic Python API
from klaussy import toolkit
# Scaffold a repo programmatically
toolkit.init(repo=".", agents=["claude", "cursor"])
📋 Requirements
- Python 3.10+
klaussy-repo-conventions >= 1.5.0- Claude Code CLI (optional, for
--initenrichment) mcp(optional, for MCP server support)
📜 Changelog
See CHANGELOG.md for the full release history. The latest release is v0.12.0 (hook scripts resolve from project root, tighter humanize output).
⚖️ License & Governance
- License: MIT
- Governance:
klaussyis an open-source project owned and maintained by Dovatech LLC (founded and owned by Stephanie Dover).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file klaussy_agents-0.12.0.tar.gz.
File metadata
- Download URL: klaussy_agents-0.12.0.tar.gz
- Upload date:
- Size: 138.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc4fd251ed8251c7d62a590d10d8eab726254d0e80c8b4ea2361edad9ab8df13
|
|
| MD5 |
7aa1551afe1754e8d75b3f2a57923fa4
|
|
| BLAKE2b-256 |
58f4ff2ea4bb3f1ef74c5d12e3112cdd8ca70ccda65e618b9edb7bed9d9c4791
|
Provenance
The following attestation bundles were made for klaussy_agents-0.12.0.tar.gz:
Publisher:
release.yml on steph-dove/klaussy-agents
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
klaussy_agents-0.12.0.tar.gz -
Subject digest:
dc4fd251ed8251c7d62a590d10d8eab726254d0e80c8b4ea2361edad9ab8df13 - Sigstore transparency entry: 2011944902
- Sigstore integration time:
-
Permalink:
steph-dove/klaussy-agents@376867960e0eec11f9377109e7da6ff424335d87 -
Branch / Tag:
refs/tags/v0.12.0 - Owner: https://github.com/steph-dove
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@376867960e0eec11f9377109e7da6ff424335d87 -
Trigger Event:
push
-
Statement type:
File details
Details for the file klaussy_agents-0.12.0-py3-none-any.whl.
File metadata
- Download URL: klaussy_agents-0.12.0-py3-none-any.whl
- Upload date:
- Size: 139.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48e1cce1ac2b4eee10943a8b8f83fbaa16d6409ea7b3e671a5f4513e440c6b7c
|
|
| MD5 |
4ae2f8bfc683c9acdf312e7620ba1531
|
|
| BLAKE2b-256 |
6dfd57d29b6ec6e2557a09ca7eccca7605dcdaeff734ce12f9db17a3f540429f
|
Provenance
The following attestation bundles were made for klaussy_agents-0.12.0-py3-none-any.whl:
Publisher:
release.yml on steph-dove/klaussy-agents
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
klaussy_agents-0.12.0-py3-none-any.whl -
Subject digest:
48e1cce1ac2b4eee10943a8b8f83fbaa16d6409ea7b3e671a5f4513e440c6b7c - Sigstore transparency entry: 2011945058
- Sigstore integration time:
-
Permalink:
steph-dove/klaussy-agents@376867960e0eec11f9377109e7da6ff424335d87 -
Branch / Tag:
refs/tags/v0.12.0 - Owner: https://github.com/steph-dove
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@376867960e0eec11f9377109e7da6ff424335d87 -
Trigger Event:
push
-
Statement type: