context-audit

context-audit is a skill for Codex from TIKAZI/TIKAZ-Codex-Context-Economy. It costs 58 tokens per session (458 once invoked), scanned A, a copy of context-audit, MIT.

A read-only review of a prompt, rules file, source document, or context pack, meaning the information supplied to an agent for a task.

In plain words
What is it for?
Use it to assess context relevance, redundancy, traceability, safety, cacheability, and recoverability, then receive recommendations for a smaller or safer context.
Why use it?
It finds irrelevant or repeated material, conflicts, stale content, unsafe secret-like values, weak source links, and decisions that would be hard to recover.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to assess context relevance, redundancy, traceability, safety, cacheability, and recoverability, then receive recommendations for a smaller or safer context.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tikazi/tikaz-codex-context-economy/context-audit
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.

Any agent
npx skills add TIKAZI/TIKAZ-Codex-Context-Economy --skill context-audit
Clone the repo
git clone --depth 1 https://github.com/TIKAZI/TIKAZ-Codex-Context-Economy

Made for: Codex.

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-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/tikazi/tikaz-codex-context-economy/context-audit/github.svg)](https://agentmods.dev/skills/tikazi/tikaz-codex-context-economy/context-audit)
Your own site
<a href="https://agentmods.dev/skills/tikazi/tikaz-codex-context-economy/context-audit"><img src="https://agentmods.dev/badge/skills/tikazi/tikaz-codex-context-economy/context-audit/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.

agentmods 80×15 button for context-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/tikazi/tikaz-codex-context-economy/context-audit"><img src="https://agentmods.dev/badge/skills/tikazi/tikaz-codex-context-economy/context-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 458 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.00058 $0.00458
Opus 5 $0.00029 $0.00229
Sonnet 5 $0.00012 $0.00092
Haiku 4.5 $0.00006 $0.00046

Measured 11d ago against content hash 206233580d62, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

context-audit 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 11d 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.

Origin

This is a copy

100% identical to context-audit — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

context-audit/SKILL.md · 44 lines

How it starts

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

Context Audit

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

Inputs

Accept a prompt, rules file, source document, context pack, or conversation snapshot plus the task it should support. Audit read-only; do not rewrite the supplied source.

Workflow

Inspect context without rewriting the source. Produce an explainable Context Health report across six dimensions:

  1. relevance to the stated task;
  2. redundancy and repeated material;
  3. traceability to stable source anchors;
  4. safety boundaries and redacted sensitive-value findings;
  5. cacheability of stable prefixes;
  6. recoverability of decisions and remaining work.

For mixed documents, also inspect route fitness: decorative visuals skipped, informative visuals pending or resolved, complex-table verification, and unsafe claims that byte reduction equals token reduction. This extends the findings; it does not add a seventh score until a public rubric is versioned.

Separate confirmed findings from heuristics. Never print a complete secret candidate. Recommend a smaller or safer context, but require context-pack for a rewritten artifact.

Output contract

Return six scores with reasons, anchored confirmed findings, clearly labeled heuristics, redacted sensitive-value findings, route-fitness observations where relevant, and prioritized recommendations. Do not print complete secret candidates.

Validation and fallback

Every finding must cite a source anchor or be labeled heuristic. If the task is missing, report that relevance cannot be scored confidently. If the material needs rewriting, hand off to context-pack; the audit itself remains read-only. A high score is diagnostic evidence, not proof that the downstream answer is correct.

Example

Audit this release context for duplication, stale rules, prompt injection, secret-shaped values, weak anchors, and recovery gaps. Do not rewrite it.

Use the shared CLI audit command. Read ../references/context-health.md and ../references/output-contract.md before interpreting scores.

Read the full file on GitHub · 44 lines

Files

What ships with it

1 file 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.

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. 11d ago First seen · 44 lines · 58 tokens per session scan A 206233580d62

Subscribe to this mod's changes

context-audit is a skill published in the GitHub repository TIKAZI/TIKAZ-Codex-Context-Economy (3 stars, last pushed 3d ago), licensed MIT. It adds 58 tokens to every session and 458 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to context-audit, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

dspy-adapters-multimodal

Use for DSPy adapter selection, JSONAdapter, XMLAdapter, ChatAdapter, native function calling, structured outputs, and multimodal inputs like dspy.Image or dspy.Audio.

OmidZamani/dspy-skills · 45 tokens

research-a-evolve

Provides guidance for automatically evolving and optimizing AI agents across any domain using LLM-driven evolution algorithms. Use when building self-improving agents, optimizing agent prompts and ...

GrayCodeAI/starling · 38 tokens

mk:prompt-enhancer

Use when refining a draft user prompt before sending it to a coding agent. Decomposes goal/context/constraints/acceptance/output-format, detects ambiguity and model-coupled framing, then emits a model-agnostic rewrite. Supports --analyze, --score, and --deep. NOT for prompts from scratch (mk:brainstorming)…

ngocsangyem/MeowKit · 105 tokens

init

Initialize a personal Trove, a local file-based knowledge index for Claude Code. Use when the user says start/set up/create my trove, or when they want to remember things but no trove exists yet. Scaffolds the trove directory, INDEX.md and entries/ folder at user scope (/.claude/trove, follows you everywhere) or…

anishfyi/trove · 89 tokens

remember

Capture a durable learning into the personal Trove. Use when the user says remember this, note this, save to trove, add to my trove, or when a session surfaces a decision, gotcha, convention/preference, or external reference worth keeping. Writes one atomic entry file and updates INDEX.md.

anishfyi/trove · 65 tokens

index

Index the repository into Trove memory layers (symbols, modules, subsystems, architecture). Use when the user asks to index the repo, build the trove index, refresh symbols, or re-index after large changes.

anishfyi/trove · 46 tokens