# Codepack

> Use this skill when the user wants to package code files for LLM consumption with structure preservation.

- Skill: `javimosch/codepack` (Agent Skill)
- Install (CLI): `npx skillmds@latest add javimosch/codepack`
- Raw SKILL.md: https://api.skillmd.com/api/skills/javimosch/codepack/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: javimosch (https://skillmd.com/u/javimosch)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/javimosch/codepack

---

# codepack Plugin
Extract folder structures and file contents into compact LLM-optimized outputs.
## Commands
- `codepack self version` — Print codepack version
- `codepack _ _` — Passthrough to codepack CLI
## Installation
```bash
npm install -g codepack
```
## Examples
```bash
codepack src/
codepack --format json src/
```
## Key Features
- **LLM-optimized** — Compact output for AI context windows
- **Structure preservation** — Maintains directory structure
- **Pipeline-ready** — Standard output for piping
- **Multiple formats** — Text and JSON output

