/growthx:page-creation-write-articlefrom GrowthX
Works a GrowthX brief from outline to published article. Use for "open the brief", "can I read the draft", "write the draft", "edit the article", "back this claim up", "add a chart", "publish it".
Ships in GrowthX. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Read the growthx skill's rules first (workspace, links, run handles, risky previews, error codes). This skill sequences the content tools; GrowthX does the work.
The stages of a brief: outline and coverage, draft, iterate, figures and cover, meta tags, publish. show_page_brief says which stage a brief is at and what comes next.
Finding a brief, or turning an idea into one, is the page-creation-start-brief skill; a rewrite of a live page starts in the pages-portfolio-rewrite-page skill and comes back here as a brief.
Where you can run commands on the person's files (Claude Code, Codex), a brief is pulled as a folder:
<brief-slug>/
article.md pushed to GrowthX at the end of each turn you edit it
brief.md title, keyword, intent, direction, outline, coverage
research/ 00-drafting.md (the research report), then one file per follow-up
context/ company-overview.md, product-features.md, competitors.md, personas/
writing/ guidelines.md, trusted-facts.md, voice-samples.md
.growthx/state.json record, hash and base per file, upload link, last push
Pull before showing the article. The only local copy of an article is the pulled article.md. Pull (steps 1 to 3 below) when an outline, draft or rewrite run finishes, and before you read or edit the article when no folder here holds the brief. To show the person the article, name its path. Never write text from show_page_brief or show_document to a file: it never pushes back.
context/ and writing/ are what GrowthX drafts from, so read them before writing. Edits to them stay local: Context changes go through the context-update-documents skill, a correction that should last through the writing-teach-rules skill.
Scripts: ${CLAUDE_SKILL_DIR} is this skill's folder, the one that holds this SKILL.md and scripts/. Claude Code fills it in; elsewhere, put that folder's path in its place.
pull_page_brief with page_brief_id. Add add: ["persona:<id>", "competitor:<id>", "context:ideal_customer_profile"] for files the work needs beyond the default ten.<brief-slug>/.growthx/pull.json (create the folder; use the result's folder when it has one).node ${CLAUDE_SKILL_DIR}/scripts/growthx-pull.mjs <brief-slug> --tool pull_page_brief --record-id <page_brief_id> from the folder that holds <brief-slug>/.The script downloads each file it doesn't already hold at that hash and keeps any article.md with edits not pushed. Pull after a long run (outline, draft, rewrite) finishes, not before it starts, so the links are minted when editing begins. Pull again at the start of a session; only what changed in GrowthX is replaced. Pulling again always means steps 1 to 3: a successful pull deletes pull.json, and only a new pull lists new files such as a research follow-up.
Links last 8 hours. Network access to os.growthx.ai is required; when the pull script says it can't reach GrowthX, tell the person the setting it names, and work through the MCP reads instead (below).
node ${CLAUDE_SKILL_DIR}/scripts/growthx-push.mjs <brief-slug>. It compares each editable file with the hash GrowthX last accepted and pushes what the person changed by hand.article.md: in Claude Code, the plugin's hook pushes it once, however many edits the turn made. A clean push reaches the person, not you, so say what you changed and don't say it was pushed. When the push needs you (a preview, an expired link, a merged copy, a refusal, text that replaced GrowthX's or lost formatting), the turn continues with the script's message: do what the table below says for it, then end the turn. Everywhere else there is no hook, so run the push script yourself once your edits for the turn are done, before your last message.What the push script's exit code means, and what to do:
| Exit | Meaning | Do |
|---|---|---|
| 0 | Pushed, or nothing to push | Relay the response line when there is one. A merged answer rewrote article.md: read it again before the next edit. |
| 10 | The upload link expired; .growthx/renew.json names the tool, record and base | Renew without asking the person: call the tool it names with the record id and base_version_id set to its base_version, save the whole result to .growthx/pull.json, run the pull script with --renew, then the push again. The script's message spells out the exact calls. |
| 11 | GrowthX kept sections changed there since the base, while article.md changed during the upload | Open .growthx/merged/article.md, carry the GrowthX sections the response names into article.md, keep the person's newer text, delete the merged copy, then push again. |
| 12 | The renewed link expired too | Tell the person the message's first line, for example: "This upload link has expired. Pull the brief again with pull_page_brief; article.md in your folder is kept." Don't renew again until they ask. When they do, renew on the saved base as for exit 10 (the message spells out the calls); a plain pull keeps the expired link, so every push exits 12 again. |
| 13 | GrowthX answered a preview; nothing changed | Show the person the preview and ask whether to apply it. Only on their yes in this conversation, run the push again for that file with --confirm, as the message says. The script never confirms on its own, and a file edited since the preview previews again. |
| 1 | GrowthX refused it, couldn't be reached, or answered without the next upload link | Say what the message says. document_locked: someone is editing the article in GrowthX; ask before taking over. Unreachable: push on the next turn. |
When a push reports a section that "had changed in GrowthX since your last pull", say which one and that its earlier text is saved as the version "Replaced by Claude". When it reports formatting removed, say which section lost what; the other sections keep their formatting.
Only where you can't run commands on the person's files, or the pull script can't reach GrowthX, work through the MCP reads and writes: show_page_brief, show_page_brief_research (read the research report in parts), show_document for the article's section map or one section, and edit_document to change a passage (preview, then confirm: true).
Outline and coverage. generate_page_brief_outline starts the outline (a run handle). run_page_brief_coverage_analysis scores how much of the brief's questions the outline covers; show_page_brief_coverage reads the result; auto_improve_page_brief_coverage raises it. Pull again when a run finishes, or read the outline with show_page_brief (include: outline).
Draft. Before writing, read writing/guidelines.md (the Voice Brief and the sections of the Learned Rules you are writing), writing/trusted-facts.md and research/. generate_page_brief_article writes the draft in GrowthX (about an hour; a run handle). To write the draft yourself, write article.md; it pushes with the turn like any edit.
Iterate. The person edits article.md in code mode or comments on its lines, and tells you what to change. Edit the file; the turn's push (Push, above) sends it and the open GrowthX editor reloads with the change. Name the section you changed and where its source is (a file in research/). When the change says how the workspace writes rather than fixing this piece, note it as a correction and send it with the others when the stretch of editing settles (writing-teach-rules); a template change is rare and usually structural.
Review notes. list_page_brief_reviews and show_page_brief_review read a reviewer's notes on the draft. Answer each note in the text, leave your own notes where a reviewer would with create_page_brief_annotation, and finish with complete_page_brief_review when the person agrees.
Sources and detail come from the brief's research first. For "add sources", "what's uncited", "add more detail" or "back this claim up", search research/ (the research report and every follow-up) before anything else, and cite what you find there. Name what it doesn't cover and offer follow-up research for it; don't look for new sources until the research the brief already has is searched.
Follow-up research. New research for a brief goes through add_page_brief_research, so the brief keeps it and the next rewrite uses it. Call it with one question and a depth (fast takes about 10 minutes). It answers:
Follow-up research started for "How to price a SaaS pilot". Fast research takes about 10 minutes.
When it's done, it's listed with the brief's research and the next rewrite uses it.
Follow the handle with show_toolbox_run. When it's done, pull again: the follow-up arrives as research/NN-<slug>.md. Change the claim, cite the new sources, and say that the next rewrite uses the research too. show_page_brief_research lists the brief's research report and follow-ups.
Check against the Learned Rules. Hand over to the writing-check-draft skill with the brief's id; fix what it finds in article.md.
Figures and cover. run_toolbox_figure makes a chart from data and sources in the workspace's figure style; it returns the image's public URL, which you place in article.md as Markdown. To pick between several figure options, send the person to the figure chooser in GrowthX instead. For the cover: generate_page_brief_cover_images, list_page_brief_cover_images, pick_page_brief_cover_image.
Meta tags. update_page_brief with the meta title, meta description and slug. Say each one's length.
Publish. Check article.md in first. publish_page_brief_to_cms answers a preview: show the title, the URL and whether it goes live. Publishing live is risky: ask "Publish it live?" and confirm only on the person's yes in this conversation. A draft push to the CMS isn't risky and doesn't ask. The publish returns a handle read with list_page_brief_cms_publications; when it's done, report "The publish request finished. GrowthX shows this page as , last published <published_at>." with the published URL, and send the person to the publish screen when the state isn't what they expected.
To change how the writing sounds, give the person voice_brief_app_url; never rewrite the Voice Brief for a client. Say:
The Voice Brief is edited in GrowthX, where it's scored as you edit.
Open it here: <app_url>
Once you've saved it, I'll pull writing/guidelines.md again and redo this draft.
Before the session ends, send the standing corrections not sent yet (writing-teach-rules).
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub growthxai/growthx-plugin --plugin growthx11 skills in this plugin
/context-update-documentsKeeps GrowthX Context current: foundation documents, categories, personas, competitors. Use for "update our ICP", "track a category", "add a persona", "any new competitors?", "review our Context"./growthxRoutes a GrowthX request to its job and holds the rules every GrowthX call follows. Use when GrowthX comes up with no job named, for "which workspace" or "what is running", and before the first call./insights-analyze-performanceAnalyzes how a GrowthX site and any of its pages perform in search, Analytics and AI answers. Use for "what did our blog do last month", "which pages lost clicks", "how is our AI visibility".