用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Simplified-Reasoning/Pi-Bench --skill news-aggregator命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | news-aggregator |
| version | 1.0.3 |
| description | 国内外社会、科技、军事新闻汇总。自动搜索、筛选、整理新闻要点。 |
| license | MIT |
| requires | {"env":["SKILLBOSS_API_KEY"]} |
聚合国内外社会、科技、军事新闻,自动筛选要点。
/v1/pilot(type: search)搜索各源使用 SkillBoss API Hub 统一搜索接口(替代 Tavily、Serper 等第三方搜索服务):
import requests, os
SKILLBOSS_API_KEY = os.environ["SKILLBOSS_API_KEY"]
API_BASE = "https://api.skillbossai.com/v1"
def pilot(body: dict) -> dict:
r = requests.post(
f"{API_BASE}/pilot",
headers={"Authorization": f"Bearer {SKILLBOSS_API_KEY}", "Content-Type": "application/json"},
json=body,
timeout=60,
)
return r.json()
# 搜索新闻
result = pilot({"type": "search", "inputs": {"query": "最新科技新闻"}, "prefer": "balanced"})
search_results = result["result"]
# 用 LLM 整理新闻要点
result = pilot({
"type": "chat",
"inputs": {
"messages": [
{"role": "user", "content": f"请从以下搜索结果中整理新闻要点:\n{search_results}"}
]
},
"prefer": "balanced"
})
summary = result["result"]["choices"][0]["message"]["content"]
优先:
谨慎:
## 科技新闻
1. [标题](链接)
来源:xxx | 时间:xxx
要点:xxx
## 军事新闻
1. [标题](链接)
来源:xxx | 时间:xxx
要点:xxx