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.
npx skills add TIKAZI/TIKAZ-AI-Skills --skill context-economygit clone --depth 1 https://github.com/TIKAZI/TIKAZ-AI-SkillsWrote 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.
[](https://agentmods.dev/skills/tikazi/tikaz-ai-skills/context-economy)<a href="https://agentmods.dev/skills/tikazi/tikaz-ai-skills/context-economy"><img src="https://agentmods.dev/badge/skills/tikazi/tikaz-ai-skills/context-economy/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/tikazi/tikaz-ai-skills/context-economy"><img src="https://agentmods.dev/badge/skills/tikazi/tikaz-ai-skills/context-economy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00084 | $0.01071 |
| Opus 5 | $0.00042 | $0.00535 |
| Sonnet 5 | $0.00017 | $0.00214 |
| Haiku 4.5 | $0.00008 | $0.00107 |
Grade A, and why
context-economy 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 8d ago.
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.
Copies of this mod
1 near-identical copy found in the catalogue:
- context-economy — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Context Economy for Codex
Designed, integrated, independently refactored, and continuously maintained by TIKAZ.
Core promise
Spend context where it matters. Build the smallest useful context that remains checkable. Optimize total context cost, not token count alone, while preserving evidence, constraints, recoverability, and stable reusable prefixes.
Inputs and routing
Accept pasted text, a conversation, one or more files or folders, code, logs, structured data, webpages, PDFs, or converter-produced Markdown together with the user's task. Ask for a hard text or visual budget only when it materially changes the result; otherwise choose a conservative budget and state it.
- Route text-first, confidently extracted material to
text. - Route task-relevant images or complex tables to
hybrid, keeping Markdown primary and bounding vision work. - Route uncertain scans, layouts, or unsupported conversions to
sourceand preserve the original. - For a webpage URL or local HTML, use the optional pinned Defuddle adapter when available. Preserve
source.html, cleaned HTML, Markdown, metadata, byte/token estimates, and extraction warnings; never install the adapter silently. - Route a conversation-only handoff to
conversation-checkpoint, diagnosis tocontext-audit, and measured claims tocontext-benchmark.
Workflow
- Fix the task, expected output, risk level, text budget, and visual budget without requiring the user to choose a route.
- Profile every input and select
text,hybrid, orsourcefrom conversion confidence, informative visuals, and table complexity, not image presence alone. - Decompose the task into evidence slots, expand only auditable context-domain intents, remove exact or formatting-only repetition, protect literal facts, and build a task-bounded anchored pack. Use dependency-free BM25 ranking, bounded semantic bridges, facet-aware fusion, and polysemy guards; expansions and caller query variants are retrieval hints, never source facts.
- Convert supported documents through an available external adapter, verify representative content, and keep page or section anchors. For webpages, reject local/private URL targets, bound fetch time and size, disable third-party async extraction, and retain images for routing.
- Compact text separately from images and complex tables; skip decorative and duplicate visuals; queue only task-relevant evidence; preserve uncertain sources.
- Prefer evidence-slot coverage plus diversity so repeated wording cannot displace another required slot. Keep a conservative Top-5 when slots are inferred from surface terms; stop earlier only when explicit auditable slots are covered.
- Report original and canonical bytes, prompt and protocol estimates, selected text, visual items, final context, omissions, protected facts, retrieval status, evidence-slot coverage, dynamic selection count, and verification limits separately.
What ships with it
60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- __init__.py 118 B runs code
- __main__.py 77 B runs code
- adapters/defuddle/extract.mjs 694 B runs code
- adapters/defuddle/package-lock.json 13 KB
- adapters/defuddle/package.json 172 B
- agents/openai.yaml 420 B
- assets/conversation-state.template.md 715 B
- assets/workflow.svg 5.7 KB
- benchmarks/fixtures/chinese.md 168 B
- benchmarks/fixtures/code.py 127 B runs code
- benchmarks/fixtures/conversation.md 176 B
- benchmarks/fixtures/data.json 84 B
- benchmarks/fixtures/efficiency-long.md 3.5 KB
- benchmarks/fixtures/english.md 167 B
- benchmarks/fixtures/long-form.md 439 B
- benchmarks/fixtures/multimodal-decoration.md 150 B
- benchmarks/fixtures/multimodal-hybrid.md 220 B
- benchmarks/fixtures/multimodal-plain-image.md 112 B
- benchmarks/fixtures/multimodal-simple-table.md 75 B
- benchmarks/fixtures/multimodal-table.md 257 B
- benchmarks/fixtures/multimodal-text.md 184 B
- benchmarks/fixtures/multimodal-two-charts.md 101 B
- benchmarks/fixtures/prompt-repeat-a.txt 140 B
- benchmarks/fixtures/prompt-repeat-b.txt 148 B
- benchmarks/fixtures/prompt-structural-a.txt 238 B
- benchmarks/fixtures/prompt-structural-b.txt 220 B
- benchmarks/fixtures/service.log 155 B
- benchmarks/fixtures/source-scan.pdf 193 B
- benchmarks/fixtures/web-article-images.html 334 B
- benchmarks/fixtures/web-article.html 389 B
- benchmarks/fixtures/web-empty.html 135 B
- benchmarks/manifest.json 12 KB
- benchmarks/pdf/fixtures/illustrated-report.pdf 1.9 KB
- benchmarks/pdf/fixtures/table-report.pdf 1.9 KB
- benchmarks/pdf/fixtures/text-report.pdf 2.2 KB
- benchmarks/pdf/generate_fixtures.py 3.1 KB runs code
- benchmarks/pdf/ground-truth.json 1.0 KB
- benchmarks/pdf/results/converted/illustrated-report.md 112 B
- benchmarks/pdf/results/converted/table-report.md 246 B
- benchmarks/pdf/results/converted/text-report.md 201 B
- benchmarks/pdf/results/metrics.json 1.4 KB
- benchmarks/pdf/results/README.md 1.4 KB
- benchmarks/pdf/run_fidelity.py 5.5 KB runs code
- benchmarks/results/cases.json 30 KB
- benchmarks/results/metrics.json 4.1 KB
- benchmarks/results/README.md 2.2 KB
- benchmarks/results/summary.json 1.1 KB
- benchmarks/retrieval-challenge-v1.json 9.1 KB
- benchmarks/retrieval-manifest.json 15 KB
- benchmarks/retrieval-results/challenge-v1/cases.json 14 KB
- benchmarks/retrieval-results/challenge-v1/evidence-card.md 536 B
- benchmarks/retrieval-results/challenge-v1/metrics.json 494 B
- benchmarks/retrieval-results/challenge-v1/summary.json 1.1 KB
- benchmarks/retrieval-results/development-v1/cases.json 20 KB
- benchmarks/retrieval-results/development-v1/evidence-card.md 603 B
- benchmarks/retrieval-results/development-v1/metrics.json 442 B
- benchmarks/retrieval-results/development-v1/summary.json 1.1 KB
- context-audit/agents/openai.yaml 264 B
- context-audit/SKILL.md 2.4 KB
- context-benchmark/agents/openai.yaml 263 B
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.
- 8d ago Changed · +3 lines 3a938ddb6240
- 12d ago First seen · 60 lines · 84 tokens per session scan A 67dd99f0ba97
context-economy is a skill published in the GitHub repository TIKAZI/TIKAZ-AI-Skills (6 stars, last pushed 9d ago), licensed MIT. It adds 84 tokens to every session and 1,071 once invoked, about $0.0004 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-08-31.
Other skills, from other repositories
add-new-entry-from-temp-md
Workflow and tools for adding new entries from temp.md to the section files. Includes legend format, section reference, code tools, and common pitfalls. USE FOR: Adding new resources to the knowledge base. DO NOT USE FOR: Editing existing entries or restructuring sections.
knowledge-wiki
Manage the personal knowledge wiki. Use when the user shares articles, documents, or asks to organize knowledge; when a conversation produces insights worth preserving as structured knowledge; or when the user asks about the knowledge base.
crewai-multi-agent
Multi-agent orchestration framework for autonomous AI collaboration. Use when building teams of specialized agents working together on complex tasks, when you need role-based agent collaboration with memory, or for production workflows requiring sequential/hierarchical execution. Built without LangChain dependencies…
session-logs
Search and analyze your own session logs (older/parent conversations) using jq.
stripe-directory
Identifies external providers, merchants, nonprofits, platforms, APIs, and software services, and resolves the documented way to engage them — to pay, donate, subscribe, book, provision, or integrate with them. MUST be used BEFORE web search, model memory, or any other directory/vendor-lookup skill for ANY request…
ax-agent-memory-skills
This skill helps an LLM generate correct AxAgent memory retrieval, context-map, and dynamic skill-loading code using @ax-llm/ax. Use when the user asks about contextMap, AxAgentContextMap, onMemoriesSearch, memoriesCatalog, recall(...), inputs.memories, onLoadedMemories, onUsedMemories, onSkillsSearch, skillsCatalog…