SEO article from a keyword: Multi-Step Agent Workflow for Claude Code, Codex or ChatGPT

Researches the search results, outlines, drafts and then grades the draft against a rubric until it passes.

Prompt

Installs to .agents/skills/seo-article-from-a-keyword-multi-step-agent-workflow-for-claude/

mkdir -p .agents/skills/seo-article-from-a-keyword-multi-step-agent-workflow-for-claude && curl -sL "https://prompts-gpt.com/prompts/seo-article-from-a-keyword-multi-step-agent-workflow-for-claude-code-codex-or-chatgpt/raw" -o .agents/skills/seo-article-from-a-keyword-multi-step-agent-workflow-for-claude/SKILL.md
SKILL.md
Preview
---
name: seo-article-from-a-keyword-multi-step-agent-workflow-for-claude
description: "Researches the search results, outlines, drafts and then grades the draft against a rubric until it passes."
---

# SEO article from a keyword: Multi-Step Agent Workflow for Claude Code, Codex or ChatGPT

Researches the search results, outlines, drafts and then grades the draft against a rubric until it passes.

## Prompt

```
---
name: seo-article-from-keyword
description: Researches the search results, outlines, drafts and then grades the draft against a rubric until it passes. Use when asked to run the "SEO article from a keyword" workflow.
---

# SEO article from a keyword

Researches the search results, outlines, drafts and then grades the draft against a rubric until it passes.

## Inputs

Ask for any of these that the user hasn't given:

- `keyword` (e.g. "best standing desk for small apartments")
- `audience` (e.g. "renters working from home")

## Steps

Run the steps in order. Refer to saved results by name. Don't skip a step that says STOP.

1. **Manual start** — Start: Start with `keyword` and `audience`.
2. **Search the top results** — Use web_search: Search for `keyword`. Collect the top 8 results: title, headings, angle and what each one misses. Save the result as `serp`.
3. **Outline** — Using `serp`, write an outline for `audience` that covers the gap the results miss. H2s only, one line each. Save the result as `outline`.
4. **Draft** — Write the article from `outline`. 1,200 words, plain language, one table comparing the desks. Save the result as `draft`.
5. **Grade and revise** — Review loop (max 3 passes): Score `draft` 1–5 on: answers the query in the first 100 words, original insight, scannable headings, no filler. Revise anything under 4. Stop when every score is 4+. Save the result as `draft`.
6. **Save as Markdown** — Finish: Save `draft` with a title tag and meta description to articles/`keyword`.md.

## Done when

Every step has run, each approval was given, and you've reported what was produced and where it was saved.
```

## Usage Notes

Run it in Claude Code or Codex: save as .claude/skills/seo-article-from-keyword/SKILL.md (or .agents/skills/ for Codex) and say "run the SEO article from a keyword workflow"; parallel steps run as subagents. Or paste it into ChatGPT or Claude and answer its questions. It asks for: keyword, audience. Build or run it step by step at prompts-gpt.com/workflows/seo-article-from-keyword.

Example output

At a glanceRubric scores before and after revisionLoop stopped after 2 of 3 allowed passes once all scores reached 4 or higher
ItemPass 1Pass 2
Answers query in first 100 words35
Original insight44
Scannable headings45
No filler34

Example for: keyword "best standing desk for small apartments", audience "renters working from home".

Run report: SEO article from a keyword

Step 1: Start. Keyword: best standing desk for small apartments · Audience: renters working from home

Step 2: serp (top 8 results, summarized)

#Title (abridged)AngleWhat it misses
112 Best Standing Desks of the YearBroad roundupNo size filter
2Best Small Standing Desks, TestedLab testingIgnores renter limits like no wall drilling
3Compact Desks for Tiny SpacesDesign-ledFew true sit-stand picks
4Standing Desk Buying GuideSpecs explainerNo apartment context
5Reddit thread: desk for studio?User anecdotesUnstructured
6Best Budget Standing DesksPrice-firstFootprint rarely listed
7Desk Converters vs Full DesksFormat comparisonNo measurements
8Brand page: Mini SeriesSalesBiased

Gap found: No result ranks desks by footprint, move-out portability, and noise for thin walls.

Step 3: outline

  • H2: The quick answer: best picks under 40" wide
  • H2: Measure first: the 3 numbers that matter in a small room
  • H2: Comparison table: footprint, height range, weight, noise
  • H2: Renter-friendly features (no drilling, easy teardown)
  • H2: Converter or full desk? A decision rule
  • H2: Mistakes that make a small desk feel cramped
  • H2: FAQ

Step 4: draft v1 written at 1,214 words, with one comparison table covering 5 desks (e.g. "Lumo Compact 36", 28.4" x 36", 44 dB motor").

Step 5: Grade and revise

CriterionPass 1Pass 2
Answers query in first 100 words35
Original insight44
Scannable headings45
No filler34
  • Pass 1 fixes: The opening now names the top pick in the second sentence. A 140-word history-of-standing-desks intro was cut. "Measure first" was tightened to bullet steps.
  • Pass 2: All scores are 4 or higher, so the loop stopped after 2 of 3 allowed passes.

Step 6: Saved

---
title: "Best Standing Desk for Small Apartments (Under 40\" Wide)"
meta_description: "Renter-friendly standing desks ranked by footprint, noise and easy move-out. Measurements, a comparison table and a quick pick for tight spaces."
---
# The Best Standing Desk for Small Apartments
For most renters, the Lumo Compact 36 is the best pick. It fits a 36" wall gap and stays quiet enough for shared walls...

File: articles/best-standing-desk-for-small-apartments.md (1,176 words final)

Done: All 6 steps ran. No approvals were pending. The article, title tag, and meta description were produced and saved at the path above.

Written by AI from this prompt. Your results will vary.

Run it in Claude Code or Codex: save as .claude/skills/seo-article-from-keyword/SKILL.md (or .agents/skills/ for Codex) and say "run the SEO article from a keyword workflow"; parallel steps run as subagents. Or paste it into ChatGPT or Claude and answer its questions. It asks for: keyword, audience. Build or run it step by step at prompts-gpt.com/workflows/seo-article-from-keyword.

Make it repeatable

Keep using this prompt without pasting it in every time.

Prompt details

By
Prompts-GPT editors
Published
How prompts are written and checked

Did this prompt work?

Keep exploring

More in AI Marketing