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 dean0x/devflow --skill pythongit clone --depth 1 https://github.com/dean0x/devflowWrote 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/dean0x/devflow/python)<a href="https://agentmods.dev/skills/dean0x/devflow/python"><img src="https://agentmods.dev/badge/skills/dean0x/devflow/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.
<a href="https://agentmods.dev/skills/dean0x/devflow/python"><img src="https://agentmods.dev/badge/skills/dean0x/devflow/python.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00042 | $0.00655 |
| Opus 5.5 | $0.00017 | $0.00262 |
| Sonnet 5.5 | $0.00008 | $0.00131 |
| Haiku 4.5 | $0.00004 | $0.00065 |
Grade A, and why
python 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 — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Python Patterns
Iron Law
EXPLICIT IS BETTER THAN IMPLICIT [3]
Type-hint every function signature. Name every exception. Use dataclasses over raw dicts. Python's flexibility is a strength only when boundaries are explicit.
Type Safety
- Annotate every parameter and the return:
def process(data: list[dict[str, Any]], config: AppConfig) -> ProcessResult, notdef process(data, config). - Use
from __future__ import annotationsfor forward references, not string annotations (x: "MyClass"). - Use
Protocolfor structural typing, over ABC: any class with matching methods satisfies it, with noimplements. - Write optionals as
User | None(PEP 604), notOptional[User], and handleNoneexplicitly.
Error Handling
- Define custom exception types: a base
AppError(Exception)and subclasses (NotFoundError) that carry structured fields (entity,id). - Catch named exceptions,
except (ValueError, KeyError):. Never a bareexcept:: it catchesSystemExit. - Use context managers for resource cleanup and the unit of work: commit on success, roll back and re-raise on error.
Data Modeling
- Use
@dataclass(frozen=True)for internal value objects, withfield(default_factory=...)for computed defaults. - Use Pydantic models at API boundaries: they validate on instantiation (
EmailStr,Field(ge=0, le=150)). - Use
@dataclassfor domain objects and Pydantic for API models — not interchangeably, and not raw dicts.
Pythonic Patterns
- Comprehensions over loops:
[u.name for u in users if u.active]. enumerate(items), notrange(len(items)).- EAFP over LBYL:
try: value = mapping[key]withexcept KeyError. - No mutable default arguments:
def fn(items: list | None = None), notdef fn(items=[]). - Compose smaller focused classes, not a 50-method god class.
- Tests use pytest fixtures, no repeated setup.
Extended References
references/sources.md— Full bibliographyreferences/patterns.md— Extended patterns: DI, decorators, fixturesreferences/violations.md— Violation examples with citationsreferences/detection.md— Grep patterns for Python issuesreferences/async.md— Async patterns: gather, TaskGroup, generators
What ships with it
5 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.
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 Changed · -98 lines ef4d8785f1e8
- 1mo ago Changed · -23 tokens per session eede8ea208f4
- 3mo ago First seen · 157 lines · 65 tokens per session scan A 2d792e5ea867
python is a skill published in the GitHub repository dean0x/devflow (23 stars, last pushed today), licensed MIT. It adds 42 tokens to every session and 655 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.
python compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pythondean0x/devflow | Skill | 23 | today | MIT | A | 42 | Claude Code |
| design-reviewdimetron/pi-go | Skill | 232 | today | MIT | A | 30 | Claude Code, Codex |
| agents-mddimetron/pi-go | Skill | 232 | today | MIT | A | 138 | Claude Code, Codex |
| plugin-devrube-de/cc-skills | Skill | 11 | today | MIT | A | 49 | Claude Code |
| code-review-gosoulcodex/agentic | Skill | 10 | 11d ago | MIT | A | 61 | Claude Code, Codex |
| code-review-phpsoulcodex/agentic | Skill | 10 | 11d ago | MIT | A | 66 | Claude Code, Codex |
| code-review-pythonsoulcodex/agentic | Skill | 10 | 11d ago | MIT | A | 59 | Claude Code, Codex |