Pain to MVP

v1.0.2

Discover and structure product opportunities from public user discussions, then convert top opportunities into a lightweight PRD for a coding agent. Use when...

0· 124·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for zhao-weijie/pain2mvp.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Pain to MVP" (zhao-weijie/pain2mvp) from ClawHub.
Skill page: https://clawhub.ai/zhao-weijie/pain2mvp
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Required env vars: TIDB_DATABASE_URL
Required binaries: node, npm
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install pain2mvp

ClawHub CLI

Package manager switcher

npx clawhub@latest install pain2mvp
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
The skill persistently stores evidence, ranked opportunities, and PRDs, so requiring a TIDB_DATABASE_URL credential and node/npm is coherent. The included @tidbcloud/serverless dependency matches the TiDB usage. One minor note: the brew install of jq is listed but jq is not referenced in the runtime scripts — harmless but unnecessary for the provided code.
Instruction Scope
SKILL.md limits runtime operations to reading the contract file, collecting evidence (via websearch/scraping or other skills), and invoking the provided npm commands that read JSON from stdin or files and write to the database. It explicitly forbids inspecting scripts except in specific cases. The agent is expected to call external search/scraping skills (caller-controlled) to gather evidence — this is within the declared scope.
Install Mechanism
Install uses npm (package.json) and one benign brew formula (jq). Dependency @tidbcloud/serverless is pulled from the public npm registry — appropriate and traceable for TiDB connectivity. No arbitrary remote downloads or obscure install URLs are used.
Credentials
The only required environment variable is TIDB_DATABASE_URL (marked primary), which is necessary for the skill to connect and persist data. The code validates the URL scheme and requires ?sslaccept=strict, which improves connection safety. No unrelated secrets or multiple credentials are requested.
Persistence & Privilege
The skill is not force-installed (always:false) and follows a normal npm/script-based install. It persists its own data to the configured TiDB tables but does not modify other skills or global agent settings. Autonomous invocation is enabled (platform default) but not combined with other red flags.
Assessment
This skill will collect public discussion snippets and write them into a TiDB database you provide, so only supply a database URL you control and trust. Prefer a dedicated database user with minimal privileges (tables only for this skill) and confirm ?sslaccept=strict is present as required. Be aware the agent may call external search/scraping skills you allow; those tools can contact third-party sites and bring back content that will be stored in your DB. The jq brew step appears unnecessary for the provided scripts but is low-risk; you may omit it. Finally, verify you are comfortable with data persistence (snippets, handles, URLs) in your database before enabling autonomous runs.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

Binsnode, npm
EnvTIDB_DATABASE_URL
Primary envTIDB_DATABASE_URL

Install

Homebrew
Bins: jq
brew install jq
latestvk975xrhdh8yy859ps6zg32f21583vndc
124downloads
0stars
3versions
Updated 4w ago
v1.0.2
MIT-0

Painpoint To MVP

Modes

  1. Discovery mode: find and rank product opportunities from public user discussion evidence.
  2. PRD mode: turn one persisted opportunity into a lightweight PRD for a coding agent.

If the user asks for both, discovery comes first.

Hard Rules

  • references/contracts.md is the only runtime contract reference.
  • Only inspect scripts when a documented helper command fails unexpectedly or when explicitly modifying this skill.
  • Read references/contracts.md once per run, not repeatedly.

Preferred Commands

Use these commands for normal operation:

  • npm run bootstrap:tidb
  • npm run tidb -- save-evidence-batch
  • npm run tidb -- save-opportunity-batch
  • npm run tidb -- get-opportunity
  • npm run tidb -- save-prd
  • npm run tidb -- get-prd
  • npm run tidb -- list-runs

Compatibility-only commands:

  • npm run tidb -- save-evidence
  • npm run tidb -- save-opportunity

Use the single-row save commands only for manual recovery or compatibility flows.

Normal Execution Defaults

  • Check required environment once per run.
  • Collect evidence first, then persist in batch.
  • Prefer JSON via stdin over temp files.
  • Use --input-file only when the payload is too large or awkward for stdin.

Discovery Mode

  1. Read references/contracts.md once.
  2. Check required environment.
  3. Collect evidence with search/scraping tools or skills (e.g. bundled websearch, meirkad/bright-data, buksan1950/reddit-readonly).
  4. Persist all evidence with save-evidence-batch.
  5. Cluster and rank opportunities using the contract rubric.
  6. Persist ranked opportunities with save-opportunity-batch.
  7. Return a ranked summary with run_id, opportunity_id, score, confidence, and caveats.

PRD Mode

  1. Resolve the target opportunity by opportunity_id, or by run_id plus rank when explicitly provided.
  2. Read the persisted opportunity with get-opportunity.
  3. Generate the PRD from the persisted opportunity and its evidence, not chat memory.
  4. Persist the PRD with save-prd.
  5. Return the human-readable PRD and include prd_id.

Non-Drift Rules

  • Never invent SQL. Use the documented helper commands.
  • Never generate a PRD from an unpersisted opportunity summary.
  • Never use conversational numbering like "opportunity #2" as the only identifier once results are persisted.
  • Never claim product-market fit.
  • When evidence is weak, say insufficient evidence.
  • Preserve contradictions when sources disagree.

Quality Bar

  • Prefer repeated, concrete complaints over clever one-offs.
  • Distinguish category pain from vendor-specific complaints.
  • Keep evidence traceable through source_url, pain_cluster_id, and persisted identifiers.
  • Optimize PRDs for a coding agent with explicit scope, non-goals, constraints, and acceptance criteria.

Comments

Loading comments...