context-removelisted
Install: claude install-skill devgirishattri/agent-plugins
# Context Remove
When this skill is invoked, do not add a preamble or narrate the plan. This action is destructive: never run the removal script before a separate explicit confirmation for the displayed snapshot.
Resolve the absolute plugin root from this selected skill's installed source
path: it is the directory two levels above this `SKILL.md`. Substitute that
absolute path literally for `<PLUGIN_ROOT>` below; never infer it from the
working directory or hardcode a marketplace cache version.
`SESSION_CONTEXT_HOME` must already be present in this pane's environment,
inherited when the agent process started (the pane/session launcher sets it —
never export or derive it here). Invoke each context helper as one literal Bash
segment, with no `export` beforehand, no `env` or variable-assignment prefix,
and no other command chained, piped, redirected, or substituted around it.
If a script reports `SESSION_CONTEXT_HOME` is not set, stop and request a pane
relaunch with the correct environment instead of deriving another context store.
If no snapshot name is provided:
1. Run `list-contexts.sh` and collect the first-column snapshot names.
2. If none exist, report that and suggest `$knowledge:context-generate`; stop.
3. Ask the user to select a snapshot. Use structured `request_user_input` when it is available in the current mode and can represent the choices; otherwise ask one direct blocking question and wait. Do not infer a name.
For either a provided or selected name, requ