learn

learn is a skill for Claude Code, Codex from umputun/cc-thingz. It costs 94 tokens per session (1,803 once invoked), scanned C, original, MIT.

A skill that records reusable project knowledge discovered during a session in the project’s CLAUDE.md instructions file, or in CLAUDE.local.md for personal checkout-specific knowledge.

In plain words
What is it for?
Use it after discovering project structure, integrations, conventions, testing methods, or deployment practices worth remembering.
Why use it?
It preserves important architectural and workflow lessons so they can guide future work instead of being forgotten.

Skill for Claude CodeCodex

Part of the workflow plugin — 6 skills 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/umputun/cc-thingz/learn
Any agent
npx skills add umputun/cc-thingz --skill learn
Clone the repo
git clone --depth 1 https://github.com/umputun/cc-thingz

Made for: Claude Code, Codex.

Or install workflow, the plugin that ships this one along with the rest of its 6 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 learn

README.md
[![agentmods](https://agentmods.dev/badge/skills/umputun/cc-thingz/learn.svg)](https://agentmods.dev/skills/umputun/cc-thingz/learn)
Your own site
<a href="https://agentmods.dev/skills/umputun/cc-thingz/learn"><img src="https://agentmods.dev/badge/skills/umputun/cc-thingz/learn.svg" alt="Measured on agentmods" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,803 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00094 $0.01803
Opus 5 $0.00047 $0.00901
Sonnet 5 $0.00019 $0.00361
Haiku 4.5 $0.00009 $0.00180

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

Security

Grade C, and why

learn scanned grade C with 1 finding 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 5d 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.

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

**Counter-example:** *"We keep credentials in `~/.aws/credentials`"* mentions a user-home path but describes a team-wide convention — the path is illustrative, not per-developer state. Such notes belong in project CLAUDE
plugins/workflow/skills/learn/SKILL.md · 159 lines

How it starts

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

Learn

Review the current conversation history and identify strategic, reusable project knowledge that should be captured in the project CLAUDE.md file. When the project has opted into Claude Code's three-tier memory convention by creating CLAUDE.local.md, route genuinely personal or environment-specific discoveries there instead.

Analysis Process

  1. Review Session History

    • Examine all files read and modified during this session
    • Identify patterns discovered while working on tasks
    • Note architectural insights gained from exploring the codebase
  2. Extract Strategic Knowledge

    • Filter out tactical details (bug fixes, specific implementations)
    • Focus on reusable patterns and project structure
    • Identify conventions and architectural decisions
  3. Categorize Findings

    • Project architecture and structure
    • Data flow patterns
    • External service integrations
    • Project-specific conventions
    • Key dependencies and their purposes
    • Configuration patterns
    • Testing strategies
    • Build and deployment processes
    • Operational knowledge (debugging, DevOps)

Destinations

This skill writes to one of two files in the project root:

  • CLAUDE.md (project memory, committed, team-shared) — the default destination. Use for architecture, conventions, integration patterns, and any other knowledge useful to the whole team.

  • CLAUDE.local.md (local memory, gitignored personal overrides) — used only when both conditions hold:

    1. CLAUDE.local.md already exists in the project (the project has opted into the three-tier memory convention).
    2. The discovery describes per-developer / per-checkout state — not just mentions something personal, but the knowledge itself is meaningful only to the current developer on this machine. Examples: a tool-loading workaround that depends on this developer's interpreter / runtime setup, a personal alias, a per-checkout env override.

    Counter-example: "We keep credentials in ~/.aws/credentials" mentions a user-home path but describes a team-wide convention — the path is illustrative, not per-developer state. Such notes belong in project CLAUDE.md. When in doubt about whether a discovery is genuinely personal, default to project CLAUDE.md.

Read the full file on GitHub · 159 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. 5d ago First seen · 159 lines · 94 tokens per session scan C 123f98b43061

Subscribe to this mod's changes

learn is a skill published in the GitHub repository umputun/cc-thingz (466 stars, last pushed 11d ago), licensed MIT. It adds 94 tokens to every session and 1,803 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it C with 1 finding (reaches for credential files). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.