Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add agents/theagenticguy/opencodehub/doc-cross-repo-contracts-matrixgit clone --depth 1 https://github.com/theagenticguy/opencodehubWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/theagenticguy/opencodehub/doc-cross-repo-contracts-matrix)<a href="https://agentmods.dev/agents/theagenticguy/opencodehub/doc-cross-repo-contracts-matrix"><img src="https://agentmods.dev/badge/agents/theagenticguy/opencodehub/doc-cross-repo-contracts-matrix.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01759 |
| Opus 5 | $0.00000 | $0.00879 |
| Sonnet 5 | $0.00000 | $0.00352 |
| Haiku 4.5 | $0.00000 | $0.00176 |
Grade A, and why
doc-cross-repo-contracts-matrix scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Packet · {{ group }} · cross-repo/contracts-matrix.md
Group mode only. This packet runs when the skill orchestrator is invoked with
--group {{ group }}. In single-repo mode it is never seeded.
1. Objective
Produce {{ group_docs_root }}/cross-repo/contracts-matrix.md: the N×N producer/consumer matrix for the {{ group }} group (rows = producers, columns = consumers, cells = contract counts), followed by a ## Notable contracts H2 listing the top 10 contracts with both-ends repo:path:LOC citations.
2. Scope
- Create:
{{ group_docs_root }}/cross-repo/contracts-matrix.md - Do not touch: any other file under
{{ group_docs_root }}/, any file under a member repo (including{{ member_repos }}/),{{ group_context_path }},{{ group_prefetch_path }}, or any.packets/*.mdother than this one.
3. Input specification
| Source | Read how | Cache state |
|---|---|---|
| Group shared context | Read {{ group_context_path }} |
always first |
| Group prefetch ledger | Read {{ group_prefetch_path }} |
always first |
| Member list + freshness | {{ group_context_path }} § Members / {{ group_prefetch_path }} § group_list,group_status |
cached |
| Group contracts (the spine) | {{ group_prefetch_path }} § group_contracts |
cached |
| Per-member route inventory | {{ group_prefetch_path }} § route_map(<repo>) per {{ member_repos }} |
cached |
| Concept → symbol disambiguation | mcp__codehub__group_query({group: "{{ group }}", text: <concept>}) |
mid-run, on demand |
4. Process
Read {{ group_context_path }}andRead {{ group_prefetch_path }}. Confirm the member list and re-verify every member is taggedfreshin the cachedgroup_statusdigest. Abort to Work log if any member is stale.- Pull the contract list from
{{ group_prefetch_path }} § group_contracts. Each row has{producer_repo, consumer_repo, path, method, shape}. This is the spine of the entire artifact. - Build the producer/consumer matrix: rows = producer repos (in
group_listorder), columns = consumer repos (same order). Each cell = the contract count for that(producer, consumer)pair. Diagonal cells show—. Render as a Markdown table. - Select the top 10 contracts by consumer count (ties broken by producer path lexicographically). For each, resolve both ends to real files via the cached
route_mapdigests — producer file comes fromroute_map(<producer>), consumer file from thegroup_contractsrow'sconsumer_repo+path. Cite both withrepo:path:LOC. - Draft the
## Notable contractsH2: a bullet list of the 10 entries in the form`<producer-repo>:<producer-path>:<LOC>` ← consumed by `<consumer-repo>:<consumer-path>:<LOC>` (method + shape summary). - If the matrix has zero non-diagonal contracts, still emit the full N×N matrix (all
0/—cells), add a> No inter-repo contracts detected — the group graph does not currently encode cross-repo edgesbanner immediately beneath the H1, and replace## Notable contractswith## Notable contracts\n\n_None detected._. Write {{ group_docs_root }}/cross-repo/contracts-matrix.mdwith H1 ={{ group }} · Contracts matrix.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago First seen · 105 lines · 0 tokens per session scan A 8a1009fad36f
doc-cross-repo-contracts-matrix is an agent published in the GitHub repository theagenticguy/opencodehub (3 stars, last pushed 24d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,759 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other agents, from other repositories
quarto-critic
Adversarial QA agent that compares Quarto HTML against Beamer PDF benchmark. Produces harsh, actionable criticism. Does NOT edit files — read-only analysis only.
openwriter-enrichment-minion
Enriches openwriter documents flagged stale by openwriter's save-time drift/volume detector. Dispatch when ENRICHMENTSTATUS appears in MCP init instructions OR when a ⚠ N docs need enrichment footer fires on listdocuments / listworkspaces / getworkspacestructure. Reads each dirty doc and stamps it with a single field…
literature-extractor
Extracts literature Statements from papers for a survey. Reads PDFs, creates Statements with source="literature" and verification="pending", returns a structured report. Never registers theme tags, never creates Warrants or Claims.
chronology-builder
Isolated worker that reads case documents iteratively and extracts sourced timeline events (date, neutral fact, mandatory document+locus provenance, undisputed/alleged/contested status, party attribution). Deduplicates and cross-references across documents and languages. Emits events.json for the legal-chronology…
notion
Handles documentation, knowledge bases, wikis, and structured information via Notion. Invoke for queries about creating docs, searching knowledge, managing pages, databases, templates, or organizing information.
ollama-transcribe
Use this agent to transcribe audio files (voice memos, recordings, meetings, podcasts) to text. Uses local mlx-whisper. Use whenever the user wants audio converted to text or references an .mp3, .wav, .m4a, .webm file.