agentleFS
eliransueliransu/digital-brain/skills/note/SKILL.md

note

Skill1 starsChanged 7 months agoMITView on GitHub

Capture a short, time-bound note in the wiki vault under `wiki/notes/`. Notes carry a kind (`task` or `reminder`) and a due time. They auto-expire 7 days after creation — expired notes never resurface in `/sync` or `/sup`. `/note` writes the note file, updates `wiki/notes/_index.md`, optionally touches `wiki/hot.md` if the due is in the next 24h, wikilinks any `@Person` mentions, and appends to `wiki/log.md`. Triggers on: "/note", "/digital-brain:note", "remind me to …", "note to self". Subcommands: add (default), list, done, clear.

20 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ralplan, ultrawork 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.
  • an8079Skill

    ralplan

    Also in 3 projects that use this

  • zephyrpersonalSkill

    ultrawork

    Obsessive task completion mode (Sisyphus Mode) - activates maximum intensity work with todo continuation enforcement

    Also in 3 projects that use this

  • diego-tobalinaSkill

    build-fix

    Fix build and compilation errors systematically. Run when build fails.

    Also in 3 projects that use this

  • yunseo-kimSkill

    git-master

    MUST USE for ANY git operations. Atomic commits, rebase/squash, cherry-pick, worktree, reflog recovery, and history search (blame, bisect, log -S). STRONGLY RECOMMENDED: Use with task(category='quick', load_skills=['git-master'], ...) to save context. Triggers: 'commit', 'rebase', 'squash', 'cherry-pick', 'worktree', 'reflog', 'who wrote', 'when was X added', 'find the commit that'.

    Also in 3 projects that use this

  • aviz85Skill

    deep-interview

    Conduct deep adaptive interviews to extract and organize knowledge into structured files and folders. Use when user says "interview me about X", "deep interview", "extract my knowledge", "build knowledge base from interview", "ask me questions about X", or wants to systematically capture expertise on any topic through guided questioning.

    Also in 3 projects that use this

  • ElliotJLTSkill

    pipeline

    Orchestration pattern for sequential, dependent tasks. When work must flow through stages where each stage depends on the previous (design → implement → test → review), structure as a pipeline with explicit handoffs. Each stage completes before the next begins.

    Also in 3 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

17 rules. 0 are common, 2 are distinctive, and 15 are very specific to this project.

  • 0

    Common

    Most of the 14 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 15

    Very specific

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

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

    If $ARGUMENTS is empty, show the forms and ask which one.

    line 43
  2. Very specific:

    Kind: If the first tail token (case-insensitive) is task or reminder, consume it and set note_kind.

    line 49
  3. Very specific:

    If nothing specified: default due = today 18:00 (or tomorrow 09:00 if it's already past 18:00).

    line 55
  4. Very specific:

    If a person with that first-name alias or full-name match exists → assignee: "<Full Name>" and wikilink [[Full Name]] in the body.

    line 57
  5. Very specific:

    If not, apply the flywheel rule (see "Cross-Reference Rule" below): file the person first via the ppl skill with best-guess role, then link.

    line 58
  6. Very specific:

    Ensure folder + index exist: Create wiki/notes/ and wiki/notes/_index.md from the template below if missing.

    line 71
  7. Very specific:

    Update _index.md: add a row to the matching section (Active Tasks / Active Reminders).

    line 73
  8. Very specific:

    Hot cache: if due is within the next 24h (compute against now), append a one-liner under ## Active Threads in wiki/hot.md.

    line 75
  9. Very specific:

    Read wiki/notes/_index.md.

    line 92
  10. Very specific:

    Update the note file: status: done, append a ## Closed section with timestamp.

    line 101
  11. Very specific:

    Remove the row from _index.md.

    line 102
  12. Distinctive:

    Run the auto-sweep (the same one every invocation runs).

    line 109
  13. Very specific:

    Don't ever delete a note file — only flip status.

    line 236
  14. Very specific:

    Don't write a note without a due — always default to today 18:00 / tomorrow 09:00.

    line 237
  15. Very specific:

    Don't write to wiki/hot.md unless due is within 24h.

    line 238
  16. Distinctive:

    Don't link to a person who isn't filed — file them first or skip the link.

    line 239
  17. Very specific:

    Don't put expired or done notes in _index.md — the index is the working set only.

    line 240

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

note: Time-Bound Reminders & Tasks in the Vault

Notes are the lightweight, ephemeral cousin of full wiki pages. Use them for "ping Carol about the demo tomorrow", "review red-team PR by Friday", "buy a new charger". They live for 7 days, then auto-expire.

User identity: you@example.com. Vault root: ~/digital-brain/.


Vault Layout

  • Notes folder: wiki/notes/ (create if missing)
  • Notes index: wiki/notes/_index.md (create if missing — table of active notes only)
  • Wiki index: wiki/index.md — has a ## Meta section; add [[notes/_index|Active Notes]] there once
  • Log: wiki/log.md — append a note entry at the TOP after every add/done
  • Hot cache: wiki/hot.md — touch ONLY if the note's due is within 24h

Invocation Forms

FormAction
/note <free-text>add (default kind = reminder)
/note task <free-text>add with note_kind: task
/note reminder <free-text>add with note_kind: reminder (explicit)
/note listshow active (non-expired, open) notes
/note done <id-or-slug>mark a note as done
/note clearmanually sweep expired notes (auto on every invocation)

If $ARGUMENTS is empty, show the forms and ask which one.


Parsing /note [kind] <tail>

  1. Kind. If the first tail token (case-insensitive) is task or reminder, consume it and set note_kind. Otherwise default note_kind: reminder.
  2. Due time (by <when> / tomorrow / today HH:MM / <weekday> / in <N>h|d).
    • by 18:00 or by 6pm → today at that time (or tomorrow if already past)
    • tomorrow [HH:MM] → tomorrow at the given time or 09:00
    • next <weekday> → next occurrence of that weekday at 09:00
    • in 3h / in 2d → relative from now
    • If nothing specified: default due = today 18:00 (or tomorrow 09:00 if it's already past 18:00).
  3. Assignee (@<Person>). Default assignee: me. If @Name appears, resolve via wiki/entities/people/_index.md:
    • If a person with that first-name alias or full-name match exists → assignee: "<Full Name>" and wikilink [[Full Name]] in the body.
    • If not, apply the flywheel rule (see "Cross-Reference Rule" below): file the person first via the ppl skill with best-guess role, then link.
  4. Title. The remaining text after stripping kind / by … / @Name is the title. Trim to ≤ 80 chars; full text stays in the body.

add Workflow

  1. Auto-sweep expired first (see "Expiration" below). Cheap — one glob over wiki/notes/*.md.
  2. Resolve fields per parsing above. Compute:
    • created = now (ISO YYYY-MM-DD HH:MM, local time)
    • expires = created date + 7 days (date only, YYYY-MM-DD)
    • slug = lowercase title, non-alphanum → -, trimmed to 40 chars
    • note_id = <YYYY-MM-DD>-<HHMM>-<slug>
  3. Ensure folder + index exist. Create wiki/notes/ and wiki/notes/_index.md from the template below if missing.
  4. Write wiki/notes/<note_id>.md from the Note Page Template.
  5. Update _index.md: add a row to the matching section (Active Tasks / Active Reminders). Notes with status: expired or done are NEVER in _index.md — the index is the working set.
  6. Update wiki/index.md once: under ## Meta, ensure a bullet - [[notes/_index|Active Notes]] - active tasks and reminders (7-day TTL) exists. If already present, skip.
  7. Hot cache: if due is within the next 24h (compute against now), append a one-liner under ## Active Threads in wiki/hot.md. Format: - ⏰ <due time> — <title> — [[notes/<note_id>]].
  8. Log: append at the TOP of wiki/log.md (under the header):
    ## [YYYY-MM-DD HH:MM] note add | <note_id>
    - Kind: <task|reminder>
    - Due: <YYYY-MM-DD HH:MM>
    - Expires: <YYYY-MM-DD>
    - Assignee: <name>
    - Location: wiki/notes/<note_id>.md
  9. Confirm: print Filed <kind> [[notes/<note_id>]] — due <due>, expires <expires>.

list Workflow

  1. Auto-sweep expired.
  2. Read wiki/notes/_index.md. Render the two tables (Active Tasks, Active Reminders).
  3. Sort each table by due ascending. Mark rows with due ≤ now + 4h as 🔥.
  4. Print total count + earliest due.

done <id-or-slug> Workflow

  1. Match against filenames in wiki/notes/ and slug portions. If ambiguous, list candidates and ask.
  2. Update the note file: status: done, append a ## Closed section with timestamp.
  3. Remove the row from _index.md.
  4. Log: ## [YYYY-MM-DD HH:MM] note done | <note_id>.

clear Workflow

  1. Run the auto-sweep (the same one every invocation runs). It's safe to run explicitly.
  2. Print how many notes were flipped to expired and which.

Expiration (the 7-day rule)

Every invocation of /note, /sync, and /sup runs this sweep BEFORE doing anything else:

for each wiki/notes/*.md where status == "open":
    if today > expires:
        set status: expired
        bump updated to today
        remove the row from _index.md
        (do NOT delete the file — keep for history)

Expired notes are invisible to /sync and /sup. They stay on disk for retrospection but never resurface in dashboards. If the user wants something back after 7 days, they re-create it — that's the design.

The sweep is idempotent and cheap; never skip it.


Templates

Note Page Template

---
type: note
note_kind: <task|reminder>
title: "<title>"
created: <YYYY-MM-DD HH:MM>
due: <YYYY-MM-DD HH:MM>
expires: <YYYY-MM-DD>
status: open
assignee: "<Full Name or me>"
linear: ""
tags:
  - note
  - <note_kind>
related:
  - "[[notes/_index|Active Notes]]"
---

# <title>

<full free-text body from the /note input, with any [[Person]] wikilinks resolved>

## Source

- /note invocation at <YYYY-MM-DD HH:MM>

_index.md Template

---
type: meta
title: "Active Notes"
updated: <YYYY-MM-DD>
tags: [meta, index, notes]
status: evergreen
related:
  - "[[index]]"
  - "[[hot]]"
---

# Active Notes

7-day TTL. Expired notes drop off this index automatically; they remain on disk under `wiki/notes/` for history.

Add via `/note <text>` or `/note task <text>`. Mark done via `/note done <id>`.

---

## Active Tasks

| ID  | Title | Assignee | Due | Linear |
| --- | ----- | -------- | --- | ------ |

## Active Reminders

| ID  | Title | Due |
| --- | ----- | --- |

Cross-Reference Rule

If the input mentions a person (either as @Name or in free text matching an existing alias in wiki/entities/people/_index.md), wikilink them in the note body. If the name doesn't resolve, apply the flywheel: file them via ppl with best-guess role and a > [!todo] Confirm role callout, THEN link. Never emit a phantom [[Name]] to a non-existent page.


Examples

/note review red-team PR by friday @Alice

  • kind: reminder (default)
  • due: next Friday 09:00
  • assignee: Alice Smith (resolved from alias Alice)
  • title: review red-team PR
  • file: wiki/notes/2026-05-13-1430-review-red-team-pr.md
  • hot.md: not touched (Friday > 24h away from a Wednesday)

/note task ship BigCustomer retro by tomorrow 12:00

  • kind: task
  • due: 2026-05-14 12:00
  • assignee: me
  • file: wiki/notes/2026-05-13-1430-ship-bigcustomer-retro.md
  • hot.md: touched (due within 24h)

/note list

  • Renders the two tables from _index.md, sorted by due, 🔥 on anything due in next 4h.

/note done 2026-05-13-1430-review-red-team-pr

  • Sets status: done. Drops row from _index.md. Logs.

Don'ts

  • Don't ever delete a note file — only flip status. History matters.
  • Don't write a note without a due — always default to today 18:00 / tomorrow 09:00.
  • Don't write to wiki/hot.md unless due is within 24h.
  • Don't link to a person who isn't filed — file them first or skip the link.
  • Don't put expired or done notes in _index.md — the index is the working set only.

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.