repomix-snapshot

Creates and manages compressed Codex-style codebase snapshots for reuse.

2|Updated Oct 1, 2024
One-click install
npx skills add https://github.com/ZeiZel/dotfiles --skill repomix-snapshot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: repomix-snapshot
Source: https://github.com/ZeiZel/dotfiles/tree/main/.claude/skills/repomix-snapshot
Command: npx skills add https://github.com/ZeiZel/dotfiles --skill repomix-snapshot

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Codebase context is hard to manage for agents; repomix-snapshot creates compressed, reusable snapshots to inject relevant sections into prompts.

Core Features & Use Cases

  • Create and refresh codebase snapshots with optional includes/excludes.
  • Extract targeted sections by file pattern or content pattern for focused context.
  • Track snapshot freshness and selectively switch between repomix and RAG strategies.

Quick Start

Create a full project snapshot with repomix and save it to docs/context/codebase-snapshot.txt.

Frequently Asked Questions about repomix-snapshot

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create compressed codebase context for agent prompts?

You can create compressed codebase context for agent prompts by using repomix-snapshot to automate full project snapshots, which are then injected into your prompts as deterministic artifacts.

What is the best way to extract targeted sections from a codebase for AI context?

The best way to extract targeted sections is by using file patterns or content patterns to selectively include or exclude code, generating focused context snapshots specifically for your agent prompts.

How do I manage codebase context freshness when switching between repomix and RAG strategies?

You can manage codebase context freshness by tracking snapshot age and selectively switching between repomix and RAG strategies to ensure your agent prompts contain current and relevant project information.

Do I need to install repomix before creating codebase snapshots?

Yes, you need to install repomix before creating codebase snapshots because this skill requires it as an external dependency to automate the extraction and compression of your project files.

Can I exclude specific files when generating a full project snapshot for AI agents?

Yes, you can exclude specific files when generating a full project snapshot by configuring optional includes and excludes, allowing you to control exactly what codebase context is produced for your agent prompts.