Hypertxt
Use Hypertxt as a controlled content-operations layer. Prefer discovery and inspection before generation, state changes, GSC refreshes, or publishing.
Preflight
- Confirm that
account_statusandlist_projectsare available from the Hypertxt MCP server. - If they are missing, stop and direct the user to
https://www.hypertxt.ai/guides/openclaw/. Do not invent configuration. - Never request or echo a Hypertxt API key. Tell the user to store it as
HYPERTXT_API_KEYin the client's environment or secret configuration. - Call
account_statusbefore proposing generation. Report the plan and remaining article credits. - Discover IDs with list tools. Never guess a project, article template, article, GSC connection, or publishing destination ID.
Permission boundary
Treat these as read-only:
account_statuslist_projectslist_workflowslist_articlesget_articleexport_articlelist_integrationslist_gsc_connectionsquery_gsc
Obtain explicit user approval immediately before each of these actions:
generate_article: spends one article credit.change_article_state: records an editorial decision.sync_gsc: queues a durable refresh.publish_article: writes to a connected destination; live mode publishes.
Approval for one action does not authorize later actions. Never infer approval to publish from approval to generate or review.
Find an opportunity with GSC
- Call
list_projects. - Call
list_gsc_connectionsfor the selected project. - Call
query_gscwith a clear grouping and filters.- Omit dates for the latest synchronized snapshot.
- Supply
start_dateandend_datefor an exact live window.
- Rank opportunities from returned clicks, impressions, CTR, and position. Distinguish observed metrics from editorial inference.
- Present a proposed title, primary keyword, audience, search intent, and brief. Do not generate yet.
Generate an article
- Call
account_statusand require at least one article credit. - Call
list_workflowsfor the selected project. - Present the exact project, article template, title, keyword, brief, and one-credit cost.
- Ask for explicit approval.
- Call
generate_articleonce. - Report the returned article ID and state. Use
get_articleorlist_articlesto monitor; do not repeat generation when status is queued. - If Hypertxt returns HTTP 402, report that no article or task was created.
Review and change state
- Call
get_articleand inspect the complete content. - Summarize material editorial issues and recommend a decision.
- Ask for approval before
change_article_state. - Explain that
reviewedandapprovedmap toready;postedmaps topublishedas a manual state record and does not contact a CMS. - Report the article ID, previous state, and confirmed new state.
Publish
- Call
get_article; require reviewed, ready content. - Call
list_integrationsand name the exact destination. - Ask whether to create a destination
draftor publish live. - State the article ID, destination, and mode in the confirmation.
- Call
publish_articleonce after approval. - Report the returned external URL and final state when present.
A destination draft keeps the Hypertxt article ready. Live publishing changes it to published. Do not describe a destination draft as publicly posted.
Finish every workflow
Report:
- project and article IDs used;
- GSC window and filters, when applicable;
- credit count before generation;
- actions performed and actions deliberately not performed;
- current article state and destination URL, when applicable;
- any remaining approval or setup step.
