context-exclusion

context-exclusion is a skill for Claude Code from teaql/teaql-agent-kit. It costs 41 tokens per session (433 once invoked), scanned A, original, MIT.

A tool for maintaining .agent-no-read.md markers in approved generated-code directories. These markers tell the coding agent which generated content to leave out of its context.

In plain words
What is it for?
Use it to apply, check, or generate context-exclusion markers from an approved project manifest.
Why use it?
It prevents generated files from being read accidentally and restores the markers after regeneration, including after a failed or cancelled command.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agent-context-kit plugin — 2 skills, 1 hook shipped together

Good fit Use it to apply, check, or generate context-exclusion markers from an approved project manifest.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/teaql/teaql-agent-kit/context-exclusion
About the project

TeaQL Agent Kit is a development harness that places an executable domain model between a coding agent's requirements and its implementation. It evaluates and repairs that model, generates typed API boundaries, and guides the agent toward implementing and verifying software within those constraints. The catalogue entries provide the kit's agent, skill, and instruction workflows.

teaql/teaql-agent-kit · 2,818 stars · on GitHub · teaql.io

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 teaql/teaql-agent-kit --skill context-exclusion
Clone the repo
git clone --depth 1 https://github.com/teaql/teaql-agent-kit

Made for: Claude Code.

Or install agent-context-kit, the plugin that ships this one along with the rest of its 2 skills, 1 hook.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/teaql/teaql-agent-kit/context-exclusion/github.svg)](https://agentmods.dev/skills/teaql/teaql-agent-kit/context-exclusion)
Your own site
<a href="https://agentmods.dev/skills/teaql/teaql-agent-kit/context-exclusion"><img src="https://agentmods.dev/badge/skills/teaql/teaql-agent-kit/context-exclusion/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-exclusion

Your own site · 80×15
<a href="https://agentmods.dev/skills/teaql/teaql-agent-kit/context-exclusion"><img src="https://agentmods.dev/badge/skills/teaql/teaql-agent-kit/context-exclusion.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 433 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 original No closer match found 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.00041 $0.00433
Opus 5.5 $0.00016 $0.00173
Sonnet 5.5 $0.00008 $0.00087
Haiku 4.5 $0.00004 $0.00043

Measured today against content hash 2bcda06b7c16, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

context-exclusion 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 today.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/markers.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

packages/agent-context-kit/skills/context-exclusion/SKILL.md · 42 lines

What it actually says

Generated context exclusion

Use the packaged scripts/markers.mjs entry point to maintain .agent-no-read.md. Resolve that script relative to this skill directory; it uses the package's compiled CLI runtime (or source modules in a checkout), so keep the installed Agent Context Kit layout intact.

Run from the project root with an explicitly approved project-relative manifest:

agent-context-markers apply --manifest context-markers.json
agent-context-markers check --manifest context-markers.json
agent-context-markers generate --manifest context-markers.json

If the package bin is unavailable, invoke the resolved script with node and the same arguments. No cwd, target-directory, guidance-text or shell-command overrides are accepted. apply creates or updates markers, check performs no writes, and generate runs the manifest's fixed generator and restores snapshotted markers in finally, including after command failure or cancellation.

Use existing user/host authorization for the manifest and target directories; this skill does not authorize arbitrary configuration changes or removal of markers. Keep the manifest and Markdown guidance outside every generated output directory. Put stable interface locations, editable source locations and build/test guidance in the Markdown source. Do not copy implementation details into guidance.

In the dedicated Pi harness, call an already configured fixed build/generation operation that embeds this script or its SDK helper. This skill does not install a model-controlled maintenance tool, enable Bash, or bypass the tool allowlist. Treat maintenanceFailed as a failed operation even if generation succeeded; verify or repair the marker state through the authorized maintenance entry point before continuing model access. Do not manually read excluded source to diagnose failure.

Read the maintenance guide for manifest format, exit codes, regeneration limits and the runnable end-to-end example.

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. today First seen · 42 lines · 41 tokens per session scan A 2bcda06b7c16

Subscribe to this mod's changes

context-exclusion is a skill published in the GitHub repository teaql/teaql-agent-kit (2,818 stars, last pushed yesterday), licensed MIT. It adds 41 tokens to every session and 433 once invoked, about $0.0002 per session on Opus 5.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-10-24.