acidgenomics/koopa
Use koopa to install apps, manage shell activation, and troubleshoot the koopa environment in any project.
What the koopa plugin's agent guard hooks block or ask about, why, and the correct alternative for each. Use when a koopa hook blocked or asked about a command or a file write, when a deny message names a script such as block_uv.py or guard_rm.py, or when the user asks what the koopa plugin guards do and how to configure them.
Claude Code permission system internals, protected paths, permission modes, allow/ask/deny rule precedence, and the PreToolUse permissionDecision hook contract. Use when debugging unexpected permission prompts, understanding why Edit(.claude/**) or Bash(*) allow rules have no effect on .claude/ writes, reasoning about acceptEdits vs plan vs bypassPermissions mode tradeoffs, a headless claude -p call that hangs with no output, interpreter allow entries (bash, python, sh, xargs) that bypass deny rules, a deny rule that blocks a harmless test command, or a settings.json change that did not deploy on a work host.
Command syntax for koopa, a shell bootloader that installs apps into its own prefix instead of the system package manager. Use when changing koopa's CLI architecture, installing a CLI tool, updating apps, switching koopa branches, recovering from a stale checkout, or listing what koopa manages.
Why a tool resolves inside the koopa prefix instead of Homebrew or the system, how to check that, and how koopa activation behaves in non-interactive and agentic sessions. Use when a command resolves to an unexpected binary, when PATH order looks wrong, or when working inside an SSH/CI/agent harness session that needs koopa's tools on PATH, when asking which shell an agent runs, what KOOPA_BUCKET is, when BSD sed -i fails on macOS and gsed is the fix, or when timeout is a missing command on macOS and gtimeout is the fix.
Troubleshoot Ghostty directory-access failures caused by macOS privacy permissions. Use when Ghostty reports Permission denied, code 13, or cannot list a Documents or cloud-synced directory that other apps can access.
Rewrite git history safely with git filter-repo. Use when removing secrets or sensitive files from commits, rewriting author/committer emails across history, de-duplicating doubled commits, or any commit-level surgery.
Diagnose and recover from common git branch/state accidents, wrong-branch reset, git alias side effects, untracked-file checkout collisions, and stash cleanup. Use when a git command moved the wrong branch pointer, a checkout was blocked by untracked files, or stash noise is showing in the prompt.
Guide for maintaining and optimizing Claude Code configuration (CLAUDE.md, rules files, hooks, and skills). Use when auditing instruction bloat, deciding where a new rule belongs, or pruning stale content.
Driving the Obsidian desktop app's CLI against a local vault, and saving links as dated bookmark notes with koopa app obsidian bookmark. Use when asked to add a bookmark, bookmark this link, save a URL, search, read, or write a note, use daily notes, run obsidian property:set, build a Bases or Dataview view, or when hitting "Command line interface is not enabled" or "unable to find Obsidian".
Python style and virtual-environment guidance, including why moving a project breaks .venv/bin/activate and why direnv PATH_add is relocation-proof. Use when writing Python code, debugging a moved environment, or activating a Python venv through direnv.
Shell coding conventions for Bash and POSIX shell, including indentation and control-flow layout. Use when writing shell scripts, editing shell startup files, or changing shell code in chezmoi templates.
Markdown todo.md conventions for project task tracking. Use when the user asks to add, update, complete, or review project TODOs or plans, pastes a - [ ] checkbox item, or when deciding where to track tasks. Covers file location, checkbox syntax, structure, notes, and when to mark work done.
Diagnostic commands for a koopa installation (system checks, environment info, install logs, and stale app-version cleanup). Use when a koopa-managed tool misbehaves, an install failed, or you need a full report of koopa's version, prefix, and platform before debugging further.
Coding and workflow guidance, verification, plan mode etiquette, subagent discipline, session hygiene, and git commit conventions. Use when planning multi-step coding work, deciding whether to delegate, or managing plans and commits.