/install attention-research
attention-research Skill
Scheduled intelligence research pipeline with topic monitoring, freshness state, signal-first digest delivery, and per-topic alerting based on topic-defined threshold criteria.
What It Is
A twice-daily research cadence (morning + afternoon) that:
- Scans configured topics via the agent's web search tool
- Maintains per-topic freshness state in META.json
- Uses each
PROMPTS/TOPICS/\x3Ctopic>.mdfile as the standing monitoring note for that topic - Produces digests that connect signals, not just dump headlines
- Alerts the user when key events or threshold criteria defined by the topic are met
- Delivers via Telegram or WhatsApp
Core Concepts
Topic
A long-running monitoring domain (e.g., us-iran-conflict, ai, geopolitics).
Topic Monitoring Note
PROMPTS/TOPICS/\x3Ctopic>.md is not just setup text. It is the standing monitoring note for that topic.
It should contain the topic's methodology, analysis framework, entity framing, signal criteria, watch items, and threshold/key event logic used to decide when the user should be alerted.
Thread
An active research question within a topic. Threads have state, typed connections, and delta updates.
Digest
The default output surface. A structured readout of what changed and why.
META.json Freshness Contract
Every topic has a META.json that acts as a shared freshness marker for all writers:
- Morning and afternoon slots have independent timestamps
- Max 2 retries per topic per day total
- After 2 failures → topic skipped for that day
Research Root
$HOME/.openclaw/workspace/docs/research/
Package Structure
attention-research/
├── PROMPTS/
│ ├── CORE/ # Generic analysis framework shared across topics
│ │ ├── system-prompt.md
│ │ ├── signal-rules.md
│ │ └── digest-format.md
│ ├── TOPICS/ # Topic-local methodology and monitoring notes
│ │ ├── us-iran-conflict.md
│ │ ├── ai.md
│ │ ├── geopolitics.md
│ │ ├── finance-markets.md
│ │ ├── climate-changes.md
│ │ └── bio-tech.md
│ ├── TEMPLATES/
│ │ ├── morning-research.md
│ │ ├── afternoon-research.md
│ │ └── onboarding.md
│ └── GENERATOR/
│ └── generator.md
├── CONFIG/
│ ├── topics.yaml
│ └── default-paths.yaml
├── SCHEMA/
│ └── META.json.template
├── SCRIPTS/
│ ├── research-executor.sh
│ └── setup-cron.sh
├── INSTALL/
│ └── install.sh
├── SKILL.md
├── README.md
└── package.json
Installation
# Install via clawhub (after publishing)
clawhub install attention-research
# Or install directly from GitHub with git
mkdir -p ~/.openclaw/skills
git clone https://github.com/riverho/attention-research.git ~/.openclaw/skills/attention-research
cd ~/.openclaw/skills/attention-research
bash INSTALL/install.sh --fresh
# Or install directly from GitHub with curl
mkdir -p ~/.openclaw/skills && \
cd ~/.openclaw/skills && \
curl -L https://github.com/riverho/attention-research/archive/refs/heads/master.tar.gz \
| tar -xz && \
mv attention-research-master attention-research && \
cd attention-research && \
bash INSTALL/install.sh --fresh
Configuration
Agent onboarding contract
Any agent using this skill should follow this order:
- Install the repo or skill files
- Ask the user to confirm the default research root:
- preferred:
~/.openclaw/workspace/docs/research - fallback:
~/docs/research
- preferred:
- Check delivery configuration (Telegram chat ID or WhatsApp recipient)
- Present the default OSS topic set:
us-iran-conflictaifinance-markets
- For each selected topic, read
PROMPTS/TOPICS/\x3Ctopic>.mdand extract the key entities / entity framework back to the user before activation - Ask whether to activate the topic
- Ask whether to register the morning and afternoon cron jobs
- Only after approval: update config, run setup, and activate monitoring
topics.yaml — What to Track
topics:
us-iran-conflict:
display_name: "US-Iran Conflict"
description: "US-Iran tensions, Hormuz, nuclear talks, sanctions"
enabled: true
search_query: "US Iran conflict Hormuz nuclear talks"
Delivery Channel
Edit CONFIG/default-paths.yaml:
delivery:
telegram:
chat_id: "YOUR_CHAT_ID"
Cron Jobs
| Job | Schedule | Purpose |
|---|---|---|
| AR morning digest | 08:00 HKT | Morning research scan |
| AR afternoon update | 16:00 HKT | Afternoon research scan |
Publishing
clawhub publish ./attention-research \
--slug attention-research \
--name "Attention Research Pipeline" \
--version 1.0.0 \
--changelog "First public OSS cut"
Requirements
- Python 3 + PyYAML
- OpenClaw with cron daemon
- A web search tool available to the agent (agent-chosen: Tavily, Brave, native, etc.)
- Telegram or WhatsApp delivery channel
Agent operating rule
Agents should treat this skill as an attention-research workflow, not just a folder of prompts.
On every run:
- follow the prompt stack order
- read
PROMPTS/TOPICS/\x3Ctopic>.mdas the live monitoring note for that topic - use the topic's own methodology and key-event criteria to judge significance
- keep runtime artifacts isolated per topic under the research root
- alert the user when threshold or key-event criteria in the topic file is met
- do not let one topic's analysis framework bleed into another topic's reasoning
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install attention-research - 安装完成后,直接呼叫该 Skill 的名称或使用
/attention-research触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Attention Research Pipeline 是什么?
Scheduled intelligence research pipeline — monitors topics on a twice-daily cadence, produces signal-first digests, maintains META.json freshness state. Use... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 78 次。
如何安装 Attention Research Pipeline?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install attention-research」即可一键安装,无需额外配置。
Attention Research Pipeline 是免费的吗?
是的,Attention Research Pipeline 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Attention Research Pipeline 支持哪些平台?
Attention Research Pipeline 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Attention Research Pipeline?
由 riverho(@riverho)开发并维护,当前版本 v1.0.0。