Agent Claude Code
Produce {{ docsroot }}/architecture/module-map.md: one H2 per top module, each with a one-paragraph description and a bullet list of the module's top 8 files cited as path:LOC with (N LOC) suffix.
Agent Claude Code
Produce {{ docsroot }}/architecture/module-map.md: one H2 per top module, each with a one-paragraph description and a bullet list of the module's top 8 files cited as path:LOC with (N LOC) suffix.
Agent Claude Code
Produce {{ docsroot }}/architecture/system-overview.md: a 400–600-word narrative of what {{ repo }} does and how its top-level pieces fit, with one stack table and one Mermaid flowchart LR of the top 6 modules.
Agent Claude Code
Produce {{ docsroot }}/behavior/processes.md: one H2 per top process in {{ repo }}, each with a numbered step list citing path:LOC on every line, entry-point attribution (HTTP route / MCP tool / CLI command / scheduled job), and a ### Related subsection with backtick citations to handler files.
Agent Claude Code
Produce {{ docsroot }}/behavior/state-machines.md: one H2 per state machine in {{ repo }}, each containing exactly one Mermaid stateDiagram-v2 block that reflects the states and transitions declared in source, followed by a path:LOC citation to the definition site.
Agent Claude Code
Produce {{ groupdocsroot }}/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.
Agent Claude Code
Produce {{ groupdocsroot }}/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.
Agent Claude Code
Produce {{ groupdocsroot }}/cross-repo/portfolio-map.md: a 2-paragraph narrative of the {{ group }} group's shape, a Mermaid flowchart LR of its member repos with contract-count edges, and a ## Repos section with per-member H2 + relative link into each member's own .codehub/docs/ tree.
Agent Claude Code
Produce {{ docsroot }}/diagrams/architecture/components.md: a single Mermaid classDiagram of the top 8 components of {{ repo }} with HAS-A / USES edges, capped at 20 total nodes.
Agent Claude Code
Produce {{ docsroot }}/diagrams/structural/dependency-graph.md: a single Mermaid flowchart LR showing {{ repo }}'s internal communities alongside external-dep leaf nodes, capped at 20 total nodes.
Agent Claude Code
Produce {{ docsroot }}/diagrams/behavioral/sequences.md: up to three Mermaid sequenceDiagram blocks, one per top process, each showing the outbound call order across 4-8 participants.
Agent Claude Code
Produce {{ docsroot }}/reference/cli.md: one H2 per CLI subcommand (derived from routemap), each with a fenced usage block, a one-sentence description, a path:LOC citation, and a bulleted flag list where each flag cites path:LOC .
Agent Claude Code
Produce {{ docsroot }}/reference/mcp-tools.md: the authoritative reference for every MCP tool {{ repo }} exposes, one H2 per tool, each with a verbatim signature, input/output shapes, a one-sentence purpose, and a path:LOC citation to the handler file.
Agent Claude Code
Produce {{ docsroot }}/reference/public-api.md: one H3 per exported symbol for the top 30 public exports of {{ repo }}, each with a fenced code block that quotes the symbol's signature verbatim, a one-sentence description, and a path:LOC citation. When {{ repo }} is not a CLI, append an ## HTTP H2 rendered from…
Skill Claude CodeCodex
Use when the user asks for an ONBOARDING, getting-started, or new-engineer guide for the current repo or group. Examples: "write ONBOARDING.md", "generate an onboarding doc for new hires", "what should a new engineer read first". Produces a ranked reading order from projectprofile + top processes + entry points +…
Skill Claude CodeCodex
Use when the user asks for a PR description, a pull request summary, a merge write-up, or a release note for a branch or diff. Examples: "write the PR description", "summarize this branch for review", "draft release notes for HEAD". Calls detectchanges + verdict + owners + listfindingsdelta and writes Markdown. DO NOT…
Skill Claude CodeCodex
Use when the user is debugging a bug, tracing an error, or asking why something fails. Examples: "Why is X failing?", "Where does this error come from?", "Trace this bug", "This endpoint returns 500".
Skill Claude CodeCodex
Use when the user asks how code works, wants to understand architecture, trace execution flows, or explore unfamiliar parts of a codebase. Examples: "How does X work?", "What calls this function?", "Show me the auth flow", "Where does the request enter the system?".
Skill Claude CodeCodex
Use when the user asks about OpenCodeHub itself — available MCP tools, resources, graph schema, or workflow reference. Examples: "What OpenCodeHub tools are available?", "How do I query the code graph?", "Show me the schema".
Skill Claude CodeCodex
Use when the user wants to know what will break if they change something, or needs safety analysis before editing or merging code. Examples: "Is it safe to change X?", "What depends on this?", "What will break?", "Blast radius for this change".
Skill Claude CodeCodex
Use when the user wants to review a pull request, understand what a PR changes, assess risk of merging, or check missing test coverage. Examples: "Review this PR", "What does PR #42 change?", "Is this PR safe to merge?", "Audit the dependencies in this PR".
Skill Claude CodeCodex
Use when the user is planning a rename, extraction, split, move, or restructure and wants to know the blast radius and verify the result. Examples: "What breaks if I rename this function?", "Map every caller before I extract this module.", "Did my refactor touch anything I didn't expect?". OpenCodeHub does NOT edit…
MCP server Claude CodeCodexCursor +2
MCP server "codehub" as configured in theagenticguy/opencodehub. Launched with codehub mcp.
Instructions file CodexOpenCode
Instructions for theagenticguy/opencodehub, covering opencodehub mcp tools, full mcp surface, ambiguousrepo, durable lessons and claude code plugin.
Instructions file
Instructions for theagenticguy/opencodehub, covering opencodehub mcp tools, full mcp surface, ambiguousrepo, durable lessons and claude code plugin.