monty: Skill for Claude Code

.agents/skills/writing-style/SKILL.md

writing-style is a skill for Claude Code, Codex from pydantic/monty. It costs 55 tokens per session (2,910 once invoked), scanned A, original, MIT.

A writing guide for technical documentation and code-related prose. It explains how to state what happens, when it happens, and what it costs in direct language.

In plain words
What is it for?
Use it when writing or editing docstrings, comments, limitations, READMEs, commit messages, pull-request descriptions, and warnings.
Why use it?
It removes vague, generic, or sales-like wording that makes technical information harder to understand. It helps readers find the relevant fact quickly.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions CLAUDE.md; installed under .agents/ (shared by several agents).

This is pydantic/monty's own configuration. It tells Claude Code and Codex how to work on monty 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 monty configures →

About the project

Monty is a minimal Python interpreter written in Rust that runs AI-generated code in a restricted environment without direct filesystem, environment-variable, or network access. It is for AI agents that need to execute Python and type-checking tasks while allowing developers to control which host functions and objects the code can use, and the catalogue entries integrate it into agent workflows.

pydantic/monty · 8,188 stars · on GitHub · pydantic.dev

Reuse

Borrowing it

Nothing to install: this file belongs to pydantic/monty. 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/pydantic/monty/main/.agents/skills/writing-style/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/pydantic/monty

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 writing-style

README.md
[![agentmods](https://agentmods.dev/badge/skills/pydantic/monty/writing-style/github.svg)](https://agentmods.dev/skills/pydantic/monty/writing-style)
Your own site
<a href="https://agentmods.dev/skills/pydantic/monty/writing-style"><img src="https://agentmods.dev/badge/skills/pydantic/monty/writing-style/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 writing-style

Your own site · 80×15
<a href="https://agentmods.dev/skills/pydantic/monty/writing-style"><img src="https://agentmods.dev/badge/skills/pydantic/monty/writing-style.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,910 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00055 $0.02910
Opus 5 $0.00028 $0.01455
Sonnet 5 $0.00011 $0.00582
Haiku 4.5 $0.00006 $0.00291

Measured 5d ago against content hash fe896ec8da2d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

writing-style 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 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (rewrap_md.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/skills/writing-style/SKILL.md · 294 lines

How it starts

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

Writing style

Applies to prose written in this repo: docstrings, comments, limitations/, READMEs, commit messages, PR descriptions, and warnings like the one on MountDir.

The reader is an engineer looking for a fact. Give them the fact. You are not persuading or building to a conclusion: say what happens, when, and what it costs.

Tells to avoid

Significance instead of mechanism

The most common LLM tell. If a sentence would fit unchanged in any other project's docs, it carries no information.

  • ✗ "This ensures the sandbox remains secure."

  • ✓ "Every operation runs relative to a Dir opened at mount time, so .. and symlinks cannot reach outside it."

  • ✗ "Resource limits provide robust protection against runaway code."

  • ✓ "The VM polls allocator usage every 255 instructions; crossing the allocator's hard limit exits the worker with OOM_EXIT_CODE."

Throat-clearing

Openers that delay the sentence: "It's worth noting that", "It's important to understand", "In essence", "Simply put", "At its core", "Let's take a look at". Delete them; the sentence underneath is the content.

  • ✗ "It's worth noting that overlay writes are discarded when the feed ends."
  • ✓ "Overlay writes are discarded when the feed ends."

The "not just X, but Y" reveal

Building to a payoff is an essay move. Docs do not need one.

  • ✗ "heap.rs isn't just another module — it's the foundation of the entire safety model."
  • ✓ "heap.rs contains the unsafe code that HeapReader soundness depends on. Changes need explicit review."

Adjectives doing the work of facts

"Powerful", "seamless", "robust", "elegant", "blazing fast", "significantly", "dramatically". Replace with a number, a mechanism, or nothing.

  • ✗ "Overlays are capped at a reasonable size."
  • ✓ "memory_usage_limit caps retained overlay data at 100 MB by default; exceeding it raises MemoryError in the sandbox."

Restating what the reader can see

A docstring that repeats the signature wastes the line it occupies. Say why it exists, what it costs, or where it bites.

Read the full file on GitHub · 294 lines

Files

What ships with it

1 file 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.

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. 5d ago Changed · +5 lines fe896ec8da2d
  2. 10d ago First seen · 289 lines · 55 tokens per session scan A 1c8de597823e

Subscribe to this mod's changes

writing-style is a skill published in the GitHub repository pydantic/monty (8,188 stars, last pushed today), licensed MIT. It adds 55 tokens to every session and 2,910 once invoked, about $0.0003 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

polars

High-performance DataFrame library for Python ETL, analytics, and pandas migration. Use for expression-based data manipulation with lazy query optimization, parallel execution, streaming out-of-core processing, Arrow interoperability, and optional GPU execution.

K-Dense-AI/scientific-agent-skills · 47 tokens

dd-code-generation

Use pup CLI for immediate Datadog operations or generate code for integration into applications.

DataDog/pup · 16 tokens

edge-python

Write, run, test and package Edge Python programs with the edge CLI. Use when editing .py files in an Edge Python project or when the user asks for Edge Python code.

dylan-sutton-chavez/edge-python · 39 tokens

cloudflare-workers-multi-lang

Multi-language Workers development with Rust, Python, and WebAssembly. Use when building Workers in languages other than JavaScript/TypeScript, or when integrating WASM modules for performance-critical code.

secondsky/claude-skills · 45 tokens

spikard

Scaffold Spikard projects and generate code from OpenAPI, AsyncAPI, OpenRPC, GraphQL, and Protobuf schemas using the Spikard CLI or its MCP server. Use when building or updating Spikard-based apps, fixtures, test apps, or agent workflows that should prefer code generation over handwritten boilerplate.

Goldziher/spikard · 70 tokens

gpui-toolkit

Use when building or modifying GPUI applications in the gpui-toolkit workspace, especially when choosing reusable toolkit crates, composing UI, adding components, charts, themes, layouts, audio controls, mobile surfaces, or validation coverage. Prefer existing toolkit APIs over custom one-off implementations.

pierreaubert/gpui-toolkit · 60 tokens