src/claude/skills/captain-log/SKILL.md
Append to or read the captain's narrative log — decisions, friction, learning, milestones, observations, builds.
npx skillsauth add the-agency-ai/the-agency captain-logInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
The captain's log is the narrative thread of a session. Distinct from handoffs (authoritative current state), transcripts (full dialogue), and flags (ephemeral observation queue) — the log captures what we discovered, what we built, what we decided as a rolling daily record. Append-only. Mined later for friction patterns and continual improvement.
Sessions lose their "why" the moment context compacts or the agent ends. Handoffs carry state; transcripts carry dialogue; flags carry open items. None of them carry the narrative — the decisions made, the friction hit, the things built, the things learned — in a form that accumulates across sessions and can be mined for patterns.
The log fills that gap:
The richer the log, the more useful the mining. Log proactively; don't batch.
Before running, Read the files listed in required_reading: frontmatter.
agency/REFERENCE-AGENT-DISCIPLINE.md — Two Priorities + Over/Over-and-out. The log is a working-session practice; it sits inside the agent-discipline frame./captain-log <free text> # appended as observation (default)
/captain-log -c <category> <text> # appended with category
/captain-log --category <category> <text> # long form
/captain-log read # read today's log
/captain-log read YYYYMMDD # read a specific day
/captain-log list # list all log files
/captain-log path # print today's log file path
Categories: decision, friction, learning, milestone, observation (default), build.
Examples:
./agency/tools/captain-log "noticed agents kept cd-ing to main checkout"
./agency/tools/captain-log -c friction "permission prompt for chmod blocked agent boot"
./agency/tools/captain-log -c decision "QGRs go in workstream/quality-gate-reports/, not usr/"
./agency/tools/captain-log -c build "shipped /collaborate skill + tool + hookify warn"
./agency/tools/captain-log read
./agency/tools/captain-log read 20260406
usr/{principal}/captain/ — the tool writes daily log files beneath it.observation if unsure).read [YYYYMMDD]), the target day's file must exist — otherwise the tool reports "no log for that day."The skill is append-only on writes and read-only on reads. Writes never rewrite earlier entries; running twice produces two entries.
read, read YYYYMMDD, list, or path).Invoke the tool with the entry text. Choose the category deliberately — the category is what makes the log mineable later:
./agency/tools/captain-log -c <category> "<entry text>"
-c observation (or omit -c) for general notes that don't fit another bucket.-c decision when the entry is "we chose X over Y because Z" — future sessions read this to understand why the codebase looks the way it does.-c friction when something got in the way — this is a toolification seed.-c learning when you learned something non-obvious — about the codebase, methodology, or principal preferences.-c milestone for significant progress — phase complete, plan delivered, release shipped.-c build when you shipped a tool, skill, hookify rule, or process change — pair "what" with "why."The tool appends to today's file at usr/{principal}/captain/logs/captains-log-{YYYYMMDD}.md with an HH:MM:SS — category heading plus the entry body.
read — read today's log.read YYYYMMDD — read a specific day's log.list — enumerate all log files.path — print today's log file path (for scripting or piping into another tool).The log is a side-channel practice — it never blocks the work. Capture the entry, keep moving. The mining step happens later, at week-end or when friction patterns are being reviewed.
usr/{principal}/captain/logs/. Run /sandbox-init or create the directory.list to see what exists.&, |, ;, or * will lose content./flag or /agency-issue per agency/REFERENCE-AGENT-DISCIPLINE.md./coord-commit or the session-lifecycle skills like any other coord artifact.active (v2 migrated from v1 in the sister-repo V1→V2 migration). Stable surface; the underlying tool at agency/tools/captain-log has the same CLI it did pre-migration.
/handoff — authoritative session pickup state; reads first, log reads for color./flag — ephemeral observation queue; route to discussion, log if the observation is closed./transcript — full dialogue capture; log is curated narrative, not verbatim./dispatch — cross-agent coordination; log captures local narrative, dispatches carry cross-agent findings.agency/tools/captain-log — the underlying tool this skill invokes.OFFENDERS WILL BE FED TO THE — CUTE — ATTACK KITTENS!
business
Sync worktree with master — merge, copy settings, run sandbox-sync, report changes
tools
List all git worktrees with status info (branch, clean/dirty, deps)
tools
Remove a git worktree and optionally delete its branch
development
Create a new git worktree with dedicated branch and bootstrapped dev environment