alembic-knowledge-patch

alembic-knowledge-patch is a skill for Claude Code from Nevaberry/nevaberry-plugins. It costs 11 tokens per session (2,416 once invoked), scanned A, original, MIT.

A project guide for Alembic, a Python tool that manages database schema changes through versioned migration files.

In plain words
What is it for?
Use it when creating or reviewing migrations, upgrading Alembic, extending its command-line tools, or diagnosing migration problems.
Why use it?
It helps avoid migration errors caused by incompatible versions, broken revision graphs, or database-specific SQL behavior.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the knowledge-patch plugin — 197 skills, 1 hook shipped together

Good fit Use it when creating or reviewing migrations, upgrading Alembic, extending its command-line tools, or diagnosing migration problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nevaberry/nevaberry-plugins/alembic-knowledge-patch
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 Nevaberry/nevaberry-plugins --skill alembic-knowledge-patch
Clone the repo
git clone --depth 1 https://github.com/Nevaberry/nevaberry-plugins

Made for: Claude Code.

Or install knowledge-patch, the plugin that ships this one along with the rest of its 197 skills, 1 hook.

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 alembic-knowledge-patch

README.md
[![agentmods](https://agentmods.dev/badge/skills/nevaberry/nevaberry-plugins/alembic-knowledge-patch/github.svg)](https://agentmods.dev/skills/nevaberry/nevaberry-plugins/alembic-knowledge-patch)
Your own site
<a href="https://agentmods.dev/skills/nevaberry/nevaberry-plugins/alembic-knowledge-patch"><img src="https://agentmods.dev/badge/skills/nevaberry/nevaberry-plugins/alembic-knowledge-patch/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 alembic-knowledge-patch

Your own site · 80×15
<a href="https://agentmods.dev/skills/nevaberry/nevaberry-plugins/alembic-knowledge-patch"><img src="https://agentmods.dev/badge/skills/nevaberry/nevaberry-plugins/alembic-knowledge-patch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,416 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00011 $0.02416
Opus 5.5 $0.00004 $0.00966
Sonnet 5.5 $0.00002 $0.00483
Haiku 4.5 $0.00001 $0.00242

Measured today against content hash 9b1458d385cb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

alembic-knowledge-patch 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 today.

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.

plugins/knowledge-patch/patches-claude/alembic-knowledge-patch/SKILL.md · 222 lines

How it starts

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

Alembic migration compatibility

Load this skill when updating Alembic migration environments, reviewing autogenerated revisions, changing migration operations, or extending the CLI. It covers configuration, schema comparison and rendering, backend DDL, revision graphs, and extension APIs.

Reference index

Reference Topics
Compatibility and configuration Runtime requirements, yanked packages, TOML and INI, paths, revision templates, post-write hooks
Autogenerate and rendering Comparison callbacks, CHECKs, naming conventions, reflection, indexes, types, defaults, rewriters
Operations and DDL Removed aliases, conditional DDL, inline keys, batch recreation, backend operations, transactions, offline SQL
Revisions, CLI, and extensions Heads, branches, revision IDs, history, callbacks, version tables, CLI commands, plugins

Breaking changes and deprecations

Runtime and installation

Alembic 1.17.0 requires Python 3.10 or later. Alembic 1.20.0 requires SQLAlchemy 2.0.0 or later.

The yanked 1.15.0 wheel omitted migration templates; use 1.15.1 or later within the 1.15 series. For a pin in the 1.5 series, use 1.5.1 or a later 1.5.x release because 1.5.0 failed to install its templates directory.

Removed operation keyword aliases

Alembic 1.5.0 removes legacy aliases. Update keyword calls in existing revisions:

Operation Old keyword Replacement
Constraint operations name constraint_name
drop_constraint() type type_
create_primary_key() cols columns
create_unique_constraint() source, local_cols table_name, columns
create_check_constraint() source table_name
create_foreign_key() source, referent source_table, referent_table
Index operations name index_name
drop_index() tablename table_name
create_table(), drop_table() name table_name
alter_column() rename name new_column_name

Read the full file on GitHub · 222 lines

Files

What ships with it

5 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. today Changed · +6 lines 9b1458d385cb
  2. 3mo ago First seen · 216 lines · 11 tokens per session scan A fe8e905b213d

Subscribe to this mod's changes

alembic-knowledge-patch is a skill published in the GitHub repository Nevaberry/nevaberry-plugins (25 stars, last pushed yesterday), licensed MIT. It adds 11 tokens to every session and 2,416 once invoked, about $0.0000 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

alembic-knowledge-patch compared with skills from other repositories

alembic-knowledge-patch next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
alembic-knowledge-patchNevaberry/nevaberry-pluginsSkill25yesterdayMITA11Claude Code
api-canvascyanheads/obsidian-mcp-serverSkill72221d agoApache-2.0A85Claude Code
api-mirrorcyanheads/obsidian-mcp-serverSkill72221d agoApache-2.0A68Claude Code
release-pr-reviewcyanheads/obsidian-mcp-serverSkill72221d agoApache-2.0A136Claude Code
bun-sqlitesecondsky/claude-skillsSkill2572d agoMITA22Claude Code
firebase-security-rules-auditorseaworld008/Commonly-used-high-value-skillsSkill752d agoMITA34Claude Code, Codex
binder-importmpazik/BinderSkill411mo agoMITA62Claude Code