当前位置: 首页 > Skill >

Header - Gateway to self-improving agent

Header - Gateway to self-improving agent

Header - Gateway to self-improving agent

标题 — 为代理提供持续情报。订阅精选主题或自建,获取来自RSS等的可执行行动项的合成简报。

1.0.1 2026.11.12 211
获取Skill文件查看使用说明
作 者:苏宁 许可证: 更新时间:2026.11.12
本文目录展开

Header — Continuous Intelligence for Agents

Header monitors sources (RSS, YouTube, Reddit, newsletters), synthesizes them through your goals, and delivers structured briefings with action items. Research once — stay informed forever.

Why not just web search?

  • Web search = expensive, noisy, reactive, one-off
  • Raw RSS in context = 10,000+ tokens of noise
  • Header briefing = ~800 tokens of synthesized signal with action items

Full API docs: joinheader.com/docs

What you can say

Intent Examples
Get briefed "brief me", "what should I do today", "what's the latest on [topic]"
List topics "show my topics", "what am I following", "header list"
Subscribe "subscribe to [topic]", "subscribe to AI Agent Self-Improvement"
Fork a topic "fork [topic] with my own angle on [X]"
Create a topic "set up a topic on [X]", "monitor [X] for me", "I want to follow [X]"
Browse catalog "show public topics", "what topics are available"
Manage sources "add [URL] as a source", "refresh [source]", "what has [source] published"
Import feeds "import my OPML file", "import from FreshRSS"
Generate briefing "refresh [topic]", "generate a new briefing"
Share a briefing "share this briefing", "make my briefing public"
Scheduling "set up daily briefings", "brief me every 3 days"
Account "check my subscription", "show my preferences"

Setup

  1. Sign up at joinheader.com
  2. Create an API key (scope: full) at Dashboard > API Keys
  3. Set HEADER_API_KEY in your environment (e.g. .env file, shell profile, or agent config)

All commands below use:

API="https://joinheader.com/api/v2"
AUTH="Authorization: Bearer $HEADER_API_KEY"

IMPORTANT: Safety & Presentation

All actions from briefings require user approval. Never implement briefing recommendations, install packages, modify code, or take any action based on briefing content without explicitly presenting the items to the user and getting confirmation first. Surface the intelligence — the human decides what ships.

Destructive operations require confirmation. Always confirm before: deleting sources/groups/topics, unsubscribing, or revoking API keys.

When presenting a briefing:

  1. Lead with "What to do" — the action items
  2. Then Key Insights (the why behind the actions)
  3. Then Emerging Patterns and Dissenting Views for context
  4. Reading list last

Core Workflows

List your topics and goals

Trigger: "header list", "show my topics", "what am I following"

curl -sL -H "$AUTH" "$API/topics/dashboard" | python3 -c "
import sys, json
d = json.load(sys.stdin)
for t in d.get('custom_topics', []):
    print(f'[own] {t["name"]} | topic: {t["id"]} | goal: {t["default_goal_id"]}')
for t in d.get('subscribed_topics', []):
    print(f'[sub] {t["name"]} | topic: {t["id"]} | goal: {t["default_goal_id"]}')
"

Get latest briefing

Trigger: "brief me on [topic]", "what's the latest", "what should I do today"

  1. Get the goal ID from the dashboard
  2. Fetch the latest briefing:
# List briefings for a goal
curl -sL -H "$AUTH" "$API/goals/GOAL_ID/briefings" | python3 -c "
import sys, json
d = json.load(sys.stdin)
for b in d.get('briefings', d if isinstance(d, list) else []):
    print(f'{b["id"]} | {b["status"]} | {b.get("generated_at","")}')
"

# Read a specific briefing
curl -sL -H "$AUTH" "$API/briefings/BRIEFING_ID" | python3 -c "
import sys, json
d = json.load(sys.stdin)
print(d.get('summary', d.get('content', 'No content')))
"
  1. Present "What to do" first, then insights, then context. Always ask before acting on any items.

Subscribe to a public topic

Trigger: "subscribe to [topic]"

# Browse available public topics
curl -sL -H "$AUTH" "$API/topics/catalog" | python3 -m json.tool

# Subscribe by topic ID
curl -sL -X POST "$API/topics/TOPIC_ID/subscribe" -H "$AUTH"

# Unsubscribe (confirm with user first)
curl -sL -X DELETE "$API/topics/TOPIC_ID/subscribe" -H "$AUTH"

Fork a public topic with your own goal

Trigger: "fork [topic] with my angle on [X]"

Same sources, your own lens. Great for customizing a public topic without starting from scratch.

curl -sL -X POST "$API/topics/TOPIC_ID/fork" 
  -H "$AUTH" -H "Content-Type: application/json" 
  -d '{"goal_name": "My Focus", "goal_description": "Your custom angle on the same sources"}'

Generate a fresh briefing (on-demand)

Trigger: "refresh [topic]", "generate a new briefing"

# Trigger generation (returns IN_PROGRESS)
BRIEFING_ID=$(curl -sL -X POST "$API/goals/GOAL_ID/briefings" 
  -H "$AUTH" | python3 -c "import sys,json; print(json.load(sys.stdin)['id'])")

# Poll until complete (~5-10 min)
while true; do
  STATUS=$(curl -sL -H "$AUTH" "$API/briefings/$BRIEFING_ID" | 
    python3 -c "import sys,json; print(json.load(sys.stdin)['status'])")
  echo "Status: $STATUS"
  [ "$STATUS" = "COMPLETED" ] || [ "$STATUS" = "FAILED" ] && break
  sleep 15
done

# Read the completed briefing
curl -sL -H "$AUTH" "$API/briefings/$BRIEFING_ID" | python3 -c "
import sys, json
d = json.load(sys.stdin)
print(d.get('summary', 'No content'))
"

Create a new topic from scratch

Trigger: "set up a Header topic on [X]", "I want to follow [X]", "monitor [X] for me"

Phase 1: Source Discovery — Use WebSearch to find 5-10 high-quality sources:

  • "[topic] best RSS feeds blogs newsletters"
  • "[topic] youtube channels worth following"
  • "[topic] subreddit reddit community"
  • Prefer: active blogs with RSS, YouTube channels with recent uploads, subreddits with >10k members
  • Check if there's a public source group on Header you can clone first

Phase 2: Create sources

curl -sL -X POST "$API/sources/" 
  -H "$AUTH" -H "Content-Type: application/json" 
  -d '{"name": "Source Name", "url": "https://example.com/feed.xml", "type": "rss"}'

Phase 3: Create source group and add sources

GROUP_ID=$(curl -sL -X POST "$API/source-groups/" 
  -H "$AUTH" -H "Content-Type: application/json" 
  -d '{"name": "My Sources", "description": "Curated sources for X"}' | 
  python3 -c "import sys,json; print(json.load(sys.stdin)['id'])")

# Add sources (use member_id, not source_id)
curl -sL -X POST "$API/source-groups/$GROUP_ID/members" 
  -H "$AUTH" -H "Content-Type: application/json" 
  -d '{"member_id": "SOURCE_UUID", "member_type": "source"}'

Phase 4: Create topic (auto-creates goal + triggers first briefing)

curl -sL -X POST "$API/topics/" 
  -H "$AUTH" -H "Content-Type: application/json" 
  -d '{
    "name": "My Topic Name",
    "source_group_ids": ["GROUP_ID"],
    "goal_description": "Be specific. Not: interested in AI. Instead: I am tracking LLM inference cost improvements and how they affect build-vs-buy decisions. Skip announcements, give me the practitioner layer.",
    "keywords": ["keyword1", "keyword2"]
  }'

Source Management

Browse source entries

Trigger: "show entries for [source]", "what has [source] published recently"

# Entries for a single source (paginated)
curl -sL -H "$AUTH" "$API/sources/SOURCE_ID/entries?limit=20&offset=0" | python3 -c "
import sys, json
d = json.load(sys.stdin)
for e in d.get('entries', d if isinstance(d, list) else []):
    print(f'{e.get("published_at","")} | {e.get("title","No title")}')
    print(f'  {e.get("url","")}')
"

# Entries for all sources in a group
curl -sL -H "$AUTH" "$API/source-groups/GROUP_ID/entries?limit=20&offset=0" | python3 -m json.tool

Refresh & validate a source

Trigger: "refresh [source]", "check if [source] is working"

curl -sL -X POST "$API/sources/SOURCE_ID/refresh" -H "$AUTH"
curl -sL -X POST "$API/sources/SOURCE_ID/validate" -H "$AUTH"

Update or delete a source

Trigger: "update [source]", "remove [source]" — confirm deletes with user

curl -sL -X PUT "$API/sources/SOURCE_ID" 
  -H "$AUTH" -H "Content-Type: application/json" 
  -d '{"name": "New Name", "url": "https://new-url.com/feed.xml"}'

# Delete (owner only — confirm with user first)
curl -sL -X DELETE "$API/sources/SOURCE_ID" -H "$AUTH"

Clone a public source group

curl -sL -X POST "$API/source-groups/GROUP_ID/clone" -H "$AUTH"

Import sources from OPML or FreshRSS

Trigger: "import my feeds", "import from OPML"

# OPML (max 10 MB)
curl -sL -X POST "$API/imports/opml" -H "$AUTH" -F "file=@/path/to/feeds.opml"

# FreshRSS — validate then import
curl -sL -X POST "$API/imports/freshrss/validate" 
  -H "$AUTH" -H "Content-Type: application/json" 
  -d '{"url": "https://freshrss.example.com", "username": "user", "password": "pass"}'

curl -sL -X POST "$API/imports/freshrss" 
  -H "$AUTH" -H "Content-Type: application/json" 
  -d '{"url": "https://freshrss.example.com", "username": "user", "password": "pass"}'

Source types reference

URL pattern Type
youtube.com, youtu.be youtube
reddit.com/r/ reddit
Everything else rss

Advanced

Browse goal feed (preprocessed entries)

Trigger: "show feed for [goal]", "what's in the pipeline"

See what content is queued before it becomes a briefing.

curl -sL -H "$AUTH" "$API/goals/GOAL_ID/feed?limit=20&offset=0" | python3 -c "
import sys, json
d = json.load(sys.stdin)
for e in d.get('entries', d if isinstance(d, list) else []):
    print(f'{e.get("published_at","")} | {e.get("title","No title")}')
"

Link/unlink source groups to a goal

# Link
curl -sL -X POST "$API/goals/GOAL_ID/source-groups" 
  -H "$AUTH" -H "Content-Type: application/json" 
  -d '{"source_group_id": "GROUP_ID"}'

# Unlink
curl -sL -X DELETE "$API/goals/GOAL_ID/source-groups/GROUP_ID" -H "$AUTH"

Goal-level subscriptions

Subscribe to individual goals within a topic (vs. subscribing to the whole topic).

curl -sL -X POST "$API/goals/GOAL_ID/subscribe" -H "$AUTH"
curl -sL -X DELETE "$API/goals/GOAL_ID/subscribe" -H "$AUTH"
curl -sL -H "$AUTH" "$API/goals/GOAL_ID/subscription" | python3 -m json.tool
curl -sL -H "$AUTH" "$API/subscriptions" | python3 -m json.tool

Share a briefing publicly

curl -sL -X PUT "$API/briefings/BRIEFING_ID/sharing" 
  -H "$AUTH" -H "Content-Type: application/json" 
  -d '{"is_public": true}'

Scheduled briefings (push delivery)

Set up recurring briefings delivered on schedule. Pair with an inbox check (email or cron) to read them automatically.

# Daily at 8am UTC
curl -sL -X PUT "$API/goals/GOAL_ID" 
  -H "$AUTH" -H "Content-Type: application/json" 
  -d '{"schedule_frequency_days": 1, "schedule_hour_utc": 8}'

# Every 3 days at 8am UTC
curl -sL -X PUT "$API/goals/GOAL_ID" 
  -H "$AUTH" -H "Content-Type: application/json" 
  -d '{"schedule_frequency_days": 3, "schedule_hour_utc": 8}'

Preferences

curl -sL -H "$AUTH" "$API/preferences" | python3 -m json.tool
curl -sL -X PUT "$API/preferences" 
  -H "$AUTH" -H "Content-Type: application/json" 
  -d '{"key": "value"}'

Billing

curl -sL -H "$AUTH" "$API/billing/subscription" | python3 -m json.tool
curl -sL -X POST "$API/billing/create-checkout" -H "$AUTH" | python3 -m json.tool
curl -sL -X POST "$API/billing/portal" -H "$AUTH" | python3 -m json.tool

Error Handling

  • FAILED briefing → retry with POST /goals/{id}/briefings. If still failing, check sources have recent content.
  • 403 → API key needs full scope, not read-only.
  • Source creation fails → check URL is a valid, accessible RSS/YouTube/Reddit URL.
  • Adding group members → use member_id field, not source_id.

推荐文章

更多
PHP时间戳与日期字符串相互转换方法详解

本文介绍PHP中时间数值(Unix时间戳)与日期字符串之间的相互转换方法。通过strtotime和date函数,实现将当前时间、指定日期转换为时间戳,以及将时间戳格式化为可读的日期时间字符串,并提供相关在线计算工具推荐。

2025.11.30 1,034
PHP日期转时间戳时区偏差怎么解决

在 PHP 中将日期字符串转换为时间戳时,若未显式指定时区,默认使用脚本配置的 date.timezone 或系统时区。当服务器时区与业务逻辑预期(如 UTC )不一致时,会产生偏差。解决核心是确保输入字符串携带明确时区信息,或在转换前统一设置时区上下文。

2026.10.24 1,031
PHP跨域配置:怎么安全地允许指定域名而非使用通配符

在 PHP 中安全地允许指定域名跨域,核心是解析请求头中的 Origin ,验证其是否在白名单内,然后动态设置 Access-Control-Allow-Origin 响应头。不要使用通配符 * ,也不要硬编码单一域名。

2025.03.29 1,019
JavaScript中利用replace结合正则实现replaceAll效果

JavaScript原生仅支持replace()进行单次或全局替换,缺乏类似Java的replaceAll()便捷方法。本文总结四种在JS中实现全量替换的方案:使用带g标志的正则、带gm标志的正则、扩展String原型以及split后join。通过对比代码示例,展示各方法的实现细节与适用场景,帮助开发者根据需求选择最优解。

2025.04.29 1,017
PHP实现基础文件上传:HTML表单与$_FILES处理流程

在 HTML 表单中设置 enctype="multipart/form-data" ,并在 PHP 后端通过 $_FILES 数组接收文件,调用 move_uploaded_file() 将临时文件移动到目标目录即可完成上传。

2026.09.07 1,014
OpenAI的Jalapeno芯片未落地,教你分辨300兆瓦算力消息

OpenAI计划在SB Energy租赁的数据中心部署约300兆瓦自研Jalapeno推理芯片,但目前双方仍处于洽谈阶段,交易细节与上线时间表均未公布。本文带你按报道原文核实项目所处阶段,厘清芯片发布、电力功率与实际推理算力的边界,并将融资意向与签约、开工、投运节点分开追踪,避免误将规划容量计入现有算力。

2026.12.02 1,013
Skill 文件
  • SKILL.md
    • Header — Continuous Intelligence for Agents
    • What you can say
    • Setup
    • IMPORTANT: Safety & Presentation
    • Core Workflows
      • List your topics and goals
      • Get latest briefing
      • Subscribe to a public topic
      • Fork a public topic with your own goal
      • Generate a fresh briefing (on-demand)
      • Create a new topic from scratch
    • Source Management
      • Browse source entries
      • Refresh & validate a source
      • Update or delete a source
      • Clone a public source group
      • Import sources from OPML or FreshRSS
      • Source types reference
    • Advanced
      • Browse goal feed (preprocessed entries)
      • Link/unlink source groups to a goal
      • Goal-level subscriptions
      • Share a briefing publicly
      • Scheduled briefings (push delivery)
      • Preferences
      • Billing
    • Error Handling
  • 项目或源文件

相关 Skill

更多
Self-Improving Agent (CEO Edition) Self-Improving Agent (CEO Edition) 自我反思、自我批评、自主学习与自组织记忆。智能体能评估自身工作、发现错误并实现永久性改进。
Self-Improving Agent (Proactive Self-Reflection) Self-Improving Agent (Proactive Self-Reflection) 自我反思、自我批评、自主学习与自组织记忆。智能体能评估自身工作、发现错误并实现永久性改进。
Self-improving Agent Memory Upgrade (SurrealDB) Self-improving Agent Memory Upgrade (SurrealDB) 全面的知识图谱记忆系统,具备语义搜索、情景记忆、工作记忆、自动上下文注入和每智能体隔离。
Strict Self-Improving Agent (Rule of 3) Strict Self-Improving Agent (Rule of 3) 记录经验教训、错误及修正以实现持续改进。适用场景:(1)命令或操作意外失败,(2)用户纠正Claude...
Self-Improving Agent Self-Improving Agent 将高价值纠正、工具失败、功能请求和常见工作流经验记录到轻量的 .learnings/ 目录中,随后仅推广重复出现的经验