coding-agent-prompt-generator

coding-agent-prompt-generator is a skill for Claude Code, Codex from ciaransaunders/Skills-Public. It costs 216 tokens per session (2,663 once invoked), scanned A, original, MIT.

A prompt-writing guide for Claude Code, an AI coding tool that works in a real code repository through a terminal, IDE, or desktop app.

In plain words
What is it for?
Use it to prepare Claude Code prompts for coding, refactoring, debugging, migrations, code audits, research, and repository maintenance.
Why use it?
It turns a rough development request into clearer instructions and helps account for risks such as unwanted file changes, stopping too soon, or running indefinitely.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; mentions subagents; mentions Claude Code.

Good fit Use it to prepare Claude Code prompts for coding, refactoring, debugging, migrations, code audits, research, and repository maintenance.

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

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 coding-agent-prompt-generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/ciaransaunders/skills-public/coding-agent-prompt-generator.svg)](https://agentmods.dev/skills/ciaransaunders/skills-public/coding-agent-prompt-generator)
Your own site
<a href="https://agentmods.dev/skills/ciaransaunders/skills-public/coding-agent-prompt-generator"><img src="https://agentmods.dev/badge/skills/ciaransaunders/skills-public/coding-agent-prompt-generator.svg" alt="Measured on agentmods" height="20"></a>
Per session 216 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,663 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.00216 $0.02663
Opus 5 $0.00108 $0.01332
Sonnet 5 $0.00043 $0.00533
Haiku 4.5 $0.00022 $0.00266

Measured 8d ago against content hash 4943312eece2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

coding-agent-prompt-generator 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 8d 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.

coding-agent-prompt-generator/SKILL.md · 174 lines

How it starts

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

Claude Code Prompt Generator

You help the user turn a rough dev task into a tight, effective Claude Code prompt they can paste straight into a new session.

This is the coding-session sibling of the Cowork prompt generator. Cowork is a sealed file-based agent you give a goal and walk away from; Claude Code is an agent that lives in a real codebase, can be interactive or autonomous, runs tests and git, and parallelises work across subagents and sessions. The prompts you write must account for that extra power and the extra ways it can go wrong (roaming the filesystem, stopping too early, or running open-ended forever).

What Claude Code Is (your mental model)

Claude Code is an agent that operates on the user's actual machine and repository. By default it can read and edit files, run shell commands, use git, run tests, and search the codebase. It can:

  • Make a targeted change in one session with you watching (the common case)
  • Delegate side tasks to subagents that work in their own context and report back a summary
  • Run background sessions you dispatch and check on later (claude agents)
  • Run a dynamic workflow — a script orchestrating dozens to hundreds of subagents for huge or cross-checked work
  • Keep working toward a goal across turns until a condition is met (/goal)
  • Re-run a prompt on a schedule (/loop) to poll a build or babysit a PR

Unlike Cowork, it is a session — it can ask you questions mid-task. Your prompt decides how much it should lean on that (stop and check) versus run autonomously to a finish line.

The single biggest difference from Cowork: Claude Code needs an explicit definition of done, or it either stops too early or never stops. Half your job is writing that finish line.


Your Job

When the user describes a dev task (or asks for a Claude Code prompt), you:

  1. Understand the task. If you have enough, draft immediately. If it's vague, ask exactly one focused question — usually "what does done look like — tests passing, a feature built, a report?" Never more than one question per turn.
  2. Extract the five ingredients (below) from the conversation; ask only for what's genuinely missing.
  3. Pick the execution mode — effort, parallelism, permission posture, autonomy. See references/execution-mode-guide.md. This is the part that has no Cowork equivalent; get it right.
  4. Draft the prompt using the template in references/claude-code-prompt-template.md. If the task maps to a known type (bug fix, refactor, migration, audit, test-writing, review, research), consult references/task-type-guide.md first.
  5. Present it cleanly — a single block the user can copy and paste into a new Claude Code session, plus a one-line note on the recommended effort/mode.
  6. Flag any gotchas — features that need a specific version, plan, or flag (agent teams, workflows, artifacts), or anything that risks roaming or running away.

Read the full file on GitHub · 174 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. 8d ago First seen · 174 lines · 216 tokens per session scan A 4943312eece2

Subscribe to this mod's changes

coding-agent-prompt-generator is a skill published in the GitHub repository ciaransaunders/Skills-Public (2 stars, last pushed 2mo ago), licensed MIT. It adds 216 tokens to every session and 2,663 once invoked, about $0.0011 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

ec2

AWS EC2 virtual machine management — instances, security groups, key pairs, AMIs, EBS volumes, Auto Scaling Groups, Spot Instances, Session Manager, placement groups, and instance lifecycle automation. Trigger on ANY of these, even when EC2 isn't named explicitly: - Launching or provisioning: "spin up a server"…

itsmostafa/aws-agent-skills · 320 tokens

cloudwatch

AWS CloudWatch monitoring for logs, metrics, alarms, and dashboards. Use when setting up monitoring, creating alarms, querying logs with Insights, configuring metric filters, building dashboards, or troubleshooting application issues.

itsmostafa/aws-agent-skills · 43 tokens

sns

AWS SNS notification service for pub/sub messaging. Use when creating topics, managing subscriptions, configuring message filtering, sending notifications, or setting up mobile push.

itsmostafa/aws-agent-skills · 32 tokens

cognito

AWS Cognito user authentication and authorization service. Use when setting up user pools, configuring identity pools, implementing OAuth flows, managing user attributes, or integrating with social identity providers.

itsmostafa/aws-agent-skills · 38 tokens

eventbridge

AWS EventBridge serverless event bus for event-driven architectures. Use when creating rules, configuring event patterns, setting up scheduled events, integrating with SaaS, or building cross-account event routing.

itsmostafa/aws-agent-skills · 41 tokens

s3

AWS S3 object storage for bucket management, object operations, and access control. Use when creating buckets, uploading files, configuring lifecycle policies, setting up static websites, managing permissions, or implementing cross-region replication.

itsmostafa/aws-agent-skills · 45 tokens