context-efficiency
Skill4 starsChanged 2 months agoApache-2.0View on GitHub
Reduce agent token waste from excessive retrieval, tool output, repeated exploration, or delegation. Use for context/cost problems; not auth tokens, UI design tokens, or permission to skip required evidence.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- cooneycw/claude-power-packtheir own version, first seen Nov 7, 2026
- AL-JANEF/janef-forgetheir own version, first seen Sep 19, 2026
- AL-JANEF/janefskillstheir own version, first seen Sep 19, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- cooneycw/claude-power-pack★ 21same name
- AL-JANEF/janef-forge★ 1same name
- AL-JANEF/janefskills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository81 other files it gives its agents.
- agent-cli-designSkill
- agent-tool-boundariesSkill
- behavior-first-implementationSkill
- bounded-prototypeSkill
- bounded-pr-sliceSkill
- building-fdd-validationSkill
- cross-language-contractsSkill
- cross-platform-agent-instructionsSkill
- design-interviewSkill
- diagnosis-loopSkill
- domain-languageSkill
- edge-cloud-syncSkill
- handoff-continuitySkill
- immutable-pr-reviewSkill
- memory-context-hygieneSkill
- module-designSkill
- orchestrateSkill
- owner-decision-gateSkill
- parallel-portfolioSkill
- pr-gate-loopSkill
- pyo3-async-lifecycleSkill
- pyo3-buffer-performanceSkill
- pyo3-free-threadingSkill
- pyo3-ownership-errorsSkill
- pyo3-wheel-releaseSkill
- python-api-typingSkill
- python-async-concurrencySkill
- python-ci-releaseSkill
- python-data-boundariesSkill
- python-packaging-environmentsSkill
- python-performanceSkill
- python-pytestSkill
- python-reviewSkill
- python-test-designSkill
- python-threading-workersSkill
- python-workflowSkill
- react-components-stateSkill
- react-performanceSkill
- repository-groundingSkill
- rust-api-designSkill
- rust-async-concurrencySkill
- rust-build-diagnosticsSkill
- rust-ci-releaseSkill
- rust-memory-layoutSkill
- rust-nextestSkill
- rust-numerics-simdSkill
- rust-performanceSkill
- rust-protocol-codecsSkill
- rust-python-bindingsSkill
- rust-reviewSkill
- rust-storage-durabilitySkill
- rust-test-designSkill
- rust-unsafe-ffiSkill
- rust-workflowSkill
- rust-workspace-dependenciesSkill
- shadcn-react-componentsSkill
- shadcn-svelte-componentsSkill
- simplify-existing-codeSkill
- source-verificationSkill
- svelte-components-runesSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 27
Use available symbol navigation or output reducers only when they help.
“Common” is measured: kept by at least 6 in 10 of the 3 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.
Files
Right-Sized Agent Work
Optimize total work needed for a correct result, not the shortest individual prompt. Use existing tools and policy; no mandatory budget report, index, compression service, or model change.
Match effort to the question
For a local correction, start with applicable instructions, the owner, and its meaningful test. Trace callers and contracts for a behavioral change. For requested broad research, cover the requested breadth in focused questions rather than importing everything at once. Reuse known context and proceed with reversible assumptions; do not ask the user to choose a budget before routine work.
Expand when a test contradicts the model, ownership is unclear, coverage is incomplete, or a public, concurrency, persistence, security, or physical-action boundary demands it. Stop exploring a question once its decision has adequate evidence. Finish required checks and the requested outcome; a token target never turns incomplete work into success.
Admit useful context only
Before a read, identify what uncertainty it resolves. Locate paths or symbols first; retrieve the relevant complete semantic unit and necessary surrounding invariants. Batch adjacent useful reads instead of many tiny calls. Use exact IDs and continuation returned by tools. Empty, failed, and truncated results differ; widen scope when absence matters.
Select the relevant skill description, then its body and only the references needed now. Do not load a whole catalog's bodies, every specialist, or an archive to answer one local question. Do not re-read unchanged evidence or repeat a failed lookup unchanged.
Keep output bounded and recoverable
Filter and project large data in the authorized execution environment before returning it to the model. Keep full failure evidence in an allowed retrievable artifact when practical; return the actual exit status, selected scope/counts, decisive error, and source pointer. Do not hide failures behind a successful pipe, an arbitrary head/tail, or quiet output. Inspect omitted context when it could change the diagnosis. Do not rerun a mutation just to recover its output.
Use available symbol navigation or output reducers only when they help. Verify their semantics and raw recovery; do not install hooks, upload source, or bypass permissions through another execution tool. Retrieval and output recipes covers language and log cases.
Avoid moving the bill elsewhere
Keep bounded lookups local. Delegate independent work only when it repays setup, duplication, and integration; request findings and evidence pointers, not transcripts. Preserve constraints, unresolved errors, unknown outcomes, and usable references in handoffs. Actual compaction, cache control, and model routing belong to the supported host; a skill cannot remove already-loaded context or grant new capabilities.
For a cost investigation, compare equivalent successful tasks including retries and workers. Output bytes are not billed tokens, and cached tokens still occupy context. Do not impose arbitrary context percentages or weaken reasoning globally. Research and measurement notes explains alternatives and limits.
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
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.

