A/B Hook Predictor — v2.0.0
Know which hook wins before you run the test. Depth 3 upgrade: every prediction now includes a confidence interval, specific rewrite surgery for losers (not just warning flags), and cross-ICP scoring to find the best audience for any hook.
What's New in v2.0.0
- - Confidence intervals —
91/100 (±8) instead of just 91/100. CI derived from dimension variance: concentrated signals → shakier prediction; spread signals → reliable. - Rewrite surgery — losing variants get specific fix instructions per ICP: not "add loss framing" but "add: 'Every month at 580 costs you $410 more than a buyer at 760.'"
- Cross-ICP scoring (
--cross-icp) — score any hook against all 5 ICP profiles to find its best audience. A hook written for crypto-mortgage buyers might score higher for veterans. - Quality gate (
--min-score=N) — flag variants below threshold with ⛔ marker. Use in content pipelines. - Margin analysis — neck-and-neck (<10pt gap) vs dominant winner (>25pt) changes the recommendation: run a real test vs ship immediately.
Free vs Premium
Free tier (no API key, no server needed):
- -
--demo — full ranked comparison with rewrite surgery + cross-ICP table, zero API calls - INLINECODE5 — score a single piece of copy against any ICP, with
--rewrite and --cross-icp support - INLINECODE8 — verify install
- All 5 ICP profiles: crypto-mortgage, credit-repair, va-loan, realtor-partner, first-time-buyer
- All depth-3 features (CI, rewrites, cross-ICP) run on rule-based scoring — no API key needed
Premium tier (contentresonancescorer.py backend loaded):
- -
--variants — full dimension breakdown on up to 5 variants - INLINECODE10 — structured output for agent pipelines
- Richer CRS-backed feature scoring (TRIBE v2–calibrated weights)
- Divergence detection between ICP-weighted score and CRS baseline
The free tier is fully functional. Install and use immediately.
What this skill does
Takes 2-5 content variants and a target ICP, scores each against that ICP's neural weight profile, and returns a ranked list with:
- - Composite resonance score (0-100) — weighted by which psychological levers matter most to that specific buyer
- Per-dimension flags — what's working, what's missing, specific fix suggestions
- Ranked winner — clear call on which variant to run and why
The key insight: the same content performs differently for different buyer types. "Keep your Bitcoin" scores 91/100 for a crypto-mortgage ICP and 34/100 for a credit-repair lead. This tool makes that gap visible before you spend money testing it.
ICP profiles available
| ICP key | Buyer type | Top neural levers |
|---|
| INLINECODE11 | BTC/ETH holder buying a home without selling | Gain framing, identity alignment, specificity |
| INLINECODE12 |
500-680 score, shame-sensitive | Pacing/empathy, reframe, social proof |
|
va-loan | Veteran who doesn't know their full benefit | Direct tone, identity (earned this), loss (leaving it unused) |
|
realtor-partner | Agent who needs a lender they can trust | Reliability signals, social proof, B2B framing |
|
first-time-buyer | First home, rate-shocked, overwhelmed | Simplicity, urgency (program deadlines), monthly payment framing |
CLI usage
CODEBLOCK0
variants.json format:
CODEBLOCK1
Demo output
CODEBLOCK2
Scoring dimensions by ICP
Each ICP has a different neural weight profile — same dimensions, different multipliers:
| Dimension | crypto-mortgage | credit-repair | va-loan | realtor-partner | first-time-buyer |
|---|
| Gain framing | 1.8× | 1.2× | 1.0× | 1.1× | 1.3× |
| Loss framing |
0.8× | 1.9× | 1.4× | 1.5× | 1.6× |
| Identity alignment | 1.7× | 1.3× | 1.8× | 1.6× | 1.0× |
| Urgency | 0.6× | 1.4× | 1.2× | 0.8× | 1.5× |
| Social proof | 0.9× | 1.6× | 1.1× | 1.9× | 1.4× |
| Simplicity | 0.8× | 1.7× | 1.3× | 1.0× | 1.8× |
| Second-person | 1.2× | 1.5× | 1.6× | 0.9× | 1.4× |
| Concrete nouns | 1.6× | 1.1× | 1.3× | 1.7× | 1.2× |
Why profiles differ: Validated against ICP research and TRIBE v2 fMRI findings. The credit-repair buyer (shame-sensitive, loss-averse) responds differently than the crypto holder (gain-seeking, autonomy-driven). Using the wrong profile scores 40% lower on average.
Calibration note — TRIBE v2
Neural weight profiles are calibrated against TRIBE v2 (Meta's fMRI brain-response prediction model). The weight multipliers reflect predicted activation in:
- - Reward circuit (mPFC/precuneus): gain framing, identity alignment → crypto-mortgage, realtor-partner ICPs
- Amygdala/loss circuit: loss framing, urgency → credit-repair, first-time-buyer ICPs
- Language cortex (STG/IFG): simplicity, second-person → credit-repair, va-loan ICPs
To recalibrate with fresh data: see vault/learnings/2026-03-27-tribe-v2-colab-spec-task47.md.
Integration
CODEBLOCK3
Use cases
Before running paid ads:
"Which of these 3 Facebook hook variants will perform best for first-time buyers?"
Before sending email:
"Score these 2 subject lines against credit-repair leads — which one opens more?"
Content calendar optimization:
"Rank these 5 LinkedIn hooks for realtor-partner ICP before we schedule them"
Hook diagnosis:
"My ad isn't converting credit-repair leads — score it and tell me what's wrong"
Cross-ICP testing:
"Run all 5 ICPs against this hook — which buyer type will respond best?"
A/B Hook Predictor — v2.0.0
在运行测试之前就知道哪个钩子会胜出。深度3升级:每次预测现在都包含置信区间、针对失败者的具体改写手术(不仅仅是警告标志),以及跨ICP评分,为任何钩子找到最佳受众。
v2.0.0 新特性
- - 置信区间 — 91/100 (±8) 而不仅仅是 91/100。置信区间来自维度方差:集中信号 → 预测更不稳定;分散信号 → 预测更可靠。
- 改写手术 — 失败的变体获得针对每个ICP的具体修复指令:不是添加损失框架,而是添加:每月580美元比760美元的买家多花你410美元。
- 跨ICP评分 (--cross-icp) — 针对所有5个ICP画像对任何钩子进行评分,找到其最佳受众。为加密抵押贷款买家编写的钩子可能对退伍军人得分更高。
- 质量门控 (--min-score=N) — 用⛔标记低于阈值的变体。在内容管道中使用。
- 差距分析 — 势均力敌(差距<10分)vs 明显胜出(差距>25分)会改变建议:运行真实测试 vs 立即发布。
免费版 vs 高级版
免费版(无需API密钥,无需服务器):
- - --demo — 完整排名比较,包含改写手术 + 跨ICP表格,零API调用
- --text — 针对任意ICP对单条文案进行评分,支持--rewrite和--cross-icp
- --version — 验证安装
- 全部5个ICP画像:加密抵押贷款、信用修复、VA贷款、经纪人合作伙伴、首次购房者
- 所有深度3功能(置信区间、改写、跨ICP)基于规则评分运行——无需API密钥
高级版(加载contentresonancescorer.py后端):
- - --variants — 最多5个变体的完整维度分解
- --json — 用于代理管道的结构化输出
- 更丰富的CRS支持特征评分(TRIBE v2校准权重)
- ICP加权评分与CRS基线之间的差异检测
免费版功能完整。立即安装并使用。
此技能的功能
接收2-5个内容变体和一个目标ICP,针对该ICP的神经权重画像对每个变体进行评分,并返回一个排名列表,包含:
- - 综合共鸣评分(0-100) — 根据对该特定买家最重要的心理杠杆进行加权
- 每个维度的标志 — 什么有效、什么缺失、具体修复建议
- 排名胜出者 — 明确说明哪个变体应该运行以及原因
关键洞察:相同的内容对不同买家类型表现不同。保留你的比特币对加密抵押贷款ICP得分为91/100,对信用修复线索得分为34/100。这个工具在你花钱测试之前就让这个差距可见。
可用的ICP画像
| ICP键 | 买家类型 | 顶级神经杠杆 |
|---|
| crypto-mortgage | 持有BTC/ETH但不卖币购房者 | 收益框架、身份认同、具体性 |
| credit-repair |
500-680分,羞耻敏感型 | 节奏/共情、重新框架、社会证明 |
| va-loan | 不了解自己全部福利的退伍军人 | 直接语气、身份(应得的)、损失(未使用) |
| realtor-partner | 需要可信赖贷款机构的经纪人 | 可靠性信号、社会证明、B2B框架 |
| first-time-buyer | 首次购房、利率震惊、不知所措 | 简洁性、紧迫性(项目截止日期)、月供框架 |
CLI使用方法
bash
演示:3个钩子针对加密抵押贷款ICP排名(无需API密钥)
python3 ab_predictor.py --demo
针对特定ICP对单条文案进行评分
python3 ab_predictor.py --text 你不需要卖掉你的BTC来买房。 --product crypto-mortgage
带改写手术评分(低于70分时给出具体修复指令)
python3 ab_predictor.py --text 今天以优惠利率买房。 --product va-loan --rewrite
从JSON文件比较变体
python3 ab_predictor.py --variants hooks.json --product va-loan
带失败者改写手术的比较
python3 ab_predictor.py --variants hooks.json --product credit-repair --rewrite
为钩子找到所有ICP中的最佳受众
python3 ab_predictor.py --variants hooks.json --cross-icp
质量门控:标记任何低于60分的内容
python3 ab_predictor.py --variants hooks.json --product first-time-buyer --min-score 60
用于管道的JSON输出(包含置信区间、改写建议)
python3 ab_predictor.py --variants hooks.json --product credit-repair --json --rewrite | jq .[0]
检查版本
python3 ab_predictor.py --version
variants.json格式:
json
[
{label: 钩子A — 直接利益, text: 你赢得了零首付。以下是如何使用它。},
{label: 钩子B — 损失框架, text: 你每等一个月,就有另一套房子被签约。},
{label: 钩子C — 身份认同, text: 退伍军人正在以零首付购房。以下是确切流程。}
]
演示输出
$ python3 ab_predictor.py --demo
A/B共鸣比较 — ICP: 加密抵押贷款
================================================
#1 钩子C — 身份认同 + 具体内容 91/100 ✅ 胜出者
✓ 身份认同:BTC持有者 — 具体、群体内信号
✓ 收益框架:未实现收益、在建立资产的同时增值
✓ 具体名词密度:$200K-$2M、2022年、房利美
✓ 损失规避框架:零资本利得事件、零币出售
→ 添加紧迫性信号 — 加密抵押贷款窗口可能不会一直开放
#2 钩子A — 损失框架 72/100
✓ 第二人称:你不需要卖掉...
✓ 具体性:无资本利得。无错失增值。
⚠ 缺失:身份信号 — 加密抵押贷款ICP对群体内语言有反应
⚠ 低收益框架 — 告诉他们要避免什么,但没有告诉他们能得到什么
→ 添加具体结果:...同时你的BTC持续增值
#3 钩子B — 通用型 12/100 ❌ 不要运行
✗ 第三人称语气:我们提供... — 不是第二人称
✗ 合规违规:利率、预批准 — 禁用词
✗ 对加密抵押贷款ICP无身份认同
✗ 零具体性 — 只有模糊的陈词滥调
→ 从头重写。这不会转化加密抵押贷款买家。
预测胜出者:钩子C,领先钩子A 19分。
关键差异化因素:身份认同 + 具体性触发奖励回路激活。
各ICP评分维度
每个ICP有不同的神经权重画像 — 相同维度,不同乘数:
| 维度 | 加密抵押贷款 | 信用修复 | VA贷款 | 经纪人合作伙伴 | 首次购房者 |
|---|
| 收益框架 | 1.8× | 1.2× | 1.0× | 1.1× | 1.3× |
| 损失框架 |
0.8× | 1.9× | 1.4× | 1.5× | 1.6× |
| 身份认同 | 1.7× | 1.3× | 1.8× | 1.6× | 1.0× |
| 紧迫性 | 0.6× | 1.4× | 1.2× | 0.8× | 1.5× |
| 社会证明 | 0.9× | 1.6× | 1.1× | 1.9× | 1.4× |
| 简洁性 | 0.8× | 1.7× | 1.3× | 1.0× | 1.8× |
| 第二人称 | 1.2× | 1.5× | 1.6× | 0.9× | 1.4× |
| 具体名词 | 1.6× | 1.1× | 1.3× | 1.7× | 1.2× |
画像为何不同: 经过ICP研究和TRIBE v2 fMRI发现验证。信用修复买家(羞耻敏感、损失厌恶)与加密持有者(追求收益、自主驱动)的反应不同。使用错误的画像平均得分低40%。
校准说明 — TRIBE v2
神经权重画像已