Agent skill
repo-clipboard
Snapshot the current directory into pseudo-XML for LLM context. Use when you need to share a repo (or a sub-tree) with Codex/LLMs, especially for code review/debugging, generating an agent-friendly “repo snapshot”, or piping context into tools like `llm` (see skill $llm-cli). Supports `.gitignore`-aware file discovery, common ignore patterns, extension filtering, regex include/exclude, optional file-list printing, line-range snippets, and writes `/tmp/repo_clipboard.{stdout,stderr}` for reuse.
Install this agent skill to your Project
npx add-skill https://github.com/santiago-afonso/repo_clipboard/tree/main/repo-clipboard
SKILL.md
repo-clipboard
Quick start
- Snapshot the current directory to stdout (for piping), while writing
/tmp/repo_clipboard.stdoutand 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.5wbg: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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
sandbox-agent
Run agent CLIs (codex/copilot/opencode) inside a Podman container with full internet access but filesystem exposure limited to the repo root + explicit bind mounts.
codex-container-sandbox
Run Codex CLI inside a Podman container with full internet access but filesystem exposure limited to the repo root + explicit bind mounts; use when you want yolo/web-search without giving the agent access to your whole host filesystem.
setup-pre-commit
Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.
obsidian-vault
Search, create, and manage notes in the Obsidian vault with wikilinks and index notes. Use when user wants to find, create, or organize notes in Obsidian.
handoff
Compact the current conversation into a handoff document for another agent to pick up.
scaffold-exercises
Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section.
Didn't find tool you were looking for?