Agento-patronum patronum-remove

Remove a pattern from the agento-patronum protection list. Use when the user wants to unblock access to a file or command.

install
source · Clone the upstream repo
git clone https://github.com/emaarco/agento-patronum
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/emaarco/agento-patronum "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/patronum-remove" ~/.claude/skills/emaarco-agento-patronum-patronum-remove && rm -rf "$T"
manifest: skills/patronum-remove/SKILL.md
source content

Skill: patronum-remove

Remove a protection pattern from the agento-patronum shield.

Steps

1. Show current protections

Run

node "${CLAUDE_PLUGIN_ROOT}/scripts/management/patronum-list.js"
to get all current patterns.

2. Identify the pattern to remove

Match the user's request from $ARGUMENTS against the current list. If the match is ambiguous or no exact match is found, present the full list and ask the user to clarify.

3. Confirm removal

Use

AskUserQuestion
to confirm the removal. Present:

  • The exact pattern to be removed
  • Its source (
    default
    or
    user
    ) and reason
  • A warning if removing a default pattern — it won't come back unless manually re-added

4. Remove the pattern

After the user confirms, run:

node "${CLAUDE_PLUGIN_ROOT}/scripts/management/patronum-remove.js" "$ARGUMENTS"

5. Present updated list

Run

node "${CLAUDE_PLUGIN_ROOT}/scripts/management/patronum-list.js"
again and present the updated protection list as a markdown table:

PatternSourceReason