prompt-factory

prompt-factory is a skill for Claude Code, Codex from alirezarezvani/claude-code-skill-factory. It costs 118 tokens per session (8,916 once invoked), scanned A, original, MIT.

A guided tool for creating one detailed prompt for another AI or person to use. It asks several questions first and checks the resulting prompt, but does not carry out the requested work.

In plain words
What is it for?
Use it to prepare a prompt for technical, business, creative, legal, finance, HR, design, or other professional tasks.
Why use it?
It turns vague requests into clearer instructions and makes the requirements easier to reuse. It also avoids confusing a written prompt with an implemented solution.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is --output-dir ./outputs/.

Good fit Use it to prepare a prompt for technical, business, creative, legal, finance, HR, design, or other professional tasks.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/alirezarezvani/claude-code-skill-factory
agentmods
npx agentmods add skills/alirezarezvani/claude-code-skill-factory/prompt-factory

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-factory

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/alirezarezvani/claude-code-skill-factory/prompt-factory"><img src="https://agentmods.dev/badge/skills/alirezarezvani/claude-code-skill-factory/prompt-factory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 118 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,916 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.00118 $0.08916
Opus 5 $0.00059 $0.04458
Sonnet 5 $0.00024 $0.01783
Haiku 4.5 $0.00012 $0.00892

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

Security

Grade A, and why

prompt-factory 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.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/batch_generator.py, scripts/generate_prompt.py, scripts/optimizer.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

generated-skills/prompt-factory/SKILL.md · 1,110 lines

How it starts

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

Prompt Factory - World-Class Prompt Powerhouse

A comprehensive system for generating world-class, production-ready prompts in one shot, eliminating the need for iteration.


⚠️ CRITICAL CONSTRAINTS - READ FIRST

This skill generates PROMPTS only. It does NOT implement the work described in the prompt.

What This Skill DOES:

✅ Generate a comprehensive PROMPT (text document in chosen format) ✅ Ask 5-7 questions to understand requirements (MANDATORY - no skipping) ✅ Validate prompt quality before delivery ✅ Output a SINGLE prompt document with token count ✅ Provide the prompt ready to copy and use elsewhere

What This Skill DOES NOT DO:

❌ Implement the actual work (no code files, no diagrams, no APIs) ❌ Create architectural diagrams or technical implementations ❌ Write actual marketing campaigns or business strategies ❌ Build infrastructure or deploy anything ❌ Create multiple files or deliverables ❌ Execute the prompt after generating it

Expected Workflow:

  1. User asks for help creating a prompt
  2. Skill MUST ask 5-7 questions (even if context seems obvious)
  3. User answers questions with specific details
  4. Skill generates ONE comprehensive prompt document
  5. Skill announces token count (e.g., "Generated prompt: 4,200 tokens")
  6. STOP - Do not implement anything from the prompt
  7. Ask: "Would you like me to modify the prompt or create a variation?"

Why This Matters:

  • Prevents scope creep: You're making a prompt, not doing the work
  • Saves context: One prompt document vs. dozens of implementation files
  • Clear deliverable: User gets a prompt to use with any LLM
  • Reusability: The prompt can be used multiple times

If user says "now implement this": Clarify they should use the generated prompt with a fresh conversation or different tool, as this skill only creates prompts.


Overview

Transform any requirement into an optimized mega-prompt through:

  1. Mandatory 5-7 question flow (MUST ask, even if context obvious) with example answers
  2. 69 comprehensive presets across 15 professional domains (technical, business, creative, legal, finance, HR, design, customer, executive, manufacturing, R&D, regulatory, specialized-technical, research, creative-media, specialized)
  3. Multi-format output (XML/Claude/ChatGPT/Gemini)
  4. 7-point quality validation before delivery
  5. Contextual best practices from OpenAI, Anthropic, Google
  6. Core & Advanced modes for different needs
  7. Complete coverage of role × industry × task combinations

Read the full file on GitHub · 1,110 lines

Files

What ships with it

60 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 · 1,110 lines · 118 tokens per session scan A bde91a339b0c

Subscribe to this mod's changes

prompt-factory is a skill published in the GitHub repository alirezarezvani/claude-code-skill-factory (859 stars, last pushed 10mo ago), licensed MIT. It adds 118 tokens to every session and 8,916 once invoked, about $0.0006 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-30.

Related

Other skills, from other repositories

prompt-master

Generates optimized prompts for AI tools. Activates only when the user explicitly asks to write, fix, improve, or adapt a prompt for a specific AI tool (LLM, Cursor, Midjourney, image AI, video AI, coding agents, etc.). Does not activate for general conversation, coding tasks, document writing, or other…

nidhinjs/prompt-master · 78 tokens

prompt-engineer

Expert prompt engineering for AI systems. Use when the user wants to write or review prompts for AI, create instructions for AI systems, build system prompts, review or improve existing prompts, optimize AI instructions, or create any form of written communication intended for AI consumption (Claude, GPT, or other…

SZoloth/skill-pack · 66 tokens

video-prompt-engineer

Write and fix prompts for AI video generation.

PicsArt/gen-ai-skills · 15 tokens

prompt-decompiler

This skill should be used when the user says "decompile this prompt", "reverse engineer this prompt", "analyze this prompt", "break down this prompt", "what does this prompt do", "adapt this prompt for", "simplify this prompt", "split this prompt", "migrate this prompt", "why does this prompt work", "explain this…

RadOrigin-LLC/RAD-Claude-Skills · 153 tokens

recode

Prompt-level recoding-decoding — break out of modal responses through systematic perturbation, clustering, and long-tail knowledge extraction.

Wondermonger-daydreaming/claude-skills-library · 28 tokens

manus-prompt-engineering

Design and audit Manus prompts for engineering, release, production, and security work. Use when writing a Manus prompt or reviewing a Manus execution or recording against authorization and evidence.

JesseRaber/manus-prompt-engineering-skill · 41 tokens