Portable engineering kits for AI coding tools.
pip install vibe-kits==0.5.0 Copy PIP instructions
pipx install vibe-kits # Self-upgrade to the latest released version vibe upgrade vibe kits list # Claude Code vibe kits claude-code doctor vibe kits claude-code install --yes # OpenCode vibe kits opencode doctor vibe kits opencode install --yes # Gemini CLI vibe kits gemini doctor vibe kits gemini install --yes # Codex CLI vibe kits codex doctor vibe kits codex install --yes # Cursor IDE vibe kits cursor doctor vibe kits cursor install --yes # Second Brain vibe kits second-brain install --dry-run --yes VIBE_SECOND_BRAIN_PATH="$HOME/notes" vibe kits second-brain install --yes vibe kits second-brain doctor Claude Code Kit Portable Claude Code setup for senior backend engineering. The kit installs global Claude Code context files, modular rules, custom agents, and slash commands without copying secrets or machine-specific auth/proxy configuration.
vibe kits claude-code doctor vibe kits claude-code install --dry-run vibe kits claude-code install --yes vibe kits claude-code diff vibe kits claude-code uninstall --yes What it installs Managed files are copied into ~/.claude:
Portable OpenCode setup for senior backend engineering. Mirrors the Claude Code kit's persona, rules, agents, and commands, adapted to OpenCode's directory layout and config format (AGENTS.md for persona, ~/.config/opencode/opencode.jsonc for config, ~/.config/opencode/{agents,commands,skills,rules}/ for the rest).
vibe kits opencode doctor vibe kits opencode install --dry-run vibe kits opencode install --yes vibe kits opencode diff vibe kits opencode uninstall --yes What it installs Managed files are copied into $XDG_CONFIG_HOME/opencode (default: ~/.config/opencode):
The installer respects $XDG_CONFIG_HOME and ships a JSONC parser that strips // and /* */ comments and trailing commas so it can read your existing opencode.jsonc without losing it.
Unlike most managed files, AGENTS.md is merged with any existing file, never overwritten. The installer injects the persona between and markers, leaving your own rules above and below untouched. Re-installs replace only the content between the markers, so the persona body can be upgraded without disturbing your local content. vibe kits opencode uninstall strips the marked section; if no other content remains, the file is deleted.
# Global Engineering Persona ...kit content... # My Project Rules ...your content (preserved)... Gemini CLI Kit Portable Gemini CLI setup for senior backend engineering. Installs a single GEMINI.md file with the full persona, all six engineering rules, and specialist role descriptions embedded inline — no separate rule files needed since Gemini CLI reads a single global instructions file.
vibe kits gemini doctor vibe kits gemini install --dry-run vibe kits gemini install --yes vibe kits gemini diff vibe kits gemini uninstall --yes What it installs ~/.gemini/GEMINI.md — a single self-contained file containing:
Rules are embedded rather than referenced because Gemini CLI loads a single instructions file rather than a rules directory.
Portable Codex CLI setup for senior backend engineering. Installs a single AGENTS.md file with the same comprehensive persona and embedded rules.
vibe kits codex doctor vibe kits codex install --dry-run vibe kits codex install --yes vibe kits codex diff vibe kits codex uninstall --yes What it installs ~/.codex/AGENTS.md — a single self-contained file with the same structure as GEMINI.md above, adapted to Codex CLI conventions. Project-level AGENTS.md files take priority over the global file.
Portable Cursor IDE setup for senior backend engineering. Installs rule files into ~/.cursor/rules/ as .mdc files. Each file has YAML frontmatter (description, globs, alwaysApply) so Cursor can selectively load rules based on file type.
vibe kits cursor doctor vibe kits cursor install --dry-run vibe kits cursor install --yes vibe kits cursor diff vibe kits cursor uninstall --yes What it installs Seven .mdc files into ~/.cursor/rules/:
Note: Cursor 0.45+ also supports project-local rules at .cursor/rules/. For per-project behavior, copy the relevant .mdc files from ~/.cursor/rules/ into your project's .cursor/rules/ directory and adjust as needed.
An end-to-end flow from a business requirement to implemented tickets, built from stages you can run alone or chain with /flow. Stages hand off through files with stable IDs, so every ticket traces back to a requirement.
/flow detects which artifact already exists and continues from there, stopping at a checkpoint after each stage. /implement-ticket does one ticket per run: red (tests from the acceptance criteria, shown failing for the right reason), green, refactor, verify, then stops for your review. It uses the tdd-test-engineer and go-backend-implementer agents when it detects Go, and works directly otherwise; it finds the test/lint/build commands from your repo.
vibe kits workflow doctor vibe kits workflow install --dry-run vibe kits workflow install --yes vibe kits workflow diff vibe kits workflow uninstall --yes Installs only into agent config directories that already exist (~/.claude, and OpenCode's opencode config dir). /trd and the vibe-engineering skill come from the claude-code / opencode kits; install those too. doctor warns when they are missing. Upgrade both kits together: this release adds requirement IDs and ticket dependencies to /trd and vibe-engineering.
check_trace.py (installed with the vibe-flow skill) is deterministic and standard-library only. It fails on duplicate IDs, unknown blocked_by/implements IDs, dependency cycles, and Must requirements no ticket implements, and prints a safe implementation order (--next prints the next ready ticket, --json is machine-readable):
python3 ~/.claude/skills/vibe-flow/scripts/check_trace.py \ --tickets .vibe/issues/ --prd docs/prd/ .md --trd docs/trd/ .md Nothing here commits, pushes, or creates issues without you asking. /push-tickets uses your own gh login and shows the exact plan first. The stage prompts themselves are not unit-tested; only the validator, installer and template contracts are.
Turns the most important safety rules into enforced hooks instead of advice the agent can ignore. Installs a guard script and registers it as a pre-tool-use hook for each agent whose config directory already exists (~/.claude, ~/.codex, ~/.cursor); missing agents are skipped, never created.
vibe kits guardrails doctor vibe kits guardrails install --dry-run vibe kits guardrails install --yes vibe kits guardrails install --yes --with-verify # also gofmt-check Go edits (Claude Code only) vibe kits guardrails diff vibe kits guardrails uninstall --yes What it blocks Only catastrophic or secret-exposing actions; everything else is allowed.
The guard exits 2 with a reason on stderr, which Claude Code, Codex CLI and Cursor all treat as "deny". Cursor additionally requires JSON on stdout (empty output from a permission hook blocks), so its command runs the guard with --format=cursor, which always prints {"permission": "allow"|"deny", ...}. Codex skips new or changed hooks until you trust them once via /hooks in the CLI. The guard fails open on any parse or internal error, and VIBE_GUARDRAILS=off bypasses it for a session. It is a heuristic speed bump, not a sandbox: shell parsing can be bypassed by obfuscation.
--with-verify additionally installs verify.py and a Claude Code PostToolUse hook that tells the agent when an edited .go file is not gofmt-clean. Codex and Cursor are not covered by it. Existing hooks and settings are preserved, changed files are backed up, and uninstall removes only what this kit registered.
Local-first Obsidian + qmd vault with safe AI-agent config snippets. The kit creates a vault scaffold, seeds three wiki pages, and merges a non-secret qmd MCP entry into Claude Code, OpenCode, Codex CLI, and Cursor configs. Every normal install verifies the wiki collection and runs qmd update. When qmd is not found, install prompts then runs npm install -g @tobilu/qmd before registering the collection. Pass --no-setup-deps to skip; all other network commands (qmd, pip, git clone, etc.) are never run.
The install also adds the portable second-brain umbrella skill plus named wiki skills (wiki, wiki-ingest, wiki-query, wiki-lint, and related workflows) to $HOME/.agents/skills and ~/.claude/skills.
The vault is your data. The installer creates it; uninstall never touches it. See the safety contract in the Safety Model section.
vibe kits second-brain install --dry-run --yes # show plan, write nothing VIBE_SECOND_BRAIN_PATH="$HOME/notes" \ vibe kits second-brain install --yes # scaffold vault + agent snippets vibe kits second-brain diff # what would change on next install vibe kits second-brain doctor # health check (qmd, vault, agent configs) vibe kits second-brain uninstall --yes # strip agent snippets + manifest only All four commands accept --home to redirect the agent config root (default $XDG_CONFIG_HOME or current user's home) — useful for isolated dry runs in CI. install also accepts --no-settings to skip the agent config adapters and only scaffold the vault.
Directory scaffold (under the vault root, all create-if-absent):
raw/assets/ # unprocessed inputs inbox/ # new content waiting to be processed wiki/ ├── sources/learning/ # knowledge extracted from articles and talks ├── sources/journal/ # personal reflections ├── entities/projects/ # named projects and codebases ├── concepts/ │ ├── backend/ # extracted backend concepts │ ├── ai-engineering/ # extracted AI/LLM concepts │ ├── pkm/ # personal-knowledge-management concepts │ └── personal/ # personal notes ├── synthesis/ # cross-source notes ├── index.md # seed: vault map (frontmatter + content) ├── log.md # seed: rolling activity log └── hot.md # seed: current focus / "in progress" output/ # rendered reports and exports .claude/ # local Claude config (separate from ~/.claude) Files written by the installer:
Seed pages are created only if absent and never overwritten on reinstall.
The installer merges a qmd MCP entry (command: qmd, args: ["mcp"]) into each agent's config using a format-specific safe adapter. No secrets or deliberate key replacement — unrelated keys and MCP servers are preserved, while JSON/JSONC formatting and comments may be normalized. Existing config files are backed up before a merge rewrites them.
qmd is the core search/index dependency. Every normal install checks the wiki collection and runs qmd update; when qmd is missing, install prompts to run npm install -g @tobilu/qmd first. Pass --yes to skip the prompt; pass --no-setup-deps to skip auto-install entirely (you'll see the manual commands below). doctor returns 1 if qmd is missing or its collection list does not point at /wiki.
npm install -g @tobilu/qmd qmd collection add /wiki --name second-brain qmd update # build the initial index qmd doctor # runtime, model-cache, and GPU diagnostics Hybrid agent retrieval may download local QMD models and temporarily use GPU compute/VRAM. CPU mode still supports indexing and keyword search; qmd embed and qmd pull are never run automatically by this kit.
All kits intentionally do not include or install:
For the OpenCode kit, the top-level config keys model, provider, plugin, mcp, tools, permission, env, agent, theme, and any key containing token, key, secret, password, auth, or credential are always preserved as-is. The second-brain kit reuses the same policy via agents/secret_policies.py. The Gemini, Codex, and Cursor kits install only portable markdown/text files and never touch settings files or credentials.
The second-brain kit additionally guarantees:
The simplest kits (Claude Code / OpenCode shape) export four functions. The second-brain kit is the canonical example for kits that need a fake home parameter for testing, environment-variable overrides, multiple agent config adapters, and a safe-scaffold pattern that never deletes user data. Read its installer.py before designing a new kit of similar scope.
Create the installer module at agents/kits/ /installer.py exporting four functions (the canonical signature, shared by every kit):
For kits that merge agent config snippets, gate the merge behind a boolean (the CLI exposes it as --no-settings). For kits that scaffold user data, treat that data as immutable: mkdir -p and create-if-absent seeds only; never rm or overwrite user files.
Add a KitSpec in agents/kit_registry.py pointing to those functions. The spec's help text is what shows up in vibe kits --help.
Place templates and a manifest under agents/kits/ /templates/ /:
Add manifest contract tests in tests/test_manifest_contracts.py asserting every managed file exists and the manifest surface is valid.
If the kit merges JSON / JSONC / TOML / ENV, add or reuse a strategy in agents/merge_strategies.py. The second-brain kit added toml_block_merge_strategy and strip_toml_block; reuse them rather than re-implementing.
If the kit needs shared key/secret policy (the local-only and secret-substring sets used by both the OpenCode and second-brain JSONC adapters), import from agents/secret_policies.py instead of redefining locally.
No CLI dispatch code needs to change: build_parser(kit_specs=KITS) reads the registry dynamically.
python3 -m unittest discover -s tests -v Inside an activated virtualenv where python points to Python 3, python -m unittest discover -s tests -v is also acceptable.
The full suite covers kit registry, CLI contract, extension contract, manifest contracts, installer behavior (install / diff / doctor / uninstall) for every kit, and the shared merge strategies. All tests must pass before shipping.
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.




