ingest-reading
Skill2 starsChanged 7 days agoApache-2.0View on GitHub
Ingest an external source (web URL or local file) into the reading-notes corpus at ~/.agent-knowledge/reading/. Use when the user shares an article/paper/talk to "add to learnings/reading", "save this for later", "ingest this url", "distill this into a note", or drops a file to capture. Fetches, distills into a durable vetted note (NOT a raw dump), gets the user's approval interactively, then writes it and registers it in the reading index. Do NOT use for project learnings (those go in references/learnings-*.md via consolidation) or for answering questions.
In this repository16 other files it gives its agents.
- AGENTS.mdAGENTS.md
- adopt-evalSkill
- contract-validationSkill
- create-prSkill
- designSkill
- graphifySkill
- helm-upgradeSkill
- investigate-alertSkill
- k8s-debugSkill
- parallax-reviewSkill
- shiny-engineerSkill
- stakeholder-commsSkill
- stop-slop-codeSkill
- systematic-debuggingSkill
- upstream-triageSkill
- verify-claimsSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 26
If it's paywalled/JS-heavy and fetch is thin, tell the user and ask for a paste/PDF.
- Distinctive: line 32
If it doesn't apply directly, say so — "useful as background" is a valid outcome.
- Distinctive: line 39
Ask them to approve / edit / cut sections / reject.
- Very specific: line 48
Cross-link back (optional, if strong): If the note materially informs a project learning, add a one-line pointer in that learnings-*.md …
- Distinctive: line 57
Never write without the user's approval (step 3).
≈ “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.
Files
Ingest Reading
Turn an external source into a durable, vetted reading note in the shared knowledge base. Model: Karpathy LLM-wiki — compile the source into synthesized knowledge, don't store raw text. The corpus is a separate trust tier from project learnings: external, curated, not yet proven in your stack. Keep dirty/unvetted info out by running the vet step interactively.
Corpus: ~/.agent-knowledge/reading/ · template: reading/_template.md · index: reading/index.md
Steps
- Get the source. URL → fetch (WebFetch, or
gh apifor GitHub). Local file → read it. If it's paywalled/JS-heavy and fetch is thin, tell the user and ask for a paste/PDF. - Distill (do not dump). Produce a candidate note using
reading/_template.md:TL;DR— the one durable idea.Key takeaways— durable points, each usable without re-reading the source.How this applies to us— your platform lens (k8s/istio/argocd/agents/etc.). If it doesn't apply directly, say so — "useful as background" is a valid outcome.- Frontmatter:
title, source_url, author, date_added(today),tags,maturity(external-opinion | established-practice | reference),applies_to,status: draft. - Cross-links: grep
~/.agent-knowledge/references/learnings-*.md(or runknowledge-search.sh <topic>) for related project learnings; list real[[learnings-x]]links.
- Vet interactively (the dirty-info guard). Show the candidate note to the user. Ask them to approve / edit / cut sections / reject. Apply their edits. Do NOT write until they approve. If they reject, stop — nothing is written.
- Write. Slug the title (
kebab-case, dated if useful) → write to~/.agent-knowledge/reading/<slug>.md. Setstatus: vetted. - Register. Append a row to the
## Notestable inreading/index.md(Note link · Source · Tags · Applies to · Maturity). Remove the placeholder row if present. - Cross-link back (optional, if strong). If the note materially informs a project
learning, add a one-line pointer in that
learnings-*.md(e.g. under a relevant entry: "See also reading/<slug>.md"). Keep it sparing — only genuine connections. - Confirm. Tell the user the path written + the takeaways captured. If the reading
corpus is large and search felt slow, remind them the
qmd flipis available (seereading/index.md).
Rules
- Never write without the user's approval (step 3). Never dump raw article text — distill.
- One note per source. If re-ingesting an updated source, update the existing note in place.
- Reading notes are FILES, not bd memories. The hive stays operational; reading is durable prose.
- Notes live only in
~/.agent-knowledge/reading/— do not touchreferences/learnings-*.mdcontent except the optional one-line cross-link in step 6.
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
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.

