FLOW Framework for Bloggers (Find, Optimize, Win)

FLOW framework integration for bloggers.

How to use it

  1. Hit Copy SKILL.md — or use the Claude Code line below to get every file.
  2. Claude: ⋯ → Download .md, then Customize → Skills → Add → Upload skill.
    ChatGPT: make a Project and paste it into Instructions.
    Neither? Paste it at the top of a new chat — it works for that chat.
  3. Describe your job in plain words. The AI follows the skill from there.
Claude Code — installs the whole folder, not just SKILL.md
npx degit AgriciDaniel/claude-blog/skills/blog-flow#main ~/.claude/skills/blog-flow-2

For one project only, change the path to .claude/skills/blog-flow-2. This skill also uses sync_flow.py — copying SKILL.md alone won't be enough. See the folder on GitHub.

Not working?
  • Check which app you pasted it into — the steps above name the right one.
  • Some skills need the paid tier of Claude or ChatGPT.
Step-by-step guide with screenshots · Ask in the forum

Paste into Claude, ChatGPT or Cursor.

Show the full text194 lines
blog-flow-2/SKILL.md194 lines7.8 KBpushed 27d agoRawView on GitHub

FLOW Framework for Bloggers (Find, Optimize, Win)

Runs FLOW Find/Optimize/Win prompts for a blog topic or URL, turning query data, source notes, and page evidence into structured decisions instead of improvised prompts.

Framework and prompts (c) Daniel Agrici, CC BY 4.0. Source: github.com/AgriciDaniel/flow

FLOW is an evidence-led operating model for retrieval, citation, and conversion workflows. Claude Blog integrates the FLOW prompt library so writers can turn query data, source notes, and page evidence into structured decisions instead of improvised prompts.

This skill exposes the three blog-relevant stages (Find, Optimize, Win) and keeps the single Leverage prompt available through the prompts index. The local-SEO prompts (GBP, citations, local audits) are intentionally excluded because they target brick-and-mortar work, not blogs.

Runtime context. Load references/flow-framework.md on every /blog flow activation. Load prompt files on demand only, scoped to the stage the user requests.


Commands

Command What it does
/blog flow Show FLOW overview and stage menu
/blog flow find [topic|url] Find-stage: keyword discovery, intent mapping, gap analysis (5 prompts)
/blog flow optimize [url] Optimize-stage: select 2 to 3 most relevant prompts of 21 based on context
/blog flow win [url] Win-stage: BOFU, conversion, dual-surface scorecard (3 prompts)
/blog flow prompts Full index of all 30 blog-applicable prompts (Find, Leverage, Optimize, Win)
/blog flow sync Pull latest prompt files from github.com/AgriciDaniel/flow

The single Leverage prompt (off-site authority) is reachable through /blog flow prompts and is not promoted to a top-level command, since most blog workflows route off-site work elsewhere.


Orchestration Logic

On /blog flow (no sub-command)

  1. Read references/flow-framework.md.
  2. Show the FLOW stage overview with a one-line description of each stage.
  3. Ask the user which stage matches their current situation.

On /blog flow find [topic|url]

  1. Read all files in references/prompts/find/.
  2. Apply each prompt to the topic or URL, capturing demand and intent signals.
  3. Cross-reference: "For deeper briefs and outlines, see /blog brief <topic>, /blog outline <topic>, and /blog cannibalization to detect overlap with existing posts."

On /blog flow optimize [url]

  1. Read the file names in references/prompts/optimize/.
  2. Read prior context (target URL, niche, any prior skill output in this conversation, scoring deltas from /blog analyze).
  3. Select 2 to 3 most relevant prompts, then load only those files.
  4. Apply the selected prompts; note that the rest are accessible via /blog flow prompts.
  5. Cross-reference: "For deeper rewrites and validation, see /blog rewrite <file>, /blog seo-check <file>, /blog geo <file>, /blog schema <file>, and /blog factcheck <file>."

On /blog flow win [url]

  1. Read all files in references/prompts/win/.
  2. Apply each prompt to the URL's conversion and BOFU context.
  3. Cross-reference: "For repurposing, full-site health, and quality scoring, see /blog repurpose <file>, /blog audit, and /blog analyze <file>."

On /blog flow prompts

  1. Read references/prompts/README.md.
  2. Display the full index: 30 prompts grouped by stage (Find, Leverage, Optimize, Win) with name and trigger conditions.
  3. State that local-SEO prompts are excluded by design; point users to claude-seo (/seo flow local) if they need them.

On /blog flow sync

  1. Run: python3 scripts/sync_flow.py.
  2. Display the JSON summary (files added, updated, unchanged).
  3. Show the attribution notice after the sync completes.

Context Matching (Optimize stage)

The optimize stage has 21 prompts. Dumping all 21 is noise. Select by priority:

  1. Niche (SaaS or B2B blog leans on-page plus technical; lifestyle leans freshness plus E-E-A-T; publisher leans authority plus citations).
  2. Prior skill output (/blog analyze E-E-A-T gap routes to authority prompts; /blog seo-check failures route to on-page prompts; /blog geo gaps route to extraction-format prompts).
  3. URL signals (commercial pages need conversion prompts; informational posts need freshness plus answer-first prompts).

Always surface exactly 2 to 3 prompts. State which prompts you chose and why.


Reference Files

Load on demand. Do NOT load all at startup.

  • references/flow-framework.md. FLOW operating model. Load on every /blog flow activation.
  • references/bibliography.md. Evidence sources. Load when citing studies or statistics.
  • references/prompts/README.md. Prompt index. Load for /blog flow prompts.
  • references/prompts/find/. 5 prompts. Load for /blog flow find.
  • references/prompts/leverage/. 1 prompt. Load only when surfaced through /blog flow prompts.
  • references/prompts/optimize/. 21 prompts. Load selectively for /blog flow optimize.
  • references/prompts/win/. 3 prompts. Load for /blog flow win.

If references/ is missing, instruct the user to run /blog flow sync first.


Sync Script

scripts/sync_flow.py pulls prompt files from github.com/AgriciDaniel/flow and writes them under skills/blog-flow/references/. Stdlib only, HTTPS only, host-allowlisted to api.github.com, 5 MB response cap, atomic writes, path-traversal guarded.

Modes:

  • python3 scripts/sync_flow.py. Sync the latest version of every blog-relevant stage to disk and refresh the lockfile.
  • python3 scripts/sync_flow.py --dry-run. Report planned changes without writing.
  • python3 scripts/sync_flow.py --ref <sha>. Pin fetches to a specific FLOW commit SHA for reproducible installs.

The lockfile lives at skills/blog-flow/references/flow-prompts.lock and uses sha256sum-compatible format. Drift between the on-disk content and the lockfile is reported on every sync run.

The script syncs only blog-applicable stages (find, leverage, optimize, win). The local stage is intentionally skipped to keep the references directory aligned with the skill's surface area.

GitHub API calls are anonymous by default. If GITHUB_TOKEN is set in the environment, or gh auth token returns a token after a 403 response, the script retries the request with that token. No tokens are written to disk.


Attribution

Every /blog flow activation (any sub-command) outputs before analysis:

Framework and prompts (c) Daniel Agrici, CC BY 4.0. Source: github.com/AgriciDaniel/flow

Do not omit or modify the attribution. Synced files also carry an HTML comment license header injected by the sync script.


Error Handling

Scenario Action
references/flow-framework.md missing "FLOW reference files not synced. Run: /blog flow sync."
Prompt file missing "Run /blog flow sync to pull the latest prompts from the FLOW repo."
sync_flow.py network error Display the script's stderr. Check rate limits with gh api rate_limit if gh is installed.
sync_flow.py 403 after retry Set GITHUB_TOKEN or run gh auth login, then retry.
Path-traversal abort The sync target tried to escape the references directory. Inspect the upstream repo and pin to a known-good --ref.
1---
2name: blog-flow
3description: >
4 FLOW framework integration for bloggers. Evidence-led content workflow using
5 the Find, Optimize, Win loop with stage-specific AI prompts from the FLOW
6 knowledge base (30 blog-applicable prompts, CC BY 4.0). Use when user says
7 "FLOW", "FLOW framework", "blog flow", "evidence-led blogging", "find optimize
8 win", or wants stage-specific blog prompts.
9user-invokable: true
10argument-hint: "[stage] [url|topic]"
11license: MIT
12compatibility: Requires Claude Code and Python 3.11+ for the sync script
13metadata:
14 author: AgriciDaniel
15 version: "2.2.0"
16 category: blog
17---
18 
19# FLOW Framework for Bloggers (Find, Optimize, Win)
20 
21Runs FLOW Find/Optimize/Win prompts for a blog topic or URL, turning query data,
22source notes, and page evidence into structured decisions instead of improvised
23prompts.
24 
25> Framework and prompts (c) Daniel Agrici, CC BY 4.0. Source: github.com/AgriciDaniel/flow
26 
27FLOW is an evidence-led operating model for retrieval, citation, and conversion
28workflows. Claude Blog integrates the FLOW prompt library so writers can turn
29query data, source notes, and page evidence into structured decisions instead of
30improvised prompts.
31 
32This skill exposes the three blog-relevant stages (Find, Optimize, Win) and keeps
33the single Leverage prompt available through the prompts index. The local-SEO
34prompts (GBP, citations, local audits) are intentionally excluded because they
35target brick-and-mortar work, not blogs.
36 
37**Runtime context.** Load `references/flow-framework.md` on every `/blog flow`
38activation. Load prompt files on demand only, scoped to the stage the user
39requests.
40 
41---
42 
43## Commands
44 
45| Command | What it does |
46|---------|-------------|
47| `/blog flow` | Show FLOW overview and stage menu |
48| `/blog flow find [topic\|url]` | Find-stage: keyword discovery, intent mapping, gap analysis (5 prompts) |
49| `/blog flow optimize [url]` | Optimize-stage: select 2 to 3 most relevant prompts of 21 based on context |
50| `/blog flow win [url]` | Win-stage: BOFU, conversion, dual-surface scorecard (3 prompts) |
51| `/blog flow prompts` | Full index of all 30 blog-applicable prompts (Find, Leverage, Optimize, Win) |
52| `/blog flow sync` | Pull latest prompt files from github.com/AgriciDaniel/flow |
53 
54The single Leverage prompt (off-site authority) is reachable through
55`/blog flow prompts` and is not promoted to a top-level command, since most
56blog workflows route off-site work elsewhere.
57 
58---
59 
60## Orchestration Logic
61 
62### On `/blog flow` (no sub-command)
631. Read `references/flow-framework.md`.
642. Show the FLOW stage overview with a one-line description of each stage.
653. Ask the user which stage matches their current situation.
66 
67### On `/blog flow find [topic|url]`
681. Read all files in `references/prompts/find/`.
692. Apply each prompt to the topic or URL, capturing demand and intent signals.
703. Cross-reference: "For deeper briefs and outlines, see `/blog brief <topic>`,
71 `/blog outline <topic>`, and `/blog cannibalization` to detect overlap with
72 existing posts."
73 
74### On `/blog flow optimize [url]`
751. Read the file names in `references/prompts/optimize/`.
762. Read prior context (target URL, niche, any prior skill output in this
77 conversation, scoring deltas from `/blog analyze`).
783. Select 2 to 3 most relevant prompts, then load only those files.
794. Apply the selected prompts; note that the rest are accessible via
80 `/blog flow prompts`.
815. Cross-reference: "For deeper rewrites and validation, see `/blog rewrite
82 <file>`, `/blog seo-check <file>`, `/blog geo <file>`, `/blog schema <file>`,
83 and `/blog factcheck <file>`."
84 
85### On `/blog flow win [url]`
861. Read all files in `references/prompts/win/`.
872. Apply each prompt to the URL's conversion and BOFU context.
883. Cross-reference: "For repurposing, full-site health, and quality scoring,
89 see `/blog repurpose <file>`, `/blog audit`, and `/blog analyze <file>`."
90 
91### On `/blog flow prompts`
921. Read `references/prompts/README.md`.
932. Display the full index: 30 prompts grouped by stage (Find, Leverage,
94 Optimize, Win) with name and trigger conditions.
953. State that local-SEO prompts are excluded by design; point users to
96 `claude-seo` (`/seo flow local`) if they need them.
97 
98### On `/blog flow sync`
991. Run: `python3 scripts/sync_flow.py`.
1002. Display the JSON summary (files added, updated, unchanged).
1013. Show the attribution notice after the sync completes.
102 
103---
104 
105## Context Matching (Optimize stage)
106 
107The optimize stage has 21 prompts. Dumping all 21 is noise. Select by priority:
108 
1091. **Niche** (SaaS or B2B blog leans on-page plus technical; lifestyle leans
110 freshness plus E-E-A-T; publisher leans authority plus citations).
1112. **Prior skill output** (`/blog analyze` E-E-A-T gap routes to authority
112 prompts; `/blog seo-check` failures route to on-page prompts; `/blog geo`
113 gaps route to extraction-format prompts).
1143. **URL signals** (commercial pages need conversion prompts; informational
115 posts need freshness plus answer-first prompts).
116 
117Always surface exactly 2 to 3 prompts. State which prompts you chose and why.
118 
119---
120 
121## Reference Files
122 
123Load on demand. Do NOT load all at startup.
124 
125- `references/flow-framework.md`. FLOW operating model. Load on every `/blog
126 flow` activation.
127- `references/bibliography.md`. Evidence sources. Load when citing studies or
128 statistics.
129- `references/prompts/README.md`. Prompt index. Load for `/blog flow prompts`.
130- `references/prompts/find/`. 5 prompts. Load for `/blog flow find`.
131- `references/prompts/leverage/`. 1 prompt. Load only when surfaced through
132 `/blog flow prompts`.
133- `references/prompts/optimize/`. 21 prompts. Load selectively for `/blog flow
134 optimize`.
135- `references/prompts/win/`. 3 prompts. Load for `/blog flow win`.
136 
137If `references/` is missing, instruct the user to run `/blog flow sync` first.
138 
139---
140 
141## Sync Script
142 
143`scripts/sync_flow.py` pulls prompt files from github.com/AgriciDaniel/flow and
144writes them under `skills/blog-flow/references/`. Stdlib only, HTTPS only,
145host-allowlisted to `api.github.com`, 5 MB response cap, atomic writes,
146path-traversal guarded.
147 
148Modes:
149 
150- `python3 scripts/sync_flow.py`. Sync the latest version of every blog-relevant
151 stage to disk and refresh the lockfile.
152- `python3 scripts/sync_flow.py --dry-run`. Report planned changes without
153 writing.
154- `python3 scripts/sync_flow.py --ref <sha>`. Pin fetches to a specific FLOW
155 commit SHA for reproducible installs.
156 
157The lockfile lives at
158`skills/blog-flow/references/flow-prompts.lock` and uses sha256sum-compatible
159format. Drift between the on-disk content and the lockfile is reported on every
160sync run.
161 
162The script syncs only blog-applicable stages (`find`, `leverage`, `optimize`,
163`win`). The `local` stage is intentionally skipped to keep the references
164directory aligned with the skill's surface area.
165 
166GitHub API calls are anonymous by default. If `GITHUB_TOKEN` is set in the
167environment, or `gh auth token` returns a token after a 403 response, the
168script retries the request with that token. No tokens are written to disk.
169 
170---
171 
172## Attribution
173 
174Every `/blog flow` activation (any sub-command) outputs before analysis:
175 
176```
177Framework and prompts (c) Daniel Agrici, CC BY 4.0. Source: github.com/AgriciDaniel/flow
178```
179 
180Do not omit or modify the attribution. Synced files also carry an HTML comment
181license header injected by the sync script.
182 
183---
184 
185## Error Handling
186 
187| Scenario | Action |
188|----------|--------|
189| `references/flow-framework.md` missing | "FLOW reference files not synced. Run: `/blog flow sync`." |
190| Prompt file missing | "Run `/blog flow sync` to pull the latest prompts from the FLOW repo." |
191| `sync_flow.py` network error | Display the script's stderr. Check rate limits with `gh api rate_limit` if `gh` is installed. |
192| `sync_flow.py` 403 after retry | Set `GITHUB_TOKEN` or run `gh auth login`, then retry. |
193| Path-traversal abort | The sync target tried to escape the references directory. Inspect the upstream repo and pin to a known-good `--ref`. |
194 

Discussion

Alternatives

Also in Roadmap & priorities