read-for-comments
Skill1 starsChanged 3 days agoBSD-3-ClauseView on GitHub
Mandatory local standards library and archive. Before fetching any standard from the internet, the agent MUST check the Serena `standard/` archive and this skill's `references/` seed; after ANY standard-body download, the agent MUST archive it per the event-bound Archival Rule. Governs standard lookup, fetch, archival, and the family and full-body rules.
In this repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- api-designSkill
- bootstrapSkill
- dash-protocolSkill
- discuss-firstSkill
- entity-protocolSkill
- existence-bibleSkill
- frontmatter-protocolSkill
- kagi-searchSkill
- mandatory-toolsSkill
- markdown-protocolSkill
- ondemandSkill
- preflight-checklistSkill
- python-langSkill
- serena-protocolSkill
- subagents-protocolSkill
- todo-protocolSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Before ANY internet search for a standard, in this exact order:
- Very specific: line 52
Verify the header: ONLY via the canonical frontmatter extraction (frontmatter-protocol §6, Form 1) — never head/tail.
- Very specific: line 53
Run just serena-checkpoint from the workspace root.
- Distinctive: line 55
Retro-archival (HARD): if you discover a standard that was fetched but never archived, archive it immediately on discovery and report the …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
SKILL: Local Standards Library & Archive
This skill owns standard lookup and archival. Two stores with distinct roles:
- Archive (searched FIRST): Serena memories at
standard/<family>/<family>_<id>.md— every standard ever fetched for this project. The fetch-once archive. - Seed (searched SECOND): this skill's
references/directory — a tiny curated set of frequently needed standards, hand-filled by the user, traveling with the skill mirror.
1. Lookup Gate (HARD)
Before ANY internet search for a standard, in this exact order:
- Check the archive:
list_memorieswith topicstandard(or a path probe forstandard/<family>/<family>_<id>.md). On a hit, read that memory. - Check the seed:
fd -t f . references/. On a hit, read that file. - Only when BOTH miss: go to the web per
kagi-search.
You MUST NOT fetch a standard from the internet that already exists in either store.
Current seed inventory:
| Standard | File |
| RFC 2119 — Key words for requirement levels | references/rfc2119.md |
| RFC 8174 — Ambiguity of uppercase vs lowercase in RFC 2119 | references/rfc8174.md |
2. Fetch Rules
- Content needed in context (answer, quote, procedure): use
kagi_extractorkagi_summarizerper thekagi-searchskill. - Archival download (the body must be stored): use a raw downloader (
curl,wget, or FreeBSDfetch) into a scratch path — the body NEVER passes through the agent's context. Raw fetch for the exact bytes of a standard is the sanctioned exception ofkagi-search§1.1.
3. Archival Rule (HARD, event-bound)
Trigger: ANY download of a standard body from the web, no matter why it was fetched. Archival MUST complete BEFORE the content is used in the answer. No importance judgement: every fetched standard body is archived.
Pipeline (the bulk-import carve-out of serena-protocol [ref: #serena-memory-mutation]):
- Download into
.tmp/standards/<family>-<id>.mdwith a raw downloader. mvinto.serena/memories/standard/<family>/<family>_<id>.md.- Subagent attestation: a subagent receives the file path and the URL, then validates and confirms — this IS a standard; the file is complete (beginning and end present); no HTML or other garbage — gives a two-word description of the document, and drafts the frontmatter (~10 lines of YAML:
title, the tracking fields,source: <URL>,family: <family>). On attestation failure (not a standard, broken file, garbage inside): delete the moved file, report to the user, and STOP. If no subagent is available, the main agent attests persubagents-protocol§12 and states the limitation. - Stamp the header:
edit_memorywithmode: "regex",needle: "\A",repl: "<frontmatter>\n\n# <Title>\n\n". The synthetic H1 (matchingtitle) is the boundary — the raw body below it stays UNTOUCHED. One-H1 waiver: archive entries are exempt from the one-H1 rule — the synthetic H1 is the only document-level heading; inner headings of the raw body are archive content, not document structure. - Verify the header ONLY via the canonical frontmatter extraction (
frontmatter-protocol§6, Form 1) — neverhead/tail. - Run
just serena-checkpointfrom the workspace root.
Retro-archival (HARD): if you discover a standard that was fetched but never archived, archive it immediately on discovery and report the skip to the user.
4. What Counts as a Standard
A versioned technical text issued by an authoritative body with a stable URL. Families (the <family> path segment): rfc (IETF RFC), std (IETF STD), bcp (IETF BCP), ietf (IETF Internet-Draft — note draft status on use), pep (Python PEP), aip (Google AIP), owasp (OWASP cheat sheets, ASVS, API Top 10), w3c (W3C REC), whatwg (WHATWG living standards), zmpc (ZeroMQ RFC), cwe (MITRE CWE entries), gep (Google eng-practices), wicg (WICG Community Group reports — NOT W3C TR; status must be noted on use).
Fetch URL Registry
The canonical fetch URL pattern for every registered family. When archiving a standard (§3), fetch from THESE URLs; do not invent mirrors or alternate hosts.
| Family | Authority | Fetch URL pattern |
rfc | IETF RFC Editor | https://www.rfc-editor.org/rfc/rfc<N>.txt |
std | IETF RFC Editor | https://www.rfc-editor.org/std/std<N>.txt (meta-document over constituent RFCs) |
bcp | IETF RFC Editor | https://www.rfc-editor.org/bcp/bcp<N>.txt (meta-document over constituent RFCs) |
ietf | IETF | https://www.ietf.org/archive/id/draft-<ID>.txt (Internet-Draft; <ID> is the full draft name including version, e.g. ietf-httpbis-priority-00) |
pep | Python (PSF) | https://peps.python.org/pep-<NNNN>/ |
aip | https://google.aip.dev/<N> | |
owasp | OWASP Foundation | cheat sheets: https://cheatsheetseries.owasp.org/cheatsheets/<Name>.html; API Top 10: https://owasp.org/API-Security/editions/2023/en/0x11-t10/; ASVS: https://owasp.org/www-project-application-security-verification-standard/ |
w3c | W3C | https://www.w3.org/TR/<shortname>/ |
whatwg | WHATWG | https://<spec>.spec.whatwg.org/ (e.g. html, url, fetch) |
zmpc | ZeroMQ community | https://rfc.zeromq.org/spec/<N>/ |
cwe | MITRE | https://cwe.mitre.org/data/definitions/<N>.html |
gep | Google eng-practices | https://google.github.io/eng-practices/<path> (e.g. review/reviewer/standard.html) |
wicg | W3C WICG (Community Group) | https://<group>.github.io/<spec>/ (e.g. wicg.github.io/scroll-to-text-fragment/) |
- Full body only: an archive entry is the complete standard text (raw download or
kagi_extract).kagi_summarizeroutput is a derivative and is NEVER archived. If a summary sufficed for the answer but the document is a standard, fetch the full body for the archive anyway. - Not standards: blogs, tutorials, vendor documentation (e.g. Temporal docs), marketing pages — never archived here.
- New families are owned by THIS skill (families are path segments inside the registered
standard/scope, not scopes themselves — no registry amendment is needed). Propose a new family to the user before first use and extend the list here on approval.
5. Violation Protocol
If you fetch a standard from the web without checking both stores, use a fetched standard without archiving it, archive a summary or a non-standard, or edit the raw body of an archive entry, halt immediately, discard the offending step, perform the correct lookup/archival per §1/§3, and record the violation in bugs/project/read_for_comments_bypass or notes/agent/read_for_comments_bypass.
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.

