/demand-mining:demand-miningfrom demand-mining
已发布产品每日用户需求挖掘+竞品/热点追踪+EOD 头脑风暴+RICE/Kano 量化迭代排序. Triggers: 需求挖掘, demand mining, 迭代建议, EOD 汇总.
Ships in demand-mining. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
This skill analyzes feedback for a shipped product: Discord collection and redaction, JTBD extraction, cross-day demand grouping, quantitative ranking, EOD review and authorized delivery.
Invariants (reasons and rejected alternatives: PHILOSOPHY.md).
run.py, score.py, dedup.py and verify_gate.py, never in a model ranking.market-intel directly. Today's
market opportunities (not user demands) → daily-hotspots. Improving this skill → self-evolve.
"Does a skill exist for X" → market-intel ready-skills.| Deep job | Delegate to | Relationship |
|---|---|---|
| Discord listening layer | demand_bot.py and pull_discord.py | Implemented local ownership; shared-bot demand-tap integration is deferred. |
| Hotspots / public demand | daily-hotspots | Optional manual evidence; automatic ingestion is deferred. |
| Competitor deep-dive | market-intel | Optional user-requested research; automatic collection is deferred. |
| Demand pool / cross-day dedup / state | Local demand_pool.py + schedule-reminder CLI | Pool records stay in the companion; the shared ledger owns idempotency and completion. |
reference/<shard>.md per step)scripts/pull_discord.py. It reads the wired product's
Discord channels via the bot token (config: the product's discord group, channels + token_ref;
Message Content Intent required) and emits a REDACTED corpus. The scheduler freezes the window from the prior completed cutoff; direct manual collection accepts
--since-hours, while --full is an explicit backfill. Bots/webhooks/empty are skipped. The token is never
printed. An unwired tap exits with an initialization hint. This is the scheduled collection path;
the daemon separately owns live collection. The model receives the collected redacted corpus.reference/privacy.md. pull_discord.py already ran every
raw message through redact.py (NFKC-normalized, so full-width/homoglyph obfuscation can't smuggle PII past it)
BEFORE any LLM/embedding sees it: Tier1 regex+Luhn (email/phone/card/URL/IP/discord-id/handle),
Tier2 entropy (secrets), unique placeholders ([EMAIL_1]/[PHONE_2], never collapsed), HMAC
author pseudonym. Local person/address patterns supplement these rules; unsupported personal
context is visibly held for review. The doctor names remaining coverage gaps. Only redacted
text flows downstream; the pool stores distilled items, never raw conversation.reference/extract.md. Stage A: classification using 8 intent labels (context
LLM, NOT keyword chitchat filtering). Stage B: session disentanglement by thread/reference
chains (never time-window slicing) → JTBD four forces (Anxiety/Habit = the implicit goldmine) →
three-layer translation (literal→job→emotion; never排期 the literal feature) → opinion-unit
extraction → verbatim grounding (extract.py: a quote not locatable in the redacted source
is REJECTED, omission ≈ 2× fabrication). Dual-track: explicit pool + implicit pool.reference/delegation.md. Automatic hotspot, public-demand
and competitor feeds remain deferred. For an explicitly requested manual investigation, use
the relevant sibling skill and preserve independent provenance before including evidence.
Existing demand extraction and daemon operation do not depend on those integrations.reference/scoring.md. At temperature 0
with anchored rubric samples, propose each axis's inputs; score.py (pure) disposes them:
RICE (ordering; Confidence = mechanical source-tier×cross-validation, Effort clamped) ·
Opportunity/ODI (demand strength) · WSJF (urgency; competitor-just-shipped = highest) ·
Kano gate (must-be missing → Tier0, score-decoupled). 2D tier matrix; argue bands not points.reference/dedup-pool.md. dedup.py over the
schedule-reminder base: exact canonical identity or guarded nonexact matching, with the
0.78-0.83 candidate band reserved for review. Preserve product-scoped keys, distinct-author
intensity without time decay, and NEW/SUPPRESS/RESURFACE state. Use the reference for the
implemented similarity conditions.reference/eod-brainstorm.md. verify_gate.py (≥1 internal
evidence + egress DLP, fail-closed) → digest.py Quick-win/Big-bet split + iteration queue.
Delivery is one ranked 'headlines' message/day (digest.build_headlines: top ≤5 push-eligible
demands, each **N.【立即·刚需】标题** + 人话摘要(why+建议) + grade final_score · RICE · N证据),
NOT a Discord embed per demand. The full markdown (every field + evidence) is the archived digest
file, pointed at by a plain-text hint. Unlike daily-hotspots the headline carries no url:
this skill mines private conversation and push_card.deliver's has_pii gate aborts on any
url/handle, so evidence stays private. Honest empty day.reference/cron-setup.md. OS Task Scheduler → wrapper.ps1 → scheduled.py →
installed llmcall.call_many in default judge mode for bounded candidate batches.
Completed batches are reused within the same logical run. The local finalizer owns current
artifacts, confirmed delivery receipts and watermark state. Backup is separate and checked.
Load reference/runtime-contract.md for timezone, PRIVATE destinations and reconciliation.
Never CronCreate.Fast path, prepare candidate demand clusters as JSON, then let the gate run the deterministic tail:
python scripts/run.py --in candidates.json # redact→score→dedup→gate→push→pool→digest→watermark
python scripts/run.py --in candidates.json --dry-run --no-ledger # offline preview, no writes
verify_gate.py BLOCKS it (no-filler). Honest empty day: "今日无合格新需求".Read the root CONFIG.md to set up, switch or restore the PRIVATE companion, to change a setting,
or after a release that bumps the config schema. config.schema.json defines every setting with its
default; the companion holds a settings document (selected product, zone, ledger) and one
products document per product (Discord wiring, scoring policy, taxonomy, delivery, retention),
overrides only. Change values with scripts/config_cli.py set, never by hand-editing
defaults into the files. lib.load_config() validates and fills defaults; there is no
public-repository fallback, and only the offline preview runs on schema defaults. Artifact ownership
and retention are declared in the root storage.contract.json; recovery rules are in
reference/runtime-contract.md.
A real empty day requires completed collection and classification. Reuse the saved logical identity, plan and receipt on retry. An uncertain send requires receipt reconciliation before completion; backup failure remains separate from delivery success.
This SKILL.md is the only always-loaded file. Read reference/<shard>.md on demand, one per step.
Never read the whole reference/ directory at once. All heavy logic lives in scripts/.
config/migrations.json (opens in a new tab)config/migrations/0001_from_legacy.py (opens in a new tab)reference/cron-setup.md (opens in a new tab)reference/dedup-pool.md (opens in a new tab)reference/delegation.md (opens in a new tab)reference/eod-brainstorm.md (opens in a new tab)reference/extract.md (opens in a new tab)reference/privacy.md (opens in a new tab)reference/runtime-contract.md (opens in a new tab)reference/scoring.md (opens in a new tab)scripts/backup.py (opens in a new tab)scripts/companion_ignores.py (opens in a new tab)scripts/config_cli.py (opens in a new tab)scripts/config_paths.py (opens in a new tab)scripts/daemon_supervisor.py (opens in a new tab)scripts/data_safety.py (opens in a new tab)scripts/dedup.py (opens in a new tab)scripts/demand_bot.py (opens in a new tab)scripts/demand_pool.py (opens in a new tab)scripts/digest.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (daizedong/demand-mining) — no native marketplace selected
npx claudepluginhub p/daizedong-demand-mining