check-prereq-agent-python

check-prereq-agent-python is a skill for Claude Code from diagrid-labs/dapr-skills. It costs 59 tokens per session (1,012 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 — 18 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 18 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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,012 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.00059 $0.01012
Opus 5 $0.00030 $0.00506
Sonnet 5 $0.00012 $0.00202
Haiku 4.5 $0.00006 $0.00101

Measured 8d ago against content hash 66a73dd4b966, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-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:*)
skills/check-prereq-agent-python/SKILL.md · 77 lines

How it starts

The opening of the file, as written. The whole thing — 77 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 this skill before using the create-agent-python skill.

Prerequisites

The following must be installed:

  • Python >=3.11,<3.14 — the bound both dapr-agents and diagrid declare
  • uv (Astral)
  • Docker or Podman
  • Dapr CLI (version 1.18+)
  • dapr-agents >=1.0 reachable from the package index (native path only — a diagrid[<extra>] project gets it transitively)
  • 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 ../shared/prereq-detect-os.md and follow those instructions.

Step 2: Check the Python LSP plugin

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

Step 3: Check uv

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

Step 4: Check Python SDK version

Read the file at ../shared/prereq-check-python-sdk.md and follow those instructions, with this override: the shared check rejects anything below Python 3.12 because it targets workflow skills. Agent skills accept 3.11 up to but excluding 3.14. Treat 3.11.x as passing. Fail 3.10.x and below, and also fail 3.14 and above — neither dapr-agents nor diagrid resolves there, both declaring >=3.11,<3.14.

Read the full file on GitHub · 77 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 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 (12 stars, last pushed 15d ago), licensed MIT. It adds 59 tokens to every session and 1,012 once invoked, about $0.0003 per session on Opus 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

astropy

Core Python library for astronomy and astrophysics workflows that need Astropy APIs, including units/quantities, coordinates, FITS I/O, tables, time systems, WCS, and cosmology. Use when implementing or debugging astronomical data analysis code with Astropy.

K-Dense-AI/scientific-agent-skills · 56 tokens

cobrapy

Constraint-based metabolic modeling (COBRA). FBA, FVA, gene knockouts, flux sampling, SBML models, for systems biology and metabolic engineering analysis.

K-Dense-AI/scientific-agent-skills · 38 tokens

dask

Distributed computing for larger-than-RAM pandas/NumPy workflows. Use when you need to scale existing pandas/NumPy code beyond memory or across clusters. Best for parallel file processing, distributed ML, integration with existing pandas code. For out-of-core analytics on single machine use vaex; for in-memory speed…

K-Dense-AI/scientific-agent-skills · 69 tokens

matlab

Build, review, migrate, and safely plan MATLAB or GNU Octave numerical workflows, including arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.

K-Dense-AI/scientific-agent-skills · 42 tokens

bioservices

Unified Python interface to 40+ bioinformatics services. Use when querying multiple databases (UniProt, KEGG, ChEMBL, Reactome) in a single workflow with consistent API. Best for cross-database analysis, ID mapping across services. For quick single-database lookups use gget; for sequence/file manipulation use…

K-Dense-AI/scientific-agent-skills · 73 tokens

optimize-for-gpu

GPU-accelerates scientific Python on NVIDIA hardware and verifies that the result is correct and faster. Use for CUDA/GPU optimization; CPU-bound NumPy, SciPy, pandas, scikit-learn, NetworkX, scikit-image, vector-search, image-processing, graph, simulation, or file-I/O workloads; CuPy, cuDF, cuML, cuGraph, cuVS…

K-Dense-AI/scientific-agent-skills · 151 tokens