- Home
- Skills
- Workflow Automation
- Claude Code Session Discipline: Brief, Notes, Context
Claude Code Session Discipline: Brief, Notes, Context
Three Claude Code skills: ask every question before the work starts, catch stale facts in agent memory, and measure what your startup context costs. Cheaper than the three singles.
$10
What it does
- Before a long task, Claude writes a five-line brief and asks every question in one block
- Finds stale facts in Claude Code memory or a markdown vault and fixes or archives them
- Measures what a fresh session loads before your first message, split by component
Claude Code Session Discipline: Brief, Notes, Context
Example session with this skill installed
Audit my Claude Code project memory for stale notes. We moved the API box off 10.0.0.5 in March.
- Read your context and instructions
- Compiled the claude code session
Summary
Ran the memory lint on ~/.claude/projects/-work-app/memory with the move recorded in .notes-check.json as superseded. 4 notes, 5 errors, 1 info.
Lint output
ERROR expired billing.md:1 — temporary note expired 2026-11-01: archive it
ERROR recheck-due db.md:6 — 'Recheck in 4 weeks' from 2026-01-10 was due 2026-02-07
ERROR relative-date deploy.md:6 — relative date 'tomorrow': write the absolute date
ERROR superseded deploy.md:6 — '10\.0\.0\.5|db-old\.internal' is superseded since 2026-03-01: api box 10.0.1.9, replica db-replica-2
ERROR unindexed billing.md — no index links to this note, so it is never recalled
INFO undated deploy.md — no absolute date in the name or the text
notes=4 errors=5 info=1 baseline=0 today=2026-12-02
Fixes
| Note | Finding | Action |
|---|---|---|
| deploy.md | old IP in a live instruction | current host on top, old text moved under ## History before 2026-03-01 — NOT current |
| deploy.md | "tomorrow" | replaced with the absolute date |
| db.md | recheck overdue | rechecked the replica host, updated, new recheck date |
| billing.md | expired, unindexed | archived to ~/.claude/archive/2026-12-02/..., nothing deleted |
Re-run: notes=3 errors=0.
Next steps
- Add every future host or account change to
supersededin.notes-check.json, so the next run catches it. - Run weekly.
Connects securely to your tools. The creator never sees your data.
About this skill
Three habits that cut rework in long Claude Code sessions: settle the goal before starting, keep notes current, and know what your startup context costs. Cheaper than buying the three skills one by one.
What's inside
brief-before-work: before a multi-hour task, the agent looks first, writes a 5-line brief, asks every open question in one block, then works to a proven end with no questions mid-task. Includes a forks checklist and per-project "done" recipes.
notes-freshness-check: a standard-library Python lint for Claude Code auto-memory or any markdown/Obsidian vault (relative dates, expired notes, overdue rechecks, retired hosts, broken links, oversize index, optional secret check) plus a routine to fix or archive each finding, never delete.
startup-context-meter: measures what a fresh session loads before your first message, split by component, and compares before/after a settings change.
Why it works
- Questions cost minutes at the start and hours mid-task, especially when you leave the agent running.
- Memory notes are loaded as if they are true today; an old IP or retired account in one note sends the agent the wrong way with full confidence.
- Trimming settings without measuring often does nothing; the meter shows what really moved.
Requirements
Claude Code and Python 3 (standard library only). No network access, no external services, no API keys.
Requires Python 3 for measurement and linting scripts. Token counts are specific to the Claude Code version and client used during the probe.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 1 day ago
- Software
Python 3 (standard library only)
Permissions
What's inside
Frequently Asked Questions
New in Workflow Automation
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Workflow Automation.