ccc Semantic Code Search
cocoindex-io/cocoindex-code
Semantic code search and index management with the ccc CLI: the agent initializes, indexes and queries the project by concept, filtering by language or path.
Packs a local directory or remote GitHub repository into one AI-friendly file with Repomix, then searches it to explore structure, find patterns and count tokens.
$ npx skills add yamadashy/repomix --skill repomix -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install yamadashy/repomix repomix --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/yamadashy/repomix.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/clawhub .claude/skills/repomix && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "repomix" agent skill from https://github.com/yamadashy/repomix/tree/main/.agents/clawhub into .claude/skills/repomix/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "repomix", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/yamadashy/repomix/tree/main/.agents/clawhubType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add yamadashy/repomix --skill repomix -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install yamadashy/repomix repomix --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yamadashy/repomix.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/clawhub .agents/skills/repomix && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "repomix" agent skill from https://github.com/yamadashy/repomix/tree/main/.agents/clawhub into .agents/skills/repomix/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "repomix", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add yamadashy/repomix --skill repomix -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install yamadashy/repomix repomix --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yamadashy/repomix.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/clawhub .cursor/skills/repomix && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "repomix" agent skill from https://github.com/yamadashy/repomix/tree/main/.agents/clawhub into .cursor/skills/repomix/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "repomix", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/yamadashy/repomix.git --path .agents/clawhub--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add yamadashy/repomix --skill repomix -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install yamadashy/repomix repomix --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yamadashy/repomix.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/clawhub .gemini/skills/repomix && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "repomix" agent skill from https://github.com/yamadashy/repomix/tree/main/.agents/clawhub into .gemini/skills/repomix/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "repomix", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install yamadashy/repomix repomixInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add yamadashy/repomix --skill repomix -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/yamadashy/repomix.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/clawhub .github/skills/repomix && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "repomix" agent skill from https://github.com/yamadashy/repomix/tree/main/.agents/clawhub into .github/skills/repomix/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "repomix", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add yamadashy/repomix --skill repomix -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install yamadashy/repomix repomix --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yamadashy/repomix.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/clawhub .opencode/skills/repomix && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "repomix" agent skill from https://github.com/yamadashy/repomix/tree/main/.agents/clawhub into .opencode/skills/repomix/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "repomix", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
repomixPacks a local directory or remote GitHub repository into one AI-friendly file with Repomix, then searches it to explore structure, find patterns and count tokens.
The agent runs `npx repomix@latest` against either a remote repository with `--remote` or a local directory, and for remote repositories always writes the output to a temporary directory so your working folder stays clean. Repomix respects `.gitignore`, runs security checks and produces structured output. Key options are `--style` (xml by default, or markdown, plain and json), `--compress` for Tree-sitter compression that cuts roughly 70% of tokens on large repos, `--include`, `--ignore`, `--output` and `--remote-branch`.
After packing, the agent reads the command summary, which reports files processed, total characters, total tokens and the output file location. It then analyzes the output: the file tree and metrics near the start give the structure, grep searches find exports and patterns, and large outputs are read in sections with offset and limit. Typical requests are exploring a repo, finding all authentication code, checking how many tokens a project is and preparing context for AI analysis.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 8d64291. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
npxFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npx, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Repomix Codebase Packer loads about 1.3k tokens when it runs. Until then it costs about 74 tokens; SKILL.md has 451 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
sensitive files (API keys, credentials, `.env` files) through built-in security checks. Trust its security defaults unleAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from yamadashy/repomix at commit 8d64291, republished under its MIT licence (© yamadashy). 451 words, ~1,317 tokens.
.claude/skills/repomix/SKILL.md (or your agent's skills folder).Pack entire codebases into a single, AI-friendly file for analysis. Repomix intelligently collects repository files, respects .gitignore, runs security checks, and generates structured output optimized for LLM consumption.
npx repomix@latest --remote <owner/repo> --output /tmp/<repo-name>-analysis.xmlAlways output to a temporary directory (/tmp on Unix, %TEMP% on Windows) for remote repositories to avoid polluting the user's working directory.
npx repomix@latest [directory] --output /tmp/<name>-analysis.xml| Option | Description |
|---|---|
--style <format> | Output format: xml (default, recommended), markdown, plain, json |
--compress | Tree-sitter compression (~70% token reduction) — use for large repos |
--include <patterns> | Include only matching patterns (e.g., "src/**/*.ts,**/*.md") |
--ignore <patterns> | Additional ignore patterns |
--output <path> | Custom output path (default: repomix-output.xml) |
--remote-branch <name> | Specific branch, tag, or commit (for remote repos) |
Choose the appropriate command based on the target:
# Remote repository (always output to /tmp)
npx repomix@latest --remote yamadashy/repomix --output /tmp/repomix-analysis.xml
# Large remote repo with compression
npx repomix@latest --remote facebook/react --compress --output /tmp/react-analysis.xml
# Local directory
npx repomix@latest ./src --output /tmp/src-analysis.xml
# Specific file types only
npx repomix@latest --include "**/*.{ts,tsx,js,jsx}" --output /tmp/filtered-analysis.xmlThe command displays:
Note the output file location for subsequent analysis.
Structure overview:
Search for patterns (use the output file path from Step 2):
# Find exports and main entry points
grep -iE "export.*function|export.*class" <output-file>
# Search with context
grep -iE -A 5 -B 5 "authentication|auth" <output-file>
# Find API endpoints
grep -iE "router|route|endpoint|api" <output-file>
# Find database models
grep -iE "model|schema|database|query" <output-file>Read specific sections using offset/limit for large outputs.
--compress for large repos (>100k lines) to reduce token usage by ~70%/tmp on Unix, %TEMP% on Windows) to keep the user's workspace clean--include to focus on specific parts of a codebase| Format | Best For |
|---|---|
| XML (default) | Structured analysis, clear file boundaries |
| Markdown | Human-readable documentation |
| Plain | Simple grep-friendly output |
| JSON | Programmatic/machine analysis |
--compress, narrow scope with --includeRepomix automatically excludes potentially sensitive files (API keys, credentials, .env files) through built-in security checks. Trust its security defaults unless the user explicitly requests otherwise.
© yamadashy, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/clawhub of yamadashy/repomix.
Open the folder on GitHubat commit 8d64291
Repomix Codebase Packer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Repomix Codebase Packer this skillyamadashy/repomix | 29k | — | ~1.3k | Automated safety check: Notes | MIT | |
| ccc Semantic Code Searchcocoindex-io/cocoindex-code | 2.8k | — | ~938 | Automated safety check: Pass | Apache-2.0 | |
| Ripwire Codebase Orientationredhat-et/ripwire | 2.4k | — | ~4.5k | Automated safety check: Notes | Apache-2.0 | |
| tilth Code Reading CLIjahala/tilth | 352 | — | ~1.1k | Automated safety check: Pass | MIT | |
| BTCA Local Repo Searchstickerdaniel/linkedin-mcp-server | 3.8k | — | ~660 | Automated safety check: Pass | Apache-2.0 | |
| Codebase Handbook BuilderRuhan-Wang/Harness_Handbook | 333 | — | ~2.2k | Automated safety check: Pass | Apache-2.0 |
cocoindex-io/cocoindex-code
Semantic code search and index management with the ccc CLI: the agent initializes, indexes and queries the project by concept, filtering by language or path.
redhat-et/ripwire
Maps an unfamiliar repo or subsystem with the ripwire CLI before reading files, climbing an escalation ladder only until you are oriented.
jahala/tilth
Replaces grep, cat, find and ls with the tilth CLI, which returns AST-aware outlines, definitions, usages and callers across many languages in one call.
stickerdaniel/linkedin-mcp-server
Searches git repositories cloned locally under a sandbox folder to answer questions with cited links and complete code snippets.
Ruhan-Wang/Harness_Handbook
Generates, refreshes, validates and uses a compact handbook that maps where a change touches in a repository, using the active Codex session and no external LLM API.
JordanCoin/codemap
Gives an agent a quick map of a codebase's structure, dependencies, changes and handoffs, and tunes per-project config so the output stays code-first.
yamadashy/repomix
Writes Conventional Commits whose bodies carry action lines recording the intent, decisions and constraints behind a change, not only what changed.
yamadashy/repomix
Saves and recalls markdown notes between agent sessions with the agent-carnet CLI, tracking which notes proved useful so stale ones expire and good ones stay.
yamadashy/repomix
Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content…
yamadashy/repomix
Packs a local or remote repository into a single AI-friendly file with the Repomix CLI, then reads and searches that output to explain structure, find patterns or report metrics.
yamadashy/repomix
Guides edits to the Repomix documentation site's VitePress configuration, per-language content, and translation workflow across 14 languages.
Works with
Categories
Packs a local directory or remote GitHub repository into one AI-friendly file with Repomix, then searches it to explore structure, find patterns and count tokens. The agent runs `npx repomix@latest` against either a remote repository with `--remote` or a local directory, and for remote repositories always writes the output to a temporary directory so your working folder stays clean.gitignore`, runs security checks and produces structured output.
Repomix Codebase Packer fits situations like: exploring an unfamiliar repository before making changes; finding all code related to a feature such as authentication; checking how many tokens a project would use as context; packing a codebase into a single file for analysis by an AI tool.
Run `npx skills add yamadashy/repomix --skill repomix -a claude-code`. Or copy the skill folder (.agents/clawhub in yamadashy/repomix) into .claude/skills/repomix in your project. Claude Code loads it when a task matches its description.
Run `npx skills add yamadashy/repomix --skill repomix -a codex`. Or copy the skill folder (.agents/clawhub in yamadashy/repomix) into .agents/skills/repomix in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add yamadashy/repomix --skill repomix -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/repomix, .gemini/skills/repomix, .github/skills/repomix and .opencode/skills/repomix in your project.
Going by SKILL.md and its folder, Repomix Codebase Packer needs the command-line tools its instructions call (npx). Our summary lists: Node.js with `npx`; Network access when packing remote repositories.
SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Repomix Codebase Packer is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.3k tokens (SKILL.md is roughly 5.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Repomix Codebase Packer: ccc Semantic Code Search (cocoindex-io/cocoindex-code, 2.8k stars), Ripwire Codebase Orientation (redhat-et/ripwire, 2.4k stars), tilth Code Reading CLI (jahala/tilth, 352 stars) and BTCA Local Repo Search (stickerdaniel/linkedin-mcp-server, 3.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
yamadashy (a GitHub user) maintains it in yamadashy/repomix, which has 28,767 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 3, 2026.
Source: yamadashy/repomix on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.