optimize status: round 1 — D3 fallback + triggers
Add explicit fallback when status-reporter.md unreachable (D3 edge case). Add triggers to frontmatter description for routing clarity (D1). Size: 776B → 834B (+7.5%, under 150% cap). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
11b0c6bb8e
commit
58e99b2f36
@ -1,14 +1,21 @@
|
|||||||
---
|
---
|
||||||
name: status
|
name: status
|
||||||
description: Consolidated project snapshot — plugins active, token cost, git state, recent commits, GSD v2 milestone progress. Read-only. Run at session start or after a break.
|
description: Consolidated project snapshot — plugins, token cost, git state, recent commits, GSD v2 milestone progress. Read-only. Run at session start or after a break. Triggers: "status", "sitrep", "where are we", "project state", "after break".
|
||||||
argument-hint: (no arguments needed)
|
argument-hint: (no arguments needed)
|
||||||
disable-model-invocation: true
|
disable-model-invocation: true
|
||||||
allowed-tools: Read, Bash, Glob, Grep
|
allowed-tools: Read, Bash, Glob, Grep
|
||||||
---
|
---
|
||||||
|
|
||||||
Load and follow strictly:
|
Load and follow strictly:
|
||||||
- $HOME/.claude/agents/status-reporter.md
|
- `$HOME/.claude/agents/status-reporter.md`
|
||||||
|
|
||||||
Produce the full PROJECT STATUS report for the current working directory.
|
Produce the full PROJECT STATUS report for the current working directory.
|
||||||
|
|
||||||
|
## Fallback when agent file missing
|
||||||
|
|
||||||
|
If `$HOME/.claude/agents/status-reporter.md` is unreachable (deleted, permission denied, broken symlink):
|
||||||
|
|
||||||
|
1. Emit: `Status agent missing — restore ~/.claude/agents/status-reporter.md.`
|
||||||
|
2. STOP. Do not improvise a manual report — partial snapshots mislead.
|
||||||
|
|
||||||
$ARGUMENTS
|
$ARGUMENTS
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user