learn
Skill0 starsChanged 20 days agoMITView on GitHub
Appends a one-line lesson to <app>'s project-local .claude/learnings.jsonl and shows how to consult prior entries before repeating similar work.
193 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- Facta-Dev/beautifulnodejsedited, first seen Nov 29, 2026
- pji2918/agent-skillstheir own version, first seen Nov 29, 2026
- daniel-kindl/dkstacktheir own version, first seen Nov 29, 2026
- newkirkjosh/skillstheir own version, first seen Nov 29, 2026
- Ertinox7711/SGRR-AGI-V2their own version, first seen Nov 29, 2026
- aakash1552005/universal-agent-skillstheir own version, first seen Nov 29, 2026
Used with
Projects with it also use add-anydoc, add-clidash and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
TomGranotSkilladd-anydoc
Add local office-document-to-Markdown conversion to NanoClaw agent containers with the pinned Firecrawl AnyDoc CLI. Use when agents need to read attached Word, PowerPoint, Excel, OpenDocument, RTF, EPUB, CSV, or text-based PDF files without uploading them to a hosted parser.
Also in 5 projects that use this
TomGranotSkilladd-clidash
Add clidash — a zero-dependency, read-only web dashboard that derives its tabs and tables at runtime from any CLI that lists resources as JSON. Ships pre-wired for NanoClaw's ncl CLI (agent groups, sessions, channels, users, roles), plus message-activity charts, a log tail, and a read-only file viewer for group skills/CLAUDE.md/profiles.
Also in 5 projects that use this
seek888Skillopen-gstack-browser
Launch GStack Browser — AI-controlled Chromium with the sidebar extension baked in. Opens a visible browser window where you can watch every action in real time. The sidebar shows a live activity feed and chat. Anti-bot stealth built in. Use when asked to "open gstack browser", "launch browser", "connect chrome", "open chrome", "real browser", "launch chrome", "side panel", or "control my browser". Voice triggers (speech-to-text aliases): "show me the browser".
Also in 14 projects that use this
MicrosoftSkilladd-codex
Use Codex (CLI + AppServer) as the full agent provider — planning, tool orchestration, native compaction, MCP tools, session resume — in place of the Claude Agent SDK. ChatGPT subscription or OPENAI_API_KEY. Per-group via agent_provider. Distinct from using OpenAI as an MCP tool (where Claude remains the planner).
Also in 6 projects that use this
MicrosoftSkilladd-deltachat
Add DeltaChat channel integration via @deltachat/stdio-rpc-server. Native adapter — no Chat SDK bridge. Email-based messaging with end-to-end encryption.
Also in 6 projects that use this
- +5 more from TomGranot
- +2 more from microsoft
Other versions193 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- Facta-Dev/beautifulnodejs★ 046% same
Wrote their own version · 192
- garrytan/gstack★ 143ksame name
- rohitg00/ai-engineering-from-scratch★ 81ksame name
- nanocoai/nanoclaw★ 31ksame name
- gavrielc/nanoclaw★ 31ksame name
- qwibitai/nanoclaw★ 31ksame name
- tigerless-labs/autoharness★ 11ksame name
- tw93/claude-health★ 7.7ksame name
- tw93/Waza★ 7.7ksame name
- nykooi1/vibe-wise★ 3.5ksame name
- HughYau/AcademicForge★ 2.6ksame name
182 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository24 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- add-linux-packagingSkill
- add-sliceSkill
- add-viewSkill
- claim-checkSkill
- clean-room-rebuildSkill
- corpus-retrievalSkill
- diagnosing-bugsSkill
- domain-modelingSkill
- graphifySkill
- grillingSkill
- planSkill
- platform-portSkill
- researchSkill
- reviewSkill
- shipSkill
- specSkill
- tddSkill
- verified-statusSkill
- visual-reviewSkill
- qt-best-practicesSkill
- qt-portSkill
- qt-reviewSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 169 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 25
Do NOT activate this skill for one-off facts with no recurrence value, or to record anything resembling a secret, a credential or a …
- Very specific: line 34
Consult before repeating: Before starting work that resembles a past pitfall class (a threading change, a migration, a new slice), grep …
- Distinctive: line 48
No fabricated data: only append a lesson actually observed in this session.
- Very specific: line 50
Every claim needs a source: the refs array cites a real file:line, an issue number or a URL from this session.
- Distinctive: line 53
Never append a password, token, key or connection string value — cite the file and line where the problem lives instead.
“Common” is measured: kept by at least 6 in 10 of the 169 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<app> learn skill
Reusable workflow for capturing a durable, project-local lesson learned while working on
<app>. An agent invokes this skill; the agent supplies the lesson, the skill supplies the append and the consult procedure.
When to Activate
Activate this skill when a session surfaces a lesson worth remembering for
<app>: a recurring pitfall, a pattern that worked, or a preference that
should outlive the session. Typical triggers:
- A bug traced to a root cause that will recur if unrecorded (a Qt object
deleted on the wrong thread, a migration added without bumping
PRAGMA user_version). - A workaround that should become the default approach next time.
- A preference stated by a reviewer or the requester that should persist.
Do NOT activate this skill for one-off facts with no recurrence value, or to record anything resembling a secret, a credential or a connection string — the log is committed to the project and is not a secret store.
Core Principles
- Append-only.
.claude/learnings.jsonlis never rewritten or reordered; each invocation adds exactly one line at the end. Never parse-and-rewrite the prior lines. - Consult before repeating. Before starting work that resembles a past
pitfall class (a threading change, a migration, a new slice), grep
.claude/learnings.jsonlfor the relevantkindfirst. - One lesson, one line. A JSONL entry is a single fact, not a narrative; three lessons produce three lines.
- Local to this project. The log stays inside the generated
<app>repository: it never syncs anywhere, and a fresh clone starts empty until the first append. - Created on first use. The template ships no
.claude/learnings.jsonl; the file appears with the first successful append.
Rules
- No fabricated data: only append a lesson actually observed in this session; never invent a plausible pitfall to pad the log.
- Every claim needs a source: the
refsarray cites a realfile:line, an issue number or a URL from this session. An emptyrefsarray is acceptable only for a pure preference statement. - Never append a password, token, key or connection string value — cite the file and line where the problem lives instead.
- Append with pure shell, no JSON rewriter:
printf '%s\n' "{…}" >> .claude/learnings.jsonl. A tool that reformats the file would reorder the history. - Escape the double quotes inside the
notestring, or the line will not parse as JSON. - Report the appended line as raw text, not inside a code fence, so it can be verified against the file.
Research References
| Claim | Source | Year | Link |
| JSON Lines format (one JSON value per line) | jsonlines.org | 2017 | https://jsonlines.org |
| The recurring pitfalls worth recording: threading, migrations, layer law | PLAYBOOK_DESKTOP_QT.md §3, §15 | - | PLAYBOOK_DESKTOP_QT.md |
| The gate that turns a lesson into a test | PLAYBOOK_TESTS.md | - | PLAYBOOK_TESTS.md |
Output Format
Raw structured prose, not a code fence:
### <app> learn — entry appended
File: .claude/learnings.jsonl
Line: {"ts":"<ISO-8601 UTC>","kind":"pattern|pitfall|preference","note":"<one-line lesson>","refs":["<file:line | issue# | url>"]}
Consult-first reminder: grep '"kind":"<kind>"' .claude/learnings.jsonl before
starting similar work.Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

