Skip to content
API Reference

keycard-upsert-policy

Propose, confirm, and apply a Cedar policy change — propose → confirm → write → verify.

Propose, confirm, and apply a Cedar policy change — propose → confirm → write → verify.

Use this skill when you want to:

  • Change, add, remove, enable, or disable a policy rule
  • Allow, deny, grant, restrict, or block a specific tool or action
  • Add ITL (in-the-loop) gating to a tool

Do not use this skill to ask questions about what is currently allowed or why something was blocked — use keycard-query-policy for that.

[policy change request, e.g. 'Allow the Bash tool' or 'Require approval for WebFetch']

  • “Allow the Bash tool”
  • “Block WebFetch”
  • “Require human approval before Edit runs”
  • “Add ITL gating to the Write tool”
  • “Remove the restriction on Read”