core-export

Export git repositories, branch diffs, or subfolders into a single AI-friendly file.

Updated Jan 1, 2026
One-click install
npx skills add https://github.com/AirMile/claude-config --skill core-export
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: core-export
Source: https://github.com/AirMile/claude-config/tree/main/skills/core-export
Command: npx skills add https://github.com/AirMile/claude-config --skill core-export

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Exports a project as a single AI-friendly file to simplify collaboration with external AI tools and teammates.

Core Features & Use Cases

  • Unified export of whole repositories, branch diffs, recent commits, or subfolders to a single, AI-friendly file.
  • Respect for .gitignore and optional config to tailor what gets shared; includes token counting and Secretlint scanning.
  • Suitable for PR handoffs, knowledge transfer, and lightweight project sharing with external tools.

Quick Start

Run the export workflow to generate an AI-friendly file for a selected scope.

Frequently Asked Questions about core-export

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

FAQPage Schema
How do I export a whole git repository to a single file for AI sharing?

You can export a git repository for AI sharing by generating a single AI-friendly file that covers the whole repo, branch diffs, or subfolders. This export honors .gitignore configurations and includes token counting for seamless collaboration with external tools.

What is the best way to package a branch diff for an AI PR review?

The best way to package a branch diff for AI PR review is to export the specific changes into a single AI-friendly file. This approach isolates the modifications, creating a lightweight distribution ideal for external AI analysis and handoffs.

Do I need Node.js and npx to export a project for AI tools?

Yes, Node.js with npx is required to execute the project export workflow. The target project must also be a git repository, allowing the tool to accurately process commits, diffs, and honor configurations like .gitignore.

Does the project export process check for secrets before sharing with external AI?

Yes, the export process integrates secret scanning via Secretlint before creating the AI-friendly file. This precaution ensures sensitive data is identified and prevents accidental exposure when sharing repositories or branch diffs with external AI tools.

Can I customize what gets included in the repository export for AI handoffs?

Yes, you can tailor the repository export by adding a repomix.config.json file to your project. This configuration, combined with standard .gitignore adherence, allows you to precisely control which files are included in the AI-friendly output.