learn

learn is a skill for Claude Code, Codex from craigcossairt/trellis. It costs 77 tokens per session (106 once invoked), scanned A, original, MIT.

A project-learning workflow that reviews a conversation and records useful lessons in project documentation and agent memory.

In plain words
What is it for?
It is for capturing bug patterns, tool-specific gotchas, repository conventions, cross-session knowledge, and outdated documentation.
Why use it?
It prevents recurring bugs, tool surprises, and agreed conventions from being forgotten between sessions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; installed under .agents/ (shared by several agents); mentions AGENTS.md.

Good fit It is for capturing bug patterns, tool-specific gotchas, repository conventions, cross-session knowledge, and outdated documentation.

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

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 learn

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/craigcossairt/trellis/learn"><img src="https://agentmods.dev/badge/skills/craigcossairt/trellis/learn.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 106 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.00077 $0.00106
Opus 5.5 $0.00031 $0.00042
Sonnet 5.5 $0.00015 $0.00021
Haiku 4.5 $0.00008 $0.00011

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

Security

Grade A, and why

learn 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 20d 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.

.agents/skills/learn/SKILL.md · 7 lines

What it actually says

Read and follow .claude/skills/learn/SKILL.md. Resolve repository paths from the Git root.

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. 20d ago Changed · -104 lines d14207ed5e8a
  2. 25d ago Changed · +38 lines · +19 tokens per session 3500f71a27ef
  3. 1mo ago First seen · 73 lines · 58 tokens per session scan A 5f7667190c8b

Subscribe to this mod's changes

learn is a skill published in the GitHub repository craigcossairt/trellis (5 stars, last pushed 13d ago), licensed MIT. It adds 77 tokens to every session and 106 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

lov-auto-context

Manual or hook-triggered context operator. Evaluates the current session for pollution (long conversations, topic drift, stale noise), AND takes concrete context-shaping actions: writing project memory, updating global or project CLAUDE.md (with diff + confirm), and recommending harness commands like /fork, /compact…

lovstudio/skills · 112 tokens

lov-ataru-indexing

A maintenance tool for building, repairing, or checking a local searchable index of Ataru AI conversation history. An index is an organised lookup structure that makes searching stored records faster.

lovstudio/skills · 55 tokens

lov-search-chat

A local search tool for recalling relevant parts of earlier AI conversations from an indexed memory store. It returns matching sessions and identifiable excerpts from the original conversations.

lovstudio/skills · 53 tokens

lov-memory-add

A knowledge-capture workflow that saves user-selected information as a categorized, tagged note with its source and an index entry. It stores the note as Markdown and can read existing records to avoid duplicates or conflicts.

lovstudio/skills · 43 tokens

lov-memory-search

A search workflow for a configured personal knowledge base, including memory and distill folders. It searches indexes and, when needed, note text, then returns matching titles, excerpts, dates, sources, and real file links.

lovstudio/skills · 42 tokens

continual-learning

Orchestrate continual learning by delegating transcript mining to agents-memory-updater and writing durable memory to local JSON (never root AGENTS.md Learned sections). USE WHEN continual learning, mine prior chats, maintain agent memory, or the stop hook triggers this skill.

docxology/template · 56 tokens