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 kaushik-holla/agent-skills --skill python-qualitygit clone --depth 1 https://github.com/kaushik-holla/agent-skillsWrote 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/kaushik-holla/agent-skills/python-quality)<a href="https://agentmods.dev/skills/kaushik-holla/agent-skills/python-quality"><img src="https://agentmods.dev/badge/skills/kaushik-holla/agent-skills/python-quality/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/kaushik-holla/agent-skills/python-quality"><img src="https://agentmods.dev/badge/skills/kaushik-holla/agent-skills/python-quality.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00080 | $0.03850 |
| Opus 5.5 | $0.00032 | $0.01540 |
| Sonnet 5.5 | $0.00016 | $0.00770 |
| Haiku 4.5 | $0.00008 | $0.00385 |
Grade A, and why
python-quality 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 — 459 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Python Quality
A consistent, low-friction baseline for new Python projects. Optimised for fast iteration plus principal-level quality signals (typed strictness on src/, ruff for everything else, tests that don't lie).
Throughout this skill,
myappis a placeholder for your package name. Replace it (and themyappCLI / env / project names) with your own.
When To Use
- Scaffolding a new Python project (sections 1-4).
- Upgrading an older project's tooling (sections 2, 5-6).
- Adding CI (section 7).
- Setting up tests for an agentic / LLM project (section 6 has LLM-specific patterns).
1. Bootstrap the environment
Pick one environment manager and stay consistent across the team and CI. Both options below keep the dependency declaration in one place (pyproject.toml) and install the project itself in editable mode.
- uv: fastest resolver/installer; the modern default for pure-Python and most agentic/LLM projects.
- conda + pip: preferred when you need mixed-binary scientific stacks (CUDA, MKL, GDAL, etc.) or a non-pip-managed interpreter.
Option A: uv (recommended default)
# Create and use a project-local virtual env, pinned to a Python version
uv venv --python 3.11
source .venv/bin/activate # Windows: .venv\Scripts\activate
# Install the project in editable mode with dev extras
uv pip install -e ".[dev]"
# Run anything inside the activated env
python -V
pytest
ruff check .
mypy src
uv reads the same pyproject.toml as everything else, resolves fast, and produces a reproducible uv.lock you can commit (uv lock).
Option B: conda + pip
Conda manages the Python interpreter and isolated environment; pip installs the project itself (editable) and all Python deps from pyproject.toml. This pairs well with mixed-binary scientific stacks while keeping the dependency declaration in one place.
# Create an isolated conda env (one-time, from the committed env file)
conda env create -f environment.yml
# Or, if you prefer to bootstrap before committing environment.yml:
# conda create -y -n myapp python=3.11 pip
conda activate myapp
# Install the project in editable mode with dev extras
pip install -e ".[dev]"
# Run anything inside the activated env (no prefix needed)
python -V
pytest
ruff check .
mypy src
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 · 459 lines · 80 tokens per session scan A 0c0e6e2d6e41
python-quality is a skill published in the GitHub repository kaushik-holla/agent-skills (2 stars, last pushed 4mo ago), licensed MIT. It adds 80 tokens to every session and 3,850 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-31.
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.
python-testing
Guidelines for writing and running tests in the Agent Framework Python codebase. Use this when creating, modifying, or running tests.
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.
typescript
TypeScript strict mode with eslint and jest.