agentleFS
Slava-codeSlava-code/college-kb/.claude/skills/kb-write/SKILL.md

kb-write

Skill0 starsChanged 30 days agoMITView on GitHub

Use when the student states a durable fact, correction, or decision ("my advisor is...", "the midterm moved", "I decided to drop DEMO 101"), or asks to create or update a page (course, person, project, decision, career); the read-integrate-commit loop.

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. dimitar-radenkov/Pointframe★ 15same 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.

  • In this repository11 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 1 is distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    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:

    Gate: Read CLAUDE.local.md and confirm hostname matches it.

    line 10
  2. Very specific:

    Orient: Read INDEX.md, GLOSSARY.md, and the target folder's README.md.

    line 11
  3. Very specific:

    Find before creating: Search for the entity by name and aliases (GLOSSARY.md, aliases: frontmatter, grep -ril).

    line 12
  4. Distinctive:

    Re-read the whole target page: before editing.

    line 14
  5. Very specific:

    If this settles an open thread elsewhere, add Resolved YYYY-MM-DD → [[this/page]]: one line there in the same commit.

    line 20
  6. Very specific:

    Frontmatter: Update updated: (today) and description: (≤ 120 characters, a rule-like summary) in the same edit.

    line 22

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

kb-write

AGENTS.md is canonical (§Write); this is only a thin task pointer.

  1. Gate. Read CLAUDE.local.md and confirm hostname matches it; if missing or mismatched, stop and ask. If a remote exists and this is the session's first write, git pull --rebase; on conflict, stop.
  2. Orient. Read INDEX.md, GLOSSARY.md, and the target folder's README.md.
  3. Find before creating. Search for the entity by name and aliases (GLOSSARY.md, aliases: frontmatter, grep -ril). Update the existing page when there is one.
  4. New page only if earned: at least NEW_PAGE_MIN_SENTENCES (see THRESHOLDS.md) meaningful sentences now; otherwise enrich an existing page or capture an inbox drop. Start from the matching template in schema/templates/ (its README.md maps each template to its type:, folder and file name, e.g. course.md, decision.md, person.md, plan.md); the folder→type map is in scripts/kb-schema.json. Read the DEMO page the README names when the template alone is unclear, and never copy DEMO facts.
  5. Re-read the whole target page before editing.
  6. Integrate.
    • Rewrite Compiled Truth to the new current state; append a dated line to Timeline (never edit old Timeline lines).
    • Facts that can rot or be acted on (deadlines, grading weights, office hours, policies, offer terms) get [Source: who/context/YYYY-MM-DD]. Conflicting sources: record both, do not pick one silently.
    • Plans and explorations ("thinking about a minor", "might study abroad") go on their own silo page linked by wikilink; never phrase them as settled facts on entity pages, in GLOSSARY.md, or in description:.
    • Course pages: keep the course's AI-use and collaboration policy current and follow it. Organize the student's notes; do not produce graded work.
    • If this settles an open thread elsewhere, add **Resolved YYYY-MM-DD → [[this/page]]:** one line there in the same commit.
    • New recurring names (a TA, a club, a course nickname): append a GLOSSARY.md entry.
  7. Frontmatter. Update updated: (today) and description: (≤ 120 characters, a rule-like summary) in the same edit. Never edit INDEX.md by hand.
  8. No secrets. Store password-manager pointers only (kb-secrets).
  9. Check. python3 scripts/kb-lint.py and python3 scripts/wikilink-check.py; fix what they report.
  10. Commit by explicit path with <scope>: <verb> <slug> (scopes and verbs in AGENTS.md §Commit format), e.g. school: update demo-101, decisions: add 2099-09-24-choose-a-minor. The pre-commit hook rebuilds and stages INDEX.md. Push only if the student asks or kb.autopush is on.

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.