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 xonika9/agent-skills --skill x9-context-files-generatorgit clone --depth 1 https://github.com/xonika9/agent-skillsWrote 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/xonika9/agent-skills/x9-context-files-generator)<a href="https://agentmods.dev/skills/xonika9/agent-skills/x9-context-files-generator"><img src="https://agentmods.dev/badge/skills/xonika9/agent-skills/x9-context-files-generator/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/xonika9/agent-skills/x9-context-files-generator"><img src="https://agentmods.dev/badge/skills/xonika9/agent-skills/x9-context-files-generator.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.00077 | $0.01321 |
| Opus 5 | $0.00039 | $0.00660 |
| Sonnet 5 | $0.00015 | $0.00264 |
| Haiku 4.5 | $0.00008 | $0.00132 |
Grade A, and why
x9-context-files-generator 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 10d 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.
How it starts
The opening of the file, as written. The whole thing — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Repository context files
This package-owned skill is model-invoked in OpenCode, Claude Code, and Codex. Its portable claim is structural Agent Skills compatibility only, not proven invocation behavior.
Create concise, evidence-backed onboarding files for two audiences: agents (AGENTS.md/CLAUDE.md) and humans (README.md). Existing files are user-owned inputs, not blank templates.
For every Create, Audit, or Update that touches agent-facing instructional prose in AGENTS.md or an explicitly exceptional CLAUDE.md, load and apply x9-agent-instructions before writing or judging that prose. It is a subordinate instruction-quality rubric, not the primary context-file workflow, and owns language, prescription, duplication, artifact references, and what earns a line. This skill remains the owner of repository evidence, audience selection, canonical files, merge and preservation behavior, AGENTS.md/CLAUDE.md normalization, and README.md.
Do not apply the subordinate rubric to README.md or to a CLAUDE.md that contains only the canonical @AGENTS.md import. Fold its findings into this workflow's single report and approval gate rather than producing a second handoff. If x9-agent-instructions is unavailable, continue the remaining repository and structural checks, record the instruction rubric as degraded, and do not claim a complete or clean agent-file result. README-only work records it as not applicable.
Select the action
- Create or update: an explicit request to create, update, fix, or rewrite a context file authorizes the requested in-scope edits; do not ask for the same permission again.
- Audit: an explicit audit/check request is read-only. Report findings and proposed changes, then ask once whether to apply them.
- Bare skill invocation: inspect the current repository read-only by default. If changes would help, show the proposal and ask once before editing.
Infer the action from the whole request, not only trigger words. When an authorized edit reveals an additional normalization outside the requested change, ask once before applying that extra change.
What ships with it
4 files 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.
- 10d ago First seen · 57 lines · 77 tokens per session scan A 4e40b266c013
x9-context-files-generator is a skill published in the GitHub repository xonika9/agent-skills (4 stars, last pushed 5d ago), licensed MIT. It adds 77 tokens to every session and 1,321 once invoked, about $0.0004 per session on Opus 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-08-31.
Other skills, from other repositories
e2e-automator
Build robust end-to-end test suites with Playwright or Cypress. Covers page objects, fixtures, visual testing, and CI integration.
agent-harness-fault-injection
Use when an agent workflow needs deterministic recovery evidence for sandbox, MCP/tool, worker, checkpoint, memory, or orchestration failures.
architecture-decision-records
Comprehensive patterns for creating, maintaining, and managing Architecture Decision Records (ADRs) that capture the context and rationale behind significant technical decisions.
agent-framework-azure-ai-py
Build persistent agents on Azure AI Foundry using the Microsoft Agent Framework Python SDK.
aria
Designs the data model, API contracts, and structural foundation of the system.
api-security
Authorized security assessment of REST, GraphQL, WebSocket, and SOAP APIs: discovery, authentication and authorization flaws (BOLA/IDOR, JWT/OAuth), rate-limit testing, and a structured multi-phase methodology.