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/alvinunreal/oh-my-opencode-slim/codemapgit clone --depth 1 https://github.com/alvinunreal/oh-my-opencode-slimWhat 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.02322 |
| Opus 5 | $0.00000 | $0.01161 |
| Sonnet 5 | $0.00000 | $0.00464 |
| Haiku 4.5 | $0.00000 | $0.00232 |
Grade A, and why
codemap 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 yesterday.
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 — 198 lines — stays where its author put it; the contents beside it link to each section on GitHub.
src/agents/
Responsibility
Defines agent personalities (Orchestrator, Explorer, Librarian, etc.) and manages their configuration lifecycle. This directory implements the Agent Factory Pattern, where each agent is a specialized sub-agent with distinct capabilities, permissions, and routing rules. The Orchestrator agent (src/agents/index.ts) coordinates task delegation to these specialists.
Design
Agent Types and Factories
Each agent is a prompt-driven specialist with a factory function that creates an AgentDefinition:
| Agent | Factory | Role | Permissions | Model Default |
|---|---|---|---|---|
| orchestrator | createOrchestratorAgent() |
Workflow manager that delegates tasks to specialists | Primary agent with full tool access | Resolved from config or runtime preset |
| explorer | createExplorerAgent() |
Fast codebase search and pattern matching | Read-only (glob, grep, ast_grep_search) | DEFAULT_MODELS.explorer |
| librarian | createLibrarianAgent() |
External documentation and library research | Read-only (context7, gh_grep) | DEFAULT_MODELS.librarian |
| oracle | createOracleAgent() |
Strategic technical advisor and code reviewer | Read-only (read, glob, grep, ast_grep_search) | DEFAULT_MODELS.oracle |
| designer | createDesignerAgent() |
UI/UX design, review, and implementation | Read/write (read, glob, grep, write, edit) | DEFAULT_MODELS.designer |
| fixer | createFixerAgent() |
Fast implementation specialist for bounded tasks | Read/write (read, glob, grep, write, edit) | DEFAULT_MODELS.fixer |
| observer | createObserverAgent() |
Visual analysis specialist (images, PDFs, diagrams) | Read-only (read, glob, grep, ast_grep_search) | DEFAULT_MODELS.observer |
| council | createCouncilAgent() |
Multi-LLM consensus synthesis from councillor responses | Read-only | DEFAULT_MODELS.council |
| councillor | createCouncillorAgent() |
Read-only council advisor; registered dynamically per preset seat as councillor-<name> by buildCouncillorAgents() (council-agents.ts) |
Read-only (read, glob, grep, ast_grep_search) | Inherited from council preset |
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.
- yesterday First seen · 198 lines · 0 tokens per session scan A 99dba6f15bd0
codemap is an agent published in the GitHub repository alvinunreal/oh-my-opencode-slim (8,516 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,322 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-30.
Other agents, from other repositories
index
FlowDeck runs a 12-agent system coordinated by an orchestrator. All agent configurations live in src/agents/. Agent definitions use YAML frontmatter (description, mode, model, temperature). The orchestrator selects specialists based on context and delegates work through the OpenCode SDK delegate tool.
issue-tracker
Issues and specs (you may know a spec as a PRD) for this repo live as markdown files in .scratch/.
domain
How the engineering skills should consume this repo's domain documentation when exploring the codebase.
triage-labels
The skills speak in terms of five canonical triage roles. This file maps those roles to the actual label strings used in this repo's issue tracker.
document-specialist
External Documentation & Reference Specialist.
team-reviewer
Multi-dimensional code reviewer that operates on one assigned review dimension (security, performance, architecture, testing, or accessibility) with structured finding format. Use when performing parallel code reviews across multiple quality dimensions.