agentleFS
jrcopetijrcopeti/brain-template/skills/capture/SKILL.md

capture

Skill0 starsChanged 6 days agoMITView on GitHub

Save a link, snippet, or decision into the brain inbox. Use when the user says 'save this', 'remember this', 'note this decision', forwards a link, screenshot or pasted text, or at the end of a session when a decision was made or a gotcha was found. Also use when the user corrects you with a reason ('no, do it this way, because…'): that becomes a taste entry. Fast and dumb: one file into inbox/, no sorting — triage does the thinking later.

65 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use weekly, enrich and 9 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.
  • gaiaaiagentSkill

    weekly

    Generate a weekly digest rolling up dailies into higher-level pattern analysis

    Also in 4 projects that use this

  • baojieSkill

    enrich

    升级 shiji-kb wiki 页面质量一档(stub→basic→standard→featured→premium),或升至用户指定档。诊断页面当前指标缺口,执行对应补充操作(补引文、写散文、加节、加图)。当用户说 /enrich PAGE 或 /enrich PAGE 目标档 时触发。

    Also in 3 projects that use this

  • Google CloudSkill

    ingest

    Extracts, distills, and compiles raw sources (PPTX slide decks, PDFs, Word docs, Excel sheets, web URLs, transcripts, codebases, or raw/ directories) into persistent, structured Knowledge Compiler markdown wikis following the Open Knowledge Format (OKF v0.2) and Andrej Karpathy LLM-Wiki standard. Use when the user invokes /ingest, asks to ingest raw files or a target path, compile knowledge, update the wiki, or extract unstructured files into markdown knowledge bases. Don't use for retrospectively compiling the active chat conversation without external files (use distill-session) or for read-only vault lookups (use vault-query).

    Also in 9 projects that use this

  • AnthropicSkill

    brief

    Generate contextual briefings for legal work — daily summary, topic research, or incident response. Use when starting your day and need a scan of legal-relevant items across email, calendar, and contracts, when researching a specific legal question across internal sources, or when a developing situation (data breach, litigation threat, regulatory inquiry) needs rapid context.

    Also in 6 projects that use this

  • dubwoahSkill

    ask

    Answer questions about the codebase without generating or modifying any code. Use when the user wants to understand how something works, find where something is defined, or explore the project structure. Invoked with /ask.

    Also in 5 projects that use this

  • QuixiAISkill

    weekly-review

    Review the past week across goals, tasks, calendar, journal, and commitments, then propose the next week

    Also in 6 projects that use this

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 2 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 63 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If it is a URL, try to fetch the text.

    line 12
  2. Distinctive:

    Create the item with the script, content on stdin:

    line 13
  3. Very specific:

    Run node sync.mjs from the brain folder.

    line 24
  4. Very specific:

    When the user corrects you with a reason, append one line to taste.md in the right section: - <the rule> — because <their reason> …

    line 33
  5. Very specific:

    No reason given? Ask one question ("why?") first.

    line 35
  6. Very specific:

    Don't create notes or edit the index here.

    line 40
  7. Distinctive:

    Don't paste secrets or other people's personal data into the brain, even when the user forwards them.

    line 41

“Common” is measured: kept by at least 6 in 10 of the 63 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

Capture

Capture is fast and dumb. It writes one file into inbox/, runs node sync.mjs, and stops. It never sorts, summarizes into notes, or edits existing notes — that is triage's job.

Save something

  1. If it is a URL, try to fetch the text. If the page is blocked (login walls are common), keep the URL and the user's words and set --fetch blocked. Never fail a capture because a fetch failed.
  2. Create the item with the script, content on stdin:
    echo "<fetched or pasted text>" | python3 skills/capture/scripts/new_item.py \
      --title "<short title>" --source "<url | pasted | conversation>" --note "<the user's reason, verbatim>"
    A link, or text with a URL in it: keep the URL out of the command line (a dev container blocks every shell command with a URL in it). Write the URL to inbox/.source and the text to inbox/.body with your file tool, then run:
    python3 skills/capture/scripts/new_item.py --title "<short title>" \
      --source-file inbox/.source --body-file inbox/.body --note "<the user's reason, verbatim>"
    The script deletes both draft files after it writes the item.
  3. Run node sync.mjs from the brain folder. It commits the new item, pulls, and pushes.
  4. Reply in one line: saved to inbox (<path>). If sync.mjs says "NOT pushed", add that to the reply.

Capture on your own

At the end of a session, capture what would otherwise be lost: a decision and its reason, or a gotcha you ran into. Use --source conversation and write the outcome, not a transcript.

Taste entries

When the user corrects you with a reason, append one line to taste.md in the right section: - <the rule> — because <their reason> (YYYY-MM-DD). Use their words. No reason given? Ask one question ("why?") first. No reason, no entry. Then run node sync.mjs from the brain folder.

Gotchas

  • Don't create notes or edit the index here. Everything goes through inbox/, so nothing skips triage.
  • Don't paste secrets or other people's personal data into the brain, even when the user forwards them. Keep the link, drop the secret.
  • Screenshots: save the image file into inbox/ next to the item and describe what it shows in the item's text.

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.