Agent skill

Repomix Context Skill

by sopaco in sopaco/deepwiki-rs

A skill your agent uses when an agent needs source code from the local repomix index under .terrain/agent/repomix.md (not committed; regenerate via Terrain scan).

MITAuto-check passedAgent Workflows

Install Repomix Context Skill

skills CLI
$ npx skills add sopaco/deepwiki-rs --skill repomix-context-skill -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sopaco/deepwiki-rs repomix-context-skill --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sopaco/deepwiki-rs.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/repomix-context-skill .claude/skills/repomix-context-skill && rm -rf skills-src

Use ~/.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/

Facts

Skill name
repomix-context-skill
GitHub stars
3.1k
Token cost
~671 tokens
SKILL.md length
215 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when an agent needs source code from the local repomix index under .terrain/agent/repomix.md (not committed; regenerate via Terrain scan).

  • Works in 4 steps: Read meta — .terrain/agent/meta.json… → Search the pack — never load the entire… → Read slices — extract matching ###… → …
  • An agent needs source code from the local repomix index under .terrain/agent/repomix.md (not committed
  • SKILL.md covers When to use, Query strategy (mandatory), Repomix section format and Paths, plus 3 more sections
  • Calls bunx

What it does

Repomix Context Skill is an agent skill from sopaco/deepwiki-rs. Use when an agent needs source code from the local repomix index under .terrain/agent/repomix.md (not committed; regenerate via Terrain scan).

Its SKILL.md is about 670 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Codebase knowledge for agents. The repository describes itself as: Turn code into clarity. Generate accurate technical docs and AI-ready context in minutes—perfectly structured for human teams and intelligent agents. The licence is MIT.

When your agent uses it

  • An agent needs source code from the local repomix index under .terrain/agent/repomix.md (not committed
  • Regenerate via Terrain scan)

Example prompts

  • “/repomix-context-skill”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Read meta — .terrain/agent/meta.json (total_tokens, synced_at, top_files_by_tokens)
  2. Search the pack — never load the entire file
  3. Read slices — extract matching ### path/to/file sections only
  4. Refresh — if meta.json.synced_at is stale, ask user to run Terrain 重建源码索引 / scan

What it can do on your machine

Read from SKILL.md and the folder at commit 27dbd3e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Shell commands in SKILL.md call:

    • bunx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use bunx, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Repomix Context Skill loads about 671 tokens when it runs. Until then it costs about 41 tokens; SKILL.md has 215 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~41
When it runs · the whole SKILL.md, loaded when a task matches
~671

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.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

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

SKILL.md

The full file from sopaco/deepwiki-rs at commit 27dbd3e, republished under its MIT licence (© sopaco). 215 words, ~671 tokens.

Download SKILL.mdSave it as .claude/skills/repomix-context-skill/SKILL.md (or your agent's skills folder).
name
repomix-context-skill
description
Use when an agent needs source code from the local repomix index under .terrain/agent/repomix.md (not committed; regenerate via Terrain scan).
version
1.3.0

Repomix Context Skill

Terrain stores a local repomix index at .terrain/agent/repomix.md (gitignored, fast to regenerate).

Read architecture first via terrain-knowledge-skill → .terrain/agent/context.md.

When to use

  • Implementation details after reading context.md
  • Cross-file symbol search within the indexed snapshot
  • Locating handlers, types, routes

Query strategy (mandatory)

  1. Read meta — .terrain/agent/meta.json (total_tokens, synced_at, top_files_by_tokens)
  2. Search the pack — never load the entire file:
    bash
    # <rtk> = ~/.terrain/bin/rtk or bunx @terrain-ai/rtk (see rtk-skill)
    <rtk> grep "struct ProjectOverview" .terrain/agent/repomix.md
    <rtk> grep "### src/lib/api.ts" .terrain/agent/repomix.md
    Or agent Grep limited to that path with tight patterns.
  3. Read slices — extract matching ### path/to/file sections only:
    bash
    <rtk> read .terrain/agent/repomix.md -l aggressive
    Then read the specific ### file block (line range), ≤150 lines per read.
  4. Refresh — if meta.json.synced_at is stale, ask user to run Terrain 重建源码索引 / scan

Repomix section format

Sections look like:

markdown
### src/lib/foo.ts

\`\`\`typescript
... file content ...
\`\`\`

Grep for ### relative/path to jump to a file.

Paths

FilePurpose
.terrain/agent/repomix.mdFull indexed snapshot (local only)
.terrain/agent/meta.jsonPack metrics
.terrain/agent/context.mdArchitecture (read first)

Do not

  • Commit or assume repomix.md exists in git
  • cat / Read the entire repomix.md (can be 100k+ tokens)
  • Read the live repository tree when the pack covers the question
  • Skip context.md and grep source for architecture questions

Regenerate index

If repomix.md is missing:

bash
# bash / Git Bash — <terrain> = ~/.terrain/bin/terrain or bunx @terrain-ai/cli
if [ -x ~/.terrain/bin/terrain ] || [ -x ~/.terrain/bin/terrain.exe ]; then
  ~/.terrain/bin/terrain assets pack-agent .
else
  bunx @terrain-ai/cli assets pack-agent .
fi
# or from repo root in Terrain UI: 重建源码索引

If neither ~/.terrain/bin/terrain nor bunx @terrain-ai/cli works, ask the user to install Terrain or run 重建源码索引 from the desktop app.

  • codegraph-skill — symbol relationships (prefer before wide repomix grep)
  • rtk-skill — resolve <rtk> prefix for grep/read on the pack file

© sopaco, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/repomix-context-skill of sopaco/deepwiki-rs.

Open the folder on GitHubat commit 27dbd3e

Used in 1 other repository

We found 5 copies of this SKILL.md (exact, near-identical or edited) in other folders. This page covers the copy in sopaco/deepwiki-rs, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Repomix Context Skill 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.

Repomix Context Skill compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Repomix Context Skill this skillsopaco/deepwiki-rs3.1k—~671Automated safety check: PassMIT
ccc Semantic Code Searchcocoindex-io/cocoindex-code2.7k—~938Automated safety check: PassApache-2.0
Context Engineeringabashev/vfs-s31069 repos~2.6kAutomated safety check: NotesApache-2.0
Repomix Codebase Packeryamadashy/repomix29k—~1.3kAutomated safety check: NotesMIT
Codebase Handbook BuilderRuhan-Wang/Harness_Handbook332—~2.2kAutomated safety check: PassApache-2.0
CodemapJordanCoin/codemap704—~1.8kAutomated safety check: PassMIT

Similar skills

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

    2.7k GitHub stars~938 tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Context Engineering

    abashev/vfs-s3

    Optimizes agent context setup. An agent skill from abashev/vfs-s3.

    106 GitHub starsUsed in 9 repos~2.6k tokens
    Agent WorkflowsAuto-check: notes
  • Repomix Codebase Packer

    yamadashy/repomix

    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.

    29k GitHub stars~1.3k tokensUpdated 5 days ago
    Agent WorkflowsAuto-check: notes
  • Codebase Handbook Builder

    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.

    332 GitHub stars~2.2k tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check passed
  • Codemap

    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.

    704 GitHub stars~1.8k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Using LWC Memory and Graphs

    sickn33/agentic-awesome-skills

    Keeps project decisions, research and verified results available across coding-agent sessions through LWC memory, a document Wiki graph and a CodeGraph code index.

    47k GitHub starsUsed in 1 repo~2k tokens
    Agent WorkflowsAuto-check passed

More from sopaco/deepwiki-rs

  • Deepwiki Rs

    sopaco/deepwiki-rs

    AI-powered Rust documentation generation engine for comprehensive codebase analysis, C4 architecture diagrams, and automated technical documentation.

    3.1k GitHub stars~748 tokensUpdated 24 days ago
    Auto-check passed
  • Codegraph Skill

    sopaco/deepwiki-rs

    A skill your agent uses when a coding agent needs symbol relationships, callers, callees, or change impact.

    3.1k GitHub stars~1.1k tokensUpdated 24 days ago
    Auto-check passed
  • Rtk Skill

    sopaco/deepwiki-rs

    A skill your agent uses when running shell commands that produce verbose output (git, test, build, lint, package managers, docker).

    3.1k GitHub stars~1.4k tokensUpdated 24 days ago
    Auto-check passed
  • Terrain Knowledge Skill

    sopaco/deepwiki-rs

    A skill your agent uses when a coding agent needs project knowledge from Terrain .terrain/ assets.

    3.1k GitHub stars~891 tokensUpdated 24 days ago
    Auto-check passed

Categories

Questions about Repomix Context Skill

What does Repomix Context Skill do?

A skill your agent uses when an agent needs source code from the local repomix index under .terrain/agent/repomix.md (not committed; regenerate via Terrain scan). Repomix Context Skill is an agent skill from sopaco/deepwiki-rs.md (not committed; regenerate via Terrain scan).

When should I use Repomix Context Skill?

Repomix Context Skill fits situations like: an agent needs source code from the local repomix index under .terrain/agent/repomix.md (not committed; regenerate via Terrain scan).

How do I install Repomix Context Skill in Claude Code?

Run `npx skills add sopaco/deepwiki-rs --skill repomix-context-skill -a claude-code`. Or copy the skill folder (.agents/skills/repomix-context-skill in sopaco/deepwiki-rs) into .claude/skills/repomix-context-skill in your project. Claude Code loads it when a task matches its description.

How do I install Repomix Context Skill in Codex?

Run `npx skills add sopaco/deepwiki-rs --skill repomix-context-skill -a codex`. Or copy the skill folder (.agents/skills/repomix-context-skill in sopaco/deepwiki-rs) into .agents/skills/repomix-context-skill in your project. Codex loads it when a task matches its description.

Can I use Repomix Context Skill in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sopaco/deepwiki-rs --skill repomix-context-skill -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-context-skill, .gemini/skills/repomix-context-skill, .github/skills/repomix-context-skill and .opencode/skills/repomix-context-skill in your project.

What does Repomix Context Skill need to run?

Going by SKILL.md and its folder, Repomix Context Skill needs the command-line tools its instructions call (bunx).

Does Repomix Context Skill access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Repomix Context Skill safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Repomix Context Skill use?

Repomix Context Skill is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Repomix Context Skill use?

About 671 tokens (SKILL.md is roughly 2.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Repomix Context Skill?

Skills that share tags, products or a category with Repomix Context Skill: ccc Semantic Code Search (cocoindex-io/cocoindex-code, 2.7k stars), Context Engineering (abashev/vfs-s3, 106 stars), Repomix Codebase Packer (yamadashy/repomix, 29k stars) and Codebase Handbook Builder (Ruhan-Wang/Harness_Handbook, 332 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Repomix Context Skill?

sopaco (a GitHub user) maintains it in sopaco/deepwiki-rs, which has 3,111 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on September 14, 2026.

Source: sopaco/deepwiki-rs on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.