context-pack

Package codebases into LLM-friendly markdown context files.

4|2|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/wojons/skills --skill context-pack-wojons
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-pack
Source: https://github.com/wojons/skills/tree/main/skills/context-pack
Command: npx skills add https://github.com/wojons/skills --skill context-pack-wojons

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill streamlines the process of preparing codebases, folders, or archives for AI consumption by converting them into a compact, LLM-friendly format.

Core Features & Use Cases

  • Smart File Discovery: Automatically identifies relevant files while ignoring common noise like node_modules and .git directories.
  • Flexible Inclusion: Supports filtering by file type, size, or custom patterns, with options to include or exclude specific files and directories.
  • Use Case: You need to provide a large codebase to an AI for a comprehensive review. This Skill can package the entire project, excluding unnecessary build artifacts, into a single markdown file that fits within the AI's context window.

Quick Start

Use the context-pack skill to pack the current directory into a markdown file named 'project-context.md'.

Frequently Asked Questions about context-pack

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

FAQPage Schema
How do I package a codebase for LLM context without exceeding token limits?

Packaging a codebase for LLM context involves converting project files into a compact markdown format while filtering out noise like node_modules and build artifacts. This Skill automates that process, producing a single file optimized for AI context windows.

Can I include binary files when packing a folder for AI analysis?

Yes, you can include binary files when packing a folder for AI analysis. The Skill optionally encodes binary files using Base64, allowing them to be included alongside text files in the final markdown output for comprehensive project context.

What's the best way to prepare a ZIP archive for code review by an AI?

The best way to prepare a ZIP archive for AI code review is to unpack and filter its contents into markdown. This Skill handles ZIP archives directly, applying smart file discovery to exclude unnecessary directories and structure the output for AI consumption.

Does this codebase packaging tool automatically ignore .git and node_modules directories?

Yes, the codebase packaging tool automatically ignores common noise directories like .git and node_modules during file discovery. This ensures the generated LLM-friendly context contains only relevant project files, reducing token waste.

How do I filter files by type or size when creating an LLM context pack?

You can filter files by type, size, or custom patterns when creating an LLM context pack. The Skill supports flexible inclusion rules, allowing you to interactively select specific files and directories or exclude unwanted files from the final output.