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.
git clone --depth 1 https://github.com/alirezarezvani/claude-code-skill-factorynpx agentmods add skills/alirezarezvani/claude-code-skill-factory/prompt-factoryWrote 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.
[](https://agentmods.dev/skills/alirezarezvani/claude-code-skill-factory/prompt-factory)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
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:
- User asks for help creating a prompt
- Skill MUST ask 5-7 questions (even if context seems obvious)
- User answers questions with specific details
- Skill generates ONE comprehensive prompt document
- Skill announces token count (e.g., "Generated prompt: 4,200 tokens")
- STOP - Do not implement anything from the prompt
- 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:
- Mandatory 5-7 question flow (MUST ask, even if context obvious) with example answers
- 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)
- Multi-format output (XML/Claude/ChatGPT/Gemini)
- 7-point quality validation before delivery
- Contextual best practices from OpenAI, Anthropic, Google
- Core & Advanced modes for different needs
- Complete coverage of role × industry × task combinations
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.
- CHANGELOG.md 13 KB
- examples/example-1-fullstack-api.md 14 KB
- examples/example-2-marketing-strategy.md 12 KB
- examples/example-3-product-prd.md 14 KB
- examples/example-4-devops-infrastructure.md 20 KB
- examples/example-5-content-calendar.md 18 KB
- HOW_TO_USE.md 29 KB
- outputs/.gitkeep 0 B
- README.md 9.3 KB
- references/best-practices-reference.md 14 KB
- requirements.txt 249 B
- scripts/batch_generator.py 9.2 KB runs code
- scripts/generate_prompt.py 29 KB runs code
- scripts/optimizer.py 22 KB runs code
- scripts/validator.py 19 KB runs code
- templates/presets/business/business-analyst.md 8.4 KB
- templates/presets/business/marketing-manager.md 6.3 KB
- templates/presets/business/marketing-strategist.md 3.7 KB
- templates/presets/business/operations-manager.md 7.6 KB
- templates/presets/business/product-engineer.md 7.4 KB
- templates/presets/business/product-manager.md 4.3 KB
- templates/presets/business/product-owner.md 7.7 KB
- templates/presets/business/project-manager.md 7.2 KB
- templates/presets/business/sales-business-manager.md 7.7 KB
- templates/presets/creative-media/copywriter.md 11 KB
- templates/presets/creative-media/seo-specialist.md 14 KB
- templates/presets/creative-media/social-media-manager.md 13 KB
- templates/presets/creative-media/video-producer.md 15 KB
- templates/presets/creative/content-strategist.md 5.0 KB
- templates/presets/creative/ux-researcher.md 7.7 KB
- templates/presets/customer/account-manager.md 15 KB
- templates/presets/customer/customer-experience-manager.md 15 KB
- templates/presets/customer/customer-success-manager.md 14 KB
- templates/presets/customer/support-engineer.md 14 KB
- templates/presets/design/brand-designer.md 11 KB
- templates/presets/design/graphic-designer.md 9.9 KB
- templates/presets/design/product-designer.md 11 KB
- templates/presets/design/ui-ux-designer.md 9.9 KB
- templates/presets/executive/ceo-founder.md 13 KB
- templates/presets/executive/chief-marketing-officer.md 15 KB
- templates/presets/executive/chief-operations-officer.md 15 KB
- templates/presets/executive/chief-product-officer.md 15 KB
- templates/presets/executive/chief-strategy-officer.md 14 KB
- templates/presets/executive/cto-vp-engineering.md 14 KB
- templates/presets/executive/general-manager.md 14 KB
- templates/presets/finance/accountant-tax.md 13 KB
- templates/presets/finance/cfo-controller.md 13 KB
- templates/presets/finance/financial-analyst.md 12 KB
- templates/presets/finance/investment-analyst.md 13 KB
- templates/presets/hr/compensation-analyst.md 15 KB
- templates/presets/hr/hr-manager.md 14 KB
- templates/presets/hr/learning-development.md 16 KB
- templates/presets/hr/talent-acquisition.md 14 KB
- templates/presets/legal/compliance-officer.md 11 KB
- templates/presets/legal/contract-manager.md 11 KB
- templates/presets/legal/legal-counsel.md 10.0 KB
- templates/presets/legal/regulatory-affairs.md 13 KB
- templates/presets/manufacturing/industrial-designer.md 16 KB
- templates/presets/manufacturing/manufacturing-engineer.md 14 KB
- templates/presets/manufacturing/quality-engineer.md 15 KB
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.
- 10d ago First seen · 1,110 lines · 118 tokens per session scan A bde91a339b0c
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.
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…
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…
video-prompt-engineer
Write and fix prompts for AI video generation.
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…
recode
Prompt-level recoding-decoding — break out of modal responses through systematic perturbation, clustering, and long-tail knowledge extraction.
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.