python-authoring

python-authoring is a skill for Claude Code from paulnsorensen/easy-cheese. It costs 88 tokens per session (2,045 once invoked), scanned A, original, MIT.

A set of rules for writing and maintaining Python code in the easy-cheese repository, using Python 3.12 and its existing packaging, testing, and validation practices.

In plain words
What is it for?
Use it when adding, editing, refactoring, or reviewing Python files in the project, including source code, scripts, GitHub automation, and tests.
Why use it?
It reduces guesswork about where changes belong and how they should be written and checked. It also helps keep new code small, readable, and consistent with the project.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: installed under .agents/ (shared by several agents).

Part of the easy-cheese plugin — 18 skills shipped together

Good fit Use it when adding, editing, refactoring, or reviewing Python files in the project, including source code, scripts, GitHub automation, and tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/paulnsorensen/easy-cheese/python-authoring
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.

Any agent
npx skills add paulnsorensen/easy-cheese --skill python-authoring
Clone the repo
git clone --depth 1 https://github.com/paulnsorensen/easy-cheese

Made for: Claude Code.

Or install easy-cheese, the plugin that ships this one along with the rest of its 18 skills.

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 python-authoring

README.md
[![agentmods](https://agentmods.dev/badge/skills/paulnsorensen/easy-cheese/python-authoring/github.svg)](https://agentmods.dev/skills/paulnsorensen/easy-cheese/python-authoring)
Your own site
<a href="https://agentmods.dev/skills/paulnsorensen/easy-cheese/python-authoring"><img src="https://agentmods.dev/badge/skills/paulnsorensen/easy-cheese/python-authoring/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 python-authoring

Your own site · 80×15
<a href="https://agentmods.dev/skills/paulnsorensen/easy-cheese/python-authoring"><img src="https://agentmods.dev/badge/skills/paulnsorensen/easy-cheese/python-authoring.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,045 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 71
    uvx/uv tool run commands without ==version create a rug-pull risk.
    Fix: Pin the version: uvx package-name==1.2.3
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.00088 $0.02045
Opus 5.5 $0.00035 $0.00818
Sonnet 5.5 $0.00018 $0.00409
Haiku 4.5 $0.00009 $0.00204

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

Security

Grade A, and why

python-authoring 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 22d 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/skills/python-authoring/SKILL.md · 101 lines

How it starts

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

Authoring Python

Produce the smallest readable Python change that satisfies the request and matches easy-cheese.

This is a repository-local skill. Keep it under .agents/skills/python-authoring/; do not mirror it into the published skills/ tree or add agents/openai.yaml. Renaming this directory requires updating the matching !.agents/skills/<dir>/ line in .gitignore — that path list is an allowlist, so a renamed dir without its own line is silently untracked.

Work in this order

  1. Read the root configuration, owning skill, target exports, immediate callers, and nearby conventions.
  2. Keep every changed line traceable to the request. Do not invent orchestration, compatibility layers, abstractions, dependencies, or future flexibility.
  3. Put code in the owning package and preserve the bundle boundary.
  4. Validate untrusted input once at the boundary, then work with typed trusted data.
  5. Choose the clearest succinct Python construct; do not compress code until it becomes harder to read.
  6. Remove only slop introduced by the change and code that the change orphaned.
  7. Type-check changed files with basedpyright, run targeted tests, rebuild affected bundles, then run just check.

Keep runtime code stdlib-first

  • Target Python 3.12. Use its language and typing features directly; do not add compatibility code for older versions.
  • Treat the standard library as the default dependency budget for bundled helpers under src/. Any third-party runtime dependency must be pure Python and admitted to requirements/runtime.txt; bundle builds resolve internal and external hashes into an ephemeral requirements file.
  • Reuse the existing JSON-first, optional-YAML manifest boundary instead of importing PyYAML into new bundled modules.
  • Treat configured third-party imports as surface-specific exceptions: PyYAML for existing validators, docs tooling, and manifest/test paths; pytest for tests. A new dependency requires an explicit package and CI decision.
  • Prefer argparse, json, pathlib, tempfile, shutil, zipfile, collections, itertools, and contextlib over hand-written equivalents.

Read the full file on GitHub · 101 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. 22d ago Changed · -1 lines 2ac071f6906d
  2. 1mo ago First seen · 102 lines · 88 tokens per session scan A 792f5eaa315c

Subscribe to this mod's changes

python-authoring is a skill published in the GitHub repository paulnsorensen/easy-cheese (18 stars, last pushed today), licensed MIT. It adds 88 tokens to every session and 2,045 once invoked, about $0.0004 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-30.

Related

Other skills, from other repositories

plankton-code-quality

Write-time code quality enforcement using Plankton — auto-formatting, linting, and Claude-powered fixes on every file edit via hooks.

loulanyue/awesome-claude-notes · 34 tokens

writing-python

Idiomatic Python 3.12+ development. Use when writing Python code, CLI tools, scripts, or services. Emphasizes stdlib, type hints, fast pytest feedback, uv/ruff/pyright toolchain, optional project-adopted ty, and minimal dependencies. NOT for Go, Rust, TypeScript, or shell-only tasks.

alexei-led/cc-thingz · 74 tokens

update-deps

Update Python dependencies or pre-commit hooks while preserving the project's pin and configuration style.

reidemeister94/development-skills · 21 tokens

arize-annotation

INVOKE THIS SKILL when creating, managing, or using annotation configs or annotation queues on Arize (categorical, continuous, freeform), or applying human annotations to project spans via the Python SDK. Configs are the label schema for human feedback; queues are review workflows that route records to annotators.…

boshi-xixixi/TraeSkill · 97 tokens

python-backend-expert

This skill should be used when the user is writing, reviewing, debugging, or architecting Python backend code using Litestar or FastAPI with SQLAlchemy or Advanced Alchemy. Provides expert critique covering SOLID principles, hexagonal architecture, repository/service patterns, dependency injection, async correctness…

mathisk2095/jko-claude-plugins · 183 tokens

splitting-oversized-modules

Split an oversized Python module (a thousand-plus-line logic.py, models.py, api.py, or its test file) into a package of one module per concern, mechanically and provably without changing behavior. Use on a request to split / break up / decompose a god module or move functions out of one, once a human has agreed to…

PostHog/posthog-foss · 197 tokens