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 ApexIQ/skillsmith --skill python_expertgit clone --depth 1 https://github.com/ApexIQ/skillsmithWrote 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/apexiq/skillsmith/python_expert)<a href="https://agentmods.dev/skills/apexiq/skillsmith/python_expert"><img src="https://agentmods.dev/badge/skills/apexiq/skillsmith/python_expert/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/apexiq/skillsmith/python_expert"><img src="https://agentmods.dev/badge/skills/apexiq/skillsmith/python_expert.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.00047 | $0.02152 |
| Opus 5.5 | $0.00019 | $0.00861 |
| Sonnet 5.5 | $0.00009 | $0.00430 |
| Haiku 4.5 | $0.00005 | $0.00215 |
Grade A, and why
python-expert 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 3mo 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.
response = requests.get(f"/api/users/{uid}") # blocks How it starts
The opening of the file, as written. The whole thing — 271 lines — stays where its author put it; the contents beside it link to each section on GitHub.
🐍 Python Expert — Production-Grade Python
Philosophy: Python's simplicity is its power. Write code that reads like well-edited prose — explicit, flat, and simple. If your code needs a comment to explain what it does, rewrite the code.
1. When to Use This Skill
- Writing new Python modules, packages, or scripts
- Reviewing Python code for idioms and best practices
- Structuring Python projects for packaging and distribution
- Optimizing Python performance
- Writing async Python code
- Debugging Python-specific issues
2. Modern Python Idioms (3.10+)
Type Hints — Always
# GOOD: Fully typed
def fetch_users(
team_id: str,
active_only: bool = True,
limit: int = 100,
) -> list[User]:
"""Fetch users for a team."""
...
# BAD: No types — impossible to maintain
def fetch_users(team_id, active_only=True, limit=100):
...
Structural Pattern Matching (3.10+)
# GOOD: Pattern matching for complex dispatch
match command:
case {"action": "create", "data": data}:
return create_item(data)
case {"action": "delete", "id": item_id}:
return delete_item(item_id)
case {"action": action}:
raise ValueError(f"Unknown action: {action}")
case _:
raise ValueError("Invalid command format")
Dataclasses & Pydantic Over Raw Dicts
# GOOD: Typed, validated, documented
from dataclasses import dataclass, field
from datetime import datetime
@dataclass
class User:
id: str
name: str
email: str
role: str = "member"
created_at: datetime = field(default_factory=datetime.now)
# BETTER for APIs: Pydantic with validation
from pydantic import BaseModel, EmailStr, Field
class UserCreate(BaseModel):
name: str = Field(min_length=2, max_length=100)
email: EmailStr
role: str = Field(default="member", pattern="^(member|admin|viewer)$")
# BAD: Raw dict — no validation, no docs, typo-prone
user = {"name": "Jane", "emial": "[email protected]"} # typo? who knows
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.
- 3mo ago First seen · 271 lines · 47 tokens per session scan A 4df7ba48dc97
python-expert is a skill published in the GitHub repository ApexIQ/skillsmith (5 stars, last pushed 8mo ago), licensed MIT. It adds 47 tokens to every session and 2,152 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-31.
python-expert compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| python-expertApexIQ/skillsmith | Skill | 5 | 8mo ago | MIT | A | 47 | Claude Code, Codex |
| async-fastapiVersoXBT/claude-initial-setup | Skill | 4 | 6mo ago | MIT | A | 72 | Claude Code |
| dependency-injection-fastapiVersoXBT/claude-initial-setup | Skill | 4 | 6mo ago | MIT | A | 70 | Claude Code |
| pydantic-validationVersoXBT/claude-initial-setup | Skill | 4 | 6mo ago | MIT | A | 77 | Claude Code |
| project-structure-pythonVersoXBT/claude-initial-setup | Skill | 4 | 6mo ago | MIT | A | 78 | Claude Code |
| pythonic-patternsVersoXBT/claude-initial-setup | Skill | 4 | 6mo ago | MIT | A | 71 | Claude Code |
| type-hints-guideVersoXBT/claude-initial-setup | Skill | 4 | 6mo ago | MIT | A | 79 | Claude Code |