P8-agentic

P8-agentic is a skill for Claude Code, Codex from gitRasheed/metis-skill. It costs 0 tokens per session (878 once invoked), scanned A, original, MIT.

A set of coding guidelines that favors simple data structures, small focused functions, clear callers, and early decisions about program design.

In plain words
What is it for?
Use it when designing or reviewing code, choosing state models, separating input and output work, validating boundaries, and handling batches or system changes.
Why use it?
It helps developers spot awkward interfaces and unnecessary complexity before those choices spread through the codebase.

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/p8-agentic
Any agent
npx skills add gitRasheed/metis-skill --skill p8-agentic
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 P8-agentic

README.md
[![agentmods](https://agentmods.dev/badge/skills/gitrasheed/metis-skill/p8-agentic.svg)](https://agentmods.dev/skills/gitrasheed/metis-skill/p8-agentic)
Your own site
<a href="https://agentmods.dev/skills/gitrasheed/metis-skill/p8-agentic"><img src="https://agentmods.dev/badge/skills/gitrasheed/metis-skill/p8-agentic.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 878 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.00000 $0.00878
Opus 5 $0.00000 $0.00439
Sonnet 5 $0.00000 $0.00176
Haiku 4.5 $0.00000 $0.00088

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

Security

Grade A, and why

P8-agentic 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 4d 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.

evals/cases-v5/skill-permutations/P8-agentic/SKILL.md · 80 lines

How it starts

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

Metis (condensed)

Write code that favors plain data, pure logic, clear call sites, and early architectural thinking. Strong defaults, not laws: follow the codebase, framework, and language when they clearly matter more.

Design

  1. Start from the call site by wishful thinking: write the caller you wish existed, then make helpers match. Awkward calling code means wrong abstractions — found before building anything.
  2. Plain data + focused functions/modules over behavior-heavy objects. Boundaries around what systems DO, not what entities ARE.
  3. Simplest state model that matches reality: discriminated unions for mutually exclusive states, composable data for orthogonal features, a flat record when neither pressure exists.
  4. Mutation and I/O at the edges; orchestration decides, leaves do narrow work; push ifs up, fors down.
  5. Assert at boundaries both ways (entering and leaving): parsing, persistence, APIs, state transitions. Check what must be true AND what must not be.
  6. Design for the hardest real requirement first, then simplify down. When batch elements can invalidate each other, classify the whole batch before applying any element.
  7. Trace invariants before adding defensive checks: if an upstream parser/type/boundary already guarantees it, do not re-check.

Working

  • Prefer pure functions and data transformations; adapters around awkward external APIs; invariants next to the operations that need them (do not validate early and trust it later if data can drift).
  • Self-explaining names; comments only for a non-obvious WHY, one line.
  • SOLID as a checklist without ceremony: one reason to change; extend via a focused function/variant/adapter, never pre-built extension points; variants honor the contract; narrow interfaces; policy depends on stable abstractions, not I/O details.

Tests

Decide expected behavior BEFORE implementing; prefer a failing behavior check first (red-green) when practical. Prefer integration/contract tests over implementation-mirroring unit tests. One visible behavior per test; no loops/branches hiding the harness. Never move goalposts to make broken code look right. Delete scaffolding tests before done.

Read the full file on GitHub · 80 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. 4d ago First seen · 80 lines · 0 tokens per session scan A 4ae52fde4051

Subscribe to this mod's changes

P8-agentic is a skill published in the GitHub repository gitRasheed/metis-skill (2 stars, last pushed 13d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 878 tokens. 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.