apiiro-fix
Installation
SKILL.md
Apiiro Fix
Remediate security risks via the Apiiro CLI. The workflow tries automated remediation first, then falls back to Guardian AI for guidance.
Workflow
- Get the risk ID — use
apiiro risksorapiiro risks get <id>to identify the risk (see apiiro-risks skill). - Try automated remediation — run
apiiro risks remediate <risk-id>.- If the response has
is_prompt: true, the content is an actionable fix prompt — apply it directly. - If
is_prompt: false, automated remediation isn't available for this risk category — proceed to step 3.
- If the response has
- Fall back to Guardian — ask Guardian for advice:
apiiro guardian query "how do I remediate risk <risk-id>?" --timeout 120 - Apply the fix — use the returned prompt or Guardian's guidance to make code changes.
Options
-o, --output <json|text>, -f, --file <path>, --no-color.
Related skills