Install
openclaw skills install @zhao-weijie/pain2mvpDiscover and structure product opportunities from public user discussions, then convert top opportunities into a lightweight PRD for a coding agent. Use when the user needs direction on what to build, or wants to find recurring pain points, unmet needs, competitor complaints, or market signals around an idea, user group, or product category.
openclaw skills install @zhao-weijie/pain2mvpIf the user asks for both, discovery comes first.
references/contracts.md is the only runtime contract reference.references/contracts.md once per run, not repeatedly.Use these commands for normal operation:
npm run bootstrap:tidbnpm run tidb -- save-evidence-batchnpm run tidb -- save-opportunity-batchnpm run tidb -- get-opportunitynpm run tidb -- save-prdnpm run tidb -- get-prdnpm run tidb -- list-runsCompatibility-only commands:
npm run tidb -- save-evidencenpm run tidb -- save-opportunityUse the single-row save commands only for manual recovery or compatibility flows.
--input-file only when the payload is too large or awkward for stdin.references/contracts.md once.save-evidence-batch.save-opportunity-batch.run_id, opportunity_id, score, confidence, and caveats.opportunity_id, or by run_id plus rank when explicitly provided.get-opportunity.save-prd.prd_id.insufficient evidence.source_url, pain_cluster_id, and persisted identifiers.