context-workflow-reference
Reference and worked example for the CONTEXT.md / CLAUDE.md two-file workflow.
Skill by danielrosehill
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/danielrosehill-context-workflow-reference
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: productivity, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/context-workflow-reference
What's inside
- Skill name
context-workflow-reference- Description
- Reference and worked example for the CONTEXT.md / CLAUDE.md two-file workflow. Use when the user asks "what is CONTEXT.md", how the human-context vs agent-briefing split works, or wants a copyable example pair to seed a new repo. Pairs with the operational skills (context-to-claude, claude-to-context, add-to-context, remove-from-context, manual-context-update, chunk-repo-context) — this skill explains the model; those skills do the work.
- License
- MIT
- Instructions
- 101 lines in SKILL.md · view on GitHub
Files (4)
- SKILL.md
- CLAUDE.md · examples/web-app/
- CONTEXT.md · examples/web-app/
- README.md · examples/web-app/
SKILL.md (first lines)
# CONTEXT.md / CLAUDE.md Workflow Reference Two-file pattern for managing project context in Claude Code. This skill is reference material — it documents the model and ships a worked example. For operations on these files, use the dedicated skills (listed at the end). ## The Two-File Model Humans express intent best in conversational, narrative form. Agents work best on structured, concise briefings. LLMs are very good at converting between them. The pattern leans into that asymmetry. **`CONTEXT.md`** — human-authored scratchpad - Conversational, exploratory, voice-friendly - Includes the *why* behind decisions - Captures open questions, alternatives considered, gut feelings - Often grows from voice dictation with minimal cleanup - Not read by Claude Code automatically; referenced from `CLAUDE.md` **`CLAUDE.md`** — agent-ready briefing - Structured sections: overview, requirements, constraints, implementation guidance - Concise, actionable, decision-extracted - Auto-loaded by Claude Code at session start - Should reference `CONTEXT.md` for deeper background The two files are kept in sync by deliberate sync points, not by trying to write a single document that serves both audiences. ## When to Use This Pattern Good fit: - Solo projects where the user thinks out loud (voice transcription, late-night idea dumps) - Pre-formal projects where requirements are still being discovered - Projects where future-you needs to recall *why* a decision was made, not just what it was - Any repo where the user prefers to write naturally and have Claude reshape it Skip this pattern when: - The repo already has a strong README or design doc that fills the briefing role - Project context is genuinely simple — a 30-line `CLAUDE.md` is fine alone - A team workflow uses formal RFCs / ADRs instead ## Optional: Chunked Context When `CONTEXT.md` grows past ~500–1000 lines, split it into `context-data/` with topic files and a README index. `CLAUDE.md` then references `context-data/` instead of (or alongside) `CONTEXT.md`. The `chunk-repo-context` skill handles the split. ## Worked Example `examples/web-app/` in this skill ships a paired `CONTEXT.md` + `CLAUDE.md` for a hypothetical reading-tracker web app, plus a `README.md` annotating what to notice in each file. To seed a new repo from it: ```bash SKILL_DIR=$(dirname "$0") # or wherever this skill is mounted cp "$SKILL_DIR/examples/web-app/CONTEXT.md" ./CONTEXT.md cp "$SKILL_DIR/examples/web-app/CLAUDE.md" ./CLAUDE.md # then edit both to match the actual project ``` Read both files side-by-side first — the point is to internalize the difference in voice and structure between the two, not to keep the reading-tracker content. ## Hooks That Support This Workflow `rudder` ships two hooks (in `hooks/hooks.json`) that reinforce the pattern automatically: - **SessionStart**: detects `CONTEXT.md` or `context-data/` and reminds the agent they exist - **PostToolUse (Write|Edit)**: when a context file is touched, prompts a reminder to keep the pair in sync No setup required — they activate when the plugin is installed. ## Companion Skills (Operations) | Need | Skill | |---|---| | Generate `CLAUDE.md` from `CONTEXT.md` | `context-to-claude` | | Pull info from `CLAUDE.md` back into `CONTEXT.md` | `claude-to-context` | | Add a new piece of context cleanly | `add-to-context` | | Remove outdated/wrong context | `remove-from-context` | | Guided coordinated manual edit of both files | `manual-context-update` | | Split a large `CONTEXT.md` into `context-data/` | `chunk-repo-context` | | Run a structured audit on existing context files | `context-health-check` | | Prune a bloated `CLAUDE.md` to essentials | `chunk-claude` / `chunk-claude-md` | ## Best Practices **Writing `CONTEXT.md`:** - Write the way you'd talk through the project with a friend - Keep the *why* — it's the part that's hardest to reconstruct later - Don't self-edit aggressively; let the conversion step do that - Voice transcription with light cleanup is a first-class input **Maintaining `CLAUDE.md`:** - Treat as derived, not authoritative; the truth lives in `CONTEXT.md` - Keep sections short and action-oriented - Always include a pointer back to `CONTEXT.md` so the agent knows deeper context exists - Re-derive (don't hand-edit) when `CONTEXT.md` shifts substantially **Sync cadence:** - After a brain-dump session in `CONTEXT.md` → run `/context-to-claude` - After Claude refines requirements during work → run `/claude-to-context` to capture them in human form - When something is wrong/stale → `/remove-from-context` rather than letting it rot ## Provenance This skill folds in the conceptual content of the standalone `Claude-Code-Context-Toolkit` repo. The operational commands from that repo were already present in `rudder`; what's preserved here is the workflow articulation and the worked example.
From danielrosehill/Claude-Rudder, MIT.
More from danielrosehill/Claude-Rudder
- 0.470score
context-gate
danielrosehill
One-shot context-checkpoint workflow — when the current session is getting cluttered, write a structured handover plan capturing what's done and what's…
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
scaffold-planning
danielrosehill
Create a lightweight `planning/` folder in the current repo with leftover-tasks.md, blockers.md, session-logs/, and handovers/.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
install-from-github
danielrosehill
Use when the user points at a GitHub repo (an agent skill, MCP server, or "Claude plugin"-ish project) and wants to install or register it.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
plugin-data-storage
danielrosehill
Canonical reference for where Claude Code plugins should persist user data.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
save-plan
danielrosehill
Save a Claude Code plan (from ExitPlanMode, design discussion, or multi-step task) to persistent storage.
SkillAFreshness: A★ 2Claude Code +9 - 0.467score
setup-agent-logs
danielrosehill
First-run setup for the session log archive.
SkillAFreshness: A★ 2Claude Code +9 - 0.467score
extract-skill
danielrosehill
Synthesize a new SKILL.md from the procedure that was just followed in this session, so the next session can replay it without being briefed from scratch.
SkillAFreshness: A★ 2Claude Code +9 - 0.348score
capture-leftover
danielrosehill
Capture a follow-up task that surfaced mid-flow but shouldn't distract from the current focus.
SkillDFreshness: D★ 2Claude Code +9 - 0.348score
fork-new-direction
danielrosehill
Create a new repo that starts from the current repo's state but takes a new direction — copy the code, seed CLAUDE.md with the revised approach, and push.
SkillDFreshness: D★ 2Claude Code +9 - 0.348score
log-blocker
danielrosehill
Append a known blocker to `<repo>/planning/blockers.md` (auto-scaffolds if missing).
SkillDFreshness: D★ 2Claude Code +9 - 0.348score
mirror-to-private
danielrosehill
Create a private GitHub repo that mirrors the current public repo.
SkillDFreshness: D★ 2Claude Code +9 - 0.348score
repo-from-thread
danielrosehill
Create a new GitHub repo seeded with context from the current conversation.
SkillDFreshness: D★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 15, 2026 (13 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/danielrosehill/Claude-Rudder
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from danielrosehill
- 0.470score
save-plan
danielrosehill
Save a Claude Code plan (from ExitPlanMode, design discussion, or multi-step task) to persistent storage.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
scaffold-planning
danielrosehill
Create a lightweight `planning/` folder in the current repo with leftover-tasks.md, blockers.md, session-logs/, and handovers/.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
onboard
danielrosehill
First-run onboarding for the adb-ops plugin.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
context-gate
danielrosehill
One-shot context-checkpoint workflow — when the current session is getting cluttered, write a structured handover plan capturing what's done and what's…
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
plugin-data-storage
danielrosehill
Canonical reference for where Claude Code plugins should persist user data.
SkillAFreshness: A★ 2Claude Code +9 - 0.470score
install-from-github
danielrosehill
Use when the user points at a GitHub repo (an agent skill, MCP server, or "Claude plugin"-ish project) and wants to install or register it.
SkillAFreshness: A★ 2Claude Code +9
Cite this page
context-workflow-reference skill. Agent Mart. https://agentmart.dev/skills/danielrosehill-context-workflow-reference (last updated 2026-10-24)