Agent skill

forge-security

Enforces security guardrails for Claude Code. Blocks access to secrets, credentials, and sensitive files. Requires confirmation for network requests and infrastructure changes. Use when accessing files, making network requests, or running infrastructure commands.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/forge-security

SKILL.md

Security Guardrails

Blocked Operations (NEVER do these)

The following are blocked without exception:

  • Reading or writing .env files
  • Accessing files matching: *secret*, *credential*, *password*, .aws/*, .ssh/*, *token*
  • Running destructive IaC commands without explicit user request

See reference/blocked-patterns.md for complete list.

Ask First (require user confirmation)

These operations require explicit user approval:

  • Network requests (WebFetch)
  • Git push, merge, rebase operations
  • Infrastructure commands: terraform plan/apply, kubectl apply, ansible-playbook

See reference/ask-patterns.md for complete list.

When Uncertain

If unsure whether an operation is safe:

  1. Stop and explain what you're about to do
  2. List what files/systems will be affected
  3. Wait for explicit user confirmation

Never assume permission. When in doubt, ask.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results