deepwork

deepwork is a skill for Claude Code, Codex from alvinunreal/oh-my-opencode-slim. It costs 34 tokens per session (1,327 once invoked), scanned A, original, MIT.

A managed workflow for large or high-risk coding projects with several dependent phases and review gates.

In plain words
What is it for?
Use it for architectural migrations, cross-cutting changes, and other multi-phase work that needs specialist coordination, saved progress, and verification.
Why use it?
It provides a way to track progress and coordinate work when a change is too complex or risky to complete safely in one pass.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions OpenCode.

About the project

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.

alvinunreal/oh-my-opencode-slim · 8,632 stars · on GitHub · ohmyopencodeslim.com

Install

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.

agentmods
npx agentmods add skills/alvinunreal/oh-my-opencode-slim/deepwork
Any agent
npx skills add alvinunreal/oh-my-opencode-slim --skill deepwork
Clone the repo
git clone --depth 1 https://github.com/alvinunreal/oh-my-opencode-slim

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for deepwork

README.md
[![agentmods](https://agentmods.dev/badge/skills/alvinunreal/oh-my-opencode-slim/deepwork.svg)](https://agentmods.dev/skills/alvinunreal/oh-my-opencode-slim/deepwork)
Your own site
<a href="https://agentmods.dev/skills/alvinunreal/oh-my-opencode-slim/deepwork"><img src="https://agentmods.dev/badge/skills/alvinunreal/oh-my-opencode-slim/deepwork.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,327 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00034 $0.01327
Opus 5 $0.00017 $0.00664
Sonnet 5 $0.00007 $0.00265
Haiku 4.5 $0.00003 $0.00133

Measured 6d ago against content hash fb1a5be03d0f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

deepwork 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.

src/skills/deepwork/SKILL.md · 159 lines

How it starts

The opening of the file, as written. The whole thing — 159 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Deepwork

Deepwork is an orchestrator workflow for heavy coding sessions. Use it only when the work is clearly large or high-risk: multiple dependent phases, cross-cutting architectural change, unsafe-to-partially-ship migration, or sustained coordination across several specialist lanes.

Do not infer Deepwork merely because a task touches multiple files. Do not use it for trivial edits, quick docs changes, simple bug fixes, or routine bounded features.

Core Contract

When deepwork is active, the orchestrator must manage the work as a scheduler, not as the default implementation worker.

Setup and Deepwork State

  • create and maintain a local markdown progress file under .slim/deepwork/;
  • save code/doc deliverables to project paths (e.g. src/, docs/); reserve .slim/deepwork/ strictly for progress files;

Deepwork File

Create a task-specific file such as:

.slim/deepwork/<short-task-slug>.md

Before creating this file—and before planning or delegation—inspect the existing .gitignore and .ignore. Add only missing entries and do not add duplicates:

# .gitignore
.slim/deepwork/
# .ignore
!.slim/deepwork/
!.slim/deepwork/**

These rules keep deepwork state git-local while allowing OpenCode to read it.

Do not follow a rigid template. Choose whatever markdown structure best fits the work. The file only needs to remain useful as persistent session state and should capture, as applicable:

  • current goal and understanding;
  • researched, factual context from @librarian to avoid oracle doing its own research;
  • plan drafts, Oracle review budget/gates, and review notes;
  • implementation phases and status;
  • validation results;
  • unresolved questions, blockers, and follow-ups.

Update this file after major decisions, accepted research, reviews, phase completions, validation results, and scope changes. Record accepted findings and reference local files by path rather than copying their contents.

Planning

Read the full file on GitHub · 159 lines

Changes

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.

  1. 6d ago First seen · 159 lines · 34 tokens per session scan A fb1a5be03d0f

Subscribe to this mod's changes

deepwork is a skill published in the GitHub repository alvinunreal/oh-my-opencode-slim (8,632 stars, last pushed yesterday), licensed MIT. It adds 34 tokens to every session and 1,327 once invoked, about $0.0002 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.