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.
npx skills add ludo-technologies/python-best-practices --skill coding-standardsgit clone --depth 1 https://github.com/ludo-technologies/python-best-practicesWrote 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.
[](https://agentmods.dev/skills/ludo-technologies/python-best-practices/coding-standards)<a href="https://agentmods.dev/skills/ludo-technologies/python-best-practices/coding-standards"><img src="https://agentmods.dev/badge/skills/ludo-technologies/python-best-practices/coding-standards/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.
<a href="https://agentmods.dev/skills/ludo-technologies/python-best-practices/coding-standards"><img src="https://agentmods.dev/badge/skills/ludo-technologies/python-best-practices/coding-standards.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00063 | $0.01626 |
| Opus 5.5 | $0.00025 | $0.00650 |
| Sonnet 5.5 | $0.00013 | $0.00325 |
| Haiku 4.5 | $0.00006 | $0.00163 |
Grade A, and why
coding-standards 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 214 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Python Coding Standards
A comprehensive collection of Python coding standards and best practices. Designed for AI agents and LLMs to generate high-quality, performant, and maintainable Python code.
Categories
Error Handling [CRITICAL]
Prevent failures from being hidden or reported as successful outcomes.
| Rule | Description |
|---|---|
| error-no-silent-exceptions | Never swallow exceptions |
Performance Optimization [CRITICAL]
Apply Python optimization patterns to improve processing speed and memory efficiency.
| Rule | Description |
|---|---|
| perf-list-comprehension | Prefer list comprehensions over loops (1.5-2x faster) |
| perf-generator-expression | Use generators for large datasets (O(1) memory) |
| perf-dict-get | Use dict.get() for efficient default values |
| perf-set-lookup | Use set for fast lookups (O(1) vs O(n)) |
| perf-str-join | Use join for string concatenation (O(n) vs O(n²)) |
Async Processing [HIGH]
Efficient asynchronous programming patterns using asyncio.
| Rule | Description |
|---|---|
| async-gather | Use asyncio.gather for independent tasks |
| async-create-task | Proper background task creation |
| async-context-manager | Resource management with async with |
| async-semaphore | Limit concurrency with semaphores |
Design Principles [HIGH]
Software design principles for maintainability and extensibility.
| Rule | Description |
|---|---|
| design-philosophy | DRY, YAGNI, KISS principles |
| design-single-responsibility | Single Responsibility Principle |
| design-dependency-injection | Loose coupling with dependency injection |
| design-no-global-singleton | Avoid global singletons and module-level shared instances |
| solid-ocp | Open/Closed Principle |
| solid-lsp | Liskov Substitution Principle |
| solid-isp | Interface Segregation Principle |
| design-pure-functions | Prefer pure functions without side effects |
| design-early-return | Reduce nesting with early returns |
What ships with it
31 files 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.
- metadata.json 1.0 KB
- README.md 3.9 KB
- rules/_sections.md 3.2 KB
- rules/_template.md 447 B
- rules/async-context-manager.md 2.1 KB
- rules/async-create-task.md 3.6 KB
- rules/async-gather.md 2.9 KB
- rules/async-semaphore.md 3.0 KB
- rules/design-dependency-injection.md 2.7 KB
- rules/design-early-return.md 2.6 KB
- rules/design-no-global-singleton.md 4.2 KB
- rules/design-philosophy.md 3.6 KB
- rules/design-pure-functions.md 2.6 KB
- rules/design-single-responsibility.md 3.3 KB
- rules/doc-docstring.md 2.9 KB
- rules/doc-type-hints.md 2.0 KB
- rules/error-no-silent-exceptions.md 3.3 KB
- rules/oop-composition-over-inheritance.md 2.5 KB
- rules/oop-dataclass.md 2.9 KB
- rules/oop-property.md 3.6 KB
- rules/oop-protocol.md 3.9 KB
- rules/perf-dict-get.md 1.3 KB
- rules/perf-generator-expression.md 1.4 KB
- rules/perf-list-comprehension.md 1.3 KB
- rules/perf-set-lookup.md 1.6 KB
- rules/perf-str-join.md 1.5 KB
- rules/solid-isp.md 2.3 KB
- rules/solid-lsp.md 2.3 KB
- rules/solid-ocp.md 2.3 KB
- rules/validation-pydantic.md 3.4 KB
- tooling.md 2.0 KB
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.
- 3mo ago First seen · 214 lines · 63 tokens per session scan A 03020b77bd47
coding-standards is a skill published in the GitHub repository ludo-technologies/python-best-practices (39 stars, last pushed 1mo ago), licensed MIT. It adds 63 tokens to every session and 1,626 once invoked, about $0.0003 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.
coding-standards compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| coding-standardsludo-technologies/python-best-practices | Skill | 39 | 1mo ago | MIT | A | 63 | Claude Code |
| cardputer-buddyanthropics/claude-plugins-official | Skill | 49k | yesterday | Apache-2.0 | A | 109 | Claude Code |
| developing-genkit-pythongoogle/skills | Skill | 25k | today | Apache-2.0 | A | 96 | Claude Code, Codex |
| hypothesis-testingforyourhealth111-pixel/Vibe-Skills | Skill | 3.9k | 21d ago | Apache-2.0 | A | 62 | Claude Code, Codex |
| paper2codePrathamLearnsToCode/paper2code | Skill | 1.6k | 20d ago | MIT | A | 72 | Claude Code, Codex |
| gh-address-commentsforyourhealth111-pixel/Vibe-Skills | Skill | 3.9k | 21d ago | Apache-2.0 | A | 39 | Codex |
| authoring-dagsastronomer/agents | Skill | 464 | 6d ago | Apache-2.0 | A | 93 | Claude Code |