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.
git 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/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<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="Reviewed on agentmods" width="80" 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.5 | $0.00000 | $0.00704 |
| Sonnet 5.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 3mo 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.
- 3mo 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 3mo 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.
doc-cross-repo-contracts-matrix compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| doc-cross-repo-contracts-matrixtheagenticguy/opencodehub | Agent | 3 | 3mo ago | Apache-2.0 | A | 0 | Claude Code |
| quarto-criticbrycewang-stanford/Auto-Empirical-Research-Skills | Agent | 5.4k | today | none | A | 38 | Claude Code |
| openwriter-enrichment-miniontravsteward/openwriter | Agent | 36 | 14d ago | MIT | A | 19 | Claude Code |
| chronology-builderfedec65/bettercallclaude | Agent | 50 | 2d ago | AGPL-3.0 | A | 103 | Claude Code |
| report-generatordaemon-blockint-tech/Grond | Agent | 2 | 2mo ago | MIT | A | 195 | Claude Code |
| flow-documenterMacroMan5/AutomationHelper_plugins | Agent | 3 | 1y ago | MIT | A | 368 | Claude Code |
| ops-documentacaoasv-digital/agents-funcionarios | Agent | 4 | 7mo ago | none | A | 0 | Claude Code |