ledger-auto-updates

ledger-auto-updates is a skill for Claude Code, Codex from avizmarlon/agent-skills. It costs 52 tokens per session (2,158 once invoked), scanned A, original, MIT.

A session-closing rule that records completed work in a changelog and leaves notes for the next coding-agent session.

In plain words
What is it for?
It updates project documentation after substantive sessions end, including what changed and what the next agent should know.
Why use it?
It prevents important changes and context from being lost when work pauses or moves to another topic.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It updates project documentation after substantive sessions end, including what changed and what the next agent should know.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/avizmarlon/agent-skills/ledger-auto-updates
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 avizmarlon/agent-skills --skill ledger-auto-updates
Clone the repo
git clone --depth 1 https://github.com/avizmarlon/agent-skills

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 ledger-auto-updates

README.md
[![agentmods](https://agentmods.dev/badge/skills/avizmarlon/agent-skills/ledger-auto-updates/github.svg)](https://agentmods.dev/skills/avizmarlon/agent-skills/ledger-auto-updates)
Your own site
<a href="https://agentmods.dev/skills/avizmarlon/agent-skills/ledger-auto-updates"><img src="https://agentmods.dev/badge/skills/avizmarlon/agent-skills/ledger-auto-updates/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 ledger-auto-updates

Your own site · 80×15
<a href="https://agentmods.dev/skills/avizmarlon/agent-skills/ledger-auto-updates"><img src="https://agentmods.dev/badge/skills/avizmarlon/agent-skills/ledger-auto-updates.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,158 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.00052 $0.02158
Opus 5 $0.00026 $0.01079
Sonnet 5 $0.00010 $0.00432
Haiku 4.5 $0.00005 $0.00216

Measured 12d ago against content hash c719c91f7a71, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

ledger-auto-updates 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 12d 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/ledger-auto-updates/SKILL.md · 221 lines

How it starts

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

Ledger Auto-Updates — Automatic Session Closure with Living Documentation

Ledger updates (CHANGELOG + session-handoff or project equivalents) are part of session closure — not a manual decision tree, and not something the user should have to request. If the user had to ask "should we update the ledger?", the agent failed.

Principle

The agent detects session-end conditions and automatically updates the project's living documentation to reflect:

  1. What changed during this session (CHANGELOG entry)
  2. State for the next agent picking up the work (session-handoff entry)

This ensures continuity across multiple AI-agent sessions without explicit handoff ceremony each time.

Triggers — Update without asking when you detect:

  • Farewell signals: natural language indicating the session is ending (e.g., "thanks, see you later", "that's all for now", "wrapping up", "good night")
  • Explicit wrap-up request: user says "close the session", "prepare for next phase", "create handoff", "open new session"
  • Clear topic pivot: moving to an unrelated topic after completing a coherent block of work (e.g., finished a bugfix phase, now asking about a different project)
  • User explicitly asks about the ledger: "Should we update CHANGELOG/handoff?" or similar. If they're asking, you missed the trigger. Update immediately and acknowledge the miss.
  • Session running long: approaching context limit (>50% full) with substantive work completed
  • Before declaring work complete: any message framing closure ("all set", "ready for next session", "finished") must be preceded by ledger updates

Criterion: What counts as "substantive work"

Update the ledger if ANY of these happened:

  • Code merged into main branch (commit, PR, or direct push)
  • Non-trivial architectural or product decision made
  • Bug root cause identified and fixed, with a reusable lesson for other teams
  • Changes to rules, instructions, or multi-tool agent configuration
  • Significant debugging session that produced a new finding or pattern
  • Repository state changed meaningfully (deleted worktrees, removed stale branches, refactoring)
  • New tool, wrapper, script, or reusable helper created
  • Configuration, MCP setup, or credentials changed in a way that affects workflow

Read the full file on GitHub · 221 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. 12d ago First seen · 221 lines · 52 tokens per session scan A c719c91f7a71

Subscribe to this mod's changes

ledger-auto-updates is a skill published in the GitHub repository avizmarlon/agent-skills (2 stars, last pushed 2mo ago), licensed MIT. It adds 52 tokens to every session and 2,158 once invoked, about $0.0003 per session on Opus 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.

Related

Other skills, from other repositories

mle-workflow

Production machine-learning engineering workflow for data contracts, reproducible training, model evaluation, deployment, monitoring, and rollback. Use when building, reviewing, or hardening ML systems beyond one-off notebooks.

affaan-m/ECC · 44 tokens

autonomous-loops

Patterns and architectures for autonomous Claude Code loops — from simple sequential pipelines to RFC-driven multi-agent DAG systems.

affaan-m/ECC · 26 tokens

react-patterns

React 18/19 patterns including hooks discipline, server/client component boundaries, Suspense + error boundaries, form actions, data fetching, state management decision trees, and accessibility-first composition. Use when writing or reviewing React components.

affaan-m/ECC · 49 tokens

content-engine

Create platform-native content systems for X, LinkedIn, TikTok, YouTube, newsletters, and repurposed multi-platform campaigns. Use when the user wants social posts, threads, scripts, content calendars, or one source asset adapted cleanly across platforms.

affaan-m/ECC · 55 tokens

article-writing

Write articles, guides, blog posts, tutorials, newsletter issues, and other long-form content in a distinctive voice derived from supplied examples or brand guidance. Use when the user wants polished written content longer than a paragraph, especially when voice consistency, structure, and credibility matter.

affaan-m/ECC · 57 tokens

agent-carnet

Use this skill when the user asks to save, recall, find, or organize notes. Triggers on: 'remember this', 'save this', 'note this', 'what did we discuss about...', 'check the notebook', 'find in carnet'. Also use proactively when discovering findings worth preserving across sessions.

yamadashy/repomix · 67 tokens