/koopa:koopa-clifrom koopa
Documents koopa CLI syntax for installing/uninstalling apps, updating, switching branches, and recovering from stale checkouts. Useful when working with koopa's app prefix management.
Ships in koopa. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Keep the core CLI on standard-library argparse, not a required framework such
as Typer. bin/koopa can fall back to bootstrap or system Python when the
virtual environment is unavailable; CLI startup and update/recovery must not
depend on third-party packages. Update may also run under the outgoing Python
version and restart with bootstrap Python before recreating the virtual
environment. Preserve existing command behavior and all six generated shell
completions when changing the CLI; see koopa-completion.
koopa install <app>: not koopa app install <app>. The app subcommand
does not take an install action.
koopa reinstall <app> and koopa uninstall <app> follow the same pattern.
koopa refuses every command that changes the system when a coding agent runs it:
install, reinstall, uninstall, update, configure, admin ...,
system prune-apps, and develop switch-to-main or develop switch-to-develop
(including its legacy system alias). It exits 2 and prints the exact
command. Do not try to get around it: show the user that command and stop, so they
can run it in their own terminal. Read-only commands such as koopa list and
koopa system which run normally.
| Command | What it does |
|---|---|
koopa update | Pulls the koopa repo and updates installed apps. Does not touch system apps. |
koopa update koopa | Only pulls and updates the koopa repo itself. |
koopa update system | Runs every system update (Homebrew, system R/Python, TeX). Requires admin; raises if not. |
koopa update system <app>... | Runs only the named system app(s), e.g. koopa update system r tex-packages. |
App names are valid only with system: koopa update koopa r is an error.
System updates are opt-in, never part of the default koopa update sweep.
On a Git-managed installation, koopa develop switch-to-main and
koopa develop switch-to-develop fetch the corresponding branch from origin
and fast-forward it, including when already on that branch. The legacy
koopa system switch-to-develop is an alias. These commands require a clean
tracked worktree and a reachable origin; they preserve local commits and
refuse a divergent fast-forward. If the fast-forward fails after a switch,
they attempt to restore the previous checkout. An archive installation cannot
use these commands.
Older versions only switched branches: a stale local main could break koopa.
If that happened, have the user check that the Git-managed installation is on
main, then run this in their own terminal using an available Git executable:
git -C /opt/koopa status --short --branch
git -C /opt/koopa pull --ff-only origin main
Replace /opt/koopa with the actual koopa prefix if different. Do not run the
pull if the branch is not main; resolve local changes or divergence rather
than resetting or discarding them. The updated commands must reach the machine
before it can use their new behavior.
koopa list: installed apps.koopa list --all: every app koopa knows about, installed or not.koopa app <name> <subcommand>: app-specific helpers (for example koopa app git ..., koopa app aws ...). Run koopa app --help for the current
list; it changes as apps are added.koopa app claude archive-plans and koopa app copilot archive-plans: move
old plan files into archive/YYYY/MM/DD/. See the koopa-workflow-guidance
skill.koopa configure user <app> [<app>...]: configure for the current user.koopa configure system <app> [<app>...]: requires admin; system-wide.If a tool might already be one koopa manages, check first:
koopa system which <tool>
koopa list --all | grep -i <tool>
See the koopa-env skill for why this matters and how PATH resolution works.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
koopa, cli-architecture, package-management, shell-bootloader
npx claudepluginhub acidgenomics/koopa --plugin koopa14 skills in this plugin
/koopa-agent-guardsWhat 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./koopa-claude-permissionsClaude 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./koopa-envWhy 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./koopa-ghosttyTroubleshoot 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./koopa-git-history-surgeryRewrite 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./koopa-git-recoveryDiagnose 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.Other plugins' skills for the same job