smithery.ai

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.

First seen Mar 20, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,014 B
  • docs SUMMARY.md 212 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

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/contextlayeringguide.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/tokencounter.py on the bundle to estimate token count; trim lower-priority layers if over budget (see references/contextlayering_guide.md for trimming priority).
  4. Score context quality — evaluate the bundle against references/contextqualityrubric.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/contextpackagetemplate.md so it can be reused or updated for follow-up sessions.

Inputs the skill needs

  • Task description (what you want the AI to do)
  • List of context source files or snippets (schema docs, prior reports, business definitions)
  • Token budget (default: 100k tokens)

Output

  • Merged context bundle (single text file)
  • Token count estimate
  • Context quality score
  • Ready-to-use prompt with task header (contextpackagetemplate.md)