Individual skill

context-packager

Efficiently package context for AI-assisted analysis. Use when preparing to work with Claude on analysis, organizing context documents, or structuring prompts for complex analytical tasks.

06-workflow-optimization/context-packager/SKILL.md

Read pinned source

Source commit 9449d363e1ae43cf1706c73bebc16774e339c427

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
No
Repository scan complete
No
Skill scan complete
No
Observed behavior
Not checked yet
Last checked
Nov 6, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.

Repository context

Repository stars (not skill ratings)
518
Repository last updated
Nov 7, 2026
License
MIT

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt

# When to use

Before starting an AI-assisted analysis session when the task requires more than a single prompt — complex investigations, multi-step analyses, or work that depends on project-specific knowledge. A well-packaged context bundle reduces back-and-forth and produces better first responses.

# Process

1. **Identify required context layers** — use `references/context_layering_guide.md` to decide which layers are needed: task definition, business context, data schema, prior findings, constraints, and output format.
2. **Collect and deduplicate sources** — run `scripts/context_bundler.py` to merge multiple context files into a single structured bundle; it deduplicates and applies the layering order.
3. **Check token budget** — run `scripts/token_counter.py` on the bundle to estimate token count; trim lower-priority layers if over budget (see `references/context_layering_guide.md` for trimming priority).
4. **Score context quality** — evaluate the bundle against `references/context_quality_rubric.md`; a good bundle scores ≥ 7/10 on completeness, clarity, and relevance.
5. **Write the prompt header** — prepend a clear task statement to the bundle: what you need, what output format you expect, and any hard constraints.
6. **Save the package** — store the bundle using `assets/context_package_template.md` so it can be reused or updated for follow-up sessions.

# Inputs the skill needs