check-prereq-agent-python

check-prereq-agent-python is a skill for Claude Code from diagrid-labs/dapr-skills. It costs 45 tokens per session (1,480 once invoked), scanned A, original, MIT.

A setup checker for building long-running AI agents in Python with the Dapr Agents SDK or a Diagrid wrapper. Dapr is software for connecting services and managing application workflows.

In plain words
What is it for?
Checking the operating system, Python version, package and language-server setup, uv, Docker or Podman, the Dapr command-line tool, the agent package, and access to an AI model provider.
Why use it?
It catches missing or incompatible development tools before agent construction begins. This helps avoid starting a project that cannot run because Python, container, Dapr, package, or AI-provider requirements are absent.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the dapr-skills plugin — 29 skills shipped together

Good fit Checking the operating system, Python version, package and language-server setup, uv, Docker or Podman, the Dapr command-line tool, the agent package, and access to an AI model provider.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/diagrid-labs/dapr-skills/check-prereq-agent-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 diagrid-labs/dapr-skills --skill check-prereq-agent-python
Clone the repo
git clone --depth 1 https://github.com/diagrid-labs/dapr-skills

Made for: Claude Code.

Or install dapr-skills, the plugin that ships this one along with the rest of its 29 skills.

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 check-prereq-agent-python

README.md
[![agentmods](https://agentmods.dev/badge/skills/diagrid-labs/dapr-skills/check-prereq-agent-python/github.svg)](https://agentmods.dev/skills/diagrid-labs/dapr-skills/check-prereq-agent-python)
Your own site
<a href="https://agentmods.dev/skills/diagrid-labs/dapr-skills/check-prereq-agent-python"><img src="https://agentmods.dev/badge/skills/diagrid-labs/dapr-skills/check-prereq-agent-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 check-prereq-agent-python

Your own site · 80×15
<a href="https://agentmods.dev/skills/diagrid-labs/dapr-skills/check-prereq-agent-python"><img src="https://agentmods.dev/badge/skills/diagrid-labs/dapr-skills/check-prereq-agent-python.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,480 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00045 $0.01480
Opus 5.5 $0.00018 $0.00592
Sonnet 5.5 $0.00009 $0.00296
Haiku 4.5 $0.00005 $0.00148

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

Security

Grade A, and why

check-prereq-agent-python scanned grade A with 1 finding 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 8d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Bash(curl -sS -o /dev/null -w "%{http_code}" http://localhost:11434/api/tags --max-time 2)
skills/check-prereq-agent-python/SKILL.md · 92 lines

How it starts

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

Check Prerequisites for Python Agents

Overview

This skill checks whether all prerequisites are installed for building durable AI agents in Python — either with the native dapr-agents SDK (the Dapr Agents framework, which is Python-only) or with a diagrid framework wrapper. Run it only when you ask for it, for example before using the create-agent-python skill. It is never run automatically as a pre-step.

Prerequisites

The following must be installed:

  • Python >=3.11,<3.14 — the bound both dapr-agents and diagrid declare
  • uv (Astral)
  • Pyright LSP Plugin
  • Docker or Podman
  • Dapr CLI (version 1.18+)
  • dapr-agents >=1.0.9, checked as a local install only (native path only — a diagrid[<extra>] project gets it transitively, and either way the project installs it with uv sync)
  • At least one LLM provider available: OPENAI_API_KEY, ANTHROPIC_API_KEY, GOOGLE_API_KEY, or a local Ollama instance on http://localhost:11434

Prerequisite Checks

Run ALL of these checks. Check steps 2–8 in parallel. Track which checks pass and which fail.

Step 1: Detect Operating System

Read the file at ../dapr-shared/prereq-detect-os.md and follow those instructions.

Step 2: Check the Python LSP plugin

Read the file at ../dapr-shared/prereq-check-python-lsp.md and follow those instructions.

Step 3: Check uv

Read the file at ../dapr-shared/prereq-check-uv.md and follow those instructions.

Step 4: Check Python SDK version

Read the full file on GitHub · 92 lines

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. 8d ago Changed · +12 lines · -14 tokens per session ec8450a2a6af
  2. 12d ago Changed · +1 lines 5dbf5f9ef59f
  3. 13d ago Changed · +2 lines 2d7a02040337
  4. 1mo ago First seen · 77 lines · 59 tokens per session scan A 66a73dd4b966

Subscribe to this mod's changes

check-prereq-agent-python is a skill published in the GitHub repository diagrid-labs/dapr-skills (13 stars, last pushed 8d ago), licensed MIT. It adds 45 tokens to every session and 1,480 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

pandas

Use when analyzing or transforming tabular data in Python. Covers vectorized operations, memory-efficient dtypes, correct joins, groupby patterns, and avoiding the silent errors pandas makes easy. Trigger on "pandas is slow", "dataframe runs out of memory", "merge duplicated my rows", "SettingWithCopyWarning". Do not…

nimadorostkar/Claude-Skills-collection · 98 tokens

django

Use when building Django applications. Covers ORM query performance, model design, migrations, Django REST Framework, security defaults, and testing. Trigger on "django view is slow", "too many queries from the orm", "add a drf endpoint", "migration on a big table". Do not use for API contract decisions independent of…

nimadorostkar/Claude-Skills-collection · 75 tokens

fastapi

Use when building APIs with FastAPI. Covers dependency injection, Pydantic v2 validation, async database access, authentication, background tasks, and testing. Trigger on "fastapi endpoint is slow under load", "set up depends for the db session", "pydantic v2 validation error", "test my fastapi app". Do not use for…

nimadorostkar/Claude-Skills-collection · 89 tokens

python

Use when writing, reviewing, or modernizing Python 3.11+ code. Produces fully type-annotated modules, async I/O, dataclasses and protocols, pytest suites, and a lint/type gate built on ruff and mypy --strict. Trigger on "add type hints to this", "mypy is complaining", "convert this to asyncio", "set up pytest for this…

nimadorostkar/Claude-Skills-collection · 108 tokens

neo-python

Use this skill when writing, reviewing, debugging, or architecting Python 3.10+ code, including type hints, structural pattern matching, dataclasses, async/task groups, packaging-aware project structure, testability, and maintainability.

Benknightdark/neo-skills · 51 tokens

freecad-scripts

Expert skill for writing FreeCAD Python scripts, macros, and automation. Use when asked to create FreeCAD models, parametric objects, Part/Mesh/Sketcher scripts, workbench tools, GUI dialogs with PySide, Coin3D scenegraph manipulation, or any FreeCAD Python API task. Covers FreeCAD scripting basics, geometry creation…

boshi-xixixi/TraeSkill · 85 tokens