duet

duet is a skill for Codex from OutlineDriven/outline-driven-development. It costs 37 tokens per session (2,371 once invoked), scanned A, original, Apache-2.0.

A conversation protocol for working with an agent on choices that may be costly or hard to undo. It asks you to choose whenever there is a meaningful design, architecture, or irreversible fork.

In plain words
What is it for?
Use it to pair with an agent on design decisions, architecture choices, and actions that are difficult to reverse. It records your agreed direction in the conversation.
Why use it?
It prevents the agent from making important assumptions that you discover only after reviewing its changes. You stay involved at the decisions that matter while routine work can continue afterward.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to pair with an agent on design decisions, architecture choices, and actions that are difficult to reverse. It records your agreed direction in the conversation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/outlinedriven/outline-driven-development/duet
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.

Any agent
npx skills add OutlineDriven/outline-driven-development --skill duet
Clone the repo
git clone --depth 1 https://github.com/OutlineDriven/outline-driven-development

Made for: 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 duet

README.md
[![agentmods](https://agentmods.dev/badge/skills/outlinedriven/outline-driven-development/duet/github.svg)](https://agentmods.dev/skills/outlinedriven/outline-driven-development/duet)
Your own site
<a href="https://agentmods.dev/skills/outlinedriven/outline-driven-development/duet"><img src="https://agentmods.dev/badge/skills/outlinedriven/outline-driven-development/duet/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for duet

Your own site · 80×15
<a href="https://agentmods.dev/skills/outlinedriven/outline-driven-development/duet"><img src="https://agentmods.dev/badge/skills/outlinedriven/outline-driven-development/duet.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,371 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high YARA Match · line 28
    YARA rule matched a known malware signature (reverse shell, backdoor, ransomware, C2 framework, or info stealer).
    Fix: Remove the malware payload or compromised file entirely. Investigate how it entered the skill and audit all other artifacts for additional indicators of compromise.
  • high Tool Misuse · line 29
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
How audits are shown
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.00037 $0.02371
Opus 5 $0.00018 $0.01185
Sonnet 5 $0.00007 $0.00474
Haiku 4.5 $0.00004 $0.00237

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

Security

Grade A, and why

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

.devin/skills/duet/SKILL.md · 49 lines

How it starts

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

Duet

Contract

Field Bound contract
Trigger /duet, "pair with me", or facing aesthetic, architectural, or irreversible decisions
Authority Read-only. No file, VCS, credential, paid, published, deployed, or remote mutation. Emits ask-user batches and fork picks in chat only; consent is obtained through those picks. Irreversible actions are asked, not taken.
Side effect ask-user batches and fork picks in chat; asks before irreversible actions; retains agreed architecture on disengage
Done Every real fork consented before execution, no review-bottleneck diff produced, irreversible checkpoints asked, picks retained on disengagement

Inputs

The user's task prompt or current work context. Optional: a stated fork threshold (default: surface a fork only if a wrong pick would cost more than 10 minutes to unwind). The agent reads the working surface to frame forks; no file or repo mutation is required to run the protocol.

Procedure

  1. Enter duet on invocation or trigger phrase and remain active until the user disengages ("go ahead on your own", "full autonomy", "you drive from here", "/duet off", or similar). Done when: duet is active and the disengage condition is stated.
  2. Hold this posture. The user is the director and makes every call on scope, boundaries, taste, naming-that-will-be-read-often, architecture, and anything irreversible. The agent is the executor and carries the jargon, tooling, syntax, plumbing, and reading of unfamiliar code. The agent adds value by compressing a technical surface the user does not want to carry into a decision the user does want to carry. Done when: the posture is held for the duration of the session.
  3. Define a fork: at least 2 defensible paths with different downstream implications, or any taste choice (layout, density, naming, tone, error surface, directory shape, public API shape). Counts as a fork: name of a public function/route/DB column/CLI flag; library or framework choice; auth scheme, storage engine, sync vs async; error surface (throw vs Result vs log-and-continue); directory shape or module split boundary; layout density or component granularity; tone of user-facing copy; any irreversible action. Does NOT count as a fork: local variable names, loop indices, private helper names; import order, alias conventions; syntax, brace placement, trailing commas; matching an error pattern already used in the file; filename casing that matches the repo convention; CSS utility vs inline when the repo has one convention; punctuation/spacing of copy; reversible local actions. When in doubt: does a second defensible path exist? If yes, surface it; if no, do it. Done when: each candidate is classified as fork or non-fork using the taxonomy.
  4. Before each question fire, run the VS-gated protocol: generate the defensible candidate paths, weight each by how well it survives a falsification pass (would a downstream consequence invalidate it?), drop falsified or weak ones, and keep the survivors as numbered weighted hypotheses placed immediately before the question call. Cap: more than 4 survivors → keep the top-ranked plus the 3 most structurally distinct. Done when: survivors are numbered, weighted, and falsified paths are dropped.
  5. Phase 1: Intent elicitation. At task start, fire one ask-user batch of up to 4 single-select questions, one per orthogonal axis that has defensible alternatives (typically Scope, Goal, Constraint, Pattern; pick the 2-4 that actually have plausible alternatives). Each axis is its own single-select question with 2-4 concrete options; one option per axis carries (Recommended) first with a one-sentence rationale; drop any axis with only one defensible value. Always fire Phase 1 regardless of survivor count. Deepen with a second batch only if answers reveal real ambiguity or a new axis; if the prompt is already clearly scoped, skip to Phase 2. Use previews (file-tree shapes, architecture sketches, config variants) when the choice is visual. Done when: one ask-user batch is fired with up to 4 per-axis single-select questions, or the prompt is clearly scoped and Phase 2 begins.
  6. Phase 2: Execution with fork-surfacing. Between forks, execute quietly under the agent's default authority; the user does not need narration of mechanics. For each fork encountered: run the VS-gated protocol (step 4); if exactly 1 survivor, skip the question and execute that path silently. Otherwise frame each survivor in structural or taste terms first, what it means for the outcome (shape, boundary, surface, density), with the technical term in parens on first mention only; mark one option (Recommended) with a one-sentence rationale (if no defensible one-sentence rationale comes to mind, the choice is not a real fork; execute the default silently and skip); attach a concrete preview (ASCII layout, code diff ≤ 20 lines, directory tree, config snippet) when comparison is visual; batch related forks into one fire; ensure option lists cover the defensible space (if the auto-provided Other free-text escape would be a realistic pick for more than ~10% of users, add the missing option before firing). Done when: each fork is surfaced as an the ask-user tool batch or executed silently with a stated reason.
  7. Phase 3: Irreversible checkpoints. Before any git push, git reset --hard, git rebase on shared branches, rm, destructive migration, dropping a table, paid API call, external email, deployment, multi-file rewrite (> 5 files), or any refactor that would produce a review-bottleneck diff; ask. The checkpoint is a confirmation, not a fork, but still uses the ask-user tool so the user can say "hold, let me look first." Run the VS-gated protocol at the high-risk tier; a binary yes/hold question may surface "hold and verify X first" as a candidate. Done when: every irreversible action is asked before execution and the user's response is recorded.
  8. Present every option in this shape: <Label: structural or taste framing> (jargon-in-parens, first mention only) then <Description: what it means for the outcome, with the trade-off>. One option carries (Recommended) in its label with a less-than-one-sentence why. Reframe jargon to structure (e.g., "Use ACID transactions" → "Keep the data in one place"; "Implement eventual consistency" → "Cache and accept some staleness"). Done when: every option is presented in the structural-framing shape with one (Recommended) option.
  9. Batch by default: per-axis single-select, up to 4 questions in one fire, one user round-trip. Never use multiSelect for axis-with-default override semantics; that is satisfied by N per-axis single-selects with (Recommended) first; never collapse N axes into one multi-pick checklist. Reserve multiSelect for additive picks only (feature toggles, optional sub-tasks, any list where ticking multiple items is the natural shape). Previews require single-select, which the default already satisfies. Never batch across a dependency: if Q2's viable options depend on Q1's answer, split into separate fires; if mid-batch Q2's answer invalidates Q1, re-ask only the affected decision. Done when: questions are batched per-axis with no cross-dependency batching.
  10. Honor the ask-user tool contract. Per fire: a questions array of 1-4 rendered as one batched UI, one user round-trip. Per question: question (full sentence ending in ?), header (chip label ≤ 12 characters), multiSelect (bool, default false; false is single-pick mutually exclusive, true is additive subset), options (2-4). Per option: label (1-5 words; append (Recommended) to the recommended choice and place it first), description (one-sentence trade-off/consequence rationale), preview (optional rendered content, single-select only; use for visual comparisons, skip when the difference is purely conceptual). Free-text "Other" is auto-provided on every question; never add an explicit "Other" option; free-text notes go in the annotations response field. Use this tool only to clarify requirements or choose between approaches during planning, not "Is the plan ready?" or "Should I proceed?" (that is what an exit-plan-mode action is for). The shape, per-axis single-select with one Recommended, is what the protocol depends on; where a harness exposes only single-question prompts, fire them sequentially in the dependency order above, and map (Recommended) and multiSelect to that harness's equivalent conventions. Done when: every the ask-user tool fire conforms to the field contract.
  11. On disengagement, return to default autonomy but retain all picks made during duet as load-bearing architectural decisions. Done when: picks are retained and default autonomy is restored.

Read the full file on GitHub · 49 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3d ago Changed · -24 tokens per session 3f6d2567fe3c
  2. 5d ago First seen · 49 lines · 61 tokens per session scan A 1051ef908dfa

Subscribe to this mod's changes

duet is a skill published in the GitHub repository OutlineDriven/outline-driven-development (52 stars, last pushed 3d ago), licensed Apache-2.0. It adds 37 tokens to every session and 2,371 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-09-03.

Related

Other skills, from other repositories

audit-project

Run an iterative multi-agent code audit until critical and high findings are resolved. Use when the user says "audit my code", "find all the bugs", "deep code audit", "iterative review", or "review until clean".

OutlineDriven/odin-claude-plugin · 50 tokens

duet

Use when the user invokes /duet, says "pair with me", or faces aesthetic, architectural, or irreversible decisions.

OutlineDriven/odin-claude-plugin · 28 tokens

goal-prompt-drafting

Use when asked to draft copy-ready /goal objectives for long-running agents; returns one normalized one-line objective with measurable end state, grounded proof, easy-out invariants, a stop clause, and a Missing list. Not for source or remote-system changes.

OutlineDriven/odin-claude-plugin · 57 tokens

handoff-prompt

Use when the user asks for a handoff, delegation, or clipboard-ready prompt for another agent: a standalone path-free prompt copied to the clipboard, confirmed by title. Not for session-snapshot briefs — use handoff; never remote, credential, publish, deploy, or irreversible.

OutlineDriven/odin-claude-plugin · 62 tokens

publish-branch

Use when asked to publish the checked-out branch: commit and push it on whatever branch it is, the default branch included. Not for creating branches, PRs, force pushes, or pushing any other branch; when the request excludes the default branch, use commit-push-current.

OutlineDriven/odin-claude-plugin · 60 tokens

snippet-image-rendering

Use when the user explicitly names snipgrapher and wants code rendered to a polished PNG, SVG, or WebP at an explicit local path. Probes the installed CLI for supported flags and writes only the named image file. Not for other renderers, publishing, or remote actions.

OutlineDriven/odin-claude-plugin · 64 tokens