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 michalstrnadel/source-to-skill --skill flaskgit clone --depth 1 https://github.com/michalstrnadel/source-to-skillWrote 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/michalstrnadel/source-to-skill/flask)<a href="https://agentmods.dev/skills/michalstrnadel/source-to-skill/flask"><img src="https://agentmods.dev/badge/skills/michalstrnadel/source-to-skill/flask/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/michalstrnadel/source-to-skill/flask"><img src="https://agentmods.dev/badge/skills/michalstrnadel/source-to-skill/flask.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.00167 | $0.02337 |
| Opus 5.5 | $0.00067 | $0.00935 |
| Sonnet 5.5 | $0.00033 | $0.00467 |
| Haiku 4.5 | $0.00017 | $0.00234 |
Grade A, and why
flask 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 — 149 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Flask
Source: https://github.com/pallets/flask - README plus the docs/ tree
(77 pages). Flask is a lightweight WSGI web application framework: quick to
start, able to scale to complex apps. It depends on Werkzeug (WSGI), Jinja
(templates), MarkupSafe (escaping), ItsDangerous (signing the session
cookie), Click (the flask command) and Blinker (signals). Supports
Python 3.10 and newer.
Core mental model
- "Micro" means a small, extensible core, not a toy. Flask picks the template engine (Jinja) and the WSGI layer (Werkzeug) and nothing else. It will never ship a database layer or a form library. Extensions cover those.
- One explicit application object.
app = Flask(__name__). Flask uses__name__to find templates, static files and resources relative to your package. An explicit object means you can run several apps at once (useful for tests), subclassFlask, and wrap the WSGI app in middleware. - Setup phase vs. serving phase. Register routes, blueprints, config,
Jinja settings and extensions before the first request. WSGI servers run
many workers, so changes made later never reach all of them. Flask raises
an error if you call a setup method such as
routeafter the app has handled a request. - Context-local proxies.
current_app,g,requestandsessionpoint at the active context of the current worker (thread, greenlet, coroutine). An app context (CLI,with app.app_context()) givescurrent_appandg. A request addsrequestandsession. Accessing them outside a context raisesRuntimeError: Working outside of application/request context. - Return values become responses: str, bytes or iterator → body. dict or
list → JSON.
(body, status),(body, headers)or(body, status, headers)→ body plus overrides. AResponsepasses through unchanged. Anything else is treated as a WSGI app. - Production is never
flask run. The development server and its debugger allow arbitrary code execution. Use a WSGI server, usually behind a reverse proxy.
What ships with it
17 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.
- cheatsheet.md 7.4 KB
- evals/evals.json 4.5 KB
- evals/last-run.json 2.5 KB
- guides/app-structure.md 10 KB
- guides/cli.md 4.4 KB
- guides/configuration.md 6.8 KB
- guides/deployment.md 6.9 KB
- guides/errors-logging-debugging.md 6.1 KB
- guides/extensions.md 4.6 KB
- guides/getting-started.md 3.3 KB
- guides/patterns.md 6.6 KB
- guides/routing-and-views.md 7.7 KB
- guides/security.md 5.0 KB
- guides/templates-and-frontend.md 6.6 KB
- guides/testing.md 4.7 KB
- guides/tutorial-flaskr.md 5.6 KB
- source.json 6.6 KB
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 First seen · 149 lines · 167 tokens per session scan A fa6c820a7f5b
flask is a skill published in the GitHub repository michalstrnadel/source-to-skill (10 stars, last pushed 1mo ago), licensed MIT. It adds 167 tokens to every session and 2,337 once invoked, about $0.0007 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-10-05.
flask compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| flaskmichalstrnadel/source-to-skill | Skill | 10 | 1mo ago | MIT | A | 167 | Claude Code |
| clean-architecture-pythonSebastienDegodez/skraft-plugin | Skill | 17 | today | GPL-3.0 | A | 73 | Claude Code |
| async-python-patternsrootcastleco/rei-skills | Skill | 11 | 7d ago | none | A | 40 | Claude Code, Codex |
| fastapi-patternsaffaan-m/ECC | Skill | 313k | 7d ago | MIT | A | 35 | Claude Code, Kiro |
| stripe-projectse2b-dev/E2B | Skill | 15k | yesterday | Apache-2.0 | A | 51 | Claude Code, Codex |
| azure-messaging-webpubsubservice-pymicrosoft/skills | Skill | 3.3k | 3d ago | MIT | A | 64 | Claude Code |
| azure-appconfiguration-pybenjaminasterA/antigravity-awesome-skills | Skill | 523 | today | MIT | A | 0 | Claude Code, Codex |