prompt-writer

prompt-writer is a skill for Claude Code, Codex from SNIKO/agent-skills. It costs 64 tokens per session (346 once invoked), scanned A, original, MIT.

A guide for creating, reviewing, and revising prompts and instructions used by AI models and agents. It chooses guidance for OpenAI, Anthropic, or provider-neutral prompts based on the task.

In plain words
What is it for?
Writing system prompts, developer instructions, agent policies, prompt templates, evaluation prompts, and skill files.
Why use it?
It helps turn unclear or inconsistent instructions into prompts that better preserve the intended behavior.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Writing system prompts, developer instructions, agent policies, prompt templates, evaluation prompts, and skill files.

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

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 prompt-writer

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sniko/agent-skills/prompt-writer"><img src="https://agentmods.dev/badge/skills/sniko/agent-skills/prompt-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 346 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.00064 $0.00346
Opus 5 $0.00032 $0.00173
Sonnet 5 $0.00013 $0.00069
Haiku 4.5 $0.00006 $0.00035

Measured 10d ago against content hash 2bf71940406c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

prompt-writer 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 10d 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.

skills/prompt-writer/SKILL.md · 26 lines

What it actually says

Prompt Writer

Use this skill as a router. Do not rely on this file for detailed prompting rules; load the appropriate reference before writing, reviewing, or revising the prompt.

Provider Selection

Infer the target provider from the user request, model names, product names, surrounding prompt context, or prompt target:

If more than one provider applies, read each relevant provider reference and resolve conflicts in favor of the user's stated target. If no target is stated, use the generic reference.

Required Workflow

  1. Select and read the proper reference file before producing the prompt artifact.
  2. Follow the selected reference's structure, rules, examples, output rules, and quality check.
  3. Keep the user's intended behavior unless it conflicts with the user's current request or the selected reference.
  4. Return the finished prompt first, with a short note only when it helps explain an important structure choice.
Files

What ships with it

5 files 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. 10d ago First seen · 26 lines · 64 tokens per session scan A 2bf71940406c

Subscribe to this mod's changes

prompt-writer is a skill published in the GitHub repository SNIKO/agent-skills (2 stars, last pushed 18d ago), licensed MIT. It adds 64 tokens to every session and 346 once invoked, about $0.0003 per session on Opus 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-08-31.

Related

Other skills, from other repositories

gpt-image-2-prompting

Prompt OpenAI's GPT Image 2 — the five-slot Scene/Subject/Details/Use case/Constraints template it responds to, the change-versus-preserve shape for edits, labelled multi-image compositing, and how to get text on an image to render verbatim. Use whenever the model id contains gpt-image-2 (openai/gpt-image-2…

nodetool-ai/nodetool · 154 tokens

qwen-image-prompting

Prompt Alibaba's Qwen-Image line for the typography work it is built for — quoting exact copy so the model stops inventing it, switching prompt expansion off before it rewrites your strings, describing layout in relative position and weight rather than point sizes, writing non-Latin scripts as characters, and…

nodetool-ai/nodetool · 180 tokens

stable-audio-prompting

Prompt Stability's Stable Audio line — the genre/instruments/mood/BPM order its training metadata expects, the TrackType and VocalType tags that separate music, stems and sound effects on Stable Audio 3, matching duration to what you described, which checkpoints guidancescale and step count actually affect, and…

nodetool-ai/nodetool · 205 tokens

flux-2-klein-prompting

Prompt Black Forest Labs' FLUX.2 [klein] — the subject/environment/style/technical hierarchy it processes in order, guidance-scale and step choices, negative prompts aimed at real failure modes, and the seed-locked one-variable-at-a-time loop its sub-second latency makes practical. Use whenever the model id contains…

nodetool-ai/nodetool · 193 tokens

hailuo-prompting

Prompt MiniMax's Hailuo video line — the chronological beat order it animates from, the fifteen bracketed camera commands the Director endpoints accept and the three-per-bracket rule, when to switch promptoptimizer off, why there is no negative prompt to fall back on, and prompting the delta on image-to-video. Use…

nodetool-ai/nodetool · 207 tokens

seedream-prompting

Prompt ByteDance's Seedream 4 and 5 image line — the six-layer brief it reads in order, the word budget past which it starts dropping clauses, quoting in-image copy and placing it, pinning what must not change before an edit, addressing up to ten references by content instead of by index, and the size to iterate at…

nodetool-ai/nodetool · 222 tokens