agentleFS
Facta-DevFacta-Dev/beautifulqt/.claude/skills/learn/SKILL.md

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

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.
  • TomGranotSkill

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

  • TomGranotSkill

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

  • seek888Skill

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

  • MicrosoftSkill

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

  • MicrosoftSkill

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

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
  1. Distinctive:

    Do NOT activate this skill for one-off facts with no recurrence value, or to record anything resembling a secret, a credential or a …

    line 25
  2. Very specific:

    Consult before repeating: Before starting work that resembles a past pitfall class (a threading change, a migration, a new slice), grep …

    line 34
  3. Distinctive:

    No fabricated data: only append a lesson actually observed in this session.

    line 48
  4. Very specific:

    Every claim needs a source: the refs array cites a real file:line, an issue number or a URL from this session.

    line 50
  5. Distinctive:

    Never append a password, token, key or connection string value — cite the file and line where the problem lives instead.

    line 53

“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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

<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.jsonl is 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.jsonl for the relevant kind first.
  • 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 refs array cites a real file:line, an issue number or a URL from this session. An empty refs array 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 note string, 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

ClaimSourceYearLink
JSON Lines format (one JSON value per line)jsonlines.org2017https://jsonlines.org
The recurring pitfalls worth recording: threading, migrations, layer lawPLAYBOOK_DESKTOP_QT.md §3, §15-PLAYBOOK_DESKTOP_QT.md
The gate that turns a lesson into a testPLAYBOOK_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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.