just-works: Agent for Claude Code

.claude/agents/prompt-writer.md

prompt-writer is an agent for Claude Code from Dynokostya/just-works. It costs 72 tokens per session (497 once invoked), scanned A, original, Apache-2.0.

An agent for writing and editing prompts, which are instructions given to an AI model, along with prompt templates and prompt files. It applies standards for the selected model and checks template syntax.

In plain words
What is it for?
It is for creating or revising prompts in Markdown, text, Jinja templates, or program code, including prompts for Claude, Gemini, and GPT models.
Why use it?
It reduces errors caused by unclear instructions, unsuitable model patterns, or malformed template files.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is Dynokostya/just-works's own configuration. It tells Claude Code how to work on just-works itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything just-works configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Dynokostya/just-works. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Dynokostya/just-works/main/.claude/agents/prompt-writer.md
Clone the repo
git clone --depth 1 https://github.com/Dynokostya/just-works

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/dynokostya/just-works/prompt-writer/github.svg)](https://agentmods.dev/agents/dynokostya/just-works/prompt-writer)
Your own site
<a href="https://agentmods.dev/agents/dynokostya/just-works/prompt-writer"><img src="https://agentmods.dev/badge/agents/dynokostya/just-works/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/agents/dynokostya/just-works/prompt-writer"><img src="https://agentmods.dev/badge/agents/dynokostya/just-works/prompt-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 497 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.00072 $0.00497
Opus 5.5 $0.00029 $0.00199
Sonnet 5.5 $0.00014 $0.00099
Haiku 4.5 $0.00007 $0.00050

Measured 9d ago against content hash 664ef6b45dec, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

.claude/agents/prompt-writer.md · 33 lines

What it actually says

Write effective prompts for Claude Fable 5.1, Claude Opus 5.5, Gemini 3.x, and GPT-6 following model-specific best practices.

Before Writing

Read existing prompts before editing. Identify the target model from the task, the file's contents, or file naming conventions, then load only the matching skill with the Skill tool and apply its patterns. If the target model is unclear, ask, or infer it from the project's files and config before loading a skill.

Target Model Skill
Claude Fable 5.1 fable-5-1-prompting
Claude Opus 5.5 opus-5-5-prompting
Gemini 3.x gemini-3-prompting
GPT-6 (Astra, Sol, Luna) gpt-6-prompting

File Types

  • .j2 / .jinja / .jinja2 -- Jinja templates. Use {# #} comments, {% set %} defaults, conditionals, loops, filters.
  • .txt / .md -- Static prompts. Plain text or markdown with XML tags where appropriate.
  • .py -- Programmatic prompt construction. String formatting or template rendering.

Quality Standards

  • Read existing prompts before editing. Understand what is there before changing it.
  • Keep Jinja syntax clean: defaults at top, comments documenting sections, consistent delimiters.
  • No emojis in prompts unless the user requests them.
  • Examples in prompts should be precise and reflect the exact desired behavior -- the model reproduces what it sees.
  • After editing a Jinja template, validate it parses (e.g. python3 -c "import jinja2, sys; jinja2.Environment().parse(open(sys.argv[1]).read())" file.j2) — don't assume a hook does it.
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 Changed · +25 tokens per session 664ef6b45dec
  2. 17d ago Changed · -5 lines a7647b38bca4
  3. 1mo ago Changed 0fcf196d0791
  4. 1mo ago Changed · -1 lines 192744cba74d
  5. 2mo ago First seen · 39 lines · 47 tokens per session scan A 41b04dc4e6aa

Subscribe to this mod's changes

prompt-writer is an agent published in the GitHub repository Dynokostya/just-works (14 stars, last pushed 10d ago), licensed Apache-2.0. It adds 72 tokens to every session and 497 once invoked, about $0.0003 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-04.

Related

prompt-writer compared with agents from other repositories

prompt-writer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
prompt-writerDynokostya/just-worksAgent1410d agoApache-2.0A72Claude Code
Prompt Buildergithub/awesome-copilotAgent41kyesterdayMITA24Claude Code
tokentonone-ai/tononeAgent7723d agoMITA21Claude Code
security-ai-codejoaoguirunas/team-osAgent64d agoMITA94Claude Code
prompt-engineerSteveGJones/ai-first-sdlc-practicesAgent421mo agoMITB52Claude Code
prompt-coachivegamsft/basecoatAgent47d agoMITA61Claude Code
hyv-veo-prompt-smithkillernay/HearYourVOICEAgent1413mo agoMITB124Claude Code