cast

A command that chooses, builds, or combines a task-specific harness, meaning a set of tools and working rules for carrying out a coding task.

In plain words
What is it for?
For selecting a harness, creating a narrow one when needed, starting approved work, and recording reusable lessons.
Why use it?
It helps turn a broad or difficult task into an active work plan with a suitable tool setup and a next action.

Command for Claude Code

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 commands/dotoricode/tink-harness/cast
Clone the repo
git clone --depth 1 https://github.com/dotoricode/tink-harness

Made for: Claude Code.

Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 15,457 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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 $0.00015 $0.15457
Opus 5 $0.00008 $0.07729
Sonnet 5 $0.00003 $0.03091
Haiku 4.5 $0.00002 $0.01546

Measured 2d ago against content hash 91c5f489a334, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

cast scanned grade B with 1 finding 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 2d 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.

Subtle steeringmediumPrompt injection

Instructions that bias recommendations or shape behaviour without the user noticing.

If legacy Tiny files such as `.tiny/` or `/tiny:use` instructions are present, treat them as old state. Explain that `/tink:cast` replaces `/tiny:use`, and offer to migrate useful `.tiny/harnesses/`, `.tiny/config.json`,
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • deep-cast — 88% identical, 252 lines differ
.claude/commands/tink/cast.md · 1,028 lines

How it starts

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

/tink:cast

Cast the right harness for the task, run it, and capture reusable learning.

cast is the main Tink command. Use it before non-trivial work.

Product promise

Tink is not a harness recommendation list. It must leave the user with an active run state and a concrete next action.

Tink should:

  1. understand the task,
  2. choose the smallest effective harness/tool set,
  3. replace heavy harnesses when the current stage or token budget makes them harmful,
  4. build or synthesize a narrow harness when none fits,
  5. materialize the harness as a run plan,
  6. execute the first safe step after approval,
  7. prevent repeated mistakes while working,
  8. maintain the harness set through approved memory, weave, or frog proposals.

Default behavior

Do not stop after saying which harness might fit.

A valid /tink:cast response must do one of these:

  • complete a clearly simple, safe task directly through the quick-triage fast path (Lane 1 below) - work starts in the same response,
  • create or update .tink/current/ and start the harnessed work,
  • ask one blocking question that is required to create .tink/current/, or
  • cancel because the user chose not to proceed.

If the task is clear enough to classify, do not ask broad clarification first. Make a best recommendation, ask for approval, then act.

Cast mode

/tink:cast without a task argument shows the current mode and the description of all three modes directly — no change prompt, just information. /tink:cast <mode> sets the mode and saves it to cast_mode in .tink/config.json with a single confirmation line and no Lane 1 framing.

Modes:

  • quick — Forces Lane 1 fast path regardless of task complexity. Skips harness selection and starts immediately.
  • standard — Default behavior. Quick triage selects the right lane automatically.
  • deep — Runs a structured interview before planning. See Deep mode below.

Interaction policy

Always call the AskUserQuestion tool for choice prompts. Do not render text format. Do not ask the user to type a number inline.

Read the full file on GitHub · 1,028 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. 2d ago First seen · 1,028 lines · 15 tokens per session scan B 91c5f489a334

Subscribe to this mod's changes

cast is a command published in the GitHub repository dotoricode/tink-harness (1 stars, last pushed 1mo ago), licensed MIT. It adds 15 tokens to every session and 15,457 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (subtle steering). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.