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 antoinebou12/uml-mcp --skill modern-pythongit clone --depth 1 https://github.com/antoinebou12/uml-mcpWrote 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/antoinebou12/uml-mcp/modern-python)<a href="https://agentmods.dev/skills/antoinebou12/uml-mcp/modern-python"><img src="https://agentmods.dev/badge/skills/antoinebou12/uml-mcp/modern-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.
<a href="https://agentmods.dev/skills/antoinebou12/uml-mcp/modern-python"><img src="https://agentmods.dev/badge/skills/antoinebou12/uml-mcp/modern-python.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.00138 | $0.01053 |
| Opus 5.5 | $0.00055 | $0.00421 |
| Sonnet 5.5 | $0.00028 | $0.00211 |
| Haiku 4.5 | $0.00014 | $0.00105 |
Grade A, and why
modern-python 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.
How it starts
The opening of the file, as written. The whole thing — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Modern Python
Modern Python tooling and practices: uv for dependencies, ruff for lint/format, ty for type checking, pytest for tests. Use for this project and when setting up or refactoring Python codebases.
When to Use
- Setting up or changing Python project structure and tooling
- Replacing pip/virtualenv with uv
- Replacing flake8/black/isort with ruff, or mypy with ty
- Adding pre-commit hooks and security scanning
- Writing or reviewing tests with pytest and coverage
Legacy Command Guidance
Prefer uv over raw python/pip. When about to run legacy commands, use:
| Legacy command | Use instead |
|---|---|
python |
uv run python |
python script.py |
uv run script.py |
pip install pkg |
uv add pkg or uv run --with pkg |
pip uninstall pkg |
uv remove pkg |
pip freeze |
uv export |
python -m pip install |
uv add / uv sync |
Commands that already use uv run (e.g. uv run pytest) do not need changing.
Project Structure and pyproject.toml
- Layout: Prefer a
src/layout (package undersrc/<package_name>/). This project uses top-level packages (mcp_core,tools); when adding new packages, keep them at repo root or under a clear namespace. - Config: Single
pyproject.tomlat repo root. - Python: This repo targets Python 3.12 only (
requires-pythoninpyproject.toml). - Dependency groups (PEP 735): Put dev/test/lint deps in dependency groups where the tool supports them.
Linting and Formatting (ruff)
- Use ruff for both linting and formatting (replaces flake8, black, isort, pyupgrade).
- Configure in
pyproject.tomlunder[tool.ruff]and[tool.ruff.format].
Run:
uv run ruff check .uv run ruff format .
Fix auto-fixable issues: uv run ruff check --fix .
Type Checking (ty)
- Use ty instead of mypy/pyright for faster type checking when introducing it.
- Configure in
pyproject.tomlunder[tool.ty]if needed.
Run: uv run ty check
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.
- 1mo ago First seen · 93 lines · 138 tokens per session scan A f3163ae4a4d4
modern-python is a skill published in the GitHub repository antoinebou12/uml-mcp (107 stars, last pushed today), licensed MIT. It adds 138 tokens to every session and 1,053 once invoked, about $0.0006 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.
Other skills, from other repositories
temporal-python-testing
Test Temporal workflows with pytest, time-skipping, and mocking strategies. Covers unit testing, integration testing, replay testing, and local development setup. Use when implementing Temporal workflow tests or debugging test failures.
test-corpus
The testdocuments submodule is a bucket-fetched fixture corpus that is not committed. This skill covers readtestfixture, missing fixtures, valid A/B controls, and submodule push order. Load before running Rust tests on a fresh clone, setting up an A/B control, adding a fixture-backed test, or diagnosing…
python-providers
Create, modify, test, or package Python provider adapters under python/providers, including framework-specific dependencies, public imports, type inference, and provider metadata. Use for Python provider work only; use python-sdk for core SDK changes.
adk-verify-snippets
Checks that every Python code block in a Markdown file actually compiles and runs, by extracting each block to a temporary file, executing it in an isolated subprocess, and writing a pass/fail report with per-snippet coverage. Use when the user asks to verify, test, or validate the code samples in a README, a guide…
adk-setup
Sets up a local ADK Python development environment in a git clone of the open-source adk-python repository: a uv virtual environment, all dependency extras, pre-commit hooks, and a first unit-test run. Runs only when explicitly requested, never on its own. Use when asked to set up, bootstrap, or repair a development…
test-generator
Generate pytest test cases for Python functions and classes.