blueprint

blueprint is a command for Claude Code from swesmith/davila7__claude-code-templates.734b8a50. It costs 0 tokens per session (1,401 once invoked), scanned A, a copy of blueprint, MIT.

A Flask command that creates a blueprint, which is a self-contained group of routes, views, templates, static files, and related code. Flask is a Python web framework.

In plain words
What is it for?
Use it to scaffold modular areas such as user pages or versioned API sections, including routes, error handlers, templates, and static files.
Why use it?
It helps keep features separate and makes a Flask application easier to organize as it grows.

Command for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to scaffold modular areas such as user pages or versioned API sections, including routes, error handlers, templates, and static files.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/swesmith/davila7__claude-code-templates.734b8a50/blueprint
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.

Clone the repo
git clone --depth 1 https://github.com/swesmith/davila7__claude-code-templates.734b8a50

Made for: Claude Code.

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 blueprint

README.md
[![agentmods](https://agentmods.dev/badge/commands/swesmith/davila7__claude-code-templates.734b8a50/blueprint/github.svg)](https://agentmods.dev/commands/swesmith/davila7__claude-code-templates.734b8a50/blueprint)
Your own site
<a href="https://agentmods.dev/commands/swesmith/davila7__claude-code-templates.734b8a50/blueprint"><img src="https://agentmods.dev/badge/commands/swesmith/davila7__claude-code-templates.734b8a50/blueprint/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.

agentmods 80×15 button for blueprint

Your own site · 80×15
<a href="https://agentmods.dev/commands/swesmith/davila7__claude-code-templates.734b8a50/blueprint"><img src="https://agentmods.dev/badge/commands/swesmith/davila7__claude-code-templates.734b8a50/blueprint.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,401 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.1 $0.00000 $0.01401
Opus 5 $0.00000 $0.00700
Sonnet 5 $0.00000 $0.00280
Haiku 4.5 $0.00000 $0.00140

Measured 6d ago against content hash 7fab6ba1113f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

blueprint 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 6d 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.

Origin

This is a copy

100% identical to blueprint — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

cli-tool/templates/python/examples/flask-app/.claude/commands/blueprint.md · 244 lines

How it starts

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

Flask Blueprint Generator

Create organized Flask blueprints for modular application structure.

Usage

# Create a new blueprint
flask create-blueprint users
flask create-blueprint api/v1

Blueprint Structure

Generates a complete blueprint with:

  • Routes and view functions
  • Error handlers
  • Template folder structure
  • Static file organization

Example Blueprint

# app/blueprints/users/__init__.py
from flask import Blueprint

users_bp = Blueprint(
    'users',
    __name__,
    url_prefix='/users',
    template_folder='templates',
    static_folder='static'
)

from . import routes, models

# app/blueprints/users/routes.py
from flask import render_template, request, redirect, url_for, flash
from . import users_bp
from .models import User
from .forms import UserForm

@users_bp.route('/')
def index():
    """List all users."""
    users = User.query.all()
    return render_template('users/index.html', users=users)

@users_bp.route('/create', methods=['GET', 'POST'])
def create():
    """Create a new user."""
    form = UserForm()
    if form.validate_on_submit():
        user = User(
            username=form.username.data,
            email=form.email.data
        )
        user.save()
        flash('User created successfully!', 'success')
        return redirect(url_for('users.index'))
    return render_template('users/create.html', form=form)

@users_bp.route('/<int:user_id>')
def detail(user_id):
    """Show user details."""
    user = User.query.get_or_404(user_id)
    return render_template('users/detail.html', user=user)

@users_bp.route('/<int:user_id>/edit', methods=['GET', 'POST'])
def edit(user_id):
    """Edit an existing user."""
    user = User.query.get_or_404(user_id)
    form = UserForm(obj=user)
    if form.validate_on_submit():
        user.username = form.username.data
        user.email = form.email.data
        user.save()
        flash('User updated successfully!', 'success')
        return redirect(url_for('users.detail', user_id=user.id))
    return render_template('users/edit.html', form=form, user=user)

@users_bp.route('/<int:user_id>/delete', methods=['POST'])
def delete(user_id):
    """Delete a user."""
    user = User.query.get_or_404(user_id)
    user.delete()
    flash('User deleted successfully!', 'success')
    return redirect(url_for('users.index'))

# Error handlers
@users_bp.errorhandler(404)
def not_found(error):
    return render_template('users/404.html'), 404

@users_bp.errorhandler(500)
def internal_error(error):
    return render_template('users/500.html'), 500

Read the full file on GitHub · 244 lines

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. 6d ago First seen · 244 lines · 0 tokens per session scan A 7fab6ba1113f

Subscribe to this mod's changes

blueprint is a command published in the GitHub repository swesmith/davila7__claude-code-templates.734b8a50 (2 stars, last pushed 8mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,401 tokens. A static security scan graded it A with 0 findings. It is 100% identical to blueprint, differing in 0 lines, and is treated as a copy.