用途:根据用户描述的兴趣主题生成 pace 个人仪表盘的 config.yaml,把话题映射到内容适配器,并设计布局。
主要能力:支持多种适配器,如 hackernews、rss、reddit、github、github-releases、lobsters、mastodon、youtube、arxiv、stackexchange、devto、producthunt、podcast、twitter、npm、lemmy、wikipedia、bookmarks、counter。每个适配器有 refresh_interval(分钟,默认 15,最小 1)和可选 transforms。支持预设,可用 pace presets list 查看,如 tech-news、ml-ai、daily-brief 等;可用 pace --preset tech-news 或 Docker 方式启动。变换包括 latest、filter、exclude、sort、dedupe、time-decay、keyword-score、cluster,以及需配置 LLM 的 llm-summarize、llm-filter、llm-rank、llm-merge。管道可合并多个适配器并做跨源变换,面板以管道名作为 source。布局是递归 flexbox 树,含容器、面板(可选 display: counter)、image、text、iframe 等节点,可设置 gap、flex、limit。
使用方式:先确认是否已有预设匹配,否则询问用户关注主题,再映射适配器、选择参数与变换、按需建管道、设计布局、按需加 LLM 配置,写出 config.yaml,最后运行 pace config check config.yaml 校验。修改已有配置时先读文件,做最小改动,再校验。pace 只在启动时读取 config.yaml,改后需重启(bun run dev、docker compose restart 或重启容器);可用 curl -X POST http://localhost:7453/refresh/<panel-id> 立即刷新面板。权威形状用 pace adapters list、pace adapters explain <type>、pace transforms list、pace transforms explain <type>、pace presets list 确认。
限制:Reddit 公共未认证 .json API 常返回 403,可能无凭据不可用,预设因此不含 Reddit。Twitter 适配器无 bearer_token 时始终返回空列表。llm-* 变换在未配置 LLM 时优雅降级,条目原样通过。技能中的代码片段仅为示意,可能落后于运行版本。官方收费、价格、平台等信息暂未提供。