session-note

session-note is a skill for Claude Code, Codex from mir-am/skills-agents-ai-coding. It costs 13 tokens per session (2,041 once invoked), scanned A, original, MIT.

A session-documentation tool that saves the current coding work as a dated Markdown note. Markdown is a plain-text format commonly used for readable project notes.

In plain words
What is it for?
Use it before pausing a project, switching tasks, or handing work to another session or person.
Why use it?
It preserves what changed, what remains unfinished, and where work stopped, so a later session can continue without reconstructing the context.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: names the TodoWrite tool; mentions OpenCode.

Good fit Use it before pausing a project, switching tasks, or handing work to another session or person.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mir-am/skills-agents-ai-coding/session-note
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mir-am/skills-agents-ai-coding --skill session-note
Clone the repo
git clone --depth 1 https://github.com/mir-am/skills-agents-ai-coding

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for session-note

README.md
[![agentmods](https://agentmods.dev/badge/skills/mir-am/skills-agents-ai-coding/session-note/github.svg)](https://agentmods.dev/skills/mir-am/skills-agents-ai-coding/session-note)
Your own site
<a href="https://agentmods.dev/skills/mir-am/skills-agents-ai-coding/session-note"><img src="https://agentmods.dev/badge/skills/mir-am/skills-agents-ai-coding/session-note/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for session-note

Your own site · 80×15
<a href="https://agentmods.dev/skills/mir-am/skills-agents-ai-coding/session-note"><img src="https://agentmods.dev/badge/skills/mir-am/skills-agents-ai-coding/session-note.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,041 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00013 $0.02041
Opus 5.5 $0.00005 $0.00816
Sonnet 5.5 $0.00003 $0.00408
Haiku 4.5 $0.00001 $0.00204

Measured 22d ago against content hash 533b69590674, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

session-note scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 22d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/session-note/SKILL.md · 270 lines

How it starts

The opening of the file, as written. The whole thing — 270 lines — stays where its author put it; the contents beside it link to each section on GitHub.

What I do

  • Create .opencode/notes/ directory if it doesn't exist
  • Generate timestamped markdown file: YYYY-MM-DD-HHmm-<description>.md
  • Document files changed with diffs (truncated with git reference for full diff)
  • Capture incomplete todos from TodoWrite if present
  • Provide 2-3 sentence summary of where the session left off
  • Multiple notes per session create new files with incremented timestamps

When to use me

Use this skill when:

  • User explicitly requests a session note
  • User wants to pause work and capture current state for later continuation
  • User needs to document progress before switching tasks/projects

Note Creation Workflow

  1. Create directory: mkdir -p .opencode/notes
  2. Generate filename:
    • Extract main task from conversation context
    • Format: YYYY-MM-DD-HHmm-<brief-description>.md
    • Example: 2026-02-14-1630-add-csv-export.md
    • Description: kebab-case, max 4-5 words from main task
    • Fallback: work-session if task unclear
  3. Gather context:
    • Scan conversation for accomplished work
    • Identify main goals and outcomes
  4. Detect file changes:
    • If git repo: git status --short
    • Parse: M = modified, A/?? = created, D = deleted
    • If not git: extract from conversation (files agent wrote/edited)
  5. Get diffs:
    • For modified files: git diff <file> (if git available)
    • For new files: read first 20-30 lines or key sections
    • Truncate large diffs (see diff handling below)
  6. Extract todos:
    • Check if TodoWrite was used in session
    • Filter for status: pending or status: in_progress
    • Format as markdown checklist
  7. Write note with structure below
  8. Confirm: Tell user the note location

Filename Generation

  • Pattern: YYYY-MM-DD-HHmm-<description>.md
  • Timestamp: date +%Y-%m-%d-%H%M
  • Description extraction:
    • Scan conversation for primary task/goal
    • Extract key verbs + objects: "add CSV export" → add-csv-export
    • Sanitize: lowercase, spaces→hyphens, remove special chars
    • Max 4-5 words, keep concise
  • Examples:
    • 2026-02-14-1630-add-csv-export.md
    • 2026-02-14-1845-fix-memory-leak.md
    • 2026-02-14-2015-refactor-auth-module.md

Read the full file on GitHub · 270 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 22d ago Changed · -1 lines 533b69590674
  2. 1mo ago First seen · 271 lines · 13 tokens per session scan A 796259afae4e

Subscribe to this mod's changes

session-note is a skill published in the GitHub repository mir-am/skills-agents-ai-coding (2 stars, last pushed 23d ago), licensed MIT. It adds 13 tokens to every session and 2,041 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.