repo-index skillA
repo-index is agent-read markdown (skill) from wangchangxin0809/cc-repo-harness: Query the repository's own graph before grepping: which modules, files and documents a symbol, an import or a Governs edge touches, and what a change would reach. Use when a question spans directories, when asked what depends on something, when grep returns hundreds of hits or none, or when someone asks for RAG, semantic search or a code index for their codebase..
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
# One graph, two tiers Governs: shared/scripts/index/ Retrieval fails in repositories for a specific reason: the useful unit is not a paragraph, it is a symbol and its neighbourhood. A chunk-and-embed pipeline returns files that talk *about* authentication; what the task needs is the four functions that would break. So: **one graph, built from source, queried two ways.** Not a stack of retrievers — an extra retriever whose results have to be merged is a second ranking problem on top of the one you had. ## The graph Nodes are `file:<path>`, `sym:<path>:<name>`, and `doc:<path>`. Edges: | Edge | From | Weight | |---|---|---| | defines | file → symbol | tree-sitter tags | | references | file → symbol | tree-sitter tags, split across definers | | imports | file → file | resolved import statements | | calls | symbol → symbol | call sites inside a definition's span | | governs | doc → path | a `Governs: src/billing/` line in the doc's head | | supersedes | doc → doc | `Supersedes: 0004` | **A symbol node is keyed by the file that defines it.** Keying by bare name merges every definition sharing it, and the merged node then dominates the …
Read the whole file at its exact version.
How to install
mdr add wangchangxin0809/cc-repo-harness/repo-index@git:20260903.c1a383cmdr add wangchangxin0809/cc-repo-harness/repo-index@sha256:4534fd72dca6c166Pin 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_6z2bjwctglaw63rm)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260903.c1a383c latest | 2026-09-03 | c1a383c | 10,747 B | A | view · diff |
| git:20260902.9da3ed4 | 2026-09-02 | 9da3ed4 | 10,882 B | A | view · diff |
| git:20260902.2d6b510 | 2026-09-02 | 2d6b510 | 10,896 B | A | view · diff |
| git:20260831.21be719 | 2026-08-31 | 21be719 | 10,864 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 (10747 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
wangchangxin0809/cc-repo-harness · 5 stars · license MIT · pushed 2026-09-23 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_6z2bjwctglaw63rm GET https://markdownregistry.com/api/v1/resolve?ref=wangchangxin0809/cc-repo-harness/repo-index GET https://markdownregistry.com/api/v1/blob/4534fd72dca6c16662019db93ab389b580dbabd3e68f40ba4293a4434b920634
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.