Xpersona
输

输入关键词,自动扫描全网用户痛点,生成PRD并输出OpenClaw标准任务JSON。

CLAWHUB · Unverified

Search web for user pain points and output a PRD JSON.

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17949gfzvrqfhghg6pp8x6t3d83v8g3:auto-prd-hunter
  1. Install using `clawhub skill install s17949gfzvrqfhghg6pp8x6t3d83v8g3:auto-prd-hunter` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/lijinhongucl-pixel/auto-prd-hunter before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-lijinhongucl-pixel-auto-prd-hunter/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

25,812 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: auto-prd-hunter
description: "Search web for user pain points and output a PRD JSON."
metadata:
  openclaw:
    emoji: "🔍"
    requires:
      bins:
        - python3
    env:
      - name: BRAVE_API_KEY
        required: false
        description: "Brave Search API key for real-time web search"
      - name: BAIDU_API_KEY
        required: false
        description: "Baidu Search API key for Chinese content search"
    network:
      - host: api.search.brave.com
        purpose: "Brave Search API for web search"
      - host: hn.algolia.com
        purpose: "Hacker News Algolia API for tech discussions"
user-invocable: true
disable-model-invocation: false
---

# auto-prd-hunter

Scan platforms for user complaints, extract pain points, and produce a structured PRD + OpenClaw task JSON.

## Important Notice

⚠️ **No Fabrication Policy**: This skill ONLY returns results from real API searches. If no API results are found, it returns an error instead of generating mock/fabricated data.

## Commands

All operations use the packaged CLI script:

```bash
python3 {baseDir}/scripts/search.py search-pain-points --keyword "<keyword>" --max-results 8
```

## Workflow

1. Receive a keyword.
2. Run the search command to fetch real complaints from APIs.
3. Parse JSON from stdout.
4. Extract up to 5 pain points (id, title, severity, context, sources).
5. Invent product name and summary.
6. Write user stories and MVP features.
7. Derive openclaw_tasks.
8. Output ONLY the final JSON (no markdown fences, no greetings).

## Constraints

- MUST run the CLI script. Do NOT fabricate results.
- If APIs return no results, return error JSON: `{"status":"no_results","error":"No API results found"}`
- Final reply MUST be ONLY valid JSON.
- No markdown fences (no ```json), no greetings, no explanations.
- If search fails, return: `{"status":"error","error":"reason"}`

## Network Requests

This skill makes outbound network requests to:
- **Brave Search API** (api.search.brave.com) - For web search results
- **Hacker News Algolia API** (hn.algolia.com) - For tech community discussions

⚠️ **Privacy Notice**: Your search keywords will be sent to these external services. Do not include sensitive or confidential information in keywords.

## Environment Variables

The script optionally reads these environment variables:

| Variable | Required | Purpose |
|----------|----------|---------|
| `BRAVE_API_KEY` | No | Brave Search API key for enhanced search results |
| `BAIDU_API_KEY` | No | Baidu Search API key for Chinese content |

If no API keys are provided, the skill will attempt to use Hacker News API (no key required).

## Output JSON Schema

```json
{
  "status": "success",
  "keyword": "searched keyword",
  "project_name": "product name",
  "summary": "one-line value",
  "pain_points": [
    {
      "id": "PP-001",
      "title": "pain title",
      "severity": "high",
      "context": "description",
      "sources": [
        {
          "platform": "Hacker News"

_meta.json

{
  "ownerId": "kn7237402nhfk7kq64292tktd183tk1w",
  "slug": "auto-prd-hunter",
  "version": "1.0.3",
  "publishedAt": 1775580189990
}

FIXES.md

================================================================================
                    auto-prd-hunter 修复版本说明
================================================================================

修复时间: 2026-04-07
版本: 1.1.0 (修复版)
修复内容: 解决 ClawHub 安全扫描发现的三个问题

================================================================================
修复的问题
================================================================================

【问题 1】SKILL.md 与代码不一致
--------------------------------------------------------------------------------
原问题:
  - SKILL.md 禁止伪造结果
  - 但脚本包含 generate_mock_pain_points() 函数
  - 当 API 无结果时生成模拟数据
  - 输出包含虚构内容和 example.com 占位符

修复方案:
  ✅ 移除 generate_mock_pain_points() 函数
  ✅ 当 API 无结果时返回错误 JSON
  ✅ 更新 SKILL.md 明确说明"No Fabrication Policy"
  ✅ 所有输出均为真实 API 结果

修复前行为:
  无 API 结果 → 生成模拟痛点 (example.com 来源)
  
修复后行为:
  无 API 结果 → 返回错误 {"status":"no_results","error":"..."}


【问题 2】未声明的网络请求
--------------------------------------------------------------------------------
原问题:
  - 脚本向外部 API 发送请求
  - 未在元数据中声明这些网络请求
  - 用户不知道关键词会发送到哪些服务

修复方案:
  ✅ 在 metadata 中添加 network 字段
  ✅ 明确声明所有外部 API 端点
  ✅ 在 SKILL.md 中添加"Network Requests"章节
  ✅ 添加隐私声明提醒用户

声明的网络请求:
  - api.search.brave.com (Brave Search API)
  - hn.algolia.com (Hacker News Algolia API)

隐私声明:
  ⚠️ "Your search keywords will be sent to external services."
  ⚠️ "Do not include sensitive or confidential information."


【问题 3】未声明的环境变量
--------------------------------------------------------------------------------
原问题:
  - 脚本读取 BRAVE_API_KEY 和 BAIDU_API_KEY
  - 未在元数据中声明这些环境变量
  - 用户不知道脚本会读取哪些环境变量

修复方案:
  ✅ 在 metadata 中添加 env 字段
  ✅ 明确声明每个环境变量的用途
  ✅ 标注是否必需 (required: false)
  ✅ 提供获取 API Key 的指引

声明的环境变量:
  BRAVE_API_KEY
    - required: false
    - description: "Brave Search API key for real-time web search"
  
  BAIDU_API_KEY
    - required: false
    - description: "Baidu Search API key for Chinese content search"

================================================================================
修改的文件
================================================================================

1. SKILL.md (7083 字节)
   ✅ 添加 network 元数据声明
   ✅ 添加 env 元数据声明
   ✅ 添加 "Important Notice" 章节 (No Fabrication Policy)
   ✅ 添加 "Network Requests" 章节
   ✅ 添加 "Environment Variables" 章节
   ✅ 更新错误处理说明
   ✅ 添加 "Transparency Commitment" 章节
   ✅ 添加故障排查指南
   ✅ 添加获取 API Key 的指引

2. scripts/search.py (13030 字节)
   ✅ 移除 generate_mock_pain_points() 函数 (约 100 行)
   ✅ 添加详细的函数文档字符串
   ✅ 改进错误处理和日志输出
   ✅ 当无 API 结果时返回明确的错误 JSON
   ✅ 添加隐私声明到文件头部
   ✅ 添加使用示例到帮助文本
   ✅ 改进搜索结果提取逻辑
   ✅ 添加结果来源统计

================================================================================
新版本特性
================================================================================

【透明性增强】
  ✅ 所有网络请求已声明
  ✅ 所有环境变量已声明
  ✅ 隐私声明清晰明确
  ✅ 错误信息详细具体

【安全性提升】
  ✅ 不再生成伪造数据
  ✅ 所有来源均为真实 URL
  ✅ 无占位符或虚构内容
  ✅ 明确的隐私警告

【用户体验改进】
  ✅ 无 API 结果时提供具体建议
  ✅ 详细的故障排查指南
  ✅ API Key 获取指引
  ✅ 清晰的使用示例

【错误处理改进】
  ✅ 区分不同类型的错误
  ✅ 提供具体的解决建议
  ✅ 包含调试信息(stderr)
  ✅ JSON 格式的错

skill-card.md

## Description:

Search web for user pain points and output a PRD JSON.

This skill is ready for commercial/non-commercial use.

## Publisher:

[lijinhongucl-pixel](https://clawhub.ai/user/lijinhongucl-pixel)

### License/Terms of Use:

MIT-0

## Use Case:

Product builders, founders, and developers use this skill to search public web discussions for pain points and turn the results into a PRD-style JSON with user stories, MVP features, and OpenClaw tasks.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Search keywords are sent to external search services.

Mitigation: Do not use confidential product names, customer data, secrets, or internal project details as keywords.

Risk: Baidu API key setup is documented, but the packaged script does not implement a Baidu network request.

Mitigation: Treat Baidu setup notes as inconsistent documentation and rely on Brave Search or Hacker News behavior unless the artifact is updated.

Risk: Generated PRD content depends on public search results and simple extraction logic.

Mitigation: Review source URLs, quotes, priorities, and generated tasks before using the output for product decisions.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/lijinhongucl-pixel/skills/auto-prd-hunter)
- [Brave Search API](https://api.search.brave.com/)
- [Hacker News Algolia API](https://hn.algolia.com/api/v1/search)
- [Baidu Cloud](https://cloud.baidu.com/)

## Skill Output:

**Output Type(s):** [text, JSON, shell commands, configuration, guidance]

**Output Format:** [JSON]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Returns success JSON with pain points, user stories, MVP features, OpenClaw tasks, source URLs, and generation metadata; returns error JSON when API searches fail or produce no results.]

## Skill Version(s):

1.0.3 (source: server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to 输入关键词,自动扫描全网用户痛点,生成PRD并输出OpenClaw标准任务JSON。 and adjacent AI workflows.