entroly-context-control

entroly-context-control is a skill for Claude Code from juyterman1000/entroly. It costs 48 tokens per session (445 once invoked), scanned A, original, Apache-2.0.

A skill for choosing, shortening, and restoring codebase context through Entroly's MCP tools. MCP is a standard way for an agent to call external tools; this skill can select relevant code, compress large outputs, and recover omitted code exactly.

In plain words
What is it for?
Use it to prepare focused context for refactors, find symbols and interfaces, shorten build or test logs, and restore code that was left out of an earlier result.
Why use it?
It helps an agent work within a limited context window without losing access to important source code or terminal output. It also provides records for checking that recovered content is unchanged.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: installed under .agents/ (shared by several agents).

Part of the entroly plugin — 4 skills, 1 command, 2 hooks, 1 MCP server shipped together

Good fit Use it to prepare focused context for refactors, find symbols and interfaces, shorten build or test logs, and restore code that was left out of an earlier result.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/juyterman1000/entroly/entroly-context-control
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 juyterman1000/entroly --skill entroly-context-control
Clone the repo
git clone --depth 1 https://github.com/juyterman1000/entroly

Made for: Claude Code.

Or install entroly, the plugin that ships this one along with the rest of its 4 skills, 1 command, 2 hooks, 1 MCP server.

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 entroly-context-control

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/juyterman1000/entroly/entroly-context-control"><img src="https://agentmods.dev/badge/skills/juyterman1000/entroly/entroly-context-control.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 445 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.00048 $0.00445
Opus 5.5 $0.00019 $0.00178
Sonnet 5.5 $0.00010 $0.00089
Haiku 4.5 $0.00005 $0.00044

Measured 1mo ago against content hash 497ad46e216b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

entroly-context-control 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 1mo 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.

.agents/plugins/entroly/skills/entroly-context-control/SKILL.md · 36 lines

What it actually says

Entroly Context Intelligence Skill

Use this skill to optimize context, query the codebase with token budgets, compress bulky tool outputs, and recover omitted code byte-for-byte using the Entroly MCP server.

Core Workflows

1. Token-Budgeted Codebase Selection (optimize_context)

When answering a complex question or preparing a refactor across multiple files:

  • Call optimize_context with your natural language query and a token budget (e.g., budget=4000 or budget=8000).
  • Entroly executes a knapsack optimization algorithm that ranks AST fragments by relevance, entropy, and dependency relations.
  • Returns surgical code fragments, line numbers, and a cryptographic Merkle receipt.

2. Semantic Code Recall (recall)

When searching for specific symbols, implementations, or interfaces:

  • Call recall(query="...") with top_k=5 or top_k=10.
  • Returns ranked pointers with filenames, line numbers, and snippet digests.

3. Reversible Output Compression (compress & recover)

When dealing with large terminal dumps (build traces, test logs):

  • Call compress(data=..., budget=...) to distill down critical errors and signals while stripping noise.
  • Every compression produces a content-addressed SHA-256 handle.
  • To restore the original uncompressed text at any time, call recover(handle="...").

4. Codebase Health & Architecture Diagnostics (health)

To assess codebase quality before or after major changes:

  • Call health() to inspect clone pairs, dead symbols, god files, and architecture violations.

5. Grounding & Hallucination Verification (witness_verify)

To verify an agent claim or proposed code against source evidence:

  • Call witness_verify(claim=..., evidence=...) for local NLI-backed verification.
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. 1mo ago First seen · 36 lines · 48 tokens per session scan A 497ad46e216b

Subscribe to this mod's changes

entroly-context-control is a skill published in the GitHub repository juyterman1000/entroly (476 stars, last pushed yesterday), licensed Apache-2.0. It adds 48 tokens to every session and 445 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-09-15.