cast-second-opinion

cast-second-opinion is a skill for Claude Code from codecast-sh/codecast. It costs 52 tokens per session (477 once invoked), scanned A, original, MIT.

An independent code review using a different AI model and a fresh context. It checks the model's findings against the change before accepting them.

In plain words
What is it for?
Use it before shipping, after difficult debugging, or when you want another view of a code change.
Why use it?
The model that wrote a change can overlook its own mistakes. A separate review reduces that blind spot without treating another model's comments as automatically correct.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions Codex.

Good fit Use it before shipping, after difficult debugging, or when you want another view of a code change.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/codecast-sh/codecast/cast-second-opinion
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 codecast-sh/codecast --skill cast-second-opinion
Clone the repo
git clone --depth 1 https://github.com/codecast-sh/codecast

Made for: Claude Code.

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 cast-second-opinion

README.md
[![agentmods](https://agentmods.dev/badge/skills/codecast-sh/codecast/cast-second-opinion/github.svg)](https://agentmods.dev/skills/codecast-sh/codecast/cast-second-opinion)
Your own site
<a href="https://agentmods.dev/skills/codecast-sh/codecast/cast-second-opinion"><img src="https://agentmods.dev/badge/skills/codecast-sh/codecast/cast-second-opinion/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 cast-second-opinion

Your own site · 80×15
<a href="https://agentmods.dev/skills/codecast-sh/codecast/cast-second-opinion"><img src="https://agentmods.dev/badge/skills/codecast-sh/codecast/cast-second-opinion.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 477 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 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.00052 $0.00477
Opus 5.5 $0.00021 $0.00191
Sonnet 5.5 $0.00010 $0.00095
Haiku 4.5 $0.00005 $0.00048

Measured 1mo ago against content hash 6712e7623305, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cast-second-opinion 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 1mo 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.

packages/cli/skills/cast-second-opinion/SKILL.md · 48 lines

What it actually says

A reviewer that read the author's reasoning is biased by it. This hands a fresh model only the intent, the plan and the diff, then treats its findings as claims to verify, not verdicts.

Choose the reviewer

The argument names the agent. Otherwise prefer a different vendor from the one running this session (cast exec --dry-run --agent codex shows whether it is installed); fall back to the same vendor on a different model. Never the same model that wrote the change.

Build the packet

  • One paragraph of intent: what the change is for and what it must not break.
  • The plan or task: cast task context --current or cast plan context --current.
  • The diff: git diff-main (or git diff plus staged changes when the alias is absent). Trim generated files and lockfiles.
  • The focus, if the user gave one.

Nothing else. No transcript, no reasoning, no list of what you already checked.

Run it

cast exec --agent <agent> --permission-mode default --timeout 10m - <<'PACKET'
You are reviewing a change you did not write. Read the intent, the plan and
the diff, then report, ranked by severity, with file and line for each:
correctness bugs, requirements in the plan the diff misses, simpler ways to
get the same result, and what you would test before merging. Be concrete.
Skip praise and restatement.

<intent, plan, diff, focus>
PACKET

Verify, then fold in

Check every finding against the code before accepting it. Fix the confirmed ones or list them with a reason for deferring. Name the ones you rejected and why, so the reader can see the review was weighed rather than obeyed. Record the outcome on the task with cast task comment <id> when one is bound.

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. 1mo ago First seen · 48 lines · 52 tokens per session scan A 6712e7623305

Subscribe to this mod's changes

cast-second-opinion is a skill published in the GitHub repository codecast-sh/codecast (40 stars, last pushed today), licensed MIT. It adds 52 tokens to every session and 477 once invoked, about $0.0002 per session on Opus 5.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-15.