session-learnings

session-learnings is a skill for Claude Code from sentimony/skills. It costs 121 tokens per session (4,592 once invoked), scanned A, original, MIT.

A skill that records useful lessons from a coding session in project notes that are ignored by Git. Later, its triage mode sorts approved lessons into instructions, checks, or tests.

In plain words
What is it for?
Record pitfalls and decisions for future agents, then review and place selected lessons in project guidance or stronger automated checks.
Why use it?
It prevents recurring mistakes from being forgotten while keeping the initial notes separate from shared project files.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md; mentions subagents; mentions Claude Code.

Part of the skills plugin — 30 skills shipped together

Good fit Record pitfalls and decisions for future agents, then review and place selected lessons in project guidance or stronger automated checks.

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

Made for: Claude Code.

Or install skills, the plugin that ships this one along with the rest of its 30 skills.

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-learnings

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sentimony/skills/session-learnings"><img src="https://agentmods.dev/badge/skills/sentimony/skills/session-learnings.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 121 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,592 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.00121 $0.04592
Opus 5.5 $0.00048 $0.01837
Sonnet 5.5 $0.00024 $0.00918
Haiku 4.5 $0.00012 $0.00459

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

Security

Grade A, and why

session-learnings 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 7d 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-learnings/SKILL.md · 335 lines

How it starts

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

Session Learnings

A session leaves knowledge the next agent would otherwise pay for again. This skill keeps what changes future behavior, writes it down at once where the next session sees it, and leaves the final placement to a later triage.

record: collect -> filter -> check environment -> rung -> target -> dedupe -> draft -> set up -> append -> report
triage: read notes -> draft -> measure -> approve -> re-read -> apply -> prune -> report

It runs on its own at any point the user asks and does not need any chain. It reads the session; it needs no artifact from an earlier skill. When the agentflow plugin is installed, it may also call the skill as its last step: after finalize, often once the work is already squashed into the base branch, and under --auto finalize starts it in the same turn after a successful action. Recording asks no questions and edits only gitignored notes plus a one-time setup. The argument triage (or the user asking to sort the accumulated learnings) runs the triage mode instead.

When an installed orchestrating chain such as agentflow calls the skill, the rest of this list applies; a standalone invocation has no chain and only records or triages.

  1. Follow the orchestrating chain's stage transition contract (in agentflow, the resolve-issue run contract). Without --auto, finish this meaningful stage and request its next transition; internal commands and tasks of the current authorized plan need no extra approval.
  2. With --auto, continue permitted stage transitions and pass the flag to every invoked skill. When invoked by resolve-issue, return the result, next action and evidence to that orchestrator; do not also launch the next stage yourself. A standalone invocation owns its permitted next step. Saved mode is history, never authority in a new session.
  3. Critical clarification, product/public-contract changes and conflicting permissions still require the user. Under auto the workflow host first consults all configured other agent families; delegated executors return a consultation handoff to their host. Quality gates, Round rule, budgets and explicit project/session prohibitions remain.
  4. Auto may cover push/PR/squash, the project's verified deployment, production checks and cleanup of task-created resources only within the current verified project contract and permissions. Tags, releases, infrastructure/data changes and force operations need their own applicable authority. Delivery requires the installed G3 helpers, current host action authority and verified project-specific contracts. finalize --auto without a chosen action must ask for that choice.

--auto comes only from an orchestrating chain and applies to recording only: it changes nothing in triage. triage --auto runs as plain triage: it still lists items and waits for approval, and applies no instruction change on its own. An orchestrated recording returns its notes/result to the caller; it does not launch another workflow.

Read the full file on GitHub · 335 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 7d ago Changed · +7 lines 4657c78f828a
  2. 13d ago Changed · +2 tokens per session bda95c1901f4
  3. 15d ago First seen · 328 lines · 119 tokens per session scan A ee7c357cdbfc

Subscribe to this mod's changes

session-learnings is a skill published in the GitHub repository sentimony/skills (8 stars, last pushed today), licensed MIT. It adds 121 tokens to every session and 4,592 once invoked, about $0.0005 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-11-15.

Related

session-learnings compared with skills from other repositories

session-learnings next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
session-learningssentimony/skillsSkill8todayMITA121Claude Code
onboardRune-kit/runeSkill96yesterdayMITA81Claude Code
neural-memoryRune-kit/runeSkill96yesterdayMITA54Claude Code
session-bridgeRune-kit/runeSkill96yesterdayMITA48Claude Code
refactorsmallnest/goal-workflowSkill3032mo agoMITA71Claude Code
loop-itsmallnest/goal-workflowSkill3032mo agoMITA93Claude Code
walkthroughsmallnest/goal-workflowSkill3032mo agoMITA131Claude Code