oh-my-opencode-slim is a plugin that coordinates multiple specialized AI agents inside OpenCode, assigning codebase exploration, documentation research, architecture review, design, and implementation to different agents. It is for developers who want agent teams to divide and reconcile software-development work while mixing models from different providers. The catalogue entries are the plugin’s bundled agents, skills, and instruction.
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 instructions/alvinunreal/oh-my-opencode-slim/agents-mdgit clone --depth 1 https://github.com/alvinunreal/oh-my-opencode-slimWrote 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/instructions/alvinunreal/oh-my-opencode-slim/agents-md)<a href="https://agentmods.dev/instructions/alvinunreal/oh-my-opencode-slim/agents-md"><img src="https://agentmods.dev/badge/instructions/alvinunreal/oh-my-opencode-slim/agents-md.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.02217 | $0.02217 |
| Opus 5 | $0.01108 | $0.01108 |
| Sonnet 5 | $0.00443 | $0.00443 |
| Haiku 4.5 | $0.00222 | $0.00222 |
Grade A, and why
oh-my-opencode-slim AGENTS.md 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 6d 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 — 204 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent Coding Guidelines
This document provides guidelines for AI agents operating in this repository.
Project Overview
oh-my-opencode-slim - A lightweight agent orchestration plugin for OpenCode, a slimmed-down fork of oh-my-opencode. Built with TypeScript, Bun, and Biome.
Commands
| Command | Description |
|---|---|
bun run build |
Build TypeScript to dist/ (both index.ts and cli/index.ts) |
bun run typecheck |
Run TypeScript type checking without emitting |
bun test |
Run all tests with Bun |
bun run lint |
Run Biome linter on entire codebase |
bun run format |
Format entire codebase with Biome |
bun run check |
Run Biome check with auto-fix (lint + format + organize imports) |
bun run check:ci |
Run Biome check without auto-fix (CI mode) |
bun run dev |
Build and run with OpenCode |
Running a single test: Use Bun's test filtering with the -t flag:
bun test -t "test-name-pattern"
Code Style
General Rules
- Formatter/Linter: Biome (configured in
biome.json) - Line width: 80 characters
- Indentation: 2 spaces
- Line endings: LF (Unix)
- Quotes: Single quotes in JavaScript/TypeScript
- Trailing commas: Always enabled
TypeScript Guidelines
- Strict mode: Enabled in
tsconfig.json - No explicit
any: Generates a linter warning (disabled for test files) - Module resolution:
bundlerstrategy - Declarations: Generate
.d.tsfiles indist/
Imports
- Biome auto-organizes imports on save (
organizeImports: "on") - Let the formatter handle import sorting
- Use path aliases defined in TypeScript configuration if present
Naming Conventions
- Variables/functions: camelCase
- Classes/interfaces: PascalCase
- Constants: SCREAMING_SNAKE_CASE
- Files: kebab-case for most, PascalCase for React components
Error Handling
- Use typed errors with descriptive messages
- Let errors propagate appropriately rather than catching silently
- Use Zod for runtime validation (already a dependency)
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.
- 6d ago First seen · 204 lines · 2,217 tokens per session scan A b8c41ed8e328
oh-my-opencode-slim AGENTS.md is an instructions file published in the GitHub repository alvinunreal/oh-my-opencode-slim (8,651 stars, last pushed yesterday), licensed MIT. It adds 2,217 tokens to every session, about $0.0111 per session on Opus 5. 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 instructions, from other repositories
FlowDeck AGENTS.md
Instructions for DVNghiem/FlowDeck, covering agents.md, 0. non-negotiables, 1. before writing code, 2. writing code: simplicity first and 3. surgical changes.
FlowDeck CLAUDE.md
Instructions for DVNghiem/FlowDeck, covering 1. think before coding, 2. simplicity first, 3. surgical changes, 4. goal-driven execution and agent skills.
debroid AGENTS.md
Instructions for PatilShreyas/debroid, covering ai agent contributor guide 🤖, 🎯 intention & motivation, 🏗️ architecture & layers, 1. the core layer (jdi & adb orchestration) and 2. the cli layer (daemon & client).
AIUsageTracker AGENTS.md
AGENTS.md instructions for rygel/AIUsageTracker, covering ai usage tracker - monitor guidelines, critical rules, never wipe user settings (critical), never cause data loss in migrations (critical) and never create releases without explicit permission.
AIUsageTracker CLAUDE.md
Claude Code instructions for rygel/AIUsageTracker, covering claude.md, build & test, analyzer rules — do not weaken, architecture and data flow: monitor → main window.
isomux AGENTS.md
AGENTS.md instructions for nmamano/isomux, covering isomux, how to develop, formatting and linting, key decisions (do not revisit) and project layout.