prompting

prompting is a skill for Claude Code from bendrucker/claude. It costs 90 tokens per session (1,783 once invoked), scanned A, original, MIT.

A guide to writing documents that an AI model executes, including prompts, skills, tool descriptions, agent descriptions, and project instruction files.

In plain words
What is it for?
Use it when authoring or revising instructions for coding agents, tools, skills, and files such as CLAUDE.md or AGENTS.md.
Why use it?
It helps decide which instructions belong in the main prompt and which should be kept in reference material, reducing inconsistent behavior and unnecessary context.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions subagents; mentions AGENTS.md.

Part of the prompting plugin — 2 skills shipped together

Good fit Use it when authoring or revising instructions for coding agents, tools, skills, and files such as CLAUDE.md or AGENTS.md.

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

Made for: Claude Code.

Or install prompting, the plugin that ships this one along with the rest of its 2 skills.

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 prompting

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/bendrucker/claude/prompting"><img src="https://agentmods.dev/badge/skills/bendrucker/claude/prompting.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,783 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.00090 $0.01783
Opus 5.5 $0.00036 $0.00713
Sonnet 5.5 $0.00018 $0.00357
Haiku 4.5 $0.00009 $0.00178

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

Security

Grade A, and why

prompting 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 13d 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.

plugins/prompting/skills/prompting/SKILL.md · 130 lines

How it starts

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

Prompting

Rules for any document a model executes. Each rule targets variance: the same document should drive the same process on every run.

To rewrite an existing document, see references/conversion.md.

Placement

Put material in the body when every run needs it. Put it behind a pointer when only some runs reach it. Leave it unpointed when a human should choose whether to reach it, because a pointer from the body hands that choice to the model.

Move reference that only some branches need out of a step sequence, even when it is short. Leaving it in place makes the model attend to the surrounding steps inconsistently across runs, which costs more than the tokens do.

Bodies hold two kinds of material: the ordered actions the model performs, and the definitions and rules it consults while performing them. Keep a flat list of peer rules flat.

A document can be too long even when every line is live and unique. Past that length the model attends unevenly across it. Move reference behind pointers, then split by case or by sequence so each path carries only what it needs.

Pointers

A pointer names material outside the context and states when to reach it. A skill description, a CLAUDE.md line naming a rule file, a See <file> link, and a tool description are all pointers.

The pointer's wording determines whether the model reaches the material. Sharpen the wording before inlining anything.

Write a pointer to state what the material is and which cases trigger it. Prune it harder than the body, because it costs every turn:

  • Put the trigger word first.
  • One trigger per case. Synonyms for one case are that case written twice.
  • Cut identity the body already carries.

Co-location

Keep a concept's definition, rules, and caveats under one heading. Test a section by reading it alone: it should answer the question it names without sending the reader elsewhere in the file.

Splitting

Split a sequence when later steps tempt the model to finish the current one early. That works only across a real context break: a hand-off, a subagent dispatch, a separate request. An inline reference leaves the later steps in context.

Read the full file on GitHub · 130 lines

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. 13d ago Changed 067ae9b2edc4
  2. 1mo ago Changed · +4 lines fce57506b8bc
  3. 1mo ago Changed · -4 lines · +11 tokens per session 6703ca37c7c0
  4. 2mo ago First seen · 130 lines · 79 tokens per session scan A ad2fdd0d3df2

Subscribe to this mod's changes

prompting is a skill published in the GitHub repository bendrucker/claude (18 stars, last pushed today), licensed MIT. It adds 90 tokens to every session and 1,783 once invoked, about $0.0004 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-10.

Related

prompting compared with skills from other repositories

prompting next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
promptingbendrucker/claudeSkill18todayMITA90Claude Code
reviewSethGammon/CitadelSkill9284d agoMITA17Claude Code
system-upgradealivecontext/aliveSkill132yesterdayMITA55Claude Code
wenlan-handoffwenlan-app/wenlanSkill94todayApache-2.0A43Claude Code, Codex
extract-resumesuxrobGM/jobpilotSkill111todayMITA32Claude Code
pr-reviewnitinjain999/platform-skillsSkill71yesterdayApache-2.0A81Claude Code
read-literaturefirecrawl/firecrawl-claude-pluginSkill2583d agoMITA101Claude Code