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 ProjAnvil/MindForge --skill python-developmentgit clone --depth 1 https://github.com/ProjAnvil/MindForgeWrote 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/projanvil/mindforge/python-development)<a href="https://agentmods.dev/skills/projanvil/mindforge/python-development"><img src="https://agentmods.dev/badge/skills/projanvil/mindforge/python-development/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/projanvil/mindforge/python-development"><img src="https://agentmods.dev/badge/skills/projanvil/mindforge/python-development.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.00074 | $0.02474 |
| Opus 5.5 | $0.00030 | $0.00990 |
| Sonnet 5.5 | $0.00015 | $0.00495 |
| Haiku 4.5 | $0.00007 | $0.00247 |
Grade A, and why
python-development 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 16d 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.
This is a copy
100% identical to python-development — 380 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 183 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Python Development — Language Core
This skill is about the Python language itself: its syntax, type system, concurrency and async model, the GIL, generators, context managers, and the idioms and gotchas that follow from the data model. It is deliberately framework-neutral. App-level and framework recipes live in references/; see the Framework Selection section below.
Gotchas
Each trap is written as symptom → why → fix, because the why is the part worth remembering.
1. Mutable default arguments
- Symptom: a function "remembers" data across calls;
def add(x, bucket=[])keeps growing. - Why: default values are evaluated once, when the
defexecutes, and that one object is reused. - Fix: default to
Noneand build the object inside the body.
def add(x, bucket=None):
if bucket is None: # a fresh object on every call
bucket = []
bucket.append(x)
return bucket
2. Late-binding closures in loops
- Symptom: a list of lambdas all return the last loop value.
- Why: closures capture the variable, not its value, and resolve it when called — after the loop ends.
- Fix: freeze the value now with a default argument.
funcs = [lambda i=i: i for i in range(3)] # bind i at definition time
3. GIL and CPU-bound work
- Symptom: adding threads does not speed up a CPU-heavy loop; it can even be slower.
- Why: the GIL lets one thread execute bytecode at a time, so CPU-bound threads serialize.
- Fix: use processes (
concurrent.futures.ProcessPoolExecutor) for CPU work; reserve threads andasynciofor I/O-bound waits.
4. Blocking calls inside async def
- Symptom: one coroutine freezes the whole event loop; unrelated tasks stall.
- Why:
time.sleep, blocking I/O and CPU loops neverawait, so control never returns to the loop. - Fix:
await asyncio.sleep(...)for delays andawait asyncio.to_thread(...)for blocking calls.
result = await asyncio.to_thread(blocking_read, path) # run off the loop
What ships with it
3 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.
- 16d ago Changed · -134 lines · +11 tokens per session 032fde4c3f2a
- 1mo ago Changed · +8 lines 8385b3765c57
- 3mo ago First seen · 309 lines · 63 tokens per session scan A f5c500b6a4d0
python-development is a skill published in the GitHub repository ProjAnvil/MindForge (3 stars, last pushed 9d ago), licensed MIT. It adds 74 tokens to every session and 2,474 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to python-development, differing in 380 lines, and is treated as a copy.
python-development compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| python-developmentProjAnvil/MindForge | Skill | 3 | 9d ago | MIT | A | 74 | Claude Code |
| django-patternsaffaan-m/ECC | Skill | 314k | yesterday | MIT | A | 32 | Claude Code, Kiro |
| fastapi-patternsaffaan-m/ECC | Skill | 314k | yesterday | MIT | A | 35 | Claude Code, Kiro |
| fastapi-templateswshobson/agents | Skill | 43k | yesterday | MIT | A | 37 | Claude Code |
| djangoclaude-dev-suite/claude-dev-suite | Skill | 51 | today | MIT | A | 121 | Claude Code |
| fastapiclaude-dev-suite/claude-dev-suite | Skill | 51 | today | MIT | A | 122 | Claude Code |
| flaskclaude-dev-suite/claude-dev-suite | Skill | 51 | today | MIT | A | 122 | Claude Code |