nudge-setup

nudge-setup is a skill for Claude Code from phobologic/claude_code_helpers. It costs 113 tokens per session (2,111 once invoked), scanned A, original, MIT.

A setup tool for a repository's project-nudge script. The script displays a repository-defined reminder above the coding prompt about what to do next.

In plain words
What is it for?
Use it to create or revise the .claude/nudge/run script, its trust file and its README.
Why use it?
It turns the repository's skills, instructions, scripts, file patterns, timing and dependencies into session reminders. It also helps fix setup errors and records which files the script trusts.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions CLAUDE.md.

Part of the project-nudge plugin — 1 skill shipped together

Good fit Use it to create or revise the .claude/nudge/run script, its trust file and its README.

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

Made for: Claude Code.

Or install project-nudge, the plugin that ships this one along with the rest of its 1 skill.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/phobologic/claude_code_helpers/nudge-setup"><img src="https://agentmods.dev/badge/skills/phobologic/claude_code_helpers/nudge-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,111 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.00113 $0.02111
Opus 5.5 $0.00045 $0.00844
Sonnet 5.5 $0.00023 $0.00422
Haiku 4.5 $0.00011 $0.00211

Measured 9d ago against content hash 8bad72392547, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

nudge-setup 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 9d 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.

mods/project-nudge/skills/nudge-setup/SKILL.md · 84 lines

How it starts

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

Nudge setup

The project-nudge mod runs <repo root>/.claude/nudge/run at session start and after each main-loop turn, in repos the user has allowed (answers kept in ~/.claude/project-nudge.json), and shows the result in a band above the prompt. This skill helps a repo write a good run. The mod knows nothing about any project; every rule about what is worth a nudge lives in the repo.

If the argument is an error message from the mod's red band, this is a fix: go to step 1, read the error against the contract below, fix that, and run step 6.

The contract (version 1)

.claude/nudge/ holds two required files:

  • run: any executable (shebang, chmod +x), a regular file, not a symbolic link.
  • trust: the repo files run relies on, one repo-relative path per line (blank lines and lines starting with # ignored). It may list nothing, but it must exist. Each entry is a regular file inside the repo: no folders, no symbolic links, no absolute paths, no ...

When the user allows the repo, the mod pins the git blob hash of run, trust and every listed file. If any of them changes (a merged PR, a local edit), it stops running the script and asks again. So list everything run executes or imports from the repo, transitively: a file left out can change without a re-ask. Keep the set small, since every edit to a listed file costs the user a re-approval.

The mod runs run with the repo root as cwd, a 5 s timeout (a session's start waits for it, so a slow script delays every launch), and these variables set:

  • PYTHONSAFEPATH=1: Python does not put the script's own folder on sys.path, so a sibling module is not importable by name. This is deliberate: an unlisted file beside the script would otherwise run unpinned. Load helpers by path, or keep the script one file.
  • PYTHONDONTWRITEBYTECODE=1: no __pycache__ written into the repo.
  • GIT_OPTIONAL_LOCKS=0: git status and similar do not take the index lock while the user's own git commands run.

Read the full file on GitHub · 84 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. 9d ago First seen · 84 lines · 113 tokens per session scan A 8bad72392547

Subscribe to this mod's changes

nudge-setup is a skill published in the GitHub repository phobologic/claude_code_helpers (6 stars, last pushed 5d ago), licensed MIT. It adds 113 tokens to every session and 2,111 once invoked, about $0.0005 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-11-22.

Related

nudge-setup compared with skills from other repositories

nudge-setup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nudge-setupphobologic/claude_code_helpersSkill65d agoMITA113Claude Code
orbit-notionnexu-io/open-designSkill110ktodayApache-2.0A117Claude Code, Codex
agentmailpaperclipai/paperclipSkill118ktodayMITA30Claude Code, Codex
rowboat-spacesrowboatlabs/rowboatSkill18ktodayApache-2.0A60Claude Code, Codex
Cortexdanielmiessler/LifeOSSkill21k13d agoMITA184Claude Code
feishuHmbown/CodeWhaleSkill41k2d agoMITA33Claude Code, Codex
pinchtab-mcppinchtab/pinchtabSkill11k6d agoMITA52Claude Code, Codex