ai/claude/skills/context/SKILL.md
On-demand context.md refresh. Reads recent sessions and memory to identify architectural facts that are missing or stale, then proposes specific additions to .claude/context.md.
npx skillsauth add otto-nation/otto-workbench contextInstall 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.
Refreshes .claude/context.md with architectural facts discovered in recent sessions.
Lighter than /dream — focuses only on context.md, not memory consolidation.
Run manually with /context after adding a new service, discovering a wrong-API assumption,
or when <!-- last-reviewed --> is more than 14 days old and active work is ongoing.
# Find the current project's context.md
cat .claude/context.md
# Find the project's memory files (if any)
ls ~/.claude/projects/$(basename $(git rev-parse --show-toplevel 2>/dev/null || echo "unknown"))/memory/ 2>/dev/null
# Find the 5 most recent session files for this project
project_slug=$(pwd | sed 's|/|-|g' | sed 's|^-||')
ls -t ~/.claude/projects/${project_slug}/*.jsonl 2>/dev/null | head -5
Note:
<!-- last-reviewed: --> date from context.mdFor each file in the project's memory directory, read it and look for entries that describe:
These may belong in context.md rather than (or in addition to) memory.
Read the 5 most recent session .jsonl files. For each file, scan for:
Read ONLY the context around matches — lines where type is "human" or "assistant".
For each finding NOT already in context.md:
Format a proposed addition:
Section: Known Constraints > Software identity
Evidence: [session date, quote]
Proposed addition:
- <Fact.> <!-- added by /context YYYY-MM-DD -->
Present all proposed additions before writing anything. For each one, confirm before applying.
Do not:
After user confirmation for each addition:
<!-- last-reviewed: YYYY-MM-DD --> to today at the top of the filePrint:
last-reviewed datelast-reviewed date is >14 days old and work is active.claude/context.md in the project root (committed, human-maintained).
testing
Address incoming PR review comments: fetch, verify, fix, and reply. Works with human and bot reviewers.
development
Reviews accumulated Claude Code memories for promotion into durable workbench artifacts — lint rules, scripts, coding rules, hooks. Prioritizes mechanical enforcement over prose.
tools
Manage GitHub PR review lifecycle: analyze unanswered threads, update review files, and post replies. Initial posting is handled by the review-post script.
tools
Refresh the machine profile (~/.claude/machine/machine.md) — hardware, OS, runtimes, Docker, Git identity, and project registry. Run after upgrading tools or to force a refresh.