TAG Prompt Framework: Complete Guide with Examples (2026)

Last updated June 28, 2026 · 2 examples · Works with ChatGPT, Claude, Gemini
Quick Answer

TAG is a three-part prompt framework: Task describes the situation or subject, Action specifies what the AI should do, and Goal states the desired outcome. TAG is similar to RTF but goal-driven rather than format-driven.

What Is the TAG Prompt Framework?

TAG shares RTF's simplicity but approaches prompting from a different angle. RTF ends with Format — how the output should look. TAG ends with Goal — what the output should achieve. This makes TAG better for persuasive, outcome-oriented tasks.

What Does TAG Stand For?

Minimalist goal-driven framework — three fields, fast results.

T
Task
The subject or situation the AI needs to work with.
A
Action
The specific action to take on the task.
G
Goal
The desired outcome or success criterion. What should the output achieve?
+R
Rules (optional)
Cross-cutting constraints added by Promptary as an optional fourth field.

When to Use TAG

Use TAG for persuasive writing, calls to action, brief explanations, and tasks where you care more about what the output achieves than how it looks. For tasks where output format is the primary constraint, RTF is a better fit.

TAG Examples

Signup CTA
Task: Homepage call-to-action button and supporting subtext for a free developer tool.
Action: Write the button label and a one-sentence supporting subtext.
Goal: Get a visiting developer to click and sign up. Remove hesitation by emphasizing zero commitment.
Concept explanation
Task: The concept of a prompt API endpoint — a URL that returns a saved AI prompt as JSON.
Action: Explain it in plain English with a one-sentence analogy.
Goal: A non-technical founder should understand why this is useful without needing to know what REST is.

TAG vs Other Frameworks

TAG vs RTF: RTF ends with Format; TAG ends with Goal. TAG is better for persuasive and outcome-driven tasks. TAG vs APE: APE has a Purpose field (why the task exists); TAG has a Goal field (what the output should achieve).

Use this TAG template in Promptary — free

Save your first TAG prompt in the structured editor and get a permanent REST API endpoint. Personal plan is free forever, no credit card required.

Start free

Frequently Asked Questions

What does TAG stand for in prompt engineering?

TAG stands for Task, Action, and Goal. The Goal field — the desired outcome — drives the AI's choices more than format constraints would.

What is the difference between TAG and RTF?

RTF ends with Format — how the output should look. TAG ends with Goal — what the output should achieve. Use TAG for persuasive tasks; RTF when output structure is the primary constraint.