agent-guardrails-config
/agent-guardrails-config
This skill should be used when setting up Claude Code or the Claude Agent SDK in a repository, or when the user asks to "configure permissions", "make Claude Code safer", "stop Claude from running X", "set up hooks", "allow these commands without asking", "lock down the agent", "create settings.json" or "set up CLAUDE.md". Apply proactively when a repo has no .claude/settings.json or CLAUDE.md.
- Author
- rawnaveen ↗
- Repository
- architect-dev-toolkit ↗
- Licence
- MIT
- Last repository change
- 08.11.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 08.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
This skill should be used when setting up Claude Code or the Claude Agent SDK in a repository, or when the user asks to "configure permissions", "make Claude Code safer", "stop Claude from running X", "set up hooks", "allow these commands without asking", "lock down the agent", "create settings.json" or "set up CLAUDE.md". Apply proactively when a repo has no .claude/settings.json or CLAUDE.md.
Triggers from the description
Original author description
This skill should be used when setting up Claude Code or the Claude Agent SDK in a repository, or when the user asks to "configure permissions", "make Claude Code safer", "stop Claude from running X", "set up hooks", "allow these commands without asking", "lock down the agent", "create settings.json" or "set up CLAUDE.md". Apply proactively when a repo has no .claude/settings.json or CLAUDE.md.
How it works
- Procedure
- Output
SKILL.md preview
---
name: agent-guardrails-config
description: >
This skill should be used when setting up Claude Code or the Claude Agent SDK in a repository, or when
the user asks to "configure permissions", "make Claude Code safer", "stop Claude from running X",
"set up hooks", "allow these commands without asking", "lock down the agent", "create settings.json"
or "set up CLAUDE.md". Apply proactively when a repo has no .claude/settings.json or CLAUDE.md.
metadata:
version: "0.1.0"
---
# Agent guardrails configuration
Produce `.claude/settings.json`, optional hook scripts and a lean CLAUDE.md for the repository.
## Procedure
1. Inspect the repo: build tool (Maven/Gradle/npm), test commands, infra dirs (helm, terraform, k8s),
secret-bearing files (.env, *.pem, application-*.yml with credentials), generated dirs (target/, build/,
node_modules/).
2. Write `permissions`:
- `allow`: safe, frequent commands (`Bash(./mvnw *)`, `Bash(./gradlew *)`, `Bash(git status)`,
`Bash(git diff *)`, `Bash(git log *)`, `Bash(kubectl get *)`, `Bash(kubectl describe *)`,
`Bash(kubectl logs *)`).
- `ask`: `Bash(git push *)`, `Bash(kubectl apply *)`, `Bash(terraform apply *)`, `Bash(helm upgrade *)`.
- `deny`: `Read(./.env)`, `Read(./.env.*)`, `Read(**/*.pem)`, `Read(**/*.key)`,
`Bash(git push --force *)`, `Bash(kubectl delete *)`, `Bash(terraform destroy *)`, `Bash(rm -rf *)`,
`Edit(./src/main/resources/db/migration/**)` if migrations must not change.
- `defaultMode`: `default` (never `bypassPermissions` outside a throwaway sandbox).
3. Remind: deny rules hold even in bypass mode; hooks run first and a hook deny wins; CLAUDE.md is
advisory, settings and hooks are enforced; project allow rules wait for workspace trust.
4. Hooks: the architect-dev-toolkit plugin already ships global guards (dangerous Bash, secret files). Add
repo-specific hooks only when needed, e.g. PostToolUse on `Write|Edit` running `./mvnw -q spotless:apply`.
5. CLAUDE.md under 200 lines: build/test commands, module map, conventions that differ from defaults,
"never do" list. Move path-specific guidance to `.claude/rules/<topic>.md` with `paths:` frontmatter,
multi-step procedures to skills. Put personal items in `CLAUDE.local.md` / `settings.local.json`.
6. For Agent SDK apps: `allowed_tools` + `permission_mode="dontAsk"` for locked-down headless agents,
`max_turns`, `max_budget_usd`, `setting_sources=[]` and per-tenant `cwd` for multi-tenant hosting.
## Output
Show each file in full, then a short table of what is allowed / asked / denied and why.
Versions
The database has no other skills named agent-guardrails-config.
Database snapshot: 13.11.2026 · package version 0013e0cd5602 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Similar skills
- 90securing-claude
Hardens Claude Code permissions with safe defaults for knowledge work. Use when the user wants to protect secrets or sensitive files, control what runs without asking, set up guardrails before working with confidential material, or says "secure my setup", "lock this down", "set… - 100claude-settings-audit
Analyze a repository to generate recommended Claude Code settings.json permissions. Use when setting up a new project, auditing existing settings, or determining which read-only bash commands to allow. Detects tech stack, build tools, and monorepo structure. - 91update-config
Use this skill to configure the Claude Code harness via settings.json. Automated behaviors ("from now on when X", "each time X", "whenever X", "before/after X") require hooks configured in settings.json - the harness executes these, not Claude, so memory/preferences cannot… - 100claude-settings-audit
Analyze a repository to generate recommended Claude Code settings.json permissions. Use when setting up a new project, auditing existing settings, or determining which read-only bash commands to allow. Detects tech stack, build tools, and monorepo structure. - 100claude-settings-audit
Analyze a repository to generate recommended Claude Code settings.json permissions. Use when setting up a new project, auditing existing settings, or determining which read-only bash commands to allow. Detects tech stack, build tools, and monorepo structure. - 100claude-settings-audit
Analyze a repository to generate recommended Claude Code settings.json permissions. Use when setting up a new project, auditing existing settings, or determining which read-only bash commands to allow. Detects tech stack, build tools, and monorepo structure.