Tooluck logoTooluck
SKILL.md

infra-audit

Agent skill fromSethGammon/Citadel

Reads docker-compose, env files, ORM configs, and connection strings to map current infrastructure. Flags missing layers (cache, queue, analytics) based on observed access patterns. Outputs a structured infrastructure manifest.

How to install infra-audit

install infra-audit
# install the Citadel pack with the skills CLI
npx skills add SethGammon/Citadel

# or add only this skill to Claude Code: copy the folder

skills/infra-audit/

# into

~/.claude/skills/infra-audit/ (all projects)

.claude/skills/infra-audit/ (one project)

skills/infra-audit/SKILL.md

MITFull file
1# /infra-audit -- Infrastructure Auditor
2
3## When to Use
4
5- Before adding a new database, cache, or queue to a project
6- When onboarding to an unfamiliar codebase and need to understand its infra
7- Before planning a workspace campaign that spans multiple services
8- When someone asks "what systems does this project talk to?"
9
10**Do not use when:**
11- The user already knows the infra and just wants to wire something up (use `/architect`)
12- The question is about code architecture, not infrastructure (use `/research`)
13
14## Protocol
15
16### Step 1: DISCOVER
17
18Scan the project for infrastructure configuration files. Check each category:
19
20**Container orchestration:**
21- `docker-compose.yml`, `docker-compose.*.yml`
22- `Dockerfile`, `*.dockerfile`
23- `k8s/`, `kubernetes/`, `helm/`, `charts/`
24
25**Environment and secrets:**
26- `.env`, `.env.*`, `.env.example`, `.env.local`
27- `*.env` files in config directories
28
29**Database and ORM:**
30- Prisma: `prisma/schema.prisma`
31- Drizzle: `drizzle.config.ts`, `drizzle/`
32- TypeORM: `ormconfig.*`, `data-source.ts`
33- Sequelize: `.sequelizerc`, `config/database.*`
34- Knex: `knexfile.*`
35- SQLAlchemy: `alembic.ini`, `alembic/`
36- Django: `settings.py` (DATABASES section)
37- Rails: `config/database.yml`
38- Go: look for `pgx`, `gorm`, `sqlx` in go.mod
39
40**Message queues and event streaming:**
41- Redis: connection strings, `ioredis`, `redis` in package.json/requirements.txt/go.mod
42- RabbitMQ: `amqplib`, `pika`, `amqp` imports
43…

Excerpt shown under the repository's MIT license.

More skills in Citadel

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates