# 开发者编写带脚本的 GitHub 技能，优化智能体调用效率

- 来源：dex (@dexhorthy)
- 发布时间：2026-08-12 13:07
- AIHOT 分数：33
- AIHOT 链接：https://aihot.virxact.com/items/cmspo16gx05pkroje9f05655v
- 原文链接：https://x.com/dexhorthy/status/2087405717263376385

## AI 摘要

开发者 @avgvstvs96 编写了一个带脚本的 GitHub 技能，让智能体更高效地使用 GitHub。该技能将 `pr view --json` 的 3-5 次调用压缩为一次 `pr-snapshot`，用 `pr-threads` 替代 15 行 GraphQL 查询，并让 `ci-failures` 将错误片段放入上下文、完整日志本地保存供智能体检索。

## 正文

dope and probably pretty useful - trying tomorrow

### 引用推文

> bassim：i wrote a skill (w/ scripts) to optimize how agents use github > faster and more context efficient > pr-snapshot: one call instead of the 3-5 call `pr view --js...
