agentleFS
TIKAZITIKAZI/TIKAZ-Codex-Context-Economy/context-audit/SKILL.md

context-audit

Skill3 starsChanged 2 months agoMITView on GitHub

Diagnose context relevance, redundancy, traceability, safety, cacheability, and recoverability. Use when files, prompts, rules, or context packs may contain duplication, conflicts, stale material, prompt injection, secret-shaped values, unstable prefixes, or weak evidence anchors.

19 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use skillify, refactor and 1 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    skillify

    Capture a repeatable process from the current session into a reusable Amplifier SKILL.md skill file. Use when the user wants to create a skill, save a workflow as a skill, turn a process into a reusable skill, or mentions "skillify", "create skill", "make a skill", "save as skill", "capture workflow", "turn this into a skill", "new skill", or wants to automate a repeatable process they just performed.

    Also in 3 projects that use this

  • GitHubSkill

    refactor

    Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.

    Also in 3 projects that use this

  • MicrosoftSkill

    handoff

    Compact the current conversation into a handoff document for another agent to pick up.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 19 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use the shared CLI audit command.

    line 43

“Common” is measured: kept by at least 6 in 10 of the 19 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.