HomeBrowseUpload
โ† Back to registry
โšก
// Skill profile

๐Ÿ”ฎ PredictFish

name: predictfish

by chloepark85 ยท published 2026-03-22

้‚ฎไปถๅค„็†็คพไบคๅช’ไฝ“
Total installs
0
Stars
โ˜… 0
Last updated
2026-03
// Install command
$ claw add gh:chloepark85/chloepark85-predictfish
View on GitHub
// Full documentation

---

name: predictfish

description: "Predict project success using MiroFish swarm intelligence. Simulate market reactions before you build."

license: "MIT-0"

metadata:

{

"openclaw":

{

"emoji": "๐Ÿ”ฎ",

"requires": { "bins": ["uv", "docker"] },

"primaryEnv": "LLM_API_KEY",

},

}

---

# ๐Ÿ”ฎ PredictFish

**Predict project success using MiroFish swarm intelligence.**

Simulate market reactions, customer behavior, and competitive dynamics before writing a single line of code. PredictFish connects to MiroFish (a swarm intelligence engine) to run multi-agent simulations of your product idea in the market.

Why This Exists

From AGENTS.md:

> **Rent Reminder Pro:** 6์‹œ๊ฐ„ ๊ฐœ๋ฐœ ํ›„ ๊ทผ๋ณธ ๊ฒฐํ•จ ๋ฐœ๊ฒฌ (์„ธ์ž…์ž Telegram ์•ˆ ์”€)

> ๋žœ๋”ฉ ์นดํ”ผ ๋จผ์ € ๋ณด์—ฌ์คฌ์œผ๋ฉด 5๋ถ„ ๋งŒ์— ๋ฐœ๊ฒฌํ–ˆ์„ ๊ฒƒ

PredictFish adds **quantitative prediction** to the landing-page sanity check. Before PM starts development:

1. Write landing page copy

2. **Run PredictFish simulation** โ† this skill

3. Show Director: copy + prediction score

4. Director approves or kills the project

How It Works

Project Info โ†’ Seed Document โ†’ MiroFish API โ†’ Swarm Simulation โ†’ Prediction Report

**MiroFish API Flow:**

1. Build knowledge graph from seed

2. Prepare simulation environment

3. Run N rounds of multi-agent simulation

4. Generate prediction report

**Prediction Output:**

  • Success score (0-100)
  • Risk factors
  • Market reaction summary
  • Improvement suggestions
  • Usage

    1. Check MiroFish Status

    uv run scripts/predict.py status

    2. Run Prediction

    uv run scripts/predict.py predict \
      --name "Rent Reminder Pro" \
      --description "Telegram bot that reminds tenants to pay rent on time" \
      --target "Property managers in Korea" \
      --market "5000+ property managers, competitors use email/SMS" \
      --rounds 20 \
      --output results.json

    3. Retrieve Saved Report

    uv run scripts/predict.py report <report_id>

    OpenClaw Integration

    When PM receives a new project request:

    # Generate landing page copy first (existing process)
    # Then run prediction:
    cd ~/ubik-collective/systems/ubik-pm/skills/predictfish
    uv run scripts/predict.py predict \
      --name "$PROJECT_NAME" \
      --description "$DESCRIPTION" \
      --target "$TARGET_CUSTOMER" \
      --market "$MARKET_INFO" \
      --output ~/ubik-collective/systems/ubik-pm/memory/prediction-$(date +%Y%m%d-%H%M%S).json
    
    # Show Director: landing copy + prediction score
    # Wait for Go/No-Go

    Requirements

  • **Python 3.11+** (via `uv`)
  • **MiroFish API** running on `http://localhost:5001`
  • - Typically via Docker: `docker-compose up mirofish`

  • **Environment Variable (optional):**
  • - `MIROFISH_URL` - override default API endpoint

    Architecture

    predictfish/
    โ”œโ”€โ”€ SKILL.md              # This file
    โ”œโ”€โ”€ scripts/
    โ”‚   โ””โ”€โ”€ predict.py        # Main CLI
    โ”œโ”€โ”€ lib/
    โ”‚   โ”œโ”€โ”€ mirofish_client.py   # API client
    โ”‚   โ”œโ”€โ”€ seed_generator.py    # Project โ†’ seed document
    โ”‚   โ””โ”€โ”€ report_parser.py     # Report โ†’ prediction score
    โ”œโ”€โ”€ templates/
    โ”‚   โ””โ”€โ”€ seed_template.md     # Seed document template
    โ”œโ”€โ”€ README.md
    โ””โ”€โ”€ pyproject.toml

    Example Output

    ๐Ÿ”ฎ PredictFish: Rent Reminder Pro
    ๐Ÿ“ MiroFish API: http://localhost:5001
    
    [1/6] ๐ŸŒฑ Generating seed document...
    [2/6] ๐Ÿ•ธ๏ธ  Building knowledge graph...
          Graph ID: graph_abc123
    [3/6] โš™๏ธ  Preparing simulation (20 rounds)...
          Simulation ID: sim_def456
    [4/6] ๐Ÿƒ Starting simulation...
          Run ID: run_ghi789
    [5/6] โณ Running swarm intelligence simulation...
          ... running (5s)
          ... running (10s)
          โœ… Simulation completed
    [6/6] ๐Ÿ“Š Generating prediction report...
    
    ============================================================
    ๐ŸŽฏ **์„ฑ๊ณต ์˜ˆ์ธก ์ ์ˆ˜**: 35/100
    
    ๐Ÿ“Š **์‹œ์žฅ ๋ฐ˜์‘**
    ํƒ€๊ฒŸ ๊ณ ๊ฐ(๋ถ€๋™์‚ฐ ๊ด€๋ฆฌ์ž)๋Š” Telegram๋ณด๋‹ค ์ด๋ฉ”์ผ/๋ฌธ์ž๋ฅผ ์„ ํ˜ธํ•จ.
    ์„ธ์ž…์ž ๋Œ€๋ถ€๋ถ„์ด Telegram ๋ฏธ์‚ฌ์šฉ์œผ๋กœ ๋„๋‹ฌ๋ฅ  ๋‚ฎ์Œ.
    
    โš ๏ธ **์ฃผ์š” ๋ฆฌ์Šคํฌ** (3๊ฐœ)
    1. ํ”Œ๋žซํผ ๋ฏธ์Šค๋งค์น˜: ํƒ€๊ฒŸ ์œ ์ €๊ฐ€ Telegram ์‚ฌ์šฉ ์•ˆ ํ•จ
    2. ๊ธฐ์กด ์†”๋ฃจ์…˜ ์ถฉ๋ถ„: ์ด๋ฉ”์ผ/๋ฌธ์ž๋กœ ์ด๋ฏธ ํ•ด๊ฒฐ ๊ฐ€๋Šฅ
    3. ๋„คํŠธ์›Œํฌ ํšจ๊ณผ ๋ถ€์กฑ: ์–‘์ธก(๊ด€๋ฆฌ์ž+์„ธ์ž…์ž) ๋ชจ๋‘ ํ•„์š”
    
    ๐Ÿ’ก **๊ฐœ์„  ์ œ์•ˆ** (2๊ฐœ)
    1. ์ด๋ฉ”์ผ/๋ฌธ์ž ๊ธฐ๋ฐ˜์œผ๋กœ ์ „ํ™˜ ๊ฒ€ํ† 
    2. ๋ถ€๋™์‚ฐ ๊ด€๋ฆฌ ์†Œํ”„ํŠธ์›จ์–ด์™€ ํ†ตํ•ฉ ๊ฒ€ํ† 
    ============================================================
    
    ๐Ÿ’พ Results saved to: results.json

    **Interpretation:**

  • Score: 35/100 โ†’ **DO NOT BUILD**
  • Fatal flaw caught in 2 minutes (vs 6 hours of dev)
  • Director kills project before wasting resources
  • Error Handling

    **MiroFish not running:**

    โŒ MiroFish API: http://localhost:5001
       Error: Cannot connect to MiroFish (is Docker running?)
    
    ๐Ÿ’ก Start MiroFish with: docker-compose up mirofish

    **Invalid input:**

    โŒ Validation error: Project description too short (minimum 10 characters)

    **Simulation timeout:**

    โŒ Timeout waiting for simulation

    API Reference

    `predict.py status`

    Check MiroFish connection.

    **Returns:** 0 if connected, 1 if error.

    `predict.py predict`

    Run success prediction.

    **Required:**

  • `--name` - Project name
  • `--description` - Project description
  • **Optional:**

  • `--target` - Target customer (default: "์ผ๋ฐ˜ ์‚ฌ์šฉ์ž")
  • `--market` - Market info (default: "๋ฏธ์ •์˜ ์‹œ์žฅ")
  • `--rounds` - Simulation rounds (default: 20)
  • `--output` - Save results JSON
  • `--verbose` - Show seed document and debug info
  • **Returns:** 0 if success, 1 if error.

    `predict.py report <report_id>`

    Retrieve existing report by ID.

    Integration with PM Workflow

    See `AGENTS.md` for PM rules:

    ## ๐Ÿšจ ์ ˆ๋Œ€ ๊ทœ์น™ (Director ๋ช…๋ น)
    
    ### **์‹ ๊ทœ ํ”„๋กœ์ ํŠธ ์‹œ์ž‘ ํ”„๋กœ์„ธ์Šค (ํ•„์ˆ˜)**
    
    โœ… ํ•„์ˆ˜ ์ ˆ์ฐจ:
    
    1. ๋žœ๋”ฉ ํŽ˜์ด์ง€ ์นดํ”ผ ์ž‘์„ฑ (30๋ถ„)
    2. **PredictFish ์˜ˆ์ธก ์‹คํ–‰** โ† NEW STEP
    3. Director์—๊ฒŒ ์ œ์‹œ (์นดํ”ผ + ์˜ˆ์ธก ์ ์ˆ˜)
    4. Director ์Šน์ธ ํ›„์—๋งŒ ๊ฐœ๋ฐœ ์‹œ์ž‘

    License

    MIT-0 (Public Domain)

    Credits

    Built for UBIK Systems by PM ํŒ€์žฅ.

    Powered by MiroFish swarm intelligence engine.

    // Comments
    Sign in with GitHub to leave a comment.
    // Related skills

    More tools from the same signal band