ClawHub
SkillsPluginsTemplatesDocsSupport
K
SkillsTrump Tback

Trump Tback

kai157isme-lgtm@kai157isme-lgtm
Install in OpenClaw
Requires OpenClaw desktop app
基于文本与互动数据的特朗普情绪T-Back分析,区分成就宣传、威胁攻击和中性内容,评估市场情绪动能。
Security check
Clean
Version
1.0.0
Updated
May 11, 2026
License
MIT-0

Latest: v1.0.0

trump-tback v1.0.0 Changelog

  • 首次发布,推出“Trump情绪T-Back分析器”,基于0轴临床诊断系统与传播动力学框架。
  • 支持关键词驱动的Trump帖子情绪分析,包括文本正、负、中性三轴分级。
  • 引入T-Back等级和传播动量(Viral Momentum)计算,实现互动数据与文本势能结合的市场验证。
  • 提供单条分析、批量分析、传播动能分析与每日聚合等多种命令接口。
  • 内置案例、关键词表与详细诊断分级。
Other

Trump T-Back 情绪分析器 🦞

分析Trump帖子的市场情绪影响,结合文本势能与传播动能。

触发词

  • "分析T-Back"、"t_back"
  • "分析特朗普情绪"、"Trump mood"
  • "关税威胁"、"伊朗"、"贸易战"
  • "市场情绪"、"传播动量"

核心概念

1. T-Back 三轴系统

轴向模式关键词市场含义
正轴传教士 (Missionary)GREAT, BEST, WINNING, SUCCESS成就宣传 → 市场亢奋
负轴掠食者 (Predator)THREAT, WAR, HELL, DISASTER威胁攻击 → 市场恐慌
0轴面具 (Mask)中性内容无明显倾向

2. T-Back 等级

text
+120 | 🔴 急性激越 (超新星爆发)
+100 | 🔴 CRITICAL - 传教士极端亢奋
 +80 | 🟠 HIGH     - 传教士高度自信
 +60 | 🟡 ELEVATED - 传教士成就宣传
 +40 | 🟢 WATCH    - 传教士轻微乐观
 +20 | ⚪ NEUTRAL  - 面具中性
 -20 | ⚪ NEUTRAL  - 面具中性
 -40 | 🟢 WATCH    - 掠食者轻微不安
 -60 | 🟡 ELEVATED - 掠食者负面施压
 -80 | 🟠 HIGH     - 掠食者高度攻击
-100 | 🔴 CRITICAL - 掠食者极端威胁
-120 | 🔴 急性激越 (超新星爆发)

3. 传播动力学 (Viral Momentum)

核心公式:

text
T_final = T_base × (1 + engagement^0.15 / 2)

最大放大: 1.5倍

流量放大效应:

互动量放大倍数效果
<1000~1.0x噪音,不操作
10K~1.4x放大效应
50K+~1.7x急性激越

三大指标权重:

  • 转发 (Reposts): x1.5 - 传染强度
  • 评论 (Comments): x1.0 - 激越离散度
  • 点赞 (Likes): x0.5 - 情绪底噪

模块文件

text
trump_mood_dashboard/
├── mood_analyzer.py              # 核心情绪分析引擎
│   ├── calculate_t_back()       # 基础T-Back计算
│   ├── analyze_post()           # 完整帖子分析
│   ├── daily_aggregator()       # 每日聚合器
│   └── ViralPost / viral_validator()  # 传播动力学
├── cross_platform_analyzer.py    # 跨平台共振分析
├── app_prison.py                # Streamlit仪表盘
└── tback_prison_dashboard.html  # 静态HTML版本

命令

1. 分析单条帖子

bash
cd /home/gem/workspace/agent/workspace/trump_mood_dashboard
python3 -c "
from mood_analyzer import analyze_post
result = analyze_post('TARIFFS ON CHINA ARE WORKING!')
print(f\"T-Back: {result['t_back']}\")
print(f\"等级: {result['t_level']}\")
"

2. 传播动力学分析 (带互动数据)

bash
cd /home/gem/workspace/agent/workspace/trump_mood_dashboard
python3 << 'EOF'
from mood_analyzer import ViralPost, viral_validator

posts = [
    {"text": "TARIFFS ON CHINA!", "t_base": -95, "reposts": 50000, "comments": 15000, "likes": 80000},
    {"text": "BEST ECONOMY EVER!", "t_base": 68, "reposts": 8000, "comments": 3000, "likes": 25000},
]

result = viral_validator(posts)
print(f"高影响力帖子: {len(result['high_impact_posts'])}")
print(f"无效咆哮: {len(result['dud_posts'])}")
EOF

3. 每日聚合分析

bash
cd /home/gem/workspace/agent/workspace/trump_mood_dashboard
python3 << 'EOF'
from mood_analyzer import daily_aggregator

posts = [
    {"text": "关税威胁", "t_back": -100, "engagement": 15000},
    {"text": "经济利好", "t_back": 68, "engagement": 20000},
]

result = daily_aggregator(posts)
print(f"峰值: {result['peak']}")
print(f"状态: {result['status']}")
print(f"主导: {result['mode']}")
EOF

4. 批量分析 (历史数据)

bash
cd /home/gem/workspace/agent/workspace/trump_mood_dashboard
python3 << 'EOF'
from mood_analyzer import analyze_post

posts = [
    "TARIFFS ON CHINA ARE WORKING! AMERICA FIRST!",
    "ALL HELL WILL REIGN DOWN ON IRAN!",
    "BEST ECONOMY EVER! TREMENDOUS SUCCESS!",
]

for text in posts:
    r = analyze_post(text)
    print(f"{r['t_back']:+6.1f} | {r['t_level']} | {text[:40]}")
EOF

关键词列表

负轴关键词 (AGGRESSIVE_KEYWORDS)

THREAT, DESTROY, DESTRUCTION, WAR, ATTACK, KILL, HELL, DISASTER, TERRIBLE, HORRIBLE, DANGER, WARNING, FAIL, LOSER, ENEMY, CRIMINAL, TRAITOR, SURRENDER, REVENGE, PAY THE PRICE, DESTROYED, WRECK, CRUSH, ANNIHILATE, WIPE OUT, FINISH, END IT, DEVASTATE

正轴关键词 (BOASTING_KEYWORDS)

GREAT, AMAZING, BEST, WINNING, SUCCESS, VICTORY, TREMENDOUS, HISTORIC, PHENOMENAL, INCREDIBLE, BRILLIANT, STRONG, POWERFUL, PROUD, CELEBRATE, BIGGEST, FIRST, UNBELIEVABLE, MASSIVE, BIG, HUGE, SUCCESSFUL, WIN

市场毒性词 (MARKET_TOXINS)

TARIFFS, SANCTIONS, FED, RECESSION, TRADE WAR, DEVALUATION, DEPRESSION, CRASH, COLLAPSE

地缘政治词 (GEOPOLITICAL)

IRAN, CHINA, RUSSIA, NORTH KOREA, NATO, WAR, MILITARY, ATTACK, INVASION


临床实战案例

场景T_base互动T_final诊断
深夜碎碎念-90570-120💤 噪音
突发关税-95145K-120🔥 急性激越
伊朗威胁-8092K-120🔥 急性激越
经济利好+6836K+120🟢 亢奋
凌晨辟谣+40950+68✅ 正常

快速使用

分析一条帖子:

text
用户: 分析 "TARIFFS ON CHINA ARE WORKING!"
→ T-Back: -100 | 🔴 掠食者-极端威胁

传播动力学分析:

text
用户: 分析传播动能
→ 需要 reposts, comments, likes 数据
→ 输出 T_final 及诊断

每日聚合:

text
用户: 今日情绪聚合
→ 输出 peak, range, volatility, status, dominant_score
ClawHub

Skills and plugins for OpenClaw agents. Part of the wider OpenClaw ecosystem.

Explore docs

SkillsPluginsTemplatesOfficialAudits

Publish SkillPublish PluginCreate org

OverviewOpenClawDocsBlog

SupportGitHubDiscord

Built alongside the OpenClaw ecosystem

LobsterCrabboxClickClackCrabfleetOctopoolClawSweeperagent-skillsdiscrawlgitcrawlslacrawlnotcrawltelecrawlgraincrawlcrawlkitcrawlbaracpxmcporterTachikomaclawpatchclawbenchPeekaboocookbookplugin-inspectorwacrawlcrabpotAll projectsLobsterCrabboxClickClackCrabfleetOctopoolClawSweeperagent-skillsdiscrawlgitcrawlslacrawlnotcrawltelecrawlgraincrawlcrawlkitcrawlbaracpxmcporterTachikomaclawpatchclawbenchPeekaboocookbookplugin-inspectorwacrawlcrabpotAll projects

© 2026 OpenClaw Foundation

Privacy policy·Status·Deployed on Vercel·Powered by Convex

....:: clawhub/openclaw ::....  skills plugins publishers trust signals   :::: signed manifests ::::: moderated releases ::::: version history ::::   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins
>>> install scan publish verify    @@ gateway @@ registry @@ agents @@     hooks runners slash-commands skill.md templates scanners review-bots   ---- downloads installs stars lineage ownership docs package integrity
  30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins     safe browse paths   official gateways   publisher handles   org trust
:::: signed manifests ::::: moderated releases ::::: version history ::::   ---- downloads installs stars lineage ownership docs package integrity   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals
  hooks runners slash-commands skill.md templates scanners review-bots     safe browse paths   official gateways   publisher handles   org trust   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@
openclaw ecosystem    crabbox clickclack crawler packs gateway plugins   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship
---- downloads installs stars lineage ownership docs package integrity   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@   :::: signed manifests ::::: moderated releases ::::: version history ::::
  safe browse paths   official gateways   publisher handles   org trust     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship     hooks runners slash-commands skill.md templates scanners review-bots
....:: clawhub/openclaw ::....  skills plugins publishers trust signals   :::: signed manifests ::::: moderated releases ::::: version history ::::   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins
>>> install scan publish verify    @@ gateway @@ registry @@ agents @@     hooks runners slash-commands skill.md templates scanners review-bots   ---- downloads installs stars lineage ownership docs package integrity
  30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins     safe browse paths   official gateways   publisher handles   org trust
:::: signed manifests ::::: moderated releases ::::: version history ::::   ---- downloads installs stars lineage ownership docs package integrity   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals
  hooks runners slash-commands skill.md templates scanners review-bots     safe browse paths   official gateways   publisher handles   org trust   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@
openclaw ecosystem    crabbox clickclack crawler packs gateway plugins   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship
---- downloads installs stars lineage ownership docs package integrity   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@   :::: signed manifests ::::: moderated releases ::::: version history ::::
  safe browse paths   official gateways   publisher handles   org trust     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship     hooks runners slash-commands skill.md templates scanners review-bots
....:: clawhub/openclaw ::....  skills plugins publishers trust signals   :::: signed manifests ::::: moderated releases ::::: version history ::::   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins
>>> install scan publish verify    @@ gateway @@ registry @@ agents @@     hooks runners slash-commands skill.md templates scanners review-bots   ---- downloads installs stars lineage ownership docs package integrity
  30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins     safe browse paths   official gateways   publisher handles   org trust
:::: signed manifests ::::: moderated releases ::::: version history ::::   ---- downloads installs stars lineage ownership docs package integrity   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals
  hooks runners slash-commands skill.md templates scanners review-bots     safe browse paths   official gateways   publisher handles   org trust   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@
openclaw ecosystem    crabbox clickclack crawler packs gateway plugins   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship
---- downloads installs stars lineage ownership docs package integrity   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@   :::: signed manifests ::::: moderated releases ::::: version history ::::
  safe browse paths   official gateways   publisher handles   org trust     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship     hooks runners slash-commands skill.md templates scanners review-bots
....:: clawhub/openclaw ::....  skills plugins publishers trust signals   :::: signed manifests ::::: moderated releases ::::: version history ::::   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins
>>> install scan publish verify    @@ gateway @@ registry @@ agents @@     hooks runners slash-commands skill.md templates scanners review-bots   ---- downloads installs stars lineage ownership docs package integrity
  30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins     safe browse paths   official gateways   publisher handles   org trust
:::: signed manifests ::::: moderated releases ::::: version history ::::   ---- downloads installs stars lineage ownership docs package integrity   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals
  hooks runners slash-commands skill.md templates scanners review-bots     safe browse paths   official gateways   publisher handles   org trust   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@
openclaw ecosystem    crabbox clickclack crawler packs gateway plugins   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship
---- downloads installs stars lineage ownership docs package integrity   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@   :::: signed manifests ::::: moderated releases ::::: version history ::::
  safe browse paths   official gateways   publisher handles   org trust     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship     hooks runners slash-commands skill.md templates scanners review-bots
....:: clawhub/openclaw ::....  skills plugins publishers trust signals   :::: signed manifests ::::: moderated releases ::::: version history ::::   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins
>>> install scan publish verify    @@ gateway @@ registry @@ agents @@     hooks runners slash-commands skill.md templates scanners review-bots   ---- downloads installs stars lineage ownership docs package integrity
  30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins     safe browse paths   official gateways   publisher handles   org trust
:::: signed manifests ::::: moderated releases ::::: version history ::::   ---- downloads installs stars lineage ownership docs package integrity   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals
  hooks runners slash-commands skill.md templates scanners review-bots     safe browse paths   official gateways   publisher handles   org trust   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@
openclaw ecosystem    crabbox clickclack crawler packs gateway plugins   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship
---- downloads installs stars lineage ownership docs package integrity   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@   :::: signed manifests ::::: moderated releases ::::: version history ::::
  safe browse paths   official gateways   publisher handles   org trust     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship     hooks runners slash-commands skill.md templates scanners review-bots
....:: clawhub/openclaw ::....  skills plugins publishers trust signals   :::: signed manifests ::::: moderated releases ::::: version history ::::   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins
>>> install scan publish verify    @@ gateway @@ registry @@ agents @@     hooks runners slash-commands skill.md templates scanners review-bots   ---- downloads installs stars lineage ownership docs package integrity
  30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins     safe browse paths   official gateways   publisher handles   org trust
:::: signed manifests ::::: moderated releases ::::: version history ::::   ---- downloads installs stars lineage ownership docs package integrity   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals