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 AratKruglik/claude-sdlc --skill flask-conventionsgit clone --depth 1 https://github.com/AratKruglik/claude-sdlcWrote 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/aratkruglik/claude-sdlc/flask-conventions)<a href="https://agentmods.dev/skills/aratkruglik/claude-sdlc/flask-conventions"><img src="https://agentmods.dev/badge/skills/aratkruglik/claude-sdlc/flask-conventions/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/aratkruglik/claude-sdlc/flask-conventions"><img src="https://agentmods.dev/badge/skills/aratkruglik/claude-sdlc/flask-conventions.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.00215 | $0.03352 |
| Opus 5.5 | $0.00086 | $0.01341 |
| Sonnet 5.5 | $0.00043 | $0.00670 |
| Haiku 4.5 | $0.00021 | $0.00335 |
Grade A, and why
flask-conventions 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 17d 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 — 503 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Flask Conventions
Detection
Read pyproject.toml or requirements.txt before writing any Flask code:
grep -E "flask|Flask" requirements.txt pyproject.toml
Determine the installed extensions:
| Check | Meaning |
|---|---|
flask-login present |
Session-based auth — use @login_required, login_user(), logout_user() |
flask-jwt-extended present |
Token-based auth — use @jwt_required(), create_access_token() |
marshmallow or flask-marshmallow present |
JSON API validation — use Schema.load() / Schema.dump() |
flask-wtf present |
HTML form validation — use FlaskForm with validate_on_submit() |
flask-sqlalchemy present |
ORM — use db.Model, db.session |
flask-migrate present |
Migrations — flask db migrate, flask db upgrade |
App factory
Define create_app() in app/__init__.py. Never instantiate Flask at module level in a way that creates side effects — the factory pattern allows multiple app instances for testing.
# app/__init__.py
from flask import Flask
from app.config import config_by_name
from app.extensions import db, login_manager, migrate
def create_app(config_name: str = "development") -> Flask:
app = Flask(__name__)
app.config.from_object(config_by_name[config_name])
_init_extensions(app)
_register_blueprints(app)
_register_error_handlers(app)
return app
def _init_extensions(app: Flask) -> None:
db.init_app(app)
migrate.init_app(app, db)
login_manager.init_app(app)
def _register_blueprints(app: Flask) -> None:
from app.auth.views import auth_bp
from app.users.views import users_bp
from app.orders.views import orders_bp
app.register_blueprint(auth_bp)
app.register_blueprint(users_bp)
app.register_blueprint(orders_bp)
def _register_error_handlers(app: Flask) -> None:
from app.errors import register_error_handlers
register_error_handlers(app)
Initialize extensions at module level in app/extensions.py, then call .init_app(app) in the factory. This avoids circular imports.
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.
- 17d ago Changed · +8 lines 11f024814556
- 2mo ago Changed · +2 lines c5be3be99399
- 3mo ago First seen · 493 lines · 215 tokens per session scan A f850fe97b5e7
flask-conventions is a skill published in the GitHub repository AratKruglik/claude-sdlc (58 stars, last pushed yesterday), licensed MIT. It adds 215 tokens to every session and 3,352 once invoked, about $0.0009 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.
flask-conventions compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| flask-conventionsAratKruglik/claude-sdlc | Skill | 58 | yesterday | MIT | A | 215 | Claude Code |
| fastapi-patternsaffaan-m/ECC | Skill | 316k | 3d 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 | yesterday | MIT | A | 64 | Claude Code |
| azure-mgmt-botservice-pymicrosoft/skills | Skill | 3.3k | yesterday | MIT | A | 59 | Claude Code |
| azure-messaging-webpubsubservice-pybenjaminasterA/antigravity-awesome-skills | Skill | 527 | yesterday | MIT | A | 0 | Claude Code, Codex |
| azure-appconfiguration-pybenjaminasterA/antigravity-awesome-skills | Skill | 527 | yesterday | MIT | A | 0 | Claude Code, Codex |