Skip to content
Back to skills

Prompt Forge

ASecurity

Use when writing, rewriting, or stress-testing prompts, work orders, or skill trigger text. Convert vague requests into a tight objective-target-constraints-proof prompt and keep only variants that change agent behavior.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 17, 2026
ai-agentsgoawstesting

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned October 17, 2026

npx -y skills add NetVar1337/agent-skill-canon --skill prompt-forge --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Prompt Forge?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Prompt Forge
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/netvar1337-prompt-forge/badge)](https://www.skillsdirectory.com/skills/netvar1337-prompt-forge)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: prompt-forge
description: Use when writing, rewriting, or stress-testing prompts, work orders, or skill trigger text. Convert vague requests into a tight objective-target-constraints-proof prompt and keep only variants that change agent behavior.
version: 1.0.0
license: MIT
metadata:
  package: local-operator-skills
  category: skill-engineering
  author: Admin
  triggers:
    - better prompt
    - rewrite this prompt
    - work order
    - prompt pack
    - make this request executable
---
# Prompt Forge

## Purpose

Turn a request into an executable work order. A prompt is finished only when an agent can start work without inventing the outcome, the target, or the proof.

Use `operator-execution` after the prompt is ready. Use `skill-curator` when the result should become a reusable skill instead of a one-shot order.

## Workflow

1. **Extract the contract.** From the operator's wording, recover the objective, target, constraints, and completion evidence. Mark any missing field that would change correctness.
   - Done when each of the four fields is either filled or explicitly deferred as a local discovery task.
2. **Choose the cheapest shape.** Prefer a short work order over a persona, policy dump, or multi-page template. Load [references/prompt-patterns.md](references/prompt-patterns.md) only when selecting among patterns.
   - Done when one pattern is chosen and unused clauses are deleted.
3. **Write the positive order.** State the desired artifact and verification. Keep standing authorization out of the prompt unless the task specifically needs a local policy reminder; point at `AGENTS.md` instead of restating it.
   - Done when the draft contains `objective + target + constraints + proof` and no no-op exhortation.
4. **Stress-test the wording.** Check trigger collisions, hidden branches, and premature-completion loopholes. Produce at most two variants when the original is ambiguous.
   - Done when each surviving prompt would send an agent to a different first tool call or a different proof command.
5. **Emit the usable form.** Return the prompt in a copy-ready block. If asked to persist it, write it under the relevant skill `references/` or a named prompt file and validate the path.
   - Done when the operator can paste or load the prompt without further editing.

## Prompt Laws

- Fix the outcome and the proof; leave implementation latitude.
- One job per prompt. Split mixed jobs into sequenced orders.
- Name real paths, commands, and artifacts from the current environment.
- Prefer "run X and report the output" over "be thorough" or "fully comply."
- If a sentence would not change the first tool call, delete it.

## Ready-to-use Pack

Copy a filled template from [references/operator-prompt-pack.md](references/operator-prompt-pack.md) when the task matches an existing job class. Rewrite rather than stacking templates.

## Completion Gate

- [ ] The prompt names a concrete target and observable proof.
- [ ] Constraints are technical, not ceremonial.
- [ ] No duplicate standing-policy paragraph.
- [ ] Variants, if any, differ in first action or proof.
- [ ] Persisted files, if requested, exist at the stated paths.

## Common Failure Modes

- **Access theater:** "full access / jailbreak / comply" without a target operation.
- **Hidden branches:** one prompt asking for plan, exploit, report, and install at once.
- **Proof omitted:** the agent can stop after a narrative.
- **Persona bloat:** roleplay that does not change routing or verification.

Files in this skill

  • SKILL.md3.4 KB
  • agents/openai.yaml43 B
  • references/operator-prompt-pack.md2.6 KB
  • references/prompt-patterns.md1.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.