Claude Code Session Discipline: Brief, Notes, Context

    by Claude Workflow Lab

    1

    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

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    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

    NoteFindingAction
    deploy.mdold IP in a live instructioncurrent host on top, old text moved under ## History before 2026-03-01 — NOT current
    deploy.md"tomorrow"replaced with the absolute date
    db.mdrecheck overduerechecked the replica host, updated, new recheck date
    billing.mdexpired, unindexedarchived to ~/.claude/archive/2026-12-02/..., nothing deleted

    Re-run: notes=3 errors=0.

    Next steps

    • Add every future host or account change to superseded in .notes-check.json, so the next run catches it.
    • Run weekly.
    deploy.md

    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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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

    Terminal / Shell
    Read Files
    Write Files
    Listed2 days ago

    What's inside

    Frequently Asked Questions

    This skill identifies exactly which tools, skills, and system prompts are filling your token window. It allows you to establish a baseline of startup usage and verify that specific configuration edits actually reduce your context budget.

    You will receive a detailed measurement report that splits startup context by component, a memory linting summary that flags superseded facts and broken links, and a concise five-line task brief for goal alignment. Deterministic data is provided in JSON format for comparison across different sessions.

    This skill requires a project directory with a memory folder or a Markdown-based vault like Obsidian. You also need a JSON configuration file to effectively track superseded facts, retired infrastructure, and project-specific cutover dates.

    The measurement probes rely on using the same client for testing as you do for your actual work. Additionally, the memory linting process requires a specific configuration to detect superseded information, and it will not automatically delete files to ensure no data is lost.

    You can ask your agent to measure the baseline context, audit your memory for stale notes, or perform a task kickoff before starting a new multi-hour project. It is especially useful for migrating infrastructure or cleaning up growing Markdown vaults.

    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.