返回 Skill 列表
extension
分类: 开发与工程无需 API Key

repo-clipboard

将当前目录快照为伪XML,以便LLM上下文使用。当您需要与Codex/LLMs共享一个仓库(或子树)时使用,特别是用于代码审查/调试、生成对代理友好的“仓库快照”,或将上下文输入到如`llm`这样的工具中(参见技能$llm-cli)。支持`.gitignore`文件感知的文件发现、常见的忽略模式、扩展名过滤、正则表达式包含/排除、可选文件列表打印、行范围片段,并且为了重用而写入`/tmp/repo_clipboard.{stdout,stderr}`。

person作者: jakexiaohubgithub

repo-clipboard

Quick start

  • Snapshot the current directory to stdout (for piping), while writing /tmp/repo_clipboard.stdout and metadata to stderr:
    • scripts/repo_clipboard --llm -e py,md,yml --print-files
  • Copy the snapshot to the Windows clipboard (WSL) and also write /tmp/repo_clipboard.stdout:
    • scripts/repo_clipboard -e py,md,yml

Snippets (token-efficient context)

  • Include only specific line ranges:
    • scripts/repo_clipboard --llm -e md --snippet README.md:5-25 --snippets-only

Reference

  • For full CLI usage, examples, and flag semantics, read repo-clipboard/references/usage.md.

LLM review loop (with llm; see skill $llm-cli)

  • Default intelligence picks:
    • wbg:claude-opus-4.5
    • wbg:gpt-5.2-xhigh (very slow; reserve for the hardest reviews)
  • Large-context pick (when the repo snapshot is huge):
    • wbg-gemini-3-pro-preview