prompt-forge-agent

prompt-forge-agent is an agent for coding agents from tqnonline/agent-forge. It costs 163 tokens per session (2,912 once invoked), scanned A, original, BSD-3-Clause.

An agent that turns a rough request into a detailed prompt for another AI system. It analyzes the intent, context, and suitable prompting methods before assembling the result.

In plain words
What is it for?
It is for designing, refining, and hardening prompts for tasks that need structured instructions.
Why use it?
It helps remove ambiguity and produce prompts that are easier for an AI system to follow.

Agent

Part of the prompts plugin — 1 skill, 1 command, 1 agent shipped together

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.

agentmods
npx agentmods add agents/tqnonline/agent-forge/prompt-forge-agent
Clone the repo
git clone --depth 1 https://github.com/tqnonline/agent-forge

Or install prompts, the plugin that ships this one along with the rest of its 1 skill, 1 command, 1 agent.

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-forge-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/tqnonline/agent-forge/prompt-forge-agent.svg)](https://agentmods.dev/agents/tqnonline/agent-forge/prompt-forge-agent)
Your own site
<a href="https://agentmods.dev/agents/tqnonline/agent-forge/prompt-forge-agent"><img src="https://agentmods.dev/badge/agents/tqnonline/agent-forge/prompt-forge-agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 163 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,912 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00163 $0.02912
Opus 5 $0.00081 $0.01456
Sonnet 5 $0.00033 $0.00582
Haiku 4.5 $0.00016 $0.00291

Measured 3d ago against content hash 6f72b206be9e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

prompt-forge-agent 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 3d 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.

plugins/prompts/agents/prompt-forge-agent.agent.md · 291 lines

How it starts

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

Prompt Forge Agent

You are the Prompt Forge Agent — an intelligent orchestrator that transforms raw user intent into production-grade AI prompts. You are not a form to fill out. You are a prompt architect that reads context, thinks, asks only what it must, and builds.


UNIX Philosophy

This agent operates on UNIX principles:

  1. Do one thing well — Each stage has one job. Intent comprehension. Context extraction. Signal detection. Technique selection. Pattern hardening. Assembly. Each is a focused pipe.
  2. Compose — Stages compose into a pipeline. The output of each stage is the input to the next. No stage needs to know about the others.
  3. Text streams — Raw intent flows in. Hardened prompt flows out. Everything in between is transformation.
  4. Small sharp tools — Techniques and hardening patterns are independent, composable units. The agent selects and stacks them. It does not use monolithic templates.
  5. Convention over configuration — Smart defaults. Ask only when ambiguous. Prefer action over questions.
  6. Silence is golden — Don't explain what you're about to do. Do it. Show the result. Explain the choices you made.

The Pipeline

stdin (user intent)
  │
  ├── Stage 1: COMPREHEND ──── Read context, classify task, extract signals
  │
  ├── Stage 2: INQUIRE ─────── Ask only what cannot be inferred (2-4 questions max)
  │
  ├── Stage 3: ROUTE ──────── Select technique + hardening patterns from signals
  │
  ├── Stage 4: ASSEMBLE ───── Compose prompt from technique + patterns + voice
  │
  └── Stage 5: DELIVER ────── Present prompt, offer execute/refine/save
  │
stdout (hardened prompt)

Stage 1: COMPREHEND

Job: Understand what the user wants without asking. Read the environment.

When the user provides input:

  1. Parse the intent — What is the user trying to accomplish? Classify into: Query/Answer, Research, Artifact (Document/Spreadsheet/Presentation/Markdown), Code, Workflow/Automation.

  2. Read the environment — If the user is in a codebase, read relevant files to understand the domain. If they reference existing work, read it. Use Read, Grep, Glob to build context autonomously.

Read the full file on GitHub · 291 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. 3d ago First seen · 291 lines · 163 tokens per session scan A 6f72b206be9e

Subscribe to this mod's changes

prompt-forge-agent is an agent published in the GitHub repository tqnonline/agent-forge (2 stars, last pushed 3mo ago), licensed BSD-3-Clause. It adds 163 tokens to every session and 2,912 once invoked, about $0.0008 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 agents, from other repositories

logging

Always use the logger with an object as the second parameter.

promptfoo/promptfoo · 0 tokens

prompt-engineering-expert

Provides expert prompt engineering capabilities specializing in advanced prompting techniques, LLM optimization, and AI system design. Masters chain-of-thought, constitutional AI, and production prompt strategies. Use PROACTIVELY for prompt creation, optimization, document/code analysis prompts, or AI system design.…

giuseppe-trisciuoglio/developer-kit · 70 tokens

prompt-compression-verifier

Verifies prompt compression quality. Checks goal clarity, novel constraint preservation, and action space openness. Flags over-specification and training-redundant content. Returns VERIFIED or ISSUESFOUND.

doodledood/manifest-dev · 44 tokens

prompt-pipeline-runner

Executes the six-stage prompt-writer pipeline and produces two mandatory output artifacts (ready-to-run prompt, confidence report).

rp1-run/rp1 · 30 tokens

prompt-engineer

Author, restructure, and evaluate the text that steers a model. TRIGGER WHEN: writing system prompts, designing agent instructions, or optimizing prompt performance for reliability and token efficiency.

acaprino/daodan · 40 tokens

hyv-veo-prompt-smith

The generative-prompt writer for HearYourVOICE (Phase 4). Looks at the shots still MISSING a source in the shotlist (after CC scouting) and writes copy/paste generation prompts to fill exactly those gaps — no more. Builds each prompt from the measured durations and the veo-prompt guide, applying subject-lock and…

killernay/HearYourVOICE · 124 tokens