metis

metis is a skill for Claude Code, Codex from gitRasheed/metis-skill. It costs 108 tokens per session (3,751 once invoked), scanned A, original, MIT.

A general coding-work method for agents doing substantial software tasks, with guidance on design, implementation, testing, review, parsing boundaries, and verification.

In plain words
What is it for?
Use it for feature work, bug fixes, refactoring, API design, module boundaries, tests, code reviews, or commit preparation.
Why use it?
It helps an agent make architectural decisions deliberately and check its work before declaring a task finished.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/gitrasheed/metis-skill/metis
Any agent
npx skills add gitRasheed/metis-skill --skill metis
Clone the repo
git clone --depth 1 https://github.com/gitRasheed/metis-skill

Made for: Claude Code, Codex.

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 metis

README.md
[![agentmods](https://agentmods.dev/badge/skills/gitrasheed/metis-skill/metis.svg)](https://agentmods.dev/skills/gitrasheed/metis-skill/metis)
Your own site
<a href="https://agentmods.dev/skills/gitrasheed/metis-skill/metis"><img src="https://agentmods.dev/badge/skills/gitrasheed/metis-skill/metis.svg" alt="Measured on agentmods" height="20"></a>
Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,751 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00108 $0.03751
Opus 5 $0.00054 $0.01876
Sonnet 5 $0.00022 $0.00750
Haiku 4.5 $0.00011 $0.00375

Measured 3d ago against content hash b21291aa8355, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

metis 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 3d 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.

Origin

Copies of this mod

8 near-identical copies found in the catalogue:

  • metis — 91% identical, 29 lines differ
  • metis — 91% identical, 25 lines differ
  • metis — 86% identical, 28 lines differ
  • metis — 83% identical, 29 lines differ
  • P11-gated — 81% identical, 46 lines differ
  • P13-final — 80% identical, 73 lines differ
  • P15-lensscoped — 78% identical, 36 lines differ
  • P14b-validassert — 77% identical, 39 lines differ
.claude/skills/metis/SKILL.md · 187 lines

How it starts

The opening of the file, as written. The whole thing — 187 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Metis

Write code that favors plain data, pure logic, clear call sites, and early architectural thinking. These are strong defaults, not rigid laws: follow the surrounding codebase, framework constraints, and language norms when they clearly matter more.

Apply sections by phase instead of holding everything at once:

  • Designing or starting a task: Design principles, LLM agent process
  • Implementing: Working rules, Implementation rules, plus the SOLID checklist for non-trivial modules
  • Writing tests: Testing checklist
  • Reviewing a diff or PR: Code review mode
  • Before claiming done, committing, or pushing: Final verification checklist

Design principles

  1. Start from the call site, by wishful thinking: pretend the perfect helpers already exist, name them the way you would want to call them, and get the top-level usage reading cleanly. If the calling code reads awkwardly, the abstractions are wrong — and you find out before building anything.
  2. Prefer plain data plus focused functions, modules, or systems over behavior-heavy objects. Draw boundaries around what systems do, not what entities are.
  3. Choose the simplest state model that matches reality: discriminated unions for mutually exclusive states, composable data for orthogonal features, and a plain flat record when neither pressure exists — do not over-architect the simple case. Core domain state gets a named, typed shape — a dataclass, struct, or union — while raw dicts and strings stay at the boundary, not in the core.
  4. Isolate mutation and I/O near the edges. Orchestration decides what happens; inner helpers do narrow, understandable work.
  5. Push ifs up, fors down. Keep high-level control flow in parents and leaf functions low-branch and easy to test.
  6. Parse, don't validate: at each trust boundary — parsing, persistence, external APIs — convert untrusted data once into a typed shape that cannot represent the invalid states, so downstream code never re-checks it. Past the boundary, assert internal invariants whose failure means a programming error: state transitions, function contracts, positive and negative space.
  7. Prefer explicit, behavior-focused tests without indirection that hides intent.
  8. Sanity-check the likely bottleneck first — network, disk, memory, then CPU. Prefer architecture changes over late micro-optimizations.
  9. Design for the hardest real requirement first, then simplify downward. Do not architect for the easy case and try to scale it up later.
  10. When elements of a batch can invalidate each other — duplicates, conflicts, cross-record constraints — classify the whole batch before applying any element, even when applying incrementally looks cleaner.
  11. Define errors out of existence: when a contract choice can make a failure case impossible — an operation that is naturally idempotent, a range that clamps, a delete that succeeds when the target is already gone — prefer it over raising and forcing every caller to handle the case.
  12. A side effect that crosses a boundary — a send, a charge, a write — needs a stable identity (idempotency key, dedupe token) that its owner atomically deduplicates, so retries and replays are safe.

Read the full file on GitHub · 187 lines

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. 3d ago First seen · 187 lines · 108 tokens per session scan A b21291aa8355

Subscribe to this mod's changes

metis is a skill published in the GitHub repository gitRasheed/metis-skill (2 stars, last pushed 12d ago), licensed MIT. It adds 108 tokens to every session and 3,751 once invoked, about $0.0005 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.