python-services

python-services is a skill for Claude Code from iliaal/ai-skills. It costs 55 tokens per session (600 once invoked), scanned A, original, MIT.

A set of guidance for Python command-line tools and backend services. Python is a programming language; a command-line tool runs from a terminal, and a backend service handles work behind an application.

In plain words
What is it for?
Use it when building CLI programs, FastAPI services, background jobs, or Python projects managed with uv, ruff, ty, and pytest.
Why use it?
It gives consistent approaches for dependencies, formatting, type checks, tests, asynchronous work, and web services.

Skill for Claude Code

Written for Claude Code: paths in frontmatter.

Good fit Use it when building CLI programs, FastAPI services, background jobs, or Python projects managed with uv, ruff, ty, and pytest.

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

Made for: Claude Code.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/iliaal/ai-skills/python-services"><img src="https://agentmods.dev/badge/skills/iliaal/ai-skills/python-services.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 600 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 128
    Skill allows unbounded resource consumption (API calls, storage, compute). Without rate limits or quotas, a compromised or misbehaving agent can cause denial-of-service or cost overruns.
    Fix: Set explicit rate limits, timeouts, and resource quotas for API calls, file operations, and compute. Implement circuit breakers for runaway loops.
How audits are shown
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.00055 $0.00600
Opus 5.5 $0.00022 $0.00240
Sonnet 5.5 $0.00011 $0.00120
Haiku 4.5 $0.00006 $0.00060

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

Security

Grade A, and why

python-services 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 2d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/python-services/SKILL.md · 55 lines

How it starts

The opening of the file, as written. The whole thing — 55 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Python Services & CLI

Working rules

  • Validate external inputs and responses at boundaries; preserve exception causes.
  • Keep missing results distinct from empty results. When an empty collection means success, require the response field instead of defaulting it to empty; an all-default model can validate {} as success. Test missing, misspelled, explicitly empty, and populated payloads through the real validation boundary.
  • Keep simple sequential work synchronous. Bound concurrent work, preserve cancellation, and keep task references.
  • Give network calls timeouts; retry only failures and operations whose semantics permit it.
  • Enforce job idempotency with atomic writes and database constraints.
  • Preserve published API behavior and shared migration history.
  • Match telemetry to an operational question and verify its output.

Discipline

  • Simplicity first: every change as simple as possible, impact minimal code
  • Only touch what's necessary; avoid introducing unrelated changes
  • No hacky workarounds: if a fix feels wrong, step back and implement the clean solution
  • Before adding a new abstraction, verify it appears in 3+ places. If not, inline it.
  • Verify with the project's configured checks and thresholds.

Verify

Run the project's configured test, lint, and type-check commands. Use its coverage and warning thresholds. Report applicable checks that cannot run.

For new projects adopting these tools, starter checks are uv run pytest, uv run ruff check ., and uv run ty check .. With pytest-cov configured, uv run pytest --cov measures coverage. Use 80% as a starter target when the project establishes one. Add --cov-report=html for a browsable report.

Task-specific references

Read the relevant reference before implementing or reviewing the matching behavior:

Read the full file on GitHub · 55 lines

Files

What ships with it

6 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.

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. 2d ago Changed · -1 lines dd2e6cd4a6e9
  2. 1mo ago Changed · +5 lines ce4ac409aa37
  3. 2mo ago Changed 0f5d0af5aeda
  4. 2mo ago Changed · -1 lines 9540b8b8ddcc
  5. 2mo ago Changed · -149 lines b5183b120d7c
  6. 3mo ago First seen · 201 lines · 55 tokens per session scan A 3531aa097398

Subscribe to this mod's changes

python-services is a skill published in the GitHub repository iliaal/ai-skills (48 stars, last pushed 3d ago), licensed MIT. It adds 55 tokens to every session and 600 once invoked, about $0.0002 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.

Related

python-services compared with skills from other repositories

python-services next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
python-servicesiliaal/ai-skillsSkill483d agoMITA55Claude Code
python-backendWrongStack/WrongStackSkill446todayMITA93Claude Code, Codex
python-programming-expertroedyrustam/vibes-plugSkill1304d agoMITA53Cursor
developing-kafka-python-clientconfluentinc/agent-skillsSkill6719d agoApache-2.0A75Claude Code
upstash-box-pyupstash/skillsSkill37yesterdayMITA109Claude Code
python-servicesiliaal/whetstoneSkill37todayMITA48Claude Code, Codex
djangonimadorostkar/Claude-Skills-collectionSkill41yesterdayMITA75Claude Code