python-database-patterns

python-database-patterns is a skill for Claude Code from aiskillstore/marketplace. It costs 43 tokens per session (1,191 once invoked), scanned A, original, no licence file.

A guide to SQLAlchemy, a Python library for working with databases, and common ways to structure database code. It covers tools such as Alembic, which manages database schema changes.

In plain words
What is it for?
Use it when building Python applications that store data, add migrations, manage connection pools, or organise database operations into reusable parts.
Why use it?
It helps avoid inconsistent database code and unclear handling of connections, changes, and transactions.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it when building Python applications that store data, add migrations, manage connection pools, or organise database operations into reusable parts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aiskillstore/marketplace/python-database-patterns
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.

Any agent
npx skills add aiskillstore/marketplace --skill python-database-patterns
Clone the repo
git clone --depth 1 https://github.com/aiskillstore/marketplace

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 python-database-patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/aiskillstore/marketplace/python-database-patterns/github.svg)](https://agentmods.dev/skills/aiskillstore/marketplace/python-database-patterns)
Your own site
<a href="https://agentmods.dev/skills/aiskillstore/marketplace/python-database-patterns"><img src="https://agentmods.dev/badge/skills/aiskillstore/marketplace/python-database-patterns/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 python-database-patterns

Your own site · 80×15
<a href="https://agentmods.dev/skills/aiskillstore/marketplace/python-database-patterns"><img src="https://agentmods.dev/badge/skills/aiskillstore/marketplace/python-database-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,191 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 unknown 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.1 $0.00043 $0.01191
Opus 5.5 $0.00017 $0.00476
Sonnet 5.5 $0.00009 $0.00238
Haiku 4.5 $0.00004 $0.00119

Measured 1mo ago against content hash 4b8a30e38573, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

python-database-patterns 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.

skills/0xdarkmatter/python-database-patterns/SKILL.md · 185 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

6 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. 1mo ago First seen · 185 lines · 43 tokens per session scan A 4b8a30e38573

Subscribe to this mod's changes

python-database-patterns is a skill published in the GitHub repository aiskillstore/marketplace (436 stars, last pushed today), with no licence file. It adds 43 tokens to every session and 1,191 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

backend-specialist

A guide for designing and building backend services, the parts of an application that handle data, business rules, and requests. It covers APIs, databases, authentication, and service performance.

huangwb8/skills · 62 tokens

powersync

Best practices for building and maintaining applications with PowerSync: Cloud and self-hosted setup, sync configuration, client SDK usage, backend integration (Supabase, custom Postgres, MongoDB, Azure DocumentDB, MySQL, MSSQL), schema changes, watch and reactive queries (useQuery), attachments, the upload queue, and…

powersync-ja/agent-skills · 203 tokens

yugabytedb-app-dev

Build production-grade applications that connect to YugabyteDB across any language runtime or framework. Covers JDBC/Spring Boot, Spring Boot Reactive (WebFlux + R2DBC), Quarkus (SmallRye Fault Tolerance + Agroal), Python, Node.js, Go, .NET, and more — with correct driver config, pool tuning (HikariCP/Agroal/Npgsql)…

srinivasa-vasu/agent-skills · 202 tokens

web-backend-builder

Scaffold backend API, data models, ORM setup, and endpoint inventory with OpenAPI output.

0x-Professor/Agent-Skills-Hub · 24 tokens

django-master

Django web development including ORM mastery, Django REST Framework, signals, custom managers/querysets, migrations, and admin customization. Trigger when users work with Django projects, need ORM optimization, DRF serializers/viewsets, Django admin customization, or migration strategies.

FutureJJ/claude-skills · 54 tokens

playwright-frontend

For frontend engineers authoring UI — how to make components reliably locatable by tests and AI agents. Covers the official Playwright locator priority, semantic/accessible markup first, and how to add valid, unique, stable data-testid attributes (naming convention, uniqueness in lists, stability rules) for React…

testdino-hq/playwright-skill · 92 tokens