python-development

python-development is a skill for Claude Code, Codex from jxoesneon/Ciel. It costs 17 tokens per session (409 once invoked), scanned A, original, Apache-2.0.

A guide to writing modern, readable Python with type hints, structured resource handling, runtime validation, and pytest-based tests.

In plain words
What is it for?
It is for implementing typed Python functions, managing files and other resources safely, validating data with Pydantic, and writing pytest tests with fixtures and mocks.
Why use it?
It gives Python projects consistent patterns for error handling, data modeling, input validation, and testing code before it is relied on.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for implementing typed Python functions, managing files and other resources safely, validating data with Pydantic, and writing pytest tests with fixtures and mocks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jxoesneon/ciel/python-development
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 jxoesneon/Ciel --skill python-development
Clone the repo
git clone --depth 1 https://github.com/jxoesneon/Ciel

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jxoesneon/ciel/python-development"><img src="https://agentmods.dev/badge/skills/jxoesneon/ciel/python-development.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 409 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.
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.00017 $0.00409
Opus 5.5 $0.00007 $0.00164
Sonnet 5.5 $0.00003 $0.00082
Haiku 4.5 $0.00002 $0.00041

Measured 1mo ago against content hash 34eece118080, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

python-development 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 1mo 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/python-development/SKILL.md · 38 lines

What it actually says

CIEL ADAPTATION: Python Development (Idiomatic & Typed)

This skill formalizes the "Modern Python" layer. it prioritizes readability (Zen of Python), explicit type hints, and EAFP error handling.

Idiomatic Standards

  1. Zen Compliance: Readability over cleverness. Explicit over implicit.
  2. Type Hints (3.9+): Annotate all public functions using built-in generics (e.g., list[str]).
  3. Error Handling: Follow EAFP (Easier to Ask Forgiveness). Use try/except for expected errors.
  4. Resource Management: ALWAYS use with statements (Context Managers) for I/O.

Modern Patterns

  • Data Containers: Use @dataclass for mutable state and NamedTuple for immutable state.
  • Lazy Eval: Prefer Generator Expressions over large List Comprehensions for memory efficiency.
  • Validation: Use Pydantic (v2) for strict runtime data validation and parsing.

Testing (pytest)

  • TDD: Write failing tests first. 80% coverage target.
  • Fixtures: Use yield fixtures for setup/teardown. Avoid manual cleanup logic in tests.
  • Mocking: Use @patch for external I/O. Prefer autospec=True to catch API misuse.

Anti-Patterns

  • Mutable Defaults: Using def foo(x=[]). Use None and initialize inside the function.
  • Bare Except: Catching all exceptions (except:) instead of specific classes.
  • Clever Comprehensions: Writing 3-line list comprehensions that are unreadable.
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. 1mo ago Changed · -13 lines 34eece118080
  2. 1mo ago First seen · 51 lines · 17 tokens per session scan A 9e55fccb2003

Subscribe to this mod's changes

python-development is a skill published in the GitHub repository jxoesneon/Ciel (1 stars, last pushed yesterday), licensed Apache-2.0. It adds 17 tokens to every session and 409 once invoked, about $0.0001 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-09-03.