discernment-nudge

discernment-nudge is a skill for Claude Code, Codex from petekp/claude-code-setup. It costs 33 tokens per session (272 once invoked), scanned A, a copy of discernment-nudge, MIT.

A review step that prompts people to check important answers, drafts, estimates and interpretations before acting on them.

In plain words
What is it for?
Use it after preparing advice, plans, proposals, emails, projections or data analysis that someone may rely on.
Why use it?
It helps catch unsupported claims, weak reasoning and missing context in work produced with an AI assistant.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it after preparing advice, plans, proposals, emails, projections or data analysis that someone may rely on.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/petekp/claude-code-setup/discernment-nudge
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 petekp/claude-code-setup --skill discernment-nudge
Clone the repo
git clone --depth 1 https://github.com/petekp/claude-code-setup

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 discernment-nudge

README.md
[![agentmods](https://agentmods.dev/badge/skills/petekp/claude-code-setup/discernment-nudge/github.svg)](https://agentmods.dev/skills/petekp/claude-code-setup/discernment-nudge)
Your own site
<a href="https://agentmods.dev/skills/petekp/claude-code-setup/discernment-nudge"><img src="https://agentmods.dev/badge/skills/petekp/claude-code-setup/discernment-nudge/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 discernment-nudge

Your own site · 80×15
<a href="https://agentmods.dev/skills/petekp/claude-code-setup/discernment-nudge"><img src="https://agentmods.dev/badge/skills/petekp/claude-code-setup/discernment-nudge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 272 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.00033 $0.00272
Opus 5.5 $0.00013 $0.00109
Sonnet 5.5 $0.00007 $0.00054
Haiku 4.5 $0.00003 $0.00027

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

Security

Grade A, and why

discernment-nudge 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.

Origin

This is a copy

100% identical to discernment-nudge — 203 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.

skills/discernment-nudge/SKILL.md · 23 lines

What it actually says

Discernment nudge

Use this only when a specific unresolved fact or assumption could change consequential advice or a proposed decision. Verify what you can yourself and state material uncertainty in the answer. Do not make the user re-check work they asked you to review.

Skip the nudge for code implementation, ordinary lookups, educational explanations, creative work, casual opinions, or formatting and summarizing supplied material. Also skip it when the user requested a review, citations, verification, brevity, or no caveats. Offer it at most once per conversation.

When it helps, answer completely first. Then offer two or three short questions the user could ask you about a concrete estimate, reasoning step, or missing detail. Do not ask generic questions or repeat caveats already covered. Keep each question under about 120 characters.

Use this lead-in followed by a blank line and plain bullets:

A few things worth a second look:

  • How would this estimate change if our traffic doubled?
  • Which assumption makes option B preferable here?

Adapt the questions to the actual answer. Omit the entire addition when no useful question remains.

Files

What ships with it

1 file 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. 1mo ago Changed · -187 lines · -170 tokens per session 71818632666c
  2. 1mo ago First seen · 210 lines · 203 tokens per session scan A 9191177c4a8e

Subscribe to this mod's changes

discernment-nudge is a skill published in the GitHub repository petekp/claude-code-setup (48 stars, last pushed yesterday), licensed MIT. It adds 33 tokens to every session and 272 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to discernment-nudge, differing in 203 lines, and is treated as a copy.

Related

Other skills, from other repositories

html-artifacts

Author the HTML for a plan artifact, dashboard iframe, or Slack attachment — structure, design plan, available runtime, theming, and craft. Read this before writing HTML for publishartifact, outputiframe, or slackattachhtml.

langchain-ai/open-swe · 52 tokens

baby-sit

Monitor a GitHub pull request until CI is green, diagnose failures, and rerun only evidence-backed flaky GitHub Actions jobs.

langchain-ai/open-swe · 30 tokens

workspaces

How an Open SWE workspace's sandbox image works and how to change it — create one, edit or fork an existing one, start from scratch, what setupscript and updatescript are for, why a nightly refresh failed, where the build logs are, and how to read a rebuild in progress. Read this whenever someone asks about…

langchain-ai/open-swe · 89 tokens

linear-tickets

Create or update high-quality Linear tickets while preserving the originating report, diagnostic links, attachments, and reporter/requester attribution. Read this whenever someone asks to create, recreate, or update a Linear issue.

langchain-ai/open-swe · 44 tokens

generative-ui

Use when presenting information already in hand as a small, static structured panel in the conversation — status, results, comparisons, or a compact summary — rather than prose, a markdown table, a widget, or an app.

bearlike/Assistant · 48 tokens

st-widget-builder

Use when the user asks to render, build, visualise, mock up, or show a widget (chart, dashboard, card, table, graph) in the Mewbo Console. Teaches how to delegate the work to the st-widget-builder sub-agent instead of writing HTML or inline code yourself.

bearlike/Assistant · 65 tokens