flask-docs

flask-docs is a skill for Claude Code, Codex from cookieMonsterDev/agents-skills. It costs 85 tokens per session (1,088 once invoked), scanned A, original, MIT.

A reference guide for Flask, a lightweight Python framework for building web applications and APIs. It covers routing, requests, responses, templates, testing, and deployment.

In plain words
What is it for?
Use it to build, configure, route, secure, test, deploy, and troubleshoot Flask applications, including blueprints, sessions, error handling, templates, and WSGI deployment.
Why use it?
It helps avoid mixing Flask instructions with those for Django or FastAPI, which are different Python web frameworks. It points to the official Flask documentation.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/cookiemonsterdev/agents-skills/flask-docs
Any agent
npx skills add cookieMonsterDev/agents-skills --skill flask-docs
Clone the repo
git clone --depth 1 https://github.com/cookieMonsterDev/agents-skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for flask-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/cookiemonsterdev/agents-skills/flask-docs.svg)](https://agentmods.dev/skills/cookiemonsterdev/agents-skills/flask-docs)
Your own site
<a href="https://agentmods.dev/skills/cookiemonsterdev/agents-skills/flask-docs"><img src="https://agentmods.dev/badge/skills/cookiemonsterdev/agents-skills/flask-docs.svg" alt="Measured on agentmods" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,088 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00085 $0.01088
Opus 5 $0.00043 $0.00544
Sonnet 5 $0.00017 $0.00218
Haiku 4.5 $0.00009 $0.00109

Measured 3d ago against content hash 40b62100f3b1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

flask-docs 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 3d 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.

docs-skills/flask-docs/SKILL.md · 107 lines

How it starts

The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Flask questions are easy to answer from stale memory or Django/FastAPI assumptions. Use this skill to ground answers in the official Flask documentation and return the closest authoritative page instead of generic Python web advice.

When to Use

Use this skill when the request is about:

  • Flask concepts, application objects, routing, and the request lifecycle
  • Blueprints, application factories, and modular project structure
  • Request and response handling, sessions, and cookies
  • Templates (Jinja), static files, and context processors
  • Error handling, debugging, and logging
  • Configuration, instance folders, and environment variables
  • Testing with the test client and CLI runner
  • Class-based views, signals, and the CLI
  • Security considerations (XSS, CSRF, headers)
  • Deployment, WSGI servers, and async/gevent support
  • Flask extensions and extension development patterns

Do not use this skill for:

  • Django ORM, admin, migrations, or URLconf. Use django-docs instead.
  • FastAPI dependencies, OpenAPI, or Pydantic validation. Use fastapi-docs instead.
  • Werkzeug or Jinja internals unless the question is about Flask's documented integration.
  • Third-party Flask extensions not covered by Flask docs unless the question is about general extension patterns.

Workflow

1. Classify the request

Decide which bucket the question belongs to before searching:

  • Getting started, installation, and quickstart
  • Routing, requests, responses, and sessions
  • Templates, static files, and blueprints
  • Configuration, application context, and request context
  • Error handling, debugging, and logging
  • Testing and CLI
  • Patterns, security, and deployment
  • API reference

If you need a quick starting point, load references/topic-map.md and jump to the closest section.

2. Search official Flask docs first

  • Treat flask.palletsprojects.com/en/stable as the source of truth for Flask.
  • Prefer pages under https://flask.palletsprojects.com/en/stable/.
  • Search with the user's exact terms plus focused Flask phrases such as Blueprint, application factory, g, session, test_client, or before_request.
  • When multiple pages are plausible, compare 2-3 candidate pages and pick the one that most directly answers the user's question.
  • For version-specific changes, check the Changes page before answering from older knowledge.

Read the full file on GitHub · 107 lines

Files

What ships with it

2 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.

Changes

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.

  1. 3d ago First seen · 107 lines · 85 tokens per session scan A 40b62100f3b1

Subscribe to this mod's changes

flask-docs is a skill published in the GitHub repository cookieMonsterDev/agents-skills (4 stars, last pushed 14d ago), licensed MIT. It adds 85 tokens to every session and 1,088 once invoked, about $0.0004 per session on Opus 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-31.

Related

Other skills, from other repositories

developing-kafka-python-client

Use when the user wants to build a Python Kafka producer or consumer, add Schema Registry to existing Python code, migrate from raw JSON to schema-backed serialization, or scaffold a confluent-kafka-python project for Confluent Cloud, local Docker, or WarpStream. Also use when user wants to optimize Python Kafka…

confluentinc/agent-skills · 75 tokens

python-api

Look up the public API of a Python package against the installed version and cache what's worth keeping. Four shapes by question type: (0) cache hit under scratch/api/ / /; (1) inspect.signature + pydoc.renderdoc for a symbol; (2) dir / pkgutil.itermodules for a module surface; (3) WebSearch + WebFetch of versioned…

probabl-ai/skills · 466 tokens

python-code-style

Owns Python code style for this stack: ruff for lint + format, numpydoc for docstrings. Three responsibilities — (1) place the project's ruff.toml from the bundled template once the stack and workspace are in place, (2) run ruff against any Python files Claude has just generated or edited, and (3) contextualize each…

probabl-ai/skills · 425 tokens

python-services

Python patterns for CLI tools, async concurrency, and backend services. Use when working with Python code, building CLI apps, FastAPI services, async with asyncio, background jobs, or configuring uv, ruff, ty, pytest, or pyproject.toml.

iliaal/ai-skills · 55 tokens

data-science-python-stack

Opinionated Python stack for data-science / ML work — one library per job, organized into tiers (mandatory / user choice / optional / transitive). SKILL.md is the index; per-library references/ .md files carry scope, "pick this when" / "pick something else when", and pairings. TRIGGER when (any of these): (1) a…

probabl-ai/skills · 426 tokens

uv

Use this skill when working with Python projects, packages, scripts, environments, or dependencies using uv. Activates on mentions of uv, uv add, uv sync, uv run, uv lock, uv init, uv build, uv publish, uv export, uv python, uvx, uv tool, uv pip, uv venv, uv workspace, uv audit, uv version, pyproject.toml…

hyperb1iss/hyperskills · 100 tokens