smithery/santiago-afonso

repo-clipboard

Snapshot the current directory into pseudo-XML for LLM context.

Installation

$ npx skills add smithery/santiago-afonso --skill repo-clipboard

Summary

  • 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.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,438 B
  • docs SUMMARY.md 524 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

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