python-code

python-code is a skill for Claude Code, Codex from DongDuong2001/pudo-code-system. It costs 17 tokens per session (184 once invoked), scanned A, original, MIT.

A set of guidelines for writing and improving Python code, including formatting, modern language features, type hints, and error handling.

In plain words
What is it for?
Writing or refactoring Python applications such as Django, FastAPI, Flask, and data-processing code, while applying PEP 8 and Python typing practices.
Why use it?
It helps keep Python code consistent, readable, and easier for development tools to check.

Skill for Claude CodeCodex

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

Good fit Writing or refactoring Python applications such as Django, FastAPI, Flask, and data-processing code, while applying PEP 8 and Python typing practices.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dongduong2001/pudo-code-system/python
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 DongDuong2001/pudo-code-system --skill python
Clone the repo
git clone --depth 1 https://github.com/DongDuong2001/pudo-code-system

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dongduong2001/pudo-code-system/python"><img src="https://agentmods.dev/badge/skills/dongduong2001/pudo-code-system/python.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 184 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.00184
Opus 5.5 $0.00007 $0.00074
Sonnet 5.5 $0.00003 $0.00037
Haiku 4.5 $0.00002 $0.00018

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

Security

Grade A, and why

python-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 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/code/python/SKILL.md · 20 lines

What it actually says

Python Code Skill

This skill is specialized for Python development, focusing on idiomatic Python (Pythonic code), performance, and typing.

When to use this skill

  • When writing or refactoring Python code (Django, FastAPI, Flask, Pandas, etc.).
  • When utilizing Python's specific features like list comprehensions, generators, context managers.
  • When integrating PEP 8 standards or type hints (mypy/pydantic).

Guidelines

  • Write "Pythonic" code. Use built-in functions and standard libraries where appropriate.
  • Use explicit type hints for better Developer Experience (DX) and tooling support.
  • Handle exceptions specifically rather than using bare except: clauses.
  • Use virtual environments (venv, poerty, conda) for dependency management.
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 First seen · 20 lines · 17 tokens per session scan A a76179f17733

Subscribe to this mod's changes

python-code is a skill published in the GitHub repository DongDuong2001/pudo-code-system (5 stars, last pushed 9d ago), licensed MIT. It adds 17 tokens to every session and 184 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-08-31.

Related

Other skills, from other repositories

fastapi-pro

Production FastAPI patterns — async endpoints, SQLAlchemy 2.0 async, Pydantic V2, dependency injection, JWT auth, testing. Use for Python 3.11+ FastAPI backends. NOT for Django (→ django-patterns) or Node.js (→ backend-patterns).

tranhieutt/software_development_department · 67 tokens

astropy

Core Python library for astronomy and astrophysics workflows that need Astropy APIs, including units/quantities, coordinates, FITS I/O, tables, time systems, WCS, and cosmology. Use when implementing or debugging astronomical data analysis code with Astropy.

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

matlab

Builds, reviews, migrates, and plans MATLAB or GNU Octave numerical workflows. Use for arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.

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

bioservices

Provides a Python interface to bioinformatics services including UniProt, KEGG, ChEMBL, Reactome, QuickGO, and UniChem. Used for cross-database protein annotation, pathway retrieval, chemical identifier mapping, and integrated biological data workflows with BioServices.

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

cobrapy

Performs constraint-based metabolic modeling with COBRApy, including FBA, pFBA, FVA, gene knockouts, flux sampling, growth media, production envelopes, gap filling, and SBML model validation for systems biology and metabolic engineering.

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

optimize-for-gpu

GPU-accelerates scientific Python on NVIDIA hardware and verifies that the result is correct and faster. Use for CUDA/GPU optimization; CPU-bound NumPy, SciPy, pandas, scikit-learn, NetworkX, scikit-image, vector-search, image-processing, graph, simulation, or file-I/O workloads; CuPy, cuDF, cuML, cuGraph, cuVS…

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