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 j4flmao/agent-skills --skill flaskgit clone --depth 1 https://github.com/j4flmao/agent-skillsWrote 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/j4flmao/agent-skills/flask)<a href="https://agentmods.dev/skills/j4flmao/agent-skills/flask"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/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/j4flmao/agent-skills/flask"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/flask.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Privilege Escalation · line 116 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
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.00069 | $0.04479 |
| Opus 5.5 | $0.00028 | $0.01792 |
| Sonnet 5.5 | $0.00014 | $0.00896 |
| Haiku 4.5 | $0.00007 | $0.00448 |
Grade A, and why
flask-backend 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 — 552 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Flask Backend
Purpose
Define Flask backend application architecture: lightweight server setup, blueprint organization, extension integration, and WSGI deployment.
Agent Protocol
Trigger
User request includes: flask, flask backend, flask blueprint, flask app factory, flask sqlalchemy, flask extension, flask rest api, python flask.
Input Context
- Python version (3.10+)
- Flask version (3.x)
- Database ORM (SQLAlchemy, Peewee)
- API style (REST, Flask-RESTx)
- Template engine (Jinja2, none for SPA)
- Deployment (Gunicorn, uWSGI, serverless)
Output Artifact
A markdown document containing:
- Project structure
- Application factory pattern
- Blueprint organization
- Extension initialization pattern
- Error handling (app.errorhandler)
- Configuration management
- Testing (pytest, app.test_client)
- CLI commands (click integration)
Response Format
Produce the artifact directly. No preamble, no postamble, no explanations. No filler, no hedging. Compress output.
Completion Criteria
- Application factory creates configurable app instances
- Blueprints group related routes and templates
- Extensions initialized via init_app pattern
- Error handlers registered at app level
- Tests use app.test_client fixture
Max Response Length
4096 tokens
Workflow
Step 1: Project Setup
pip install flask flask-sqlalchemy flask-migrate pydantic
pip install pytest pytest-cov # dev
pip install gunicorn # production
pip install flask-cors flask-limiter redis # optional
Step 2: Project Structure
project/
+-- app/
| +-- __init__.py
| +-- extensions.py
| +-- config.py
| +-- models/
| | +-- __init__.py
| | +-- order.py
| | +-- user.py
| +-- blueprints/
| | +-- orders/
| | | +-- __init__.py
| | | +-- routes.py
| | | +-- schemas.py
| | | +-- service.py
| | +-- products/
| | | +-- __init__.py
| | | +-- routes.py
| | | +-- service.py
| | +-- auth/
| | | +-- __init__.py
| | | +-- routes.py
| | | +-- service.py
| | +-- health/
| | +-- __init__.py
| | +-- routes.py
| +-- services/
| | +-- __init__.py
| | +-- order_service.py
| | +-- payment_service.py
| +-- utils/
| | +-- __init__.py
| | +-- errors.py
| | +-- pagination.py
| | +-- decorators.py
| +-- templates/
| +-- base.html
| +-- orders/
| +-- list.html
| +-- detail.html
+-- migrations/
+-- tests/
| +-- conftest.py
| +-- test_orders.py
| +-- test_health.py
| +-- factories.py
+-- .env
+-- .flaskenv
+-- requirements.txt
+-- wsgi.py
+-- Dockerfile
What ships with it
8 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.
- references/flask-application-factory.md 30 KB
- references/flask-blueprints-factories.md 3.9 KB
- references/flask-deployment.md 4.3 KB
- references/flask-extensions.md 4.2 KB
- references/flask-restful-api-design.md 29 KB
- references/flask-security.md 5.0 KB
- references/flask-setup.md 3.0 KB
- references/flask-testing.md 4.3 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 · 552 lines · 69 tokens per session scan A 5a2ee16d7e22
flask-backend is a skill published in the GitHub repository j4flmao/agent-skills (34 stars, last pushed 17d ago), licensed MIT. It adds 69 tokens to every session and 4,479 once invoked, about $0.0003 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.
Other skills, from other repositories
async-python-patterns
Build high-performance Python applications with asyncio, concurrency patterns, and async/await. Use when the user needs async APIs, concurrent workflows, or non-blocking I/O-heavy systems.
fastapi-patterns
FastAPI patterns for async APIs, dependency injection, Pydantic request and response models, OpenAPI docs, tests, security, and production readiness.
status
Show whether Mem0 memory is working in this repository, covering configuration, capture state, pending flushes, and whether the Mem0 API key is valid. Use when the user asks whether memory is on, why a memory is missing, or anything looks broken.
mem0-oss-to-platform
Plan, then execute, a migration of a project from the mem0 open-source / self-hosted SDK (local Memory class) to the mem0 Platform / hosted SDK (MemoryClient). TRIGGER when: the developer wants to move, switch, or migrate mem0 off OSS/self-hosted to the hosted API, e.g. "migrate my mem0 setup to the platform", "switch…
stripe-projects
Use after E2B sandbox/API access has been provisioned through Stripe Projects and the user needs to use the resulting E2B API key with the E2B CLI, JavaScript SDK, Python SDK, or Code Interpreter SDK.
azure-messaging-webpubsubservice-py
Azure Web PubSub Service SDK for Python. Use for real-time messaging, WebSocket connections, and pub/sub patterns. Triggers: "azure-messaging-webpubsubservice", "WebPubSubServiceClient", "real-time", "WebSocket", "pub/sub".