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

learn

Skill0 starsChanged 31 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

7 rules. 0 are common, 4 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 169 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 3

    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. Very specific:

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

    line 25
  2. Distinctive:

    Never parse-and-rewrite prior lines.

    line 33
  3. Very specific:

    Consult before you repeat: Before starting work that resembles a past pitfall class (a migration, an import-boundary edge, an auth flow), …

    line 34
  4. Distinctive:

    No fabricated data: only append a lesson actually observed this session — never invent a plausible-sounding pitfall to pad the log.

    line 49
  5. Very specific:

    Every stat needs a source: the refs array must cite a real file:line, issue number, or URL from this session.

    line 51
  6. Distinctive:

    No code-fenced final output where raw output is expected: report the appended line as raw text, not inside a fenced block, so it is easy to …

    line 54
  7. Distinctive:

    Never append a line containing a password, token, key, or connection string value — reference the file/line where the issue lives instead.

    line 62

“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 + 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 team preference discovered mid-task. Typical triggers:

  • A bug traced to a root cause that will recur if unrecorded (e.g. a migration shipped with an empty down export — no paired rollback).
  • A workaround that should become the default approach next time.
  • A stated preference from a reviewer or the requester that should persist beyond this session.

Do NOT activate this skill for one-off facts with no future recurrence value, or to record anything resembling a secret, credential, or DATABASE_URL value — 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 /learn invocation adds exactly one line at the end. Never parse-and-rewrite prior lines.
  • Consult before you repeat. Before starting work that resembles a past pitfall class (a migration, an import-boundary edge, an auth flow), grep .claude/learnings.jsonl for the relevant kind first.
  • Deliberately independent of any cross-project runtime. This log is local to the generated <app> project only — it does not sync to, read from, or depend on any external multi-tenant orchestration store; a fresh clone of <app> starts with no learnings until the first /learn call.
  • One lesson, one line. A JSONL entry is a single fact, not a running narrative; if a session produces three lessons, append three lines.
  • Created on first use, not shipped. The skeleton ships no .claude/learnings.jsonl; the file is created by the first successful append.

Rules

  • No fabricated data: only append a lesson actually observed this session — never invent a plausible-sounding pitfall to pad the log.
  • Every stat needs a source: the refs array must cite a real file:line, issue number, or URL from this session; an empty refs array is acceptable only when no such reference exists (a pure preference statement).
  • No code-fenced final output where raw output is expected: report the appended line as raw text, not inside a fenced block, so it is easy to copy-verify against the file.
  • Append via pure bash, no jq: use printf '%s\n' "{...}" >> .claude/learnings.jsonl. Never pipe through a JSON-mutating tool that could reformat or reorder prior lines.
  • Escape embedded double quotes in note before appending (\" inside the JSON string), or the line will not parse as valid JSON.
  • Never append a line containing a password, token, key, or connection string value — reference the file/line where the issue lives instead.

Research References

ClaimSourceYearLink
<placeholder claim><source file or doc><year><link>
JSON Lines format (one JSON value per line)jsonlines.org2024https://jsonlines.org

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.