skillex: Instructions file for Codex

AGENTS.md

skillex AGENTS.md is an instructions file for Codex, OpenCode from atheory-ai/skillex. It costs 461 tokens per session, scanned A, original, Apache-2.0.

A project instruction file for Skillex, a tool for discovering and reading skills used by coding agents.

In plain words
What is it for?
It guides local builds, development commands, and skill discovery through the Skillex MCP server or its command-line fallback.
Why use it?
It explains how to work from the repository's own source and how to find only the relevant skill information without loading everything.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is atheory-ai/skillex's own configuration. It tells Codex and OpenCode how to work on skillex itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything skillex configures →

Reuse

Borrowing it

Nothing to install: this file belongs to atheory-ai/skillex. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/atheory-ai/skillex/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/atheory-ai/skillex

Made for: Codex, OpenCode.

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 skillex AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/atheory-ai/skillex/agents-md/github.svg)](https://agentmods.dev/instructions/atheory-ai/skillex/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/atheory-ai/skillex/agents-md"><img src="https://agentmods.dev/badge/instructions/atheory-ai/skillex/agents-md/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 skillex AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/atheory-ai/skillex/agents-md"><img src="https://agentmods.dev/badge/instructions/atheory-ai/skillex/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 461 This file is loaded in full into every session.
When invoked 461 The same file — it is already loaded in full.
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.00461 $0.00461
Opus 5.5 $0.00184 $0.00184
Sonnet 5.5 $0.00092 $0.00092
Haiku 4.5 $0.00046 $0.00046

Measured 18d ago against content hash 8b68f5fd9d22, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

skillex AGENTS.md 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 18d 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.md · 45 lines

What it actually says

AGENTS

This file documents how to work in this repository.

Local development

This checkout dogfoods the current source, not a globally installed Skillex release.

  1. Run make dev-binary after checkout. It builds .skillex/bin/skillex from this source tree.
  2. Run make dev-binary again after changing Go source.
  3. Use ./.skillex/bin/skillex for local Skillex commands (.exe on Windows). make refresh and the acceptance suite rebuild or select it automatically.

Skillex

This project uses Skillex for skill management. Use the skillex MCP server if available (preferred), otherwise use the CLI commands below.

Results may include skillex_update_available notices. Suggest the appropriate update when useful; project-pinned installs need a dependency update. Restart or reconnect MCP after updating. Notices are advisory, not permission to install.

MCP (preferred)

If the skillex MCP server is connected, use it directly:

  • Start with skillex_query (path, topic, tags, package, search, limit, cursor). It returns bounded discovery summaries, not whole skill files.
  • If too_broad is true, use its candidate-scoped narrow_with facets and suggestions to refine the query.
  • Use skillex_read with a selected result ref and optional section id only after discovery; keep reads bounded.
  • MCP resources provide a skill table of contents. Do not bulk-load skill content.

CLI (fallback)

If MCP is not available, query skills via the command line. If the repository documents a local development binary, use it instead of a globally installed release:

  ./.skillex/bin/skillex query --search "<concepts>"
  ./.skillex/bin/skillex query --path <filepath> --limit 8
  ./.skillex/bin/skillex query --topic <topic> --tags <tags>
  ./.skillex/bin/skillex read --ref <ref-from-query> --section <optional-section-id>
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. 18d ago Changed · +4 lines · +46 tokens per session 8b68f5fd9d22
  2. 1mo ago Changed · +28 tokens per session 884de91cdfef
  3. 1mo ago Changed · -27 lines · -177 tokens per session caf66a5f0c89
  4. 2mo ago First seen · 68 lines · 564 tokens per session scan A dbb4e6ca8ed2

Subscribe to this mod's changes

skillex AGENTS.md is an instructions file published in the GitHub repository atheory-ai/skillex (5 stars, last pushed 14d ago), licensed Apache-2.0. It adds 461 tokens to every session, about $0.0018 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-08-31.

Related

skillex AGENTS.md compared with instructions from other repositories

skillex AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
skillex AGENTS.mdatheory-ai/skillexInstructions file514d agoApache-2.0A461Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,649GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode ai-customization.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA1,907GitHub Copilot