code

code is a skill for Claude Code, Codex from ejentum/ejentum-mcp. It costs 192 tokens per session (543 once invoked), scanned A, original, MIT.

A coding guide that Claude Code uses before writing, changing, reviewing, or debugging code. It provides a structured way to consider risks, procedures, decisions, and verification.

In plain words
What is it for?
Use it when creating functions, reviewing code or pull requests, refactoring, investigating errors, or translating code between languages.
Why use it?
It helps catch changes that look correct but quietly break expected behavior or contracts.

Skill for Claude CodeCodex

Part of the ejentum plugin — 4 skills, 2 MCP servers shipped together

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/ejentum/ejentum-mcp/code
Any agent
npx skills add ejentum/ejentum-mcp --skill code
Clone the repo
git clone --depth 1 https://github.com/ejentum/ejentum-mcp

Made for: Claude Code, Codex.

Or install ejentum, the plugin that ships this one along with the rest of its 4 skills, 2 MCP servers.

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 code

README.md
[![agentmods](https://agentmods.dev/badge/skills/ejentum/ejentum-mcp/code.svg)](https://agentmods.dev/skills/ejentum/ejentum-mcp/code)
Your own site
<a href="https://agentmods.dev/skills/ejentum/ejentum-mcp/code"><img src="https://agentmods.dev/badge/skills/ejentum/ejentum-mcp/code.svg" alt="Measured on agentmods" height="20"></a>
Per session 192 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 543 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.00192 $0.00543
Opus 5 $0.00096 $0.00271
Sonnet 5 $0.00038 $0.00109
Haiku 4.5 $0.00019 $0.00054

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

Security

Grade A, and why

code 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.

skills/code/SKILL.md · 33 lines

What it actually says

Code Harness

When this skill triggers, call the code tool from the ejentum MCP server. Pass a 1-2 sentence framing of WHAT you are coding or reviewing as the query argument. Include the failure risk to avoid where possible.

Good query: review a Python refactor that converts raise UserNotFound to silent default return; tests still pass Bad query: look at this code

The tool returns a structured scaffold containing:

  • [CODE FAILURE]: engineering failure pattern to avoid
  • [ENGINEERING PROCEDURE]: steps to follow
  • [REASONING TOPOLOGY]: decision flow
  • [CORRECT PATTERN]: shape correct code should take
  • [VERIFICATION]: self-check
  • Amplify: and Suppress: signals

Absorb internally. Do NOT echo bracket labels in the user-facing reply. Apply the scaffold's failure-pattern check against your draft before responding; if your code exhibits the named failure, rewrite.

If the API is unreachable, proceed with native engineering. The scaffold enhances; it is not a hard dependency.

Latency cost: ~1 second. Benefit: catches the kinds of behavioral changes and silent contract violations that look plausible but break under real conditions.

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 · 33 lines · 192 tokens per session scan A d69860c71ff6

Subscribe to this mod's changes

code is a skill published in the GitHub repository ejentum/ejentum-mcp (16 stars, last pushed 2mo ago), licensed MIT. It adds 192 tokens to every session and 543 once invoked, about $0.0010 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-30.

Related

Other skills, from other repositories

design-mcp-server

Design the tool surface, resources, and service layer for a new MCP server. Use when starting a new server, planning a major feature expansion, or when the user describes a domain/API they want to expose via MCP. Produces a design doc at docs/design.md that drives implementation.

cyanheads/obsidian-mcp-server · 62 tokens

api-canvas

DataCanvas primitive reference — a Tier 3 SQL/analytical workspace for tabular MCP servers, backed by DuckDB. Use when registering tables from upstream APIs, running ad-hoc SQL across them, and exporting results. Covers the acquire → register → query → export flow, per-table TTL, the token-sharing pattern for…

cyanheads/obsidian-mcp-server · 85 tokens

api-testing

Testing patterns for MCP tool/resource handlers using createMockContext and Vitest. Covers mock context options, handler testing, McpError assertions, format testing, Vitest config setup, and test isolation conventions.

cyanheads/obsidian-mcp-server · 46 tokens

api-telemetry

Catalog of OpenTelemetry instrumentation built into framework @cyanheads/mcp-ts-core — spans, metrics, completion logs, env config, runtime caveats, custom instrumentation patterns, and cardinality rules. Use when enabling OTel export, adding custom spans or metrics in services, debugging missing telemetry, looking up…

cyanheads/obsidian-mcp-server · 85 tokens

maintenance

Investigate, adopt, and verify dependency updates — with special handling for @cyanheads/mcp-ts-core. Captures what changed, understands why, cross-references against the codebase, adopts framework improvements, syncs project skills, and runs final checks. Supports two entry modes: run the full flow end-to-end, or…

cyanheads/obsidian-mcp-server · 75 tokens

add-test

Scaffold a test file for an existing tool, resource, or service. Use when the user asks to add tests, improve coverage, or when a definition exists without a matching test file.

cyanheads/obsidian-mcp-server · 41 tokens