plugins/context-bundler/skills/context-bundler/SKILL.md
Interactively creates technical bundles of code, design, and documentation for external review or context sharing. It conducts a brief discovery phase to confirm the targets and format, presents a plan, and then packages multiple project files into a single Markdown file or a portable `.zip` archive.
npx skillsauth add richfrem/agent-plugins-skills context-bundlerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill requires Python 3.8+ and standard library only. No external packages needed.
To install this skill's dependencies:
pip-compile ./requirements.in
pip install -r ./requirements.txt
This skill centralizes the knowledge and workflows for creating "Context Bundles." These bundles compile large amounts of code and design context into either a single, portable Markdown file for sharing with other AI agents, or a compressed .zip file for native format sharing and human review.
Because context limits are strict and re-bundling is inefficient, this is a Level 2.0 Interactive Skill. You must follow the phased workflow below to confirm the target files and output format before generating the payload.
Discover, Confirm, and Package. You do not just "list files" or immediately run the bundling scripts. You ensure the bundle is targeted, complete, and annotated, getting user sign-off before execution.
When asked to bundle files, you MUST follow these phases in order. Do not skip to execution.
Evaluate the user's initial request. If it is vague (e.g., "Bundle the auth logic" or "Bundle these files"), ask targeted questions to shape the payload:
ls or codebase search to suggest 3-5 high-value files if they don't know)..md) to paste into an LLM, or a portable Archive (.zip)?Wait for the user's response before proceeding.
Draft the JSON manifest schema conceptually, but DO NOT execute the Python scripts or write to disk yet. Present the proposed plan to the user for approval:
Context Bundle Plan:
- Title: [Proposed Title]
- Format: [.md or .zip]
- Proposed Files/Directories:
1. src/main.py (Core logic)
2. docs/architecture.md (Design reference)
- Exclusions: (e.g., exclude .png, node_modules, or large JSON artifacts)
Does this look right? (yes / adjust / exclude certain extensions)
Wait for the user to confirm.
Once confirmed, formulate the actual file-manifest.json on disk.
IMPORTANT: Use directory paths (ending in /) to recursively include entire folders rather than listing 50 files individually.
{
"title": "Bundle Title",
"description": "Short explanation of the bundle's goal.",
"excludes": [
"**/large_artifact.json",
"**/*.png"
],
"files": [
{
"path": "docs/architecture.md",
"note": "Primary design document."
},
{
"path": "src/module/",
"note": "Implementation logic (recursive)"
}
]
}
Invoke the appropriate script based on the format negotiated in Phase 1.
(Adjust the script path below depending on if you are running this from the plugin root or via an npx installed .agents/ path).
For Markdown (.md):
python ./scripts/bundle.py --manifest path/to/file-manifest.json --bundle path/to/output.md
For ZIP Archive (.zip):
python ./scripts/bundle_zip.py --manifest path/to/file-manifest.json --bundle path/to/output.zip
Inform the user the payload is ready.
testing
Skill for creating and managing isolated git worktrees (`.worktrees/issue-NNN`) for issue execution branches. USE ONLY when setting up or cleaning up isolated git worktrees for specific issue execution. DO NOT USE for managing local task files (use `task-agent`) or escalating tasks to issues (use `github-issue-backlog-agent`).
data-ai
Skill for orchestrating the end-to-end GitHub issue lifecycle flow: Issue -> Worktree -> Implementation -> PR Creation -> Resolution Closure. USE ONLY when running or dry-running full lifecycle orchestration for resolving an issue with a PR. DO NOT USE for isolated worktree management only (use `issue-worktree-agent`) or logging issues (use `github-issue-agent`).
tools
Automatically ranks GitHub issues (P0-P3) based on friction tier, frequency, and blockages, synchronizing priority labels and GitHub Projects v2 custom fields.
testing
Bridge skill for escalating ephemeral local task scratchpad items (`tasks/*.md`) into durable, taxonomy-validated, evidence-rich GitHub Issues. USE ONLY when promoting a single-session local task into durable repository backlog. DO NOT USE for managing local kanban boards (use `task-agent` instead) or directly querying/commenting on issues (use `github-issue-agent` instead).