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-dependency-flowgit 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-dependency-flow)<a href="https://agentmods.dev/agents/theagenticguy/opencodehub/doc-cross-repo-dependency-flow"><img src="https://agentmods.dev/badge/agents/theagenticguy/opencodehub/doc-cross-repo-dependency-flow.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 | $0.00000 | $0.01868 |
| Opus 5 | $0.00000 | $0.00934 |
| Sonnet 5 | $0.00000 | $0.00374 |
| Haiku 4.5 | $0.00000 | $0.00187 |
Grade A, and why
doc-cross-repo-dependency-flow 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 3d 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 — 112 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Packet · {{ group }} · cross-repo/dependency-flow.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/dependency-flow.md: a single Mermaid flowchart TB showing inter-repo data flow across the {{ group }} group — nodes are repos (plus events/streams as needed), edges are contract groups labeled by HTTP verb + path or event type.
2. Scope
- Create:
{{ group_docs_root }}/cross-repo/dependency-flow.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 | {{ group_prefetch_path }} § group_contracts |
cached |
| Per-member route inventory | {{ group_prefetch_path }} § route_map(<repo>) per {{ member_repos }} |
cached |
| Async / event topics | mcp__codehub__group_query({group: "{{ group }}", text: "message consumer"}) or "publishes" |
mid-run, only if stream edges are suspected |
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 inventory from
{{ group_prefetch_path }} § group_contracts. For each(producer_repo, consumer_repo)pair, group the contracts bymethod + path-prefixto form a single edge labeled with the representative HTTP verb + path (e.g.,POST /invoices). - Scan the contract list for event/stream shapes (kind =
topic/queue/streamin the cached digest). For each stream, add a parenthesized nodename[(stream.name)]and draw dashed edges (-.->) from consumers and solid edges (-->) from publishers. - Compose the node set: one node per member repo (
repo["repo"]plain rectangle) plus one parenthesized node per event/stream. Cap at 20 nodes — if the group plus streams exceed 20, keep the top-20 by edge count and move overflow into a## Legend (overflow)table. - Compose the edge set: solid arrows for synchronous HTTP calls, dashed arrows for async/pub-sub. Each edge label carries the HTTP verb + path (routes) or the event type (streams); ≤ 15 chars.
- Draft the Mermaid
flowchart TB. Every repo node's string identifier and every path/event on every edge must trace back togroup_contractsor aroute_mapdigest — no invented flows. Write {{ group_docs_root }}/cross-repo/dependency-flow.mdwith H1 ={{ group }} · Dependency flow.
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.
- 3d ago First seen · 112 lines · 0 tokens per session scan A 532f47017efd
doc-cross-repo-dependency-flow is an agent published in the GitHub repository theagenticguy/opencodehub (3 stars, last pushed 22d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,868 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
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
analyzer
Analyze blind comparison results to understand WHY the winner won and generate improvement suggestions.
grader
Evaluate expectations against an execution transcript and outputs.
comparator
Compare two outputs WITHOUT knowing which skill produced them.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.