agentleFS
WaytoAICWaytoAIC/personal-knowledge-base/SKILL.md

personal-knowledge-base

Skill0 starsChanged 2 months agoMITView on GitHub

Use when building or maintaining a personal knowledge base.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. zhou-dingkun/personal-knowledge-base-skill★ 0same name

    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.

The file

Show its rules and text

We split this skill into the rules it gives an agent

36 rules. About 0 are common, 32 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈32

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    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:

    Use this skill when the user asks to:

    line 30
  2. Distinctive:

    create an Obsidian system centered on judgments and decisions.

    line 33
  3. Distinctive:

    run weekly distillation or monthly consolidation.

    line 35
  4. Distinctive:

    create a sanitized starter kit for sharing.

    line 38
  5. Distinctive:

    Do not use it for a generic one-off summary that the user does not want retained, or for company-wide knowledge management when a dedicated …

    line 40
  6. Distinctive:

    Do not copy another person's topic system.

    line 56
  7. Very specific:

    Create AGENTS.md or SYSTEM.md defining:

    line 60
  8. Distinctive:

    Every important judgment has conditions and boundaries.

    line 76
  9. Distinctive:

    Do not automate before one manual loop has produced value.

    line 118
  10. Very specific:

    Use the ready templates in templates/note-templates.md.

    line 157
  11. Distinctive:

    never commit credentials, tokens, cookies or unredacted secrets.

    line 196
  12. Distinctive:

    keep private knowledge private.

    line 197
  13. Distinctive:

    create a public starter kit from scratch rather than deleting private files from a copy.

    line 198
  14. Very specific:

    Run templates/initialization-checklist.md before declaring completion.

    line 213
  15. Distinctive:

    Check for conflicting writes.

    line 238
  16. Distinctive:

    Search URL, title, entities and candidate judgment.

    line 239
  17. Distinctive:

    Read-only research may run in parallel.

    line 241
  18. Distinctive:

    Never claim completeness for paywalls, private conversations, login walls, dynamic shells or truncated output.

    line 246
  19. Distinctive:

    Do not promote sentences merely because they sound wise.

    line 278
  20. Distinctive:

    Keep user effort low. The user only saves links, flashes of insight, failures, surprises, screenshots and natural-language judgments.

    line 290
  21. Distinctive:

    Read recent inputs, source notes and candidate pools.

    line 296
  22. Distinctive:

    Ask: What failed? Which judgment did reality contradict?

    line 300
  23. Distinctive:

    Write approved cards and update maps.

    line 303
  24. Distinctive:

    Remove noise from maps without deleting historical evidence.

    line 316
  25. Distinctive:

    update related cards and ledger.

    line 345
  26. Distinctive:

    When the user edits an AI draft or rejects advice:

    line 351
  27. Distinctive:

    Do not universalize one-off wording changes.

    line 357
  28. Distinctive:

    Before important planning, writing, product, hiring or operational decisions:

    line 361
  29. Distinctive:

    Search by application, not only topic.

    line 363
  30. Distinctive:

    Check status and applicability.

    line 365
  31. Distinctive:

    Keep human ownership over importance, final position, value conflicts, sensitive boundaries and causal attribution.

    line 380
  32. Very specific:

    Run templates/maintenance-checklist.md for each action.

    line 384
  33. Distinctive:

    Do not optimize note count.

    line 386
  34. Distinctive:

    Use when asked to build or initialize a personal cognitive knowledge base.

    line 408
  35. Distinctive:

    Use for ingestion, weekly distillation, monthly diagnosis, prediction review, failure-to-decision conversion and system repair.

    line 412
  36. Distinctive:

    Create a sanitized starter kit from scratch containing methodology, empty templates, public/synthetic example, initialization guide, …

    line 416

≈ “Common” is an estimate: at least 1 in 5 of the 383,637 skill files we read have a rule of the same kind, not the same words. “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

Personal Cognitive Knowledge Base

Build and maintain a decision-oriented personal knowledge system:

Evidence → Understanding → Judgment → Decision → Outcome → Revision

This skill has two parts:

  1. Initialization — create the architecture, rules, templates and first closed loop.
  2. Maintenance — ingest, distill, consolidate, review predictions and reuse knowledge in real decisions.

The default artifact is a Markdown/Obsidian vault, but the model is tool-independent.

When to Use

Use this skill when the user asks to:

  • initialize or design a personal knowledge/cognition vault;
  • create an Obsidian system centered on judgments and decisions;
  • ingest material into such a system;
  • run weekly distillation or monthly consolidation;
  • register or review predictions;
  • convert failures into reusable decision rules;
  • create a sanitized starter kit for sharing.

Do not use it for a generic one-off summary that the user does not want retained, or for company-wide knowledge management when a dedicated organizational workflow exists.


Part I — Initialization

1. Define the purpose before folders

Identify 3–6 long-term areas where the user repeatedly makes decisions. Ask or infer:

  • Which responsibilities will remain important for 1–3 years?
  • Which decisions recur?
  • Which mistakes are expensive to repeat?
  • Which subjects support work, writing, products or management?
  • Which predictions should be reviewed later?

Do not copy another person's topic system. If unclear, start minimally with Work, Learning, Creation and Life Decisions.

2. Establish the operating contract

Create AGENTS.md or SYSTEM.md defining:

  • the vault's purpose and authority;
  • evidence, interpretation, judgment and decision boundaries;
  • archive immutability or append-only rules;
  • sensitive-information policy;
  • AI labeling requirements;
  • versioning and backup discipline;
  • how falsified and obsolete knowledge is retained;
  • who may write and how concurrent writers avoid conflict.

Default principles:

  1. Separate evidence from interpretation.
  2. Preserve source traceability.
  3. One card expresses one judgment.
  4. Every important judgment has conditions and boundaries.
  5. Knowledge names its intended application.
  6. Wrong knowledge is marked, explained and retained.
  7. Predictions have review dates and observable criteria.
  8. AI proposes; the human owns final value judgments.
  9. Private material is private by default.
  10. The system exists to improve action, not note count.

3. Create the structure

Recommended full structure:

Personal-Knowledge-Base/
├── AGENTS.md
├── README.md
├── Prediction-Ledger.md
├── Visual-Asset-Index.md
├── Archives/YYYY/YYYY-MM-DD-title/
│   ├── index.md
│   ├── provenance.json
│   └── assets/ (media plus a visual-index note)
├── Topics/
│   └── 01-Topic/
│       ├── _Map.md
│       ├── Sources/
│       └── Cards/
├── Templates/
└── Scripts/

Minimal version:

Inbox/
Sources/
Cognitive-Cards/
Decision-Cards/
Prediction-Ledger.md
Weekly-Review.md

Do not automate before one manual loop has produced value.

4. Implement five layers

Evidence layer

Preserve complete obtainable originals, source URL, author, date, media, capture limitations and provenance. Important archives are append-only. A screenshot without an original URL is labeled as a user supplement, not as a verified original publication.

Source-note layer

A source note distinguishes:

  • source facts;
  • author's claims;
  • unverified claims;
  • user's existing judgment;
  • AI synthesis;
  • incremental evidence relative to existing notes.

Cognitive-card layer

Captures how the world works. The first sentence is the conclusion. Include evidence, applicability, counterexamples, boundaries, source and application tags.

Decision-card layer

Captures what to do:

When [situation] → [judgment/action].

Include triggers, procedure, stopping conditions, exceptions and result history.

Prediction layer

A valid prediction contains the claim, date, review date, confirmation signals, disconfirmation signals, uncertainty and eventual causal review. A prediction without review is only an opinion.

5. Create four templates

Use the ready templates in templates/note-templates.md. Required types:

  • source note;
  • cognitive card;
  • decision card;
  • prediction card.

Recommended status values:

active
falsified
obsolete
confirmed
not-confirmed

Topic tags answer “what is this about?” Application tags answer “where does this help me act?” Keep both vocabularies controlled.

6. Add maps and retrieval

Each topic gets a _Map.md containing:

  • core judgments;
  • decision cards;
  • key sources;
  • cross-topic links;
  • pending candidates;
  • gaps and open questions.

Maps are retrieval and review interfaces, not exhaustive file lists.

7. Add safety and version control

For local Markdown, Git is recommended:

  • inspect repository state before writing;
  • one maintenance action equals one commit;
  • stage only current-action paths;
  • never commit credentials, tokens, cookies or unredacted secrets;
  • keep private knowledge private;
  • create a public starter kit from scratch rather than deleting private files from a copy.

8. Complete the first closed loop

Initialization is complete only after:

  1. archiving one real public source;
  2. writing one source note;
  3. creating one cognitive card;
  4. converting one past failure into a decision card;
  5. registering one reviewable prediction;
  6. updating maps;
  7. using one card in a real decision;
  8. recording the result.

Run templates/initialization-checklist.md before declaring completion.


Part II — Ongoing Maintenance

1. Continuous ingestion

Trigger: URL, article, screenshot, video, document, meeting note, personal judgment, or “save/ingest this.”

Precheck
→ De-duplicate
→ Capture evidence
→ Classify source roles
→ Write source note
→ Identify incremental knowledge
→ Propose/create cards
→ Update maps/indexes
→ Verify
→ Version

Precheck

  • Check for conflicting writes.
  • Search URL, title, entities and candidate judgment.
  • Determine whether the new message corrects, replaces, appends to or reprioritizes an existing task.
  • Read-only research may run in parallel; formal writes remain serialized.
  • Repeated ingestion requests append unless explicitly cancelled or replaced.

Capture boundary

Never claim completeness for paywalls, private conversations, login walls, dynamic shells or truncated output. Escalate:

static extraction
→ browser DOM
→ page/network JSON
→ full-page screenshot
→ authoritative alternative
→ explicit incomplete note

Source-role classification

Label original source, official statement, media report, secondary summary, anonymous-source report, author opinion, public comment, user supplement, user judgment and AI inference.

Same-source screenshots are not independent corroboration. A user's paraphrase and its screenshot are not two sources.

Source note

Include one-line conclusion, evidence, user's implications, relation to existing knowledge, real verbatim excerpts, candidate cards and unresolved boundaries. Preserve the user's original wording before refinement.

Card promotion

Promote or propose a card when it:

  • changes a real decision;
  • repeats across independent cases;
  • explains a costly success or failure;
  • captures a reusable constraint;
  • is an explicitly confirmed user judgment;
  • is a reviewable prediction.

Do not promote sentences merely because they sound wise. If automatic promotion is not authorized, leave them in the weekly candidate pool.

Media indexing

For every local image, video or attachment record file, type, subject, reusable scenario, tags, description, evidence basis and role. Verify:

local media count = visual index entry count

2. Daily capture

Keep user effort low. The user only saves links, flashes of insight, failures, surprises, screenshots and natural-language judgments. Classification and candidate detection belong to the agent, not the user.

3. Weekly distillation

Recommended: 20–30 minutes weekly.

  1. Read recent inputs, source notes and candidate pools.
  2. De-duplicate before suggesting ingestion or cards.
  3. Propose 3–5 candidate cards.
  4. Include cognitive and decision cards.
  5. Ask: What failed? Which judgment did reality contradict? Was there a new prediction?
  6. Prioritize failures and corrections.
  7. Human approves, rejects, merges or rewrites.
  8. Write approved cards and update maps.
  9. Version the weekly action.

Fewer strong cards are better than many generic cards.

4. Monthly consolidation and gap diagnosis

Consolidate

  • Detect duplicate and near-duplicate cards.
  • Choose a canonical card.
  • Mark old cards obsolete and point to the canonical card.
  • Repair links and stale boundaries.
  • Remove noise from maps without deleting historical evidence.

Diagnose gaps

Ask:

  • Which recurring decisions lack decision cards?
  • Which topics have many sources but few judgments?
  • Which cards have never been used?
  • Which failures keep recurring?
  • Which important responsibility is underrepresented?
  • Is a new topic justified by sustained work rather than curiosity?

Output:

Gap → Why it matters → Recurrence evidence
→ Smallest next collection/experiment → Acceptance condition

Review predictions

For every due prediction:

  1. gather observable evidence;
  2. decide confirmed, not confirmed, unresolved or extended;
  3. append the outcome without rewriting the original;
  4. explain why it succeeded or failed;
  5. identify missing variables;
  6. update related cards and ledger.

Optimize causal learning, not prediction hit rate.

5. Reverse distillation from corrections

When the user edits an AI draft or rejects advice:

  1. Compare draft and final.
  2. Classify the difference as worldview, decision rule, writing preference, domain constraint or one-off choice.
  3. Store stable general lessons as cards.
  4. Store recurring collaboration preferences in the relevant agent skill or memory.
  5. Do not universalize one-off wording changes.

6. Use during real work

Before important planning, writing, product, hiring or operational decisions:

  1. Search by application, not only topic.
  2. Retrieve decision cards, failed cases and predictions.
  3. Check status and applicability.
  4. Identify changed conditions.
  5. Record which cards influenced the decision.
  6. Append outcome evidence later.

A knowledge base never queried during action is an archive, not a cognitive system.

7. Sharing and privacy

Share schemas, workflows and public/synthetic examples—not private cognition. Build a clean public starter kit from scratch. Scan for credentials, personal paths, private links, names, contact details, project identifiers, media metadata and Git history.

8. Automation boundary

Automate capture, metadata, hashing, media localization, duplicate detection, link validation, visual coverage, candidate extraction, reminders and scoped versioning.

Keep human ownership over importance, final position, value conflicts, sensitive boundaries and causal attribution.

9. Verification and metrics

Run templates/maintenance-checklist.md for each action.

Do not optimize note count. Track:

  • real decisions reusing cards;
  • repeated mistakes prevented;
  • judgments revised by evidence;
  • predictions reviewed on time;
  • source notes producing actionable cards;
  • cards with boundaries and counterexamples;
  • old unused cards;
  • recurring decisions lacking cards;
  • weekly maintenance time.

Ultimate metric:

Did the system improve a real judgment or action?


Execution Modes

Initialize

Use when asked to build or initialize a personal cognitive knowledge base. Produce and verify the actual vault if the user asks for implementation; do not stop at a plan.

Maintain

Use for ingestion, weekly distillation, monthly diagnosis, prediction review, failure-to-decision conversion and system repair. Report changed artifacts, evidence boundaries and verification.

Share

Create a sanitized starter kit from scratch containing methodology, empty templates, public/synthetic example, initialization guide, maintenance guide and privacy checklist. Never publish the private vault by subtracting files from it.

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.