Skip to main content

/sentinel

Source: ~/.claude/skills/sentinel/SKILL.md


name: sentinel version: 2.0 description: > Run full system audit using 5-agent team (BA, Architect, Developer, Tester, Validator). Use when: "audit the system", "run sentinel", "system health check", "/sentinel", "review infrastructure", "find issues", "what's broken". argument-hint: "[target] — e.g. 'tools', 'hooks', 'Drop project', 'daemons', or empty for full audit" level: 4 company: ALAI

/sentinel — System Audit Team

Purpose

5-agent parallel audit that delivers a consolidated report with prioritized action items. BA + Architect + Developer + Tester run in parallel → Validator consolidates.

Variables

Variable Type Description Default
target string Audit scope full system
model string Agent model sonnet
depth string shallow | deep deep

Team

Role Agent Focus
BA sentinel-ba.md Business value, gaps, redundancy, ROI
Architect sentinel-architect.md Architecture, integrations, offline/online parity
Developer sentinel-developer.md Code quality, dead code, tech debt, bugs
Tester sentinel-tester.md Functional testing, daemon health, data integrity
Validator sentinel-validator.md Cross-reference, consolidate, final action plan

Workflow

Phase 1: Pre-flight

  • Read audit target/scope from $ARGUMENTS
  • if no target → set target = "full system"
  • if target = "quick" → set depth = shallow (skip code quality, focus on daemons + health)

Phase 2: Parallel Audit (4 agents simultaneously)

Spawn 4 sub-agents in parallel, each with:

  1. Role-specific prompt from ~/.claude/agents/sentinel-{role}.md
  2. Audit target
  3. Key paths: ~/system/, ~/.claude/, ~/system/databases/
[Parallel]:
  Task(sentinel-ba)        → business audit report
  Task(sentinel-architect) → architecture audit report
  Task(sentinel-developer) → code quality report
  Task(sentinel-tester)    → health/functional report

Phase 3: Validation (after all 4 complete)

Spawn Validator with all 4 reports as input:

Task(sentinel-validator, input=[ba_report, arch_report, dev_report, test_report])
  → consolidated final report

Phase 4: Output

  • Print final report from Validator
  • if critical issues found → create MC tasks via delegate_task
  • if minor issues → list as recommendations

Report Format

SENTINEL AUDIT REPORT
Target: [scope]
Date: [timestamp]
Model: [sonnet|opus]

CRITICAL (fix immediately):
  [numbered list]

HIGH (fix this week):
  [numbered list]

MEDIUM (backlog):
  [numbered list]

MC Tasks Created: [list of task IDs]
Next Audit: [recommended interval]

$ARGUMENTS