Remediation guidance

From pi-sloane/claude-plugin · View interactive version

Remediation guidance is an AI agent skill from the GitHub repository pi-sloane/claude-plugin. Fetch existing Pi remediation guidance for a finding or an SBOM package, and optionally prepare a missing package remediation plan after explicit user confirmation.

How to use this skill

Skill file

Get remediation guidance from Pi

Use this skill when the user wants remediation guidance that Pi Security has produced for a finding or for a vulnerable SBOM package, or wants Pi to prepare a package remediation plan that does not exist yet.

Tools

Read-only, always try these first:

State-changing, confirmation required:

Workflow

  1. Fetch first. For findings use pi_remediation_plan_fetch; for packages use pi_package_remediation_plan_fetch.
  2. If an existing plan comes back, present it, clearly attributed to Pi, and stop. Do not call prepare.
  3. Only if no plan exists for a package, offer pi_package_remediation_plan_prepare as an option.

Before calling `pi_package_remediation_plan_prepare`

  1. Validate the inputs: packageRef and codebase are required.
  2. Show the user the exact target (package reference, codebase, and any vulnerability ID) as a concise argument summary.
  3. Explain the effect: Pi will start generating the remediation plan, or reuse generation already in progress; nothing in the local repository changes.
  4. Ask for confirmation and proceed only on an explicit yes in the current turn. A past "yes", general enthusiasm, or an ambiguous reply does not count.
  5. Call the tool once, then report exactly the plan state Pi returned (for example generating or ready).
  6. If the call fails or times out ambiguously, report that and stop. Do not retry automatically.

Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.