horizon
它能做什么
它指导 AI 安装 Horizon、选择信息来源、生成每日新闻摘要,并设置定时运行。适用于希望获得个人新闻摘要的人。
适用场景
- ✓当你想安装 Horizon,并设置个人新闻雷达时。
- ✓当你希望根据自己的阅读兴趣获得每日新闻摘要时。
- ✓当你需要修改 Horizon 的摘要数量限制、发送方式或时间安排时。
技能链接
https://github.com/Thysrael/Horizon/blob/main/skills/horizon/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“你能设置 Horizon,让它每天用英文给我发送一份 AI 新闻摘要吗?”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会先明确你的兴趣,编辑配置,并运行流程;评分和撰写则由 Horizon 自己配置的 AI 客户端完成。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Horizon
Turn reading preferences into a working news radar and help contributors extend it. Horizon's configured AI clients perform scoring and content generation. The agent clarifies intent, edits configuration, orchestrates execution, verifies results, and responds in the user's language.
Establish context
- Locate this skill from its loaded path.
scripts/andreferences/are relative to the skill;docs/,src/,profiles/, anddata/below are relative to the checkout. An installed skill may live elsewhere. - Locate the Horizon checkout from the user's path,
HORIZON_PATH, or the current workspace. It containspyproject.tomlandsrc/mcp/service.py. For installation or onboarding requests, follow First-time installation below if the checkout or its runtime is missing. - Inspect the active config and repository instructions. For edits, inspect
git status --shortand preserve unrelated work and existing${VAR}values. - Reuse choices already provided. Ask only for missing decisions that change
the result: interests, model, languages, reading budget, host, timezone, or
delivery destination. Keep API keys in the user's environment or
.env.
First-time installation
When the user asks to install Horizon or build a news radar, prepare the missing runtime before invoking the helper. Loading the skill alone does not request an installation.
- Reuse an existing checkout and working environment. Otherwise, use the user's
chosen destination or a new
Horizondirectory in their working area; ask where to install if no destination is clear. Keep it separate from the installed skill directory and preserve any existing files at the destination. - Check for Git and either uv or Python 3.11+ with pip. Set up missing prerequisites using their official platform-specific instructions where the environment permits it. If network or shell access is unavailable, report that concrete blocker and the next step the user needs to take.
- Clone
https://github.com/Thysrael/Horizon.gitinto the chosen directory when needed. Read its repository instructions and README Quick Start, then follow those installation steps in a project-local environment. Use the checked-out documentation as the source of truth for dependencies and optional extras. - Verify
horizon --helpthrough that environment and run the installed skill's helper withrun_pipeline --describeand an explicit--horizon-pathas shown below. These checks need no model credentials and do not fetch or generate news. - For setup requests, continue with Onboard and customize: use the example config as a reference, preserve existing settings, and prefer reusing available model access before asking for new credentials. Resolve model and source credentials before a live run.
Report the checkout path, how to invoke its environment, which checks passed, and any remaining configuration needs. Distinguish a working installation from a configured and successfully executed news pipeline.
Read the task's source of truth
Read only the documents needed for the request. Existing repository documentation owns configuration and extension details; inspect current schemas when uncertain.
| Task | Read in the checkout | Complete when |
|---|---|---|
| Set up a news radar | README.md Quick Start; docs/configuration.md |
Config is valid and a first run or exact missing prerequisite is reported |
| Choose/add sources | docs/scrapers.md; src/setup/presets.py |
Actual feed/API entries and their credentials/dependencies are identified |
| Tune or create a Profile | docs/profiles.md; a matching profiles/<id>/ |
Four-file contract, routing, and representative output are checked |
| Understand scoring or quotas | docs/scoring.md; docs/configuration.md Filtering |
The right rubric, threshold, category, or cap is adjusted |
| Configure delivery | docs/configuration.md Email/Webhook/WeChat/Static Site |
Preview and actual delivery/deployment status are distinguished |
| Extend a source/extractor | CONTRIBUTING.md; docs/scrapers.md or docs/extractors.md |
Integration points and relevant tests are covered |
Read pipeline operations to generate, inspect, or resume a digest. Read automation to schedule on GitHub, a server, Docker, macOS, Linux, or Windows.
Onboard and customize
Start with the user's
常见问题
由谁负责评分?
Horizon 配置的 AI 客户端负责评分和内容生成,智能体则负责编辑设置和运行各个步骤。
API 密钥应该放在哪里?
该技能说明应把 API 密钥放在环境变量或 .env 文件中,而不是放在聊天里。
它能定时运行吗?
能。它涵盖设置定时运行和摘要的发送。
详情
作者的原始描述
Install, configure, run, customize, schedule, and extend Horizon, the profile-driven news radar. Use for first-time Horizon installation, source selection and onboarding, generating or reading daily digests, tuning processing profiles and digest limits, setting up delivery and scheduled runs, diagnosing pipeline results, or contributing scrapers, extractors, profiles, and pipeline changes to this repository. Also use when a user wants to turn reading interests into a personal news radar using Horizon.
repo: Thysrael/Horizon
热度
- GitHub 星标
- 12k
- 排名
- #11492
- 许可证
- MIT
- 更新时间
- 2026/11/1
评论
- …