context-router skillA
context-router is agent-read markdown (skill) from llopresto87/cypress: Resolve the minimum set of knowledge-graph nodes needed for a task before reading any source file. Use at the START of every non-trivial task once a project has a knowledge graph — when changing a subsystem, tracing a bug, planning work, answering a question about how something works, or onboarding. This is the mechanism that keeps a large or multi-repo codebase inside a context window: it decides what to load, what to deliberately skip, and forces the agent to declare both before working. Pairs.
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# context-router A large codebase does not fit in a context window, and loading all of it makes an agent worse, not better — a model that has read everything has no signal about what matters. This skill replaces "read around until it feels familiar" with a traversal that terminates and that you can defend. This skill owns the knowledge rule — the graph is the source of truth for *structure and capability*, loaded minimally — and the traversal algorithm that makes the rule executable. ## The knowledge rule The project keeps **one LLM-maintained knowledge system** at `docs/graph/`: Tier 1 routes, Tier 2 nodes own concise facts, Tier 3 leaf collections hold source-backed depth (libraries, provenance, product, architecture, APIs, data, prompts, evaluations, plans, runbooks, specs, decisions, tools). Never parallel doc systems. - **Load minimally, and declare it.** Resolve the minimal node set from the router — entry nodes, their `requires:` closure, and only the composed depth the task names specifically — and declare what you loaded and deliberately skipped. Never bulk-read to get oriented; the graph is the orientation. The boundary you chose not to cross is …
Read the whole file at its exact version.
How to install
mdr add llopresto87/cypress/context-router@git:20260923.837b1a5mdr add llopresto87/cypress/context-router@sha256:7b45abe588fecc82Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_ek6wbbsc6q5pwyil)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260923.837b1a5 latest | 2026-09-23 | 837b1a5 | 15,863 B | A | view · diff |
| git:20260915.df30567 | 2026-09-15 | df30567 | 14,375 B | A | view · diff |
| git:20260909.e9c1896 | 2026-09-09 | e9c1896 | 14,175 B | A | view · diff |
| git:20260906.53f845a | 2026-09-06 | 53f845a | 12,578 B | A | view · diff |
| git:20260901.c8706d7 | 2026-09-01 | c8706d7 | 11,569 B | A | view · diff |
| git:20260831.6dde434 | 2026-08-31 | 6dde434 | 11,449 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (15863 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
llopresto87/cypress · 43 stars · license MIT · pushed 2026-09-24 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ek6wbbsc6q5pwyil GET https://markdownregistry.com/api/v1/resolve?ref=llopresto87/cypress/context-router GET https://markdownregistry.com/api/v1/blob/7b45abe588fecc8205c8a4125904985b1eeeaba6bc12d15af5e64b0a22a13c5f
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.