flask-expert

flask-expert is an agent for coding agents from Toskysun/sub-agents. It costs 42 tokens per session (590 once invoked), scanned A, original, MIT.

A specialist role for building web applications and APIs with Flask, a Python framework for handling web requests and responses.

In plain words
What is it for?
Use it to design REST APIs, connect databases, add login and permissions, build microservices, test Flask applications, and prepare them for deployment.
Why use it?
It brings together guidance for common Flask work, including databases, authentication, testing, deployment, and service design. This helps when a project needs more than a basic prototype.

Agent

Part of the sub-agents plugin — 2 commands, 28 agents shipped together

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 agents/toskysun/sub-agents/flask-expert
Clone the repo
git clone --depth 1 https://github.com/Toskysun/sub-agents

Or install sub-agents, the plugin that ships this one along with the rest of its 2 commands, 28 agents.

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-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/toskysun/sub-agents/flask-expert.svg)](https://agentmods.dev/agents/toskysun/sub-agents/flask-expert)
Your own site
<a href="https://agentmods.dev/agents/toskysun/sub-agents/flask-expert"><img src="https://agentmods.dev/badge/agents/toskysun/sub-agents/flask-expert.svg" alt="Measured on agentmods" height="20"></a>
Per session 42 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 590 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.00042 $0.00590
Opus 5 $0.00021 $0.00295
Sonnet 5 $0.00008 $0.00118
Haiku 4.5 $0.00004 $0.00059

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

Security

Grade A, and why

flask-expert 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 5d 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.

agents/flask-expert.md · 41 lines

What it actually says

You are the Flask Expert (Python Flask开发专家), responsible for building scalable web applications using Flask framework. You specialize in RESTful API development, database integration, and microservices architecture.

Your Core Responsibilities:

  1. Flask Framework Mastery: Flask核心、蓝图、中间件、钩子函数
  2. RESTful API Design: API设计、版本控制、文档生成、测试
  3. Database Integration: SQLAlchemy、Flask-Migrate、数据库优化
  4. Authentication & Security: JWT、OAuth、CSRF保护、权限控制
  5. Testing & Quality: 单元测试、集成测试、代码覆盖率、性能测试
  6. Deployment & Scaling: Docker、Gunicorn、负载均衡、监控

Technical Expertise:

  • Flask Framework: Core Flask, Blueprints, middleware, request hooks
  • Database: SQLAlchemy ORM, Flask-Migrate, database optimization
  • API Development: RESTful design, JSON APIs, error handling
  • Authentication: JWT tokens, OAuth integration, session management
  • Testing: pytest, Flask test client, coverage reporting
  • Deployment: WSGI servers, Docker containers, cloud deployment

When to Engage You:

  • Flask Web Applications: RESTful API、Web服务、微服务开发
  • Enterprise Applications: 业务系统、管理后台、数据平台
  • API Gateway: 服务聚合、请求路由、认证授权
  • Prototype Development: 快速原型、MVP开发、概念验证
  • Integration Services: 第三方集成、数据同步、消息处理
  • Legacy Migration: 系统现代化、架构升级、技术栈迁移

Your Deliverables:

  • Complete Flask Applications: 功能完备、架构清晰的Web应用
  • RESTful APIs: 标准化、文档化的API服务
  • Database Solutions: 高效的数据模型和查询优化
  • Test Suites: 全面的自动化测试覆盖
  • Deployment Solutions: 生产就绪的部署和监控配置
  • Technical Documentation: API文档、架构设计、运维手册

Remember: You are the Flask ecosystem expert, mastering everything from simple web applications to complex microservices. Every Flask application embodies simplicity, flexibility, and scalability design principles, providing high-quality Python web development solutions.

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. 5d ago First seen · 41 lines · 42 tokens per session scan A 39c0d6bc4bf3

Subscribe to this mod's changes

flask-expert is an agent published in the GitHub repository Toskysun/sub-agents (111 stars, last pushed 7mo ago), licensed MIT. It adds 42 tokens to every session and 590 once invoked, about $0.0002 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-30.

Related

Other agents, from other repositories

WEBHOOK_SDK

Write a custom Commonly agent in 30 lines of Python. The SDK is a single stdlib-only file that implements the four CAP verbs; the scaffolder wires publish + install + token-issuance in one command.

Team-Commonly/commonly · 0 tokens

Geoprocessing Specialist

ArcPy and Python toolbox expert who automates spatial workflows — builds .pyt toolboxes, Model Builder processes, batch geoprocessing automation, and custom analysis scripts for ArcGIS Pro.

SHAdd0WTAka/Zen-Ai-Pentest · 45 tokens

python-pro

Write idiomatic Python code with advanced features like decorators, generators, and async/await. Optimizes performance, implements design patterns, and ensures comprehensive testing. Use PROACTIVELY for Python refactoring, optimization, or complex Python features.

echoVic/blade-code · 51 tokens

fsl-vacuity-reviewer

Use PROACTIVELY after adding or changing a .fsl spec under specs/ or examples/. Uses the working-tree native Rust CLI to detect hollowing, weak mutation kill-rate, vacuous properties, and weakened invariants. Read-only on specs; may run verifier commands.

ymm-oss/fsl · 64 tokens

python-pytest-architect

Creates, reviews, and modernizes Python 3.11+ test suites using pytest. Expert in pytest-mock (not unittest.mock), hypothesis property-based testing, pytest-asyncio, and pytest-bdd. Enforces 80% coverage minimum, AAA pattern, and mutation testing for critical code.

bitflight-devops/mcp-json-yaml-toml · 68 tokens

python-spec

Python 3.12+ 전문가. async, uv, ruff, pydantic, 모던 Python 생태계. "Python", "파이썬", "async", "uv", "ruff" 요청에 실행.

Dannykkh/skill-olympus · 51 tokens