Learned

Learned is a skill for Claude Code, Codex from RohiRIK/OpenLtm. It costs 37 tokens per session (358 once invoked), scanned A, original, MIT.

A collection of lessons and patterns from earlier coding sessions, with a summary file and stored project memories.

In plain words
What is it for?
Checking what worked before, reviewing earlier decisions, finding known gotchas, and deciding whether an old solution applies.
Why use it?
It helps the agent reuse known fixes, decisions, and warnings instead of repeating past investigation.

Skill for Claude CodeCodex

Part of the openltm plugin — 10 skills, 6 commands, 3 agents, 3 hooks shipped together

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.

agentmods
npx agentmods add skills/rohirik/openltm/learned
Any agent
npx skills add RohiRIK/OpenLtm --skill learned
Clone the repo
git clone --depth 1 https://github.com/RohiRIK/OpenLtm

Made for: Claude Code, Codex.

Or install openltm, the plugin that ships this one along with the rest of its 10 skills, 6 commands, 3 agents, 3 hooks.

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 Learned

README.md
[![agentmods](https://agentmods.dev/badge/skills/rohirik/openltm/learned.svg)](https://agentmods.dev/skills/rohirik/openltm/learned)
Your own site
<a href="https://agentmods.dev/skills/rohirik/openltm/learned"><img src="https://agentmods.dev/badge/skills/rohirik/openltm/learned.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 358 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00037 $0.00358
Opus 5 $0.00018 $0.00179
Sonnet 5 $0.00007 $0.00072
Haiku 4.5 $0.00004 $0.00036

Measured 4d ago against content hash cc7df30c4adb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Learned 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 4d 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/Learned/SKILL.md · 39 lines

What it actually says

Learned

Session learnings distilled into reusable patterns. Use this skill when past work, decisions, or fixes may apply to the current task.

Quick Reference

Trigger Use
"what did we learn", "past patterns", "previous sessions" Review accumulated knowledge
"what worked before", "known gotchas", "lessons learned" Pull relevant session patterns
"review past decisions", "reference earlier fixes" Check historical context
"when should I reuse this", "has this been solved before" Search the learning summary

Knowledge Sources

  • skills/Learned/summary.md — condensed session summaries and recent learning history, auto-updated by the EvaluateSession hook.
  • Durable patterns also live in the LTM database — query them with mcp__plugin_openltm_memory__recall.

How to Use

  • Read the summary for a fast overview of recent learnings.
  • Recall from LTM (mcp__plugin_openltm_memory__recall) when you need the exact reasoning, gotcha, or implementation detail behind a past decision.
  • Prefer previously validated approaches when the current problem matches an earlier session.
  • Treat the accumulated notes as project memory, not instructions to add new workflow logic.

What It Helps With

  • Reusing proven fixes
  • Avoiding repeated mistakes
  • Recovering context after compaction
  • Finding implementation patterns that already worked
Files

What ships with it

8 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. 4d ago First seen · 39 lines · 37 tokens per session scan A cc7df30c4adb

Subscribe to this mod's changes

Learned is a skill published in the GitHub repository RohiRIK/OpenLtm (26 stars, last pushed 3d ago), licensed MIT. It adds 37 tokens to every session and 358 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

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

ljg-learn

Deep concept anatomist that deconstructs any concept through 8 exploration dimensions (history, dialectics, phenomenology, linguistics, formalization, existentialism, aesthetics, meta-philosophy) and compresses insights into an epiphany. Use when user asks to explain, dissect, or deeply understand a concept, term, or…

lijigang/ljg-skills · 113 tokens

eli5

Explain research, papers, or technical ideas in plain English with minimal jargon, concrete analogies, and clear takeaways. Use when the user says "ELI5 this", asks for a simple explanation of a paper or research result, wants jargon removed, or asks what something technically dense actually means.

companion-inc/feynman · 63 tokens

code-documenter

Use when adding docstrings, creating API documentation, or building documentation sites. Invoke for OpenAPI/Swagger specs, JSDoc, doc portals, tutorials, user guides.

zebbern/claude-code-guide · 39 tokens

deck-course-module

暖纸背景 + Playfair, 左侧学习目标常驻, 含 MCQ 自测页.

nexu-io/html-anything · 25 tokens

grid-ctf-ops

Operational knowledge for the gridctf scenario including strategy playbook, lessons learned, and resource references. Use when generating, evaluating, coaching, or debugging gridctf strategies.

greyhaven-ai/autocontext · 42 tokens