# Context Pack

> Prepare files, folders, code, logs, and structured data as a bounded, traceable context pack for Codex. Use when source material must be converted, deduplicated, selected, budgeted, or handed off with exact evidence anchors.

- **Type:** Skill
- **Install:** `agentstack add skill-tikazi-tikaz-codex-context-economy-context-pack`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [TIKAZI](https://agentstack.voostack.com/s/tikazi)
- **Installs:** 0
- **Category:** [Content & Media](https://agentstack.voostack.com/c/content-and-media)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [TIKAZI](https://github.com/TIKAZI)
- **Source:** https://github.com/TIKAZI/TIKAZ-Codex-Context-Economy/tree/main/context-pack
- **Website:** https://tikazi.github.io/TIKAZ-AI-Skills/skills/context-economy/

## Install

```sh
agentstack add skill-tikazi-tikaz-codex-context-economy-context-pack
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Context Pack

Designed, integrated, independently refactored, and continuously maintained by **TIKAZ**.

## Inputs and routing

Accept one or more files, folders, code trees, logs, structured data, or converter-produced Markdown plus a concrete task. Use `text` for confident text-first material, `hybrid` for bounded task-relevant visuals or complex tables, and `source` when extraction cannot preserve important evidence.

## Workflow

Own canonical ingestion, fidelity profiling, exact deduplication, evidence selection, and final pack size. First run `profile` or let `pack` profile automatically:

- `text`: canonical Markdown is sufficient;
- `hybrid`: use Markdown for text and a bounded visual-evidence queue for informative images or complex tables;
- `source`: keep the original asset/page path when safe extraction cannot preserve task-relevant information.

Do not trigger vision for a logo, repeated icon, background, or every image merely because it exists. When the queue contains `pending-vision` items and the host can inspect images, resolve the referenced item, record an anchored observation plus uncertainty, and keep the original reference. When the capability is unavailable, leave it pending or recommend the source file; never invent a description.

Profile first, protect literal facts and anchors, deduplicate only exact or formatting-only repetition, select task-relevant evidence, and assemble one task-ready artifact in this order:

1. task and expected output;
2. selected mode and estimated budget;
3. confirmed constraints and protected facts;
4. exact evidence excerpts with source anchors;
5. decisions, completed work, and current state;
6. conflicts and open questions;
7. omitted-anchor inventory and verification limits.

The pack must distinguish exact source text, structured state, and inference. It must remain useful without the surrounding chat. Count the complete artifact against the budget. If essential protected evidence cannot fit, return a visible budget conflict instead of silently exceeding the limit.

## Output contract

Return `/packs/current-task.context.md` with `profile.json`, `visual-evidence.json`, `context-cost-ledger.json`, canonical files, indexes, and `savings-report.md`. Distinguish exact excerpts, structured state, inference, omissions, and pending visual evidence.

## Validation and fallback

Count the complete artifact against the budget and verify protected facts plus selected anchors. If a converter or vision host is unavailable, leave evidence pending or preserve the source reference. Never invent a visual description. If essential evidence cannot fit, report a visible budget conflict.

## Example

```text
Use context-pack on these release notes and logs. Build an 800-token pack for regression review, keep commands and versions exact, and list omitted anchors.
```

Run `python scripts/tikaz_context.py pack --input  --query  --budget  --visual-budget  --output `.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [TIKAZI](https://github.com/TIKAZI)
- **Source:** [TIKAZI/TIKAZ-Codex-Context-Economy](https://github.com/TIKAZI/TIKAZ-Codex-Context-Economy)
- **License:** MIT
- **Homepage:** https://tikazi.github.io/TIKAZ-AI-Skills/skills/context-economy/

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-tikazi-tikaz-codex-context-economy-context-pack
- Seller: https://agentstack.voostack.com/s/tikazi
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
