musk-intel-generator

马斯克生态情报日报生成器。收集来自 Tesla/SpaceX/xAI/Neuralink/Optimus 生态相关来源(例如 X、RSS、SEC EDGAR)的数据,采用三阶段 LLM 流水线(筛选→分析→报告)生成每日马斯克情报报告,并导出为 IMA 格式。用于生成、更新或发布每日马斯克情报报告。

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "musk-intel-generator":https://skillpi.com/zh/skills/deepskill-41075049a26017a0990d13510fa762580ec014f24691a48b06eca0298eb29013。安装前核对上游来源和版本:https://skillhub.cn/skills/user_3243d849/musk-intel-generator。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

skillhub.cn

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

马斯克生态情报日报生成器。收集来自 Tesla/SpaceX/xAI/Neuralink/Optimus 生态相关来源(例如 X、RSS、SEC EDGAR)的数据,采用三阶段 LLM 流水线(筛选→分析→报告)生成每日马斯克情报报告,并导出为 IMA 格式。用于生成、更新或发布每日马斯克情报报告。

0 下载

介绍来源: third_party · user_3243d849 · 1.0.0 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: musk-intel-generator
description: Generate daily Musk Intelligence Report from Tesla/SpaceX/xAI/Neuralink/Optimus ecosystem. Collects data from X (RapidAPI), RSS, SEC EDGAR, runs 3-stage LLM pipeline (Filter → Analysis → Report), exports to IMA format. Use when user asks to generate, update, or publish Musk intelligence daily report.
agent_created: true
version: 1.0.0
author: hansel
tags: [mask, intelligence, report, automation, news, llm]
repository: https://github.com/hansel/musk-intelligence-funnel

Musk Intelligence Report Generator

Generate daily intelligence reports covering Musk's ecosystem (Tesla, SpaceX, Starlink, xAI, Neuralink, Optimus) by collecting raw data and processing through a 3-stage LLM pipeline.

Quick Start

# Generate today's report (collect + pipeline)
cd /Users/hansel/WorkBuddy/现金收购套利/musk-intelligence-funnel
bash scripts/generate_musk_intel.sh

# Generate for specific date
bash scripts/generate_musk_intel.sh 2026-06-23

# Publish to IMA (after human review)
bash scripts/publish_musk_intel_ima.sh 2026-06-23

Required API Keys

1. RapidAPI Twitter API45 (Primary X Source) ⚠️ REQUIRED

Purpose: Fetch X list (configured in config/x_watchlist.yaml)
Get key: https://rapidapi.com/twitter-api45
Config: .env → RAPIDAPI_KEY; config/x_watchlist.yaml → lists
Test: python3 main.py test-x

# .env configuration
RAPIDAPI_KEY=your_rapidapi_key_here
TWITTER_LIST_ID=your_list_id_here  # Get from https://x.com/i/lists/YOUR_LIST_ID
X_PROVIDER=auto  # auto | rapidapi | rsshub

API Details:

  • Host: twitter-api45.p.rapidapi.com
  • Endpoint: GET /listtimeline.php?list_id={TWITTER_LIST_ID}
  • Rate limit: Check RapidAPI dashboard
  • Fallback: Automatically falls back to RSSHub if RapidAPI fails

Configure your X list:

  1. Create an X list (e.g., "Musk Ecosystem Watch")
  2. Add accounts to follow (e.g., @Tesla, @SpaceX, @SawyerMerritt)
  3. Get list ID: https://x.com/i/lists/1234567890 → ID is 1234567890
  4. Update config/x_watchlist.yaml → lists[0].id

2. LLM API (Multi-Provider Support) ⚠️ REQUIRED

Purpose: LLM processing for Filter, Analysis, Report stages
Supported Providers: OpenAI, Anthropic, Google, Moonshot (Kimi), DeepSeek, Qwen
Config: .env → LLM_API_KEY, LLM_BASE_URL, LLM_PROVIDER
Cost: Varies by provider (~¥0.6-1.40 per run for Kimi K2.7)

# .env configuration (Method 1: Auto-config by provider)
LLM_PROVIDER=moonshot  # openai | anthropic | google | moonshot | deepseek | qwen
LLM_API_KEY=your_api_key_here
LLM_BASE_URL=https://api.moonshot.cn/v1  # Auto-set by LLM_PROVIDER
LLM_MODEL=kimi-k2.7-code  # Auto-set by LLM_PROVIDER

# .env configuration (Method 2: Manual config)
LLM_API_KEY=your_api_key
LLM_BASE_URL=https://your-custom-endpoint/v1
LLM_MODEL=your-model-name

Supported Providers:

Provider LLM_PROVIDER Get API Key Default Model
Moonshot (Kimi) moonshot platform.moonshot.cn kimi-k2.7-code
OpenAI openai platform.openai.com gpt-4o
Anthropic anthropic console.anthropic.com claude-sonnet-4-20250514
Google google aistudio.google.com gemini-2.0-flash
DeepSeek deepseek platform.deepseek.com deepseek-chat
Qwen qwen dashscope.aliyun.com qwen-max

Model Strategy (auto-configured by LLM_PROVIDER):

  • Filter stage: Stable model (e.g., kimi-k2.6 for Moonshot, gpt-4o for OpenAI)
  • Analysis/Report stages: Reasoning model (e.g., kimi-k2.7-code for Moonshot)

Detailed Setup: See references/api_reference.md

3. RSSHub (Backup X Source) 🔧 RECOMMENDED

Purpose: Backup X list collector if RapidAPI fails
Setup: cd rsshub && docker compose up -d
Config: rsshub/.env → X Cookie
Test: curl http://localhost:1200/twitter/list/1927018058977030558?count=5

# .env configuration
RSSHUB_BASE_URL=http://localhost:1200

4. IMA API (Optional) 📤 OPTIONAL

Purpose: Upload generated reports to Tencent IMA knowledge base
Config: ~/.config/ima/client_id and api_key
Setup: See references/ima_setup.md

Workflow

Step 1: Collect Data

Collects from multiple sources with 48-hour window:

python3 main.py --date YYYY-MM-DD collect --since-last-report --hours 48

Sources:

  • X list (configured in config/x_watchlist.yaml) - RapidAPI primary, RSSHub fallback
  • X deep articles (priority authors like pmarca, 7-day window)
  • Media RSS (SpaceNews, Ars Technica, etc.)
  • SEC EDGAR (Tesla/SpaceX filings, 30-day window)

Output: data/raw/YYYY-MM-DD.json

Step 2: Run Pipeline

Process collected data through 3-stage LLM pipeline:

python3 main.py --date YYYY-MM-DD run --raw data/raw/YYYY-MM-DD.json

Stages:

  1. Filter: Remove noise, keep product/regulatory/capacity/capital signals
  2. Analysis: Business analysis, catalyst identification
  3. Report: Generate daily Markdown report (NO catalyst block - removed per user preference)

Output:

  • output/daily/YYYY-MM-DD/01_filtered_signals.json
  • output/daily/YYYY-MM-DD/02_analysis.md
  • output/daily/YYYY-MM-DD/03_daily_report.md
  • output/reports/马斯克情报日报 YYYY-MM-DD.md (IMA format)

Step 3: Human Review

User reviews generated report before publishing:

# Review files
open output/daily/YYYY-MM-DD/03_daily_report.md
open output/reports/马斯克情报日报 YYYY-MM-DD.md

Review checklist:

  • [ ] Signals are new (not reported in previous days)
  • [ ] Updates marked with "新进展"
  • [ ] Soft signals (personal road tests, unverified rumors) handled per user feedback
  • [ ] Deep articles (x_deep) retained even if >48h old

Step 4: Publish to IMA (Optional)

After human approval, upload to IMA knowledge base:

bash scripts/publish_musk_intel_ima.sh YYYY-MM-DD

Or manually:

python3 scripts/upload_ima_intel.py "output/reports/马斯克情报日报 YYYY-MM-DD.md"

Scheduled Execution

Daily report generation is scheduled via macOS launchd:

  • Time: Every day 8:00 AM
  • Plist: ~/Library/LaunchAgents/com.musk.intel.update.plist
  • Script: scripts/generate_musk_intel.sh
  • Logs: /tmp/musk_intel_update.log

Management commands:

# Check status
launchctl list | grep musk

# Manual execution
launchctl start com.musk.intel.update

# View logs
tail -f /tmp/musk_intel_update.log

# Uninstall
launchctl unload ~/Library/LaunchAgents/com.musk.intel.update.plist

File Structure

musk-intelligence-funnel/
├── main.py                          # CLI entry point
├── config/                          # X lists, RSS, telemetry config
├── prompts/                        # 3-stage agent prompts
│   ├── filter_agent.md              # Filter stage prompt (K2.6)
│   ├── analysis_agent.md            # Analysis stage prompt (K2.7)
│   └── report_agent.md             # Report stage prompt (K2.7, NO catalyst)
├── src/                            # Collectors, agents, pipeline
│   ├── collectors/                  # Data collection modules
│   ├── agents/                      # Filter/Analysis/Report agents
│   └── utils/                       # Utilities (LLM client, IMA export, etc.)
├── data/
│   ├── raw/                        # Daily raw collection JSON
│   └── x_article_registry.json     # Deep article registry
├── output/
│   ├── daily/YYYY-MM-DD/           # Daily artifacts
│   └── reports/                    # IMA-formatted reports (human review)
├── rsshub/                         # Self-hosted RSSHub (Docker)
└── scripts/
    ├── generate_musk_intel.sh      # Generate report (no publish)
    └── publish_musk_intel_ima.sh   # Publish to IMA (after review)

Troubleshooting

X collection empty

# Test X connection
python3 main.py test-x

# Check RapidAPI key
echo $RAPIDAPI_KEY

# Check list_id parameter (must be pure number, not URL)
# Correct: list_id=1927018058977030558
# Wrong: id=https://x.com/i/lists/xxx

RSSHub fallback triggered

Check stats.x_provider in collection output. If rsshub, RapidAPI failed.

Fix:

  • Verify RAPIDAPI_KEY in .env
  • Check RapidAPI quota/rate limits
  • Or force RapidAPI: X_PROVIDER=rapidapi

Report stage hangs

Symptom: Report stage runs >10 minutes with no output

Fix: Increase timeout in src/utils/llm_client.py:

@dataclass
class LLMConfig:
    timeout: float = 1200.0  # 20 minutes (default was 600.0)

IMA upload fails

Check:

  • ~/.config/ima/client_id and api_key exist
  • IMA Node skills installed at IMA_SKILLS_DIR
  • Knowledge base ID: ADieg6--1fzzF0MaLjTlKm_QTj2gB-_t8-FWRy9OVBw=

Duplicate reports

Check coverage_manifest.json and prior coverage loading.

Fix: Ensure src/utils/prior_coverage.py loads from:

  1. output/daily/*/coverage_manifest.json (primary)
  2. Obsidian knowledge base (supplementary)

Prompt Engineering Notes

Filter Agent (prompts/filter_agent.md)

Model: kimi-k2.6 (stable, fast)
Temperature: 0.6 (fixed when thinking disabled)
Key rules:

  • Preserve completeness: ALL 8 signal types must be covered
  • Media deep articles: if an article is forwarded ≥2 times by watched accounts, promote to watched
  • Freshness detection: mark fresh or stale

Report Agent (prompts/report_agent.md)

Model: kimi-k2.7-code (reasoning)
Temperature: default (not set)
Key rules:

  • NO catalyst block (removed per user preference)
  • Completeness: EVERY signal from Analysis must appear in report
  • Information density: 3-5 sentences per signal, use raw_evidence
  • Media articles: ≥4 sentences, turn every page
  • NO研判: only factual reporting, no commentary

Cost Estimation

Per run (full pipeline):

  • Filter: ~¥0.30 (K2.6, ~32k prompt + ~4k completion)
  • Analysis: ~¥0.20 (K2.7, ~4k prompt + ~6k completion)
  • Report: ~¥0.10 (K2.7, ~3k prompt + ~6k completion)
  • Total: ~¥0.60-0.80

Monthly (daily runs): ~¥18-24

Security Notes

  • RAPIDAPI_KEY and OPENAI_API_KEY are stored in .env (gitignored)
  • IMA credentials stored in ~/.config/ima/ (outside project)
  • No secrets in config/ or prompts/
  • RSSHub Cookie in rsshub/.env (gitignored)

References

当前收录版本

1.0.0

核对来源版本 ↗

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值95/100

亮点

  • 自动化生成马斯克生态情报日报,解决用户对特斯拉/SpaceX/xAI/Neuralink/Optimus生态系统的信息聚合需求
  • 3阶段LLM管道处理流程完整,从数据采集到报告生成形成闭环
  • 支持多数据源采集和fallback机制,确保数据可靠性
触发精准85/100

亮点

  • 触发词覆盖主要使用场景:generate, update, publish Musk intelligence daily report
  • 边界清晰,不会与其他情报类Skill混淆
结构规范80/100

亮点

  • 文档结构完整,包含Quick Start、Required API Keys、Workflow等必要章节
  • 提供端到端示例和详细的配置说明
  • 文件结构清晰,便于用户理解和部署
执行可靠75/100

亮点

  • 工具来源明确,支持多LLM提供商和fallback机制
  • 覆盖主要异常情况并提供troubleshooting指南
  • 不可逆操作有确认机制(human review before publish)
证据可验 (前四项均值)84/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • aistudio.google.com
  • api.moonshot.cn
  • console.anthropic.com
  • dashscope.aliyun.com
  • github.com
  • localhost
  • platform.deepseek.com
  • platform.moonshot.cn
  • platform.openai.com
  • rapidapi.com
  • x.com
  • your-custom-endpoint

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。