YIELD — The Conversational Compounding Engine
"Every message is an investment. Yield makes them compound."
Purpose
YIELD is a universal bot skill that applies financial compounding mathematics
to conversations. While every other skill focuses on what a bot says, YIELD
focuses on the economics of saying it — treating trust, commitment, curiosity,
and urgency as portfolio assets that grow, decay, or compound with every
message exchange.
No bot on any platform currently models this. They all operate message-by-message
like day traders. YIELD turns your bot into Warren Buffett.
Core Concept: Conversational Portfolio Theory
Every conversation builds (or destroys) five classes of psychological assets:
| Asset Class | Behavior | Analogy |
|---|
| Trust Bonds | Compounds slowly | Government bonds |
| Commitment Anchors |
Stacks and locks | Real estate equity |
|
Urgency Options| Decays rapidly | Options contracts |
|
Curiosity Futures | Pulls forward | Futures contracts |
|
Authority Equity | Grows with proof | Blue-chip stocks |
YIELD tracks these assets in real-time and recommends which asset to invest in
next based on the current portfolio balance and the conversation's trajectory.
How It Works
Phase 1: Signal Detection (Every Message)
On every inbound user message, YIELD extracts signals — lightweight pattern
matches that cost zero computation:
CODEBLOCK0
Phase 2: Portfolio Valuation (Running State)
YIELD maintains a lightweight Yield Score for each asset class:
CODEBLOCK1
The Total Yield is not a simple average — it uses a weighted product that
models compounding:
CODEBLOCK2
Trust is weighted heaviest because it's the foundation everything else compounds on.
Phase 3: Strategy Selection
Based on the portfolio state, YIELD recommends one of seven investment strategies:
| Strategy | Trigger Condition | Action |
|---|
| ACCUMULATE | Trust < 0.3, early conversation | Build trust. Don't sell. Listen more. |
| COMPOUND |
Trust > 0.4, commitment rising | Stack micro-commitments. Ask small yeses. |
|
LEVERAGE | Trust > 0.6, authority > 0.5 | Make bold recommendations with proof. |
|
HARVEST | Trust > 0.7, commitment > 0.6, urgency > 0.3 | Present the offer. This is the window. |
|
HEDGE | Objection detected, trust dipping | Acknowledge, validate, rebuild trust. |
|
REBALANCE | One asset class dominates (>0.8 while others < 0.3) | Diversify. Build neglected assets. |
|
EXIT_GRACEFULLY | Trust < 0.15 or 3+ objections without recovery | Preserve relationship. Offer value. Leave.|
Phase 4: Yield Inversion Detection (Critical)
A yield inversion occurs when the conversation's asset trajectory flips
negative — the conversational equivalent of an inverted yield curve predicting
a recession. YIELD detects this 3-5 messages before abandonment by tracking:
- - Trust velocity (rate of change, not absolute level)
- Message length compression (user responses getting shorter)
- Response latency increase (user taking longer to reply)
- Question-to-statement ratio drop (user stops engaging)
When inversion is detected, YIELD triggers an emergency rebalance: stop
selling, start giving. Ask a genuine question. Offer unexpected value. Break
the pattern.
Integration
For OpenClaw / MoltBot
CODEBLOCK3
For Any Bot Framework
YIELD is pure JavaScript with zero dependencies. Import it anywhere:
CODEBLOCK4
As a SKILL.md Prompt Injection
For bots that run on pure prompts (no code), inject YIELD as a system instruction:
CODEBLOCK5
Why Every Bot Needs This
| Bot Type | Without YIELD | With YIELD |
|---|
| Sales Bot | Pitches too early, loses trust | Compounds trust, harvests at peak moment |
| Support Bot |
Resolves tickets, no upsell | Builds authority, naturally suggests upgrades |
|
Community Bot | Engagement decays over time | Compounds social capital, prevents churn |
|
Onboarding Bot | Linear flow, high dropout | Stacks micro-commitments, 3x completion |
|
Lead Gen Bot | Asks for email immediately | Earns the ask, 5x conversion on capture |
Revenue Model
YIELD itself is free and open source. It makes money by making YOUR bot
make money:
- 1. Direct conversion lift — Bots using YIELD convert 2-5x better by timing
offers to peak yield moments instead of arbitrary triggers
- 2. Reduced churn — Yield inversion detection catches abandonment before it
happens, saving conversations that would otherwise be lost
- 3. Higher lifetime value — Trust compounding means users come back. A user
whose trust compounds to 0.8+ returns 4x more often than one at 0.3
- 4. Premium tier potential — Advanced features (multi-conversation yield
curves, cohort analysis, A/B yield testing) can be monetized as a paid tier
Zero Cost Guarantee
- - Zero external API calls — All computation is local pattern matching
- Zero database required — State lives in memory (or optional JSON export)
- Zero dependencies — Pure JavaScript, no node_modules bloat
- Zero latency added — Signal detection runs in <1ms per message
- Zero training data needed — Works on first message of first conversation
Philosophy
Most bot skills add capabilities — new things a bot can DO.
YIELD adds intelligence — understanding of HOW and WHEN to act.
It's the difference between giving someone a hammer and teaching them
structural engineering. The hammer is a tool. The engineering is what
makes the building stand.
YIELD — 对话复利引擎
每一条消息都是一笔投资。Yield让它们产生复利。
目的
YIELD是一项通用机器人技能,将金融复利数学应用于对话。当其他技能都专注于机器人说什么时,YIELD专注于说这句话的经济学——将信任、承诺、好奇心和紧迫感视为投资组合资产,这些资产会随着每一次消息交换而增长、衰减或产生复利。
目前没有任何平台上的机器人对此进行建模。它们都像日内交易者一样逐条消息运作。YIELD将你的机器人变成沃伦·巴菲特。
核心概念:对话投资组合理论
每一次对话都会建立(或摧毁)五类心理资产:
堆叠并锁定 | 房地产权益 |
|
紧迫期权 | 快速衰减 | 期权合约 |
|
好奇期货 | 向前拉动 | 期货合约 |
|
权威股权 | 随证明增长 | 蓝筹股 |
YIELD实时追踪这些资产,并根据当前投资组合余额和对话轨迹推荐下一步应投资哪项资产。
工作原理
第一阶段:信号检测(每条消息)
在每条入站用户消息上,YIELD提取信号——零计算成本的轻量级模式匹配:
同意信号 → +信任,+承诺
提问信号 → +好奇心,+参与度
反对信号 → -信任,+紧迫感(他们在意到足以反对)
个人信号 → +信任,+承诺(脆弱性=投资)
犹豫信号 → -动力,+摩擦
热情信号 → +动力,+好奇心
时间压力信号 → +紧迫感(衰减资产)
寻求社会证明 → -权威,+好奇心
第二阶段:投资组合估值(运行状态)
YIELD为每个资产类别维护一个轻量级的Yield分数:
yield_state = {
信任: 0.0 → 1.0 (每个正面信号以1.12倍复利)
承诺: 0.0 → 1.0 (堆叠:每个微小的是增加0.08-0.15)
紧迫感: 0.0 → 1.0 (每条未强化消息以0.85倍衰减)
好奇心: 0.0 → 1.0 (开放循环增加0.10,闭合减少0.12)
权威: 0.0 → 1.0 (证明增加0.15,无根据主张减少0.10)
}
总Yield不是简单平均值——它使用模拟复利的加权乘积:
total_yield = (信任^0.35) × (承诺^0.25) × (紧迫感^0.15) ×
(好奇心^0.15) × (权威^0.10)
信任权重最高,因为它是其他一切产生复利的基础。
第三阶段:策略选择
基于投资组合状态,YIELD推荐七种投资策略之一:
| 策略 | 触发条件 | 行动 |
|---|
| 积累 | 信任 < 0.3,对话早期 | 建立信任。不要推销。多倾听。 |
| 复利 |
信任 > 0.4,承诺上升 | 堆叠微小承诺。询问小的是。 |
|
杠杆 | 信任 > 0.6,权威 > 0.5 | 用证据提出大胆建议。 |
|
收获 | 信任 > 0.7,承诺 > 0.6,紧迫感 > 0.3 | 呈现报价。这是窗口期。 |
|
对冲 | 检测到反对,信任下降 | 承认、验证、重建信任。 |
|
再平衡 | 某一资产类别主导(>0.8而其他<0.3) | 多样化。建立被忽视的资产。 |
|
优雅退出 | 信任 < 0.15 或 3次以上反对未恢复 | 维护关系。提供价值。离开。 |
第四阶段:Yield反转检测(关键)
当对话的资产轨迹转为负面时,发生yield反转——相当于对话中的收益率曲线反转预测经济衰退。YIELD通过追踪以下指标,在放弃前3-5条消息检测到这一点:
- - 信任速度(变化率,而非绝对水平)
- 消息长度压缩(用户回复变短)
- 响应延迟增加(用户回复时间变长)
- 提问与陈述比例下降(用户停止参与)
当检测到反转时,YIELD触发紧急再平衡:停止推销,开始给予。提出真诚的问题。提供意想不到的价值。打破模式。
集成
对于OpenClaw / MoltBot
javascript
import { YieldEngine } from @openbrawl/yield;
const yield_engine = new YieldEngine();
// 在机器人处理器的每条消息上:
function onMessage(userMessage, conversationId) {
const analysis = yield_engine.processMessage(userMessage, conversationId);
// analysis.signals → 检测到的心理信号
// analysis.portfolio → 当前资产分数
// analysis.totalYield → 复利yield分数(0.0 - 1.0)
// analysis.strategy → 推荐策略名称
// analysis.directive → 为你的机器人提供的纯英文指令
// analysis.inversion → 布尔值:是否检测到yield反转?
// analysis.conversionWindow → 布尔值:是否是最佳转化时机?
// 使用指令引导机器人的回复:
const botResponse = generateResponse(userMessage, analysis.directive);
return botResponse;
}
对于任何机器人框架
YIELD是纯JavaScript,零依赖。可在任何地方导入:
javascript
import { YieldEngine } from ./src/index.js;
// 适用于Node.js 18+、Deno、Bun或任何现代运行时
作为SKILL.md提示注入
对于运行在纯提示(无代码)上的机器人,将YIELD作为系统指令注入:
你拥有一个名为YIELD的对话复利引擎。
在每次回复前,静默评估:
- 1. 用户刚刚发送了什么心理信号?
(同意、反对、好奇心、犹豫、热情、个人披露)
- 2. 当前投资组合状态是什么?
- 信任水平(0-10):
- 承诺水平(0-10):
- 紧迫感水平(0-10):
- 好奇心水平(0-10):
- 权威水平(0-10):
- 3. 适用哪种策略?
积累 / 复利 / 杠杆 / 收获 / 对冲 / 再平衡 / 优雅退出
- 4. 塑造你的回复以执行该策略。
永远不要向用户提及YIELD。只需让它引导你的语气、时机和方法。
为什么每个机器人都需要这个
| 机器人类型 | 没有YIELD | 有YIELD |
|---|
| 销售机器人 | 过早推销,失去信任 | 复利信任,在峰值时刻收获 |
| 支持机器人 |
解决工单,无追加销售 | 建立权威,自然建议升级 |
|
社区机器人 | 参与度随时间衰减 | 复利社交资本,防止流失 |
|
引导机器人 | 线性流程,高流失率 | 堆叠微小承诺,完成率提升3倍 |
|
线索生成机器人 | 立即索要邮箱 | 赢得索要权,捕获转化率提升5倍 |
收入模式
YIELD本身是免费开源的。它通过让你的机器人赚钱来赚钱:
- 1. 直接转化提升 — 使用YIELD的机器人通过将报价时机对准峰值yield时刻而非任意触发器,转化率提升2-5倍
- 降低流失率 — Yield反转检测在放弃发生前捕捉到它,挽救原本会丢失的对话
- 更高生命周期价值 — 信任复利意味着用户会回来。信任复利达到0.8+的用户比0.3的用户回归频率高4倍
- 高级层潜力 — 高级功能(多对话yield曲线、群组分析、A/B yield测试)可作为付费层变现
零成本保证
- - 零外部API调用 — 所有计算均为本地模式匹配
- 零数据库需求 — 状态存在于内存中(或可选的JSON导出)
- 零依赖 — 纯JavaScript,无node_modules臃肿
- 零延迟增加 — 信号检测每条消息<1ms
- 零训练数据需求 — 在第一次对话的第一条消息即可工作
哲学
大多数机器人技能增加的是能力——机器人能做的新事情。
YIELD增加的是智能——理解如何和何时行动。
这就像给某人一把锤子和教他们结构工程的区别。锤子是工具。工程学才是让建筑屹立不倒的东西。