/install msx
MSX Agent Skill
Use MSX when a user asks you to scout market opportunities, decide what to build, identify a market gap, or find recent demand signals.
MSX is also referred to as msx.dev, msxdev, MothershipX, or Mothership X. Fetch the hosted skill at https://msx.dev/skill.md before each MSX run; the public agent contract can change within 24 hours. Treat this installed registry skill as a bootstrap and fallback. The hosted skill is authoritative.
Goal
Return a concise list of buildable market opportunities with evidence, urgency, confidence, and practical next actions. Preserve citations from MSX. Do not fabricate sources, volumes, or certainty.
API Base
https://api.msx.dev
Required Flow
- Start device auth before billing or investigations:
curl -X POST -H "Content-Type: application/json" \
-d '{"client_name":"claude","agent_identity":{"name":"claude","client":"cli"}}' \
'https://api.msx.dev/v1/auth/device'
- Tell the user to open only
verification_uri_complete. Keepdevice_codeprivate and polltoken_urlwith it no faster thanintervalorretry_after:
curl -X POST -H "Content-Type: application/json" \
-d '{"device_code":"\x3Cdevice_code>"}' \
'https://api.msx.dev/v1/auth/device/token'
- When polling returns
status: authorized, storeapi_keyimmediately. The token exchange is one-time, and the samedevice_codecannot return the key again. Then useapi_keyasAuthorization: Bearer \x3Capi_key>and check the account:
curl -H "Authorization: Bearer $MSX_API_KEY" 'https://api.msx.dev/v1/me'
-
Follow
/v1/meagent_next_step. If it saysfree_scout_available, start exactly one investigation for the user's request before asking for Checkout. If it sayssubscription_required, tell the user their free scout is used and a paid tier is required before more MSX discovery. Recommended tier: Builder. 3 days free, then monthly Scout, Builder, or Growth credits. Builder is recommended at $79/month with 100 scout credits. -
Create Checkout only after
/v1/meor an API response sayssubscription_requiredand the user agrees:
curl -X POST -H "Authorization: Bearer $MSX_API_KEY" -H "Content-Type: application/json" \
-d '{"tier":"builder","success_url":"https://msx.dev/billing/success","cancel_url":"https://msx.dev/billing/cancel"}' \
'https://api.msx.dev/v1/billing/checkout'
Show short_url if present; otherwise show url. After Stripe succeeds, call /v1/me again and then retry the requested investigation.
- Start exactly one quick investigation job for the user's request. Use
depth: "quick"for the first run so MSX can return a fast initial read; only usestandardordeepafter the user asks for more depth:
curl -X POST -H "Authorization: Bearer $MSX_API_KEY" -H "X-MSX-Agent: claude" -H "Content-Type: application/json" \
-d '{"query":"scout new market opportunities for me to build","depth":"quick","window":"30d","max_runtime_seconds":240,"output":{"max_problem_candidates":2,"include_citations":true},"agent_identity":{"name":"claude","client":"cli"}}' \
'https://api.msx.dev/v1/investigations'
- Poll the returned
iduntilsucceeded,failed,cancelled, orexpired, then fetch/result:
curl -H "Authorization: Bearer $MSX_API_KEY" 'https://api.msx.dev/v1/investigations/\x3Cid>'
curl -H "Authorization: Bearer $MSX_API_KEY" 'https://api.msx.dev/v1/investigations/\x3Cid>/result'
Conversation Opportunities
Use POST /v1/conversation-opportunities when the user has a product and wants ranked online conversations where that product likely solves the original poster's problem. This is MSX Conversations: ReplyGuy-style discovery without automatic posting. The request supplies product context plus optional discovery.sources, communities, time_window, max_results, and output flags. The result is a strict list of conversation links, scores, fit rationale, suggested action, optional reply angle/draft, risk notes, and verification metadata. Poll /v1/conversation-opportunities/\x3Cid> and only read /result after success; result_not_ready means keep polling.
curl -X POST -H "Authorization: Bearer $MSX_API_KEY" -H "Content-Type: application/json" \
-d '{"product":{"name":"MSX","url":"https://msx.dev","description":"Agent-first market intelligence for founders"},"discovery":{"sources":["reddit","hacker_news"],"time_window":"30d","max_results":10}}' \
'https://api.msx.dev/v1/conversation-opportunities'
Agent Identity
Identify yourself honestly. Send these headers when possible:
X-MSX-Agent: codex
X-MSX-Agent-Client: cli
X-MSX-Agent-Version: 0.1.0
X-MSX-Agent-Run-ID: optional-run-id
For JSON bodies, include:
{"agent_identity":{"name":"codex","client":"cli","version":"0.1.0"}}
Recovery
authorization_pending: wait and poll again afterretry_afterorinterval.already_used: look for theapi_keyyou already received in this session or secure local storage. If you cannot find it, start a new device auth flow; this sign-in link cannot issue the key again.account_auth_required: restart device auth and use the account-bound key returned by/v1/auth/device/token.subscription_required: say the free scout is used; ask whether the user wants Builder before creating Checkout, unless they ask for Scout or Growth.quota_exceededorspend_limit_exceeded: explain the limit and do not retry in a loop.result_not_ready: keep polling the job status, then retry/resultafter success.- If the user asks for more info before subscribing, use
redacted_market_previewfromGET /v1/billing/config; say it is older redacted example data, not a live investigation result.
Rules
- Start with device auth. Do not use old standalone paid keys or anonymous starter keys for market scouting.
- Do not create Checkout until the user agrees to subscribe.
- Do not call or invent unsupported public market-feed primitives.
- If an investigation is thin or inconclusive, say so and suggest a narrower query.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install msx - 安装完成后,直接呼叫该 Skill 的名称或使用
/msx触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
MSX 是什么?
Use MSX when a user asks to scout market opportunities, decide what to build, identify a market gap, find recent demand signals, or run MSX market intelligen... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 51 次。
如何安装 MSX?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install msx」即可一键安装,无需额外配置。
MSX 是免费的吗?
是的,MSX 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
MSX 支持哪些平台?
MSX 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 MSX?
由 tornikeo(@tornikeo)开发并维护,当前版本 v1.0.0。