duet-agent: Skill for Claude Code

.agents/skills/claude/SKILL.md

claude is a skill for Claude Code, Codex from dzhng/duet-agent. It costs 67 tokens per session (1,247 once invoked), scanned A, a copy of claude, Apache-2.0.

A way to use Claude Code, Anthropic's coding assistant, as a separate helper while working in the same project folder. It supports choosing Claude's model and reasoning level.

In plain words
What is it for?
Use it to ask Claude to review, investigate, implement, or explain one narrowly scoped task. It is also useful when you explicitly want Claude's perspective.
Why use it?
It gives you an independent second opinion or delegated worker for a clearly defined task. You still check its suggestions and changes yourself.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions Claude Code; installed under .agents/ (shared by several agents).

This is dzhng/duet-agent's own configuration. It tells Claude Code and Codex how to work on duet-agent itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything duet-agent configures →

Reuse

Borrowing it

Nothing to install: this file belongs to dzhng/duet-agent. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/dzhng/duet-agent/main/.agents/skills/claude/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/dzhng/duet-agent

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 claude

README.md
[![agentmods](https://agentmods.dev/badge/skills/dzhng/duet-agent/claude.svg)](https://agentmods.dev/skills/dzhng/duet-agent/claude)
Your own site
<a href="https://agentmods.dev/skills/dzhng/duet-agent/claude"><img src="https://agentmods.dev/badge/skills/dzhng/duet-agent/claude.svg" alt="Measured on agentmods" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,247 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.
Origin 100% copy Near-identical to another mod 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.00067 $0.01247
Opus 5 $0.00034 $0.00624
Sonnet 5 $0.00013 $0.00249
Haiku 4.5 $0.00007 $0.00125

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

Security

Grade A, and why

claude 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 7d 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.

Origin

This is a copy

100% identical to claude — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/claude/SKILL.md · 115 lines

How it starts

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

Claude

Claude Code is an independent agent on PATH (claude), sharing this working tree and already authenticated. Use it as a second opinion or delegated worker, not as ground truth: verify its claims, own any changes, and keep its task contract narrow.

Defaults

Use claude -p --model opus --effort high unless the user or task calls for a different model or thinking level.

  • Model: accept aliases such as opus, sonnet, or fable, or a full model name. Default opus.
  • Thinking level: pass Claude Code's --effort flag. Valid levels are low, medium, high, xhigh, and max. Default high.
  • Cost guard: for exploratory asks, add --max-budget-usd <amount> when the user gives a budget or the task is likely to sprawl.

Example:

claude -p --model opus --effort high "<prompt>"

Prompting Claude

Prompt Claude like an operator: compact, block-structured, and explicit about the artifact you need. A sharper contract beats higher effort.

  • One task per run. Split review, implementation, and docs into separate prompts.
  • Name repo skills when relevant. Claude can read repo files; say "follow write-docs for the doc" or "obey refactor-clean: no compatibility wrappers" instead of pasting those skills into the prompt.
  • Blocks, added only where useful:
    • <task> — the concrete job, context, and expected end state.
    • <output_contract> — exact response shape, highest-value first.
    • <default_follow_through> — take low-risk interpretations and continue; stop only when a missing detail changes correctness, safety, or an irreversible action.
    • <verification_loop> — inspect the result against requirements and revise before finalizing.
    • <grounding> — ground every claim in code or tool output; label inferences.
    • <action_safety> — keep the diff tightly scoped; no drive-by refactors.
  • Anti-patterns: vague prompts, mixed jobs, no output contract, asking it to "think harder" instead of tightening the task, and accepting its answer without checking the evidence.

Read the full file on GitHub · 115 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. 7d ago First seen · 115 lines · 67 tokens per session scan A 6952442b0d3e

Subscribe to this mod's changes

claude is a skill published in the GitHub repository dzhng/duet-agent (42 stars, last pushed 4d ago), licensed Apache-2.0. It adds 67 tokens to every session and 1,247 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to claude, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories