context-bundler

context-bundler is a skill for Claude Code from richfrem/agent-plugins-skills. It costs 95 tokens per session (1,718 once invoked), scanned A, original, MIT.

A tool for collecting selected code, design files, documentation, and instructions into Markdown or ZIP bundles. A monorepo is a repository containing several related projects or areas, and this tool can package those areas separately.

In plain words
What is it for?
Use it to prepare code reviews, architecture reviews, security checks, task handoffs, offline sharing, and segmented bundles from a monorepo.
Why use it?
It removes the repetitive work of preparing project context for another person, AI model, or review process. It can also create separate bundles for different review roles.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents; mentions Claude Code; mentions Gemini CLI.

Part of the dev-utils plugin — 17 skills shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/richfrem/agent-plugins-skills/context-bundler
Any agent
npx skills add richfrem/agent-plugins-skills --skill context-bundler
Clone the repo
git clone --depth 1 https://github.com/richfrem/agent-plugins-skills

Made for: Claude Code.

Or install dev-utils, the plugin that ships this one along with the rest of its 17 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for context-bundler

README.md
[![agentmods](https://agentmods.dev/badge/skills/richfrem/agent-plugins-skills/context-bundler.svg)](https://agentmods.dev/skills/richfrem/agent-plugins-skills/context-bundler)
Your own site
<a href="https://agentmods.dev/skills/richfrem/agent-plugins-skills/context-bundler"><img src="https://agentmods.dev/badge/skills/richfrem/agent-plugins-skills/context-bundler.svg" alt="Measured on agentmods" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,718 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00095 $0.01718
Opus 5 $0.00048 $0.00859
Sonnet 5 $0.00019 $0.00344
Haiku 4.5 $0.00010 $0.00172

Measured 2d ago against content hash 5403559371d5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

context-bundler scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/bundle_zip.py, scripts/bundle.py, scripts/manifest_manager.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/dev-utils/skills/context-bundler/SKILL.md · 135 lines

How it starts

The opening of the file, as written. The whole thing — 135 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Dependencies

This skill requires Python 3.8+ and standard library only. No external packages needed.


Context Bundler Skill 📦

Overview

This skill centralizes workflows for compiling codebase files, documentation, and instructions into portable payloads (.md for AI chat UIs or .zip for offline/agent handoffs).

context-bundler supports 4 Execution Modes:

  1. Standard Bundle Mode: Custom interactive selection of files/directories for general review or context sharing.
  2. Persona-Driven Review / Handoff Mode: Injects specialized review or delegation persona prompts (prompt.md) ahead of codebase files.
  3. Monorepo Segmented Mode: Full monorepo context packaging partitioned by domain (/skills, /agents, /scripts, /docs).
  4. Multi-Persona Fan-Out Mode: Packages the same target content against multiple persona templates in one pass, producing one bundle per persona for parallel adversarial dispatch. This is the mechanism graph-planning-superpowers-policy.md §2.2-2.3 refers to for Phase 1 plan review.

🎭 Persona Template Library (assets/templates/)

When bundling context for external models, sub-agents, or human reviews, select or recommend a template from assets/templates/:

1. Security & Quality Review Personas

  • adversarial-security-auditor.md: OWASP Top 10, auth bypasses, injection vectors, exploit scenarios, CVSS risk ratings.
  • refactoring-quality-specialist.md: DRY violations, code smells, cyclomatic complexity reduction, before/after code diffs.
  • compliance-standards-reviewer.md: Project conventions, 20-line purpose headers, ADR compliance, type annotations.

2. Architecture & Design Planning Personas

  • structural-architecture-reviewer.md: C4 model, SOLID principles, coupling, interface abstraction leaks, component boundaries.
  • plan-critique-reviewer.md: Stress-tests implementation plans, unstated dependencies, execution friction, rollback mechanisms.

Read the full file on GitHub · 135 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 135 lines · 95 tokens per session scan A 5403559371d5

Subscribe to this mod's changes

context-bundler is a skill published in the GitHub repository richfrem/agent-plugins-skills (6 stars, last pushed 2d ago), licensed MIT. It adds 95 tokens to every session and 1,718 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

review-pr

Review a pull request (GitHub) or merge request (GitLab) and provide detailed feedback.

desplega-ai/agent-swarm · 22 tokens

paper-fetch

Use whenever the user wants to obtain, download, or fetch a paper's PDF — given a DOI, an arXiv id, a paper title, a citation, or a list of DOIs. Trigger on phrases like "download this paper", "find the PDF for [DOI]", "grab me the [Nature/bioRxiv/arXiv] paper on X", "get the open-access version", "I need this…

Agents365-ai/paper-fetch · 162 tokens

ship-it-or-fix-it

Oracle-frozen Builder and independent-Judge convergence cycle. Load ONLY when the operator explicitly sets Governance Dial G2 for the task, or explicitly names this skill or an active work unit already running it. Never auto-activate on task class, such as security, auth, or payments. If a task seems to warrant G2 and…

Ezra144israel/governed-agent-skills · 98 tokens

test-verification

Requires behavioral, failure-path, and durable-seam evidence for tests and review. Use when writing tests, reviewing test coverage, assessing behavioral test quality, or accepting high-risk behavior on test evidence.

Ezra144israel/governed-agent-skills · 43 tokens

atelier-setup

Configure a repository for Atelier's development workflow. Use only when explicitly invoked; inspect existing guidance, issue-tracker and domain-document conventions, preview the proposed configuration, and write only after approval. It does not install Atelier or initialize external tooling.

martinffx/atelier · 52 tokens

code-review

Perform comprehensive code reviews covering bugs, style, performance, security, and best practices. Use this skill when the user mentions: review my code, check this code, code review, find bugs, improve code, refactor suggestions, security audit, performance optimization, code quality, static analysis.

KarmaloopAI/Jiva · 61 tokens