briefinglisted
Install: claude install-skill manastalukdar/ai-devstudio
# Briefing
I compile a structured daily briefing from git history, open issues, TODOs, and session state so you have full situational awareness before writing a single line of code.
## Token Optimization
**Expected range**: 300–800 tokens (all bash queries), 100 tokens (quiet day with no open items)
**Patterns used**: Bash for all data collection, progressive disclosure (summary → details on request), early exit per section (skip empty sections)
**Early exit per section**: If a section has no items (no failing tests, no open TODOs, etc.), omit it from the briefing entirely.
## Step 1 — Collect Data (All Bash)
Run all queries in parallel where possible:
```bash
# Recent activity (last 24h)
git log --oneline --since="24 hours ago" 2>/dev/null | head -10
# Current branch and status
git branch --show-current
git status --short | head -20
# Open TODOs in recently changed files
git diff HEAD~3 --name-only 2>/dev/null | xargs grep -l "TODO\|FIXME\|HACK" 2>/dev/null | head -5
# Test status (if test runner available)
if [ -f "package.json" ]; then
grep -q '"test"' package.json && echo "npm test available"
fi
# Session state (if session management is active)
ls .claude/sessions/*.json 2>/dev/null | tail -1 | xargs cat 2>/dev/null
# Skill count vs declared
actual=$(ls -d skills/*/ 2>/dev/null | wc -l | tr -d ' ')
declared=$(grep -oP '(?<=Skills\*\*: )\d+' CLAUDE.md 2>/dev/null | head -1)
# USER.md / PROJECT.md presence
ls -la USER.md PROJECT.md 2>/dev/null
```
## Step