Agent Cold-Start Diagnostic
Score any agent's configuration artifacts against an operational completeness rubric. Catches the gaps that make agents fail silently: missing escalation paths, vague task boundaries, absent rhythms, no error-handling policy.
Different from /doctor (which checks service connectivity) and agent-readiness-audit (which scores a codebase for agent compatibility). This skill scores the agent's own config -- the files that tell it who it is, what it owns, and how to behave.
When to Use
- Before deploying a new the agent platform agent persona
- After editing an agent's CLAUDE.md / SOUL.md / memory files
- As a scheduled weekly audit across all active agents
- When an agent is producing poor results and you suspect config weakness
Inputs
- Path to agent config directory (or auto-detect from cwd)
- Optional: agent name (for multi-agent setups where configs live in subdirectories)
Phase 1: Discover Config Artifacts
Scan the target directory for all configuration files an agent might consume:
| File |
Purpose |
Required? |
CLAUDE.md |
Core instructions, rules, conventions |
Yes |
SOUL.md / USER.md |
Persona, user context, relationship model |
Recommended |
agent.yaml |
Skill manifest, dispatch config |
Yes (multi-agent) |
HEARTBEAT.md |
Recurring rhythms, scheduled checks |
Recommended |
memory/*.md |
Persistent memory files |
Recommended |
cron schedule |
Scheduled tasks (crontab, schedule-cli) |
If agent has recurring duties |
.env / env.shared |
Environment variables, API keys |
Check for referenced keys |
hooks/ |
Pre/Post tool-use hooks |
Optional |
Report: found artifacts, missing artifacts, unexpected files.
Phase 2: Rubric Assessment (8 Dimensions)
Score each dimension 1-5 (1 = absent, 5 = production-grade):
2.1 Identity & Jurisdiction
- Does the agent know its name and role?
- Are jurisdiction boundaries explicit (what it owns vs. what it escalates)?
- Is there a "not my job" list to prevent scope creep?
2.2 Decision Frameworks
- Are recurring decisions documented with criteria (not just "use judgment")?
- Are thresholds specified (dollar amounts, severity levels, time limits)?
- Is there a default action for ambiguous cases?
2.3 Escalation Rules
- Is there a clear escalation path (who to notify, how, when)?
- Are escalation triggers specific (not just "when unsure")?
- Is there a timeout/deadman switch if the escalation target doesn't respond?
2.4 Task Specification Quality
- Are delegated tasks specified with inputs, outputs, and definition of done?
- Are edge cases documented?
- Is there a "what success looks like" section?
2.5 Operating Rhythms
- Are daily/weekly/monthly rhythms defined?
- Do scheduled tasks cover the stated rhythms?
- Are there gaps (e.g., "weekly report" mentioned but no cron entry)?
2.6 Memory & Context
- Does the agent have persistent memory files?
- Is there a memory strategy (what to remember vs. what to forget)?
- Are memory files organized (not a single dump file)?
2.7 Error Handling
- Is there a policy for what to do when tools fail?
- Are retry limits specified?
- Is there a "graceful degradation" plan (what to do when a dependency is down)?
2.8 Style & Communication
- Are output format rules explicit (markdown, plain text, length)?
- Is the agent's tone/voice defined?
- Are platform constraints documented (Telegram limits, email formatting)?
Phase 3: Cross-Reference Validation
Check for internal consistency:
- Skill manifest vs. available skills: Does
agent.yaml reference skills that actually exist?
- Cron vs. rhythms: Do scheduled tasks match the stated operating rhythms?
- Memory references: Do CLAUDE.md rules reference memory files that exist?
- Environment variables: Are referenced env vars actually set in the environment?
- Escalation targets: Are escalation targets (other agents, humans) reachable?
Phase 4: Produce the Report
AGENT COLD-START DIAGNOSTIC
============================
Agent: <name>
Config root: <path>
Date: <date>
ARTIFACTS FOUND
[x] CLAUDE.md (1247 lines)
[x] agent.yaml (12 skills listed)
[ ] SOUL.md -- MISSING (recommended)
[x] memory/ (3 files)
[ ] HEARTBEAT.md -- MISSING (recommended)
DIMENSION SCORES
Identity & Jurisdiction: 4/5 -- clear role, missing "not my job" list
Decision Frameworks: 2/5 -- only 1 of 6 recurring decisions documented
Escalation Rules: 1/5 -- no escalation path defined
Task Specification: 3/5 -- inputs defined, outputs vague
Operating Rhythms: 3/5 -- 2 of 4 rhythms have matching cron entries
Memory & Context: 4/5 -- organized, no retention policy
Error Handling: 1/5 -- no error policy found
Style & Communication: 5/5 -- detailed format rules
OVERALL SCORE: 23/40 (57%) -- NEEDS WORK
CROSS-REFERENCE ISSUES
[!] agent.yaml lists skill "social-media" but it is not installed
[!] CLAUDE.md references $SLACK_WEBHOOK but env var is not set
[!] "Monday standup" rhythm has no matching cron entry
TOP 3 FIXES (highest impact)
1. Add escalation rules -- agent has no way to ask for help
2. Document decision frameworks for recurring judgments
3. Add HEARTBEAT.md with cron entries for stated rhythms
Phase 5: Optional -- Generate Fix Stubs
If the user approves, generate skeleton files for the highest-impact gaps:
- Stub SOUL.md with sections to fill
- Stub HEARTBEAT.md with rhythm entries derived from CLAUDE.md
- Stub escalation-rules section for CLAUDE.md
Source Attribution
Extracted from Nate's Newsletter (2026-04-15): "Your agent needs a SOUL.md you can't write from scratch." Core insight: agents fail silently when their config artifacts have gaps in operational completeness, and most users don't know what "complete" looks like.
Verification
After running the diagnostic:
1---2name: agent-cold-start-diagnostic3description: Evaluate an existing agent setup (CLAUDE.md, SOUL.md, memory files, cron config, agent.yaml) and score it on operational completeness -- flagging missing decision frameworks, vague delegation instructions, absent escalation rules, and gaps in rhythm/schedule coverage. Use when the user says "cold start diagnostic", "check agent config", "agent health score", "is my agent configured properly", "audit agent setup", or before deploying a new agent persona.4---56# Agent Cold-Start Diagnostic78Score any agent's configuration artifacts against an operational completeness rubric. Catches the gaps that make agents fail silently: missing escalation paths, vague task boundaries, absent rhythms, no error-handling policy.910Different from `/doctor` (which checks service connectivity) and `agent-readiness-audit` (which scores a *codebase* for agent compatibility). This skill scores the *agent's own config* -- the files that tell it who it is, what it owns, and how to behave.1112## When to Use1314- Before deploying a new the agent platform agent persona15- After editing an agent's CLAUDE.md / SOUL.md / memory files16- As a scheduled weekly audit across all active agents17- When an agent is producing poor results and you suspect config weakness1819## Inputs2021- Path to agent config directory (or auto-detect from cwd)22- Optional: agent name (for multi-agent setups where configs live in subdirectories)2324## Phase 1: Discover Config Artifacts2526Scan the target directory for all configuration files an agent might consume:2728| File | Purpose | Required? |29|------|---------|-----------|30| `CLAUDE.md` | Core instructions, rules, conventions | Yes |31| `SOUL.md` / `USER.md` | Persona, user context, relationship model | Recommended |32| `agent.yaml` | Skill manifest, dispatch config | Yes (multi-agent) |33| `HEARTBEAT.md` | Recurring rhythms, scheduled checks | Recommended |34| `memory/*.md` | Persistent memory files | Recommended |35| `cron schedule` | Scheduled tasks (crontab, schedule-cli) | If agent has recurring duties |36| `.env` / `env.shared` | Environment variables, API keys | Check for referenced keys |37| `hooks/` | Pre/Post tool-use hooks | Optional |3839Report: found artifacts, missing artifacts, unexpected files.4041## Phase 2: Rubric Assessment (8 Dimensions)4243Score each dimension 1-5 (1 = absent, 5 = production-grade):4445### 2.1 Identity & Jurisdiction46- Does the agent know its name and role?47- Are jurisdiction boundaries explicit (what it owns vs. what it escalates)?48- Is there a "not my job" list to prevent scope creep?4950### 2.2 Decision Frameworks51- Are recurring decisions documented with criteria (not just "use judgment")?52- Are thresholds specified (dollar amounts, severity levels, time limits)?53- Is there a default action for ambiguous cases?5455### 2.3 Escalation Rules56- Is there a clear escalation path (who to notify, how, when)?57- Are escalation triggers specific (not just "when unsure")?58- Is there a timeout/deadman switch if the escalation target doesn't respond?5960### 2.4 Task Specification Quality61- Are delegated tasks specified with inputs, outputs, and definition of done?62- Are edge cases documented?63- Is there a "what success looks like" section?6465### 2.5 Operating Rhythms66- Are daily/weekly/monthly rhythms defined?67- Do scheduled tasks cover the stated rhythms?68- Are there gaps (e.g., "weekly report" mentioned but no cron entry)?6970### 2.6 Memory & Context71- Does the agent have persistent memory files?72- Is there a memory strategy (what to remember vs. what to forget)?73- Are memory files organized (not a single dump file)?7475### 2.7 Error Handling76- Is there a policy for what to do when tools fail?77- Are retry limits specified?78- Is there a "graceful degradation" plan (what to do when a dependency is down)?7980### 2.8 Style & Communication81- Are output format rules explicit (markdown, plain text, length)?82- Is the agent's tone/voice defined?83- Are platform constraints documented (Telegram limits, email formatting)?8485## Phase 3: Cross-Reference Validation8687Check for internal consistency:88891. **Skill manifest vs. available skills**: Does `agent.yaml` reference skills that actually exist?902. **Cron vs. rhythms**: Do scheduled tasks match the stated operating rhythms?913. **Memory references**: Do CLAUDE.md rules reference memory files that exist?924. **Environment variables**: Are referenced env vars actually set in the environment?935. **Escalation targets**: Are escalation targets (other agents, humans) reachable?9495## Phase 4: Produce the Report9697```98AGENT COLD-START DIAGNOSTIC99============================100Agent: <name>101Config root: <path>102Date: <date>103104ARTIFACTS FOUND105 [x] CLAUDE.md (1247 lines)106 [x] agent.yaml (12 skills listed)107 [ ] SOUL.md -- MISSING (recommended)108 [x] memory/ (3 files)109 [ ] HEARTBEAT.md -- MISSING (recommended)110111DIMENSION SCORES112 Identity & Jurisdiction: 4/5 -- clear role, missing "not my job" list113 Decision Frameworks: 2/5 -- only 1 of 6 recurring decisions documented114 Escalation Rules: 1/5 -- no escalation path defined115 Task Specification: 3/5 -- inputs defined, outputs vague116 Operating Rhythms: 3/5 -- 2 of 4 rhythms have matching cron entries117 Memory & Context: 4/5 -- organized, no retention policy118 Error Handling: 1/5 -- no error policy found119 Style & Communication: 5/5 -- detailed format rules120121OVERALL SCORE: 23/40 (57%) -- NEEDS WORK122123CROSS-REFERENCE ISSUES124 [!] agent.yaml lists skill "social-media" but it is not installed125 [!] CLAUDE.md references $SLACK_WEBHOOK but env var is not set126 [!] "Monday standup" rhythm has no matching cron entry127128TOP 3 FIXES (highest impact)129 1. Add escalation rules -- agent has no way to ask for help130 2. Document decision frameworks for recurring judgments131 3. Add HEARTBEAT.md with cron entries for stated rhythms132```133134## Phase 5: Optional -- Generate Fix Stubs135136If the user approves, generate skeleton files for the highest-impact gaps:137- Stub SOUL.md with sections to fill138- Stub HEARTBEAT.md with rhythm entries derived from CLAUDE.md139- Stub escalation-rules section for CLAUDE.md140141## Source Attribution142143Extracted from Nate's Newsletter (2026-04-15): "Your agent needs a SOUL.md you can't write from scratch." Core insight: agents fail silently when their config artifacts have gaps in operational completeness, and most users don't know what "complete" looks like.144145## Verification146147After running the diagnostic:148- [ ] All 8 dimensions scored with evidence (not guessed)149- [ ] Cross-reference checks ran against live filesystem150- [ ] Report includes actionable fix recommendations151- [ ] No false positives from optional/irrelevant dimensions