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.
npx skills add EthanYoQ/Skill-hub --skill yq-clear-contextgit clone --depth 1 https://github.com/EthanYoQ/Skill-hubWrote 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.
[](https://agentmods.dev/skills/ethanyoq/skill-hub/yq-clear-context)<a href="https://agentmods.dev/skills/ethanyoq/skill-hub/yq-clear-context"><img src="https://agentmods.dev/badge/skills/ethanyoq/skill-hub/yq-clear-context/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.
<a href="https://agentmods.dev/skills/ethanyoq/skill-hub/yq-clear-context"><img src="https://agentmods.dev/badge/skills/ethanyoq/skill-hub/yq-clear-context.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00053 | $0.00397 |
| Opus 5.5 | $0.00021 | $0.00159 |
| Sonnet 5.5 | $0.00011 | $0.00079 |
| Haiku 4.5 | $0.00005 | $0.00040 |
Grade A, and why
yq-clear-context 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 19d 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.
This is a copy
91% identical to agent-experience — 21 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.
What it actually says
- Start with minimal context: expose purpose, available actions, and constraints first; load detailed instructions when needed.
- Make discovery explicit: every deferred resource needs a clear description and a reliable way to retrieve it.
- Keep critical constraints visible: permissions, destructive effects, and required validation should appear before the relevant action.
- Prefer bounded outputs: return concise results with identifiers or paths for retrieving details; avoid dumping entire logs or documents.
- Use locality: include a bounded amount of likely needed adjacent context with an operation’s result. For example, deliver a thread reply with a few preceding messages. Mark omissions and truncation explicitly, and provide a way to retrieve more.
- Evaluate total work: saving context is useful only if it does not cause more searches, repeated reads, or mistakes.
Tool definitions
- Delete obvious constraints. Omit rules the model learns from the call result, such as a missing file failing to read or a failed send not being delivered.
- Describe behavior, not implementation. State what the tool does and returns; omit internal mechanisms, output markers the model sees in results, and enforcement details.
- Put parameter rules on the parameter. Defaults, ranges, pairing, and when-to-set rules belong in that parameter's description or schema; a description that varies with configuration usually means the varying part belongs to a parameter.
- Say each fact once. Do not repeat the tool definition in its system-prompt section, a parameter description in the tool description, or one tool's rules in another tool.
- Measure the change. Compare first-turn prompt tokens before and after a tool-definition change.
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.
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.
- 19d ago First seen · 20 lines · 53 tokens per session scan A 2134b9c0a509
yq-clear-context is a skill published in the GitHub repository EthanYoQ/Skill-hub (11 stars, last pushed 6d ago), licensed MIT. It adds 53 tokens to every session and 397 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 91% identical to agent-experience, differing in 21 lines, and is treated as a copy.
Other skills, from other repositories
wiki
Markdown-first knowledge base where the LLM acts as librarian. Ingests raw sources, compiles and interlinks topic files, self-maintains an index. No vector DB or embeddings required -- uses LLM-native navigation over structured markdown up to 400K words.
escalation-governance
Assess whether to escalate models. Use when evaluating reasoning depth.
agent-workflow-playbook
AI Agent Workflow & Skill Architecture Guide — turn expert work into measurable, reusable agent systems. Covers workflow discovery, skill decomposition, harness design, evaluation, human escalation, observability, cost control, and multi-agent orchestration. Includes a measured marketing-delivery case: 15 people × 3–4…
ecom-social
Instructions for creating and improving e-commerce social-media content, advertising, and community work across platforms such as Instagram, YouTube, TikTok, Pinterest, Reddit, WhatsApp, and Xiaohongshu.
ecom-customer-service
Respond to buyer messages and negative reviews, draft refund and return replies, review-request emails, Plan of Action appeals, FAQ, and CS KPI tracking. Use for complaint handling, account appeal, or after-sales support.
ecom-pricing
Set competitive prices and model profitability. Use for Buy Box pricing analysis, profit margin calculation, breakeven analysis, or multi-marketplace pricing strategy.