Competitor Mapping — Development skill for Claude Code
Auditable competitor mapping: deterministic quality gate, calibrated log-odds fusion, mandatory refutation list, drift-triggered re-mapping.
How to install Competitor Mapping
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open lxj2066/competitor-mapping and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Competitor Mapping does
Auditable competitor mapping: deterministic quality gate, calibrated log-odds fusion, mandatory refutation list, drift-triggered re-mapping. Skill + Agent packages (v1.0.0).
Alternatives in Development
- Brain Filing Rules — Brain Filing Rules -- MANDATORY for all skills that write to the brain 29.1k ★
- Fusion Gemini — Fusion panel of Opus 4.8 + Gemini 3.1 Pro in parallel, judged by Opus 4.8 (opus4.8-gemini3.1pro) 468 ★
- Peerbridge MCP — Provider-native adapter and governance layer for auditable multi-agent coding, review, evidence, and release w 136 ★
README
竞对映射引擎 · Competitor Mapping
把「谁是我的竞争对手」从一句感觉,做成一份**每条判断都能回溯到证据行**的档案。
本仓库同域双包:
| 包 | 形态 | 装到哪 | 说明 |
|---|---|---|---|
| `competitor-mapping-skill` | 技能包 | SkillHub | 完整方法论、六个确定性脚本、十个回归用例 |
| `competitor-mapping-agent` | 专家包 | WorkBuddy 专家入口 | 人设与退出自检,内嵌同款技能,可直接对话 |
两包领域段相同、版本各自独立。只想要流程与脚本就装技能包;想直接对话就装专家包。
为什么不是又一个「四路召回 + 加权平均」
线性流水线的通病是**没有失败处理**:召回到什么就输出什么,错了也没人拦。生产级的对标映射必须回答三个问题,本包对每个问题都有可执行的判据:
| 问题 | 对应机制 | 判据落在哪 |
|---|---|---|
| 怎么知道找得对 | 确定性质量门 + 强制反证 | references/gate-rules.md、references/critique-playbook.md |
| 分数凭什么这么高 | 对数几率池化 + 通道贡献分解 + 置信区间 | references/mapping-methodology.md |
| 什么时候该重新找 | 五类漂移信号,只按信号触发增量重评 | references/monitoring-rules.md |
六个确定性脚本(纯标准库,同输入同输出)
| 脚本 | 作用 | 关键设计 |
|---|---|---|
scripts/gate.py |
质量门 G1 至 G7 | 独立来源按 independent_key 去重,转载不算两条 |
scripts/fuse.py |
校准融合打分 | 对数几率池化 + 一致性加成 + 冲突惩罚 + bootstrap 区间;权重可标注拟合 |
scripts/critique.py |
五类反证清单 | 三态结论,缺字段记 unverified,绝不写「无反证」 |
scripts/eval.py |
P@K / R@K / NDCG@K 与留一法回测 | 留一法测「没有先验时能否自己找到」 |
scripts/drift.py |
漂移检测 D1 至 D5 | 仅并购事件触发全量重审,其余局部重算 |
scripts/dossier.py |
分层档案渲染 | T1 深度 / T2 定位卡 / T3 观察,缺字段渲染为 unverified |
快速开始
# 1 冻结口径,准备候选(结构见 references/gate-rules.md 第 0 节)
# 2 跑质量门
python competitor-mapping-skill/scripts/gate.py \
--candidates candidates.json --config mapping-scope.json --out gated.json
# 3 打分
python competitor-mapping-skill/scripts/fuse.py --candidates gated.json --out fused.json
# 4 反证
python competitor-mapping-skill/scripts/critique.py \
--target target-profile.json --candidates fused.json --out critique.json
# 5 出档案
python competitor-mapping-skill/scripts/dossier.py \
--fused fused.json --critique critique.json --out dossier.md --html dossier.html
每个脚本都有可运行的样例输入,位于 `competitor-mapping-skill/tests/`,可直接换成自己的数据。
验证结果(本仓库当前状态,可复跑)
| 项目 | 结果 |
|---|---|
技能包体检 forge.py check --strict |
A / 100,BLOCKER 0 |
| 专家包体检 `forge.py ch |
Related Skills
Cheerleader Hook
A Claude Code skill and hook that detects a stuck coding session from its transcript and returns one calibrate
Qintianjian
九术合一的 Agent Skill:八字·紫微·奇门·六爻·风水·姻缘·塔罗·佛学·择日。零依赖 Python 确定性排盘,每条判断带出处等级,算不出来就直说。 Auditable Chinese astrology a
Review Fanout
Adversarial multi-dimension review of the current diff, with refutation
Orchestrated Run
Set up the section 5 shape for a named unit of work - disjoint decomposition first, dispatch, adjudicate with
Polymarket Agents
Polymarket research MCP server with 10 tools (odds, orderbook, spread, history) + autonomous trading bot frame
Decision Odds
胜率裁决引擎:把「这事能不能成」算成概率区间、卡点贡献与盈亏平衡阈值。附 Skill 包与 Agent 包,含 12 张方法论卡与 3 个确定性脚本。
Related Agents
State Syncer
Validate pipeline state integrity (transitions, dedup, required fields per status) and mirror to Google Sheets
Release QA Manager
Release decision and reporting owner. Delegate Phases J-K once execution and verification are finished (or the
Audit Maps
GBP 25-field completeness audit, review intelligence, competitor radius mapping, and geo-grid ranking analysis