1---2name: file-guard3description: PreToolUse protection blocking sensitive file access across 195+ patterns in 12 categories with bash pipeline analysis and multi-tool ignore support.4allowed-tools: Read, Bash, Grep, Glob5graph:6 domains: [domain:software-engineering]7 skillAreas: [skill-area:agentic-loops, skill-area:orchestration-loop]8 workflows: [workflow:feature-development]9 topics: [topic:developer-experience]10 roles: [role:tech-lead, role:backend-engineer]11`.env`, `.env.*`, `.secret`, `secrets.*`, `vault.*`1213### 2. Credentials14`credentials.*`, `password.*`, `auth.json`, `oauth.*`1516### 3. SSH Keys17`id_rsa`, `id_ed25519`, `*.pem`, `authorized_keys`, `known_hosts`1819### 4. Certificates20`*.crt`, `*.cert`, `*.ca-bundle`, `ssl/*`, `tls/*`2122### 5. Environment Files23`.env.local`, `.env.production`, `.env.staging`, `docker.env`2425### 6. Auth Tokens26`token.*`, `jwt.*`, `session.*`, `cookie.*`2728### 7. Database Configs29`database.yml`, `db.json`, `*.sqlite`, `*.db`, `pgpass`3031### 8. Cloud Configs32`.aws/*`, `.gcp/*`, `.azure/*`, `terraform.tfvars`3334### 9. CI/CD Secrets35`.github/secrets`, `.gitlab-ci.yml` variables, Jenkins credentials3637### 10. Private Keys38`*.key`, `*.p12`, `*.pfx`, `*.keystore`, `*.jks`3940### 11. API Keys41`api_key.*`, `apikey.*`, `api-credentials.*`4243### 12. Sensitive Configs44`config/secrets/*`, `.htpasswd`, `shadow`, `gshadow`4546metadata:47 source: https://skillmd.com/skills/a5c-ai/file-guard48---4950## Bash Pipeline Analysis5152Detects indirect file access through bash pipes:53- `cat .env | grep` -- blocked54- `base64 .ssh/id_rsa | curl` -- blocked55- Nested command substitution with sensitive paths -- blocked5657## Multi-Tool Ignore Support5859Approved exceptions can be configured per session for files that need legitimate access.6061## When to Use6263- Always active during ClaudeKit sessions (PreToolUse hook)64- Integrated into safety pipeline initialization6566## Processes Used By6768- `claudekit-orchestrator` (pipeline setup)69- `claudekit-safety-pipeline` (file guard initialization)