Migration Review
jpicklyk/task-orchestrator
SQLite migration assessment for items with the needs-migration-review trait.
A skill your agent uses to analyse, audit, or modify database models, migrations, and CRUD helpers.
$ npx skills add fossasia/eventyay-interpretation --skill database-analysis -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install fossasia/eventyay-interpretation database-analysis --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/fossasia/eventyay-interpretation.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/database-analysis .claude/skills/database-analysis && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "database-analysis" agent skill from https://github.com/fossasia/eventyay-interpretation/tree/dev/.agents/skills/database-analysis into .claude/skills/database-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "database-analysis", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/fossasia/eventyay-interpretation/tree/dev/.agents/skills/database-analysisType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add fossasia/eventyay-interpretation --skill database-analysis -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install fossasia/eventyay-interpretation database-analysis --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/fossasia/eventyay-interpretation.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/database-analysis .agents/skills/database-analysis && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "database-analysis" agent skill from https://github.com/fossasia/eventyay-interpretation/tree/dev/.agents/skills/database-analysis into .agents/skills/database-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "database-analysis", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add fossasia/eventyay-interpretation --skill database-analysis -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install fossasia/eventyay-interpretation database-analysis --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/fossasia/eventyay-interpretation.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/database-analysis .cursor/skills/database-analysis && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "database-analysis" agent skill from https://github.com/fossasia/eventyay-interpretation/tree/dev/.agents/skills/database-analysis into .cursor/skills/database-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "database-analysis", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/fossasia/eventyay-interpretation.git --path .agents/skills/database-analysis--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add fossasia/eventyay-interpretation --skill database-analysis -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install fossasia/eventyay-interpretation database-analysis --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/fossasia/eventyay-interpretation.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/database-analysis .gemini/skills/database-analysis && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "database-analysis" agent skill from https://github.com/fossasia/eventyay-interpretation/tree/dev/.agents/skills/database-analysis into .gemini/skills/database-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "database-analysis", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install fossasia/eventyay-interpretation database-analysisInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add fossasia/eventyay-interpretation --skill database-analysis -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/fossasia/eventyay-interpretation.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/database-analysis .github/skills/database-analysis && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "database-analysis" agent skill from https://github.com/fossasia/eventyay-interpretation/tree/dev/.agents/skills/database-analysis into .github/skills/database-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "database-analysis", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add fossasia/eventyay-interpretation --skill database-analysis -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install fossasia/eventyay-interpretation database-analysis --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/fossasia/eventyay-interpretation.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/database-analysis .opencode/skills/database-analysis && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "database-analysis" agent skill from https://github.com/fossasia/eventyay-interpretation/tree/dev/.agents/skills/database-analysis into .opencode/skills/database-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "database-analysis", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
database-analysisA skill your agent uses to analyse, audit, or modify database models, migrations, and CRUD helpers.
Database Analysis is an agent skill from fossasia/eventyay-interpretation. Use this skill to analyse, audit, or modify database models, migrations, and CRUD helpers. Reference: portal/models.py, portal/database.py, alembic/versions/.
Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Databases, covering Database migrations. It works with SQLite. The repository describes itself as: A plugin for live interpretation of video streams. The licence is Apache-2.0.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 1ca0139. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
uvFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
API_KEY_ENCRYPTION_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Database Analysis loads about 1.2k tokens when it runs. Until then it costs about 46 tokens; SKILL.md has 340 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from fossasia/eventyay-interpretation at commit 1ca0139, republished under its Apache-2.0 licence (© fossasia). 340 words, ~1,235 tokens.
.claude/skills/database-analysis/SKILL.md (or your agent's skills folder).Use this skill to analyse, audit, or modify database models, migrations, and CRUD helpers. Reference:
portal/models.py,portal/database.py,alembic/versions/.
events ─────────┬─── rooms ───── booths ─── invite_tokens
│ │
│ └─── booth_memberships ─── users
└─── booths ───────────── event_memberships ─ usersSee DATABASE_MAP.md for full column details.
mediamtx_path is a runtime property, not a stored column on DBBooth.
make_mediamtx_path(event.slug, language_code).event relationship to be loaded: use joinedload(DBBooth.event).API keys are Fernet-encrypted in the events table.
portal.crypto.encrypt_val(key) to store.portal.crypto.decrypt_val(encrypted) to read.API_KEY_ENCRYPTION_KEY env var must be set; raises RuntimeError if default.Unique index on (event_id, language_code) in booths — one booth per language per event.
InviteToken.token is a 64-char hex string (32 bytes of entropy via secrets.token_hex(32)).
Session pattern uses async with session.begin() — auto-commits and auto-rolls back.
async with get_session() as session:
result = await create_event(session, slug='test', display_name='Test')
# committed on exitevent on DBBooth (for mediamtx_path)from sqlalchemy.orm import joinedload
stmt = select(DBBooth).options(joinedload(DBBooth.event)).where(DBBooth.id == booth_id)stmt = (
select(DBBooth)
.join(Event)
.options(joinedload(DBBooth.room))
.where(Event.slug == event_slug)
.where(DBBooth.language_code == language_code)
)result = await session.execute(
select(InviteToken)
.options(joinedload(InviteToken.booth).joinedload(DBBooth.event))
.where(InviteToken.token == token_str)
)portal/models.py.uv run alembic revision --autogenerate -m "short_description"batch_alter_table for column additions/drops. See migration 008 as the canonical example.uv run alembic upgrade headuv run pytest tests/test_database.py -vdef upgrade() -> None:
with op.batch_alter_table('booths') as batch_op:
batch_op.add_column(sa.Column('new_column', sa.String(20), server_default=sa.text("'default'"), nullable=False))set_event_membership and set_booth_membership use an upsert-like pattern:
redeem_invite_token raises ValueError (not HTTP exception) on invalid token:
tok = await redeem_invite_token(session, token_str)
# Raises ValueError: "Token has already been used." or "Token has expired."
# Returns None if token not foundThe route handler converts these to HTTP 403 / 404.
revoke_invite_token sets used_at = utc_now() on the token (same effect as redemption).
Use in-memory SQLite + configure() override in test fixtures:
from portal.database import configure, init_db, drop_db
from portal.config import settings
async def setup_test_db():
configure('sqlite+aiosqlite:///:memory:')
await init_db()
async def teardown_test_db():
await drop_db()Never use the production database URL in tests.
| Issue | Cause | Fix |
|---|---|---|
mediamtx_path raises AttributeError | event relationship not loaded | Use joinedload(DBBooth.event) in query |
IntegrityError on booth create | Duplicate (event_id, language_code) | Catch IntegrityError and return 409 |
| Migration fails on SQLite | Column alter without batch_alter_table | Rewrite migration with batch context |
decrypt_val raises ValueError | Wrong API_KEY_ENCRYPTION_KEY | Key must match the one used to encrypt |
InviteToken.is_expired incorrect | Missing timezone on expires_at | expires_at must be timezone-aware (UTC) |
© fossasia, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/database-analysis of fossasia/eventyay-interpretation.
Open the folder on GitHubat commit 1ca0139
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders. This page covers the copy in fossasia/eventyay-interpretation, which our catalogue first saw on October 7, 2026.
Database Analysis next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Database Analysis this skillfossasia/eventyay-interpretation | 1.6k | — | ~1.2k | Automated safety check: Pass | Apache-2.0 | |
| Migration Reviewjpicklyk/task-orchestrator | 207 | — | ~886 | Automated safety check: Pass | MIT | |
| Cognee Database Migrationstopoteretes/cognee | 32k | — | ~2.6k | Automated safety check: Notes | Apache-2.0 | |
| Cursor BYOK Database Schemaleookun/cursor-byok | 3.2k | — | ~1.3k | Automated safety check: Pass | MIT | |
| Migrationgocronx-team/gocron | 808 | — | ~1.1k | Automated safety check: Pass | MIT | |
| DeepChat Data Import HelperThinkInAIXYZ/deepchat | 6.4k | — | ~738 | Automated safety check: Pass | Apache-2.0 |
jpicklyk/task-orchestrator
SQLite migration assessment for items with the needs-migration-review trait.
topoteretes/cognee
Explains how cognee's two migration chains run, how to check and repair migration state with cognee-cli, and how to write new Alembic or graph and vector migrations.
leookun/cursor-byok
Guides SQLite schema changes in the Cursor BYOK server, keeping SQLx migrations, the Rust store, API contracts and fixtures aligned.
gocronx-team/gocron
Create, review, or verify gocron database migrations across SQLite, MySQL, and PostgreSQL.
ThinkInAIXYZ/deepchat
Guides building a third-party importer for DeepChat's local SQLite data, covering schema, encryption and safe read-only access patterns.
prisma/orm
Routes Prisma 8 tasks such as contracts, migrations, queries and upgrades to the right reference files for projects on the contract-first @prisma/orm packages.
fossasia/eventyay-interpretation
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute.
fossasia/eventyay-interpretation
Shared vocabulary for designing deep modules. An agent skill from fossasia/eventyay-interpretation.
fossasia/eventyay-interpretation
Diagnosis loop for hard bugs and performance regressions. An agent skill from fossasia/eventyay-interpretation.
fossasia/eventyay-interpretation
Build and sharpen a project's domain model. An agent skill from fossasia/eventyay-interpretation.
fossasia/eventyay-interpretation
Test-driven development. An agent skill from fossasia/eventyay-interpretation.
fossasia/eventyay-interpretation
Survey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute.
Works with
Categories
A skill your agent uses to analyse, audit, or modify database models, migrations, and CRUD helpers. Database Analysis is an agent skill from fossasia/eventyay-interpretation. Use this skill to analyse, audit, or modify database models, migrations, and CRUD helpers.
Database Analysis fits situations like: modify database models; tasks that involve Database migrations.
Run `npx skills add fossasia/eventyay-interpretation --skill database-analysis -a claude-code`. Or copy the skill folder (.agents/skills/database-analysis in fossasia/eventyay-interpretation) into .claude/skills/database-analysis in your project. Claude Code loads it when a task matches its description.
Run `npx skills add fossasia/eventyay-interpretation --skill database-analysis -a codex`. Or copy the skill folder (.agents/skills/database-analysis in fossasia/eventyay-interpretation) into .agents/skills/database-analysis in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add fossasia/eventyay-interpretation --skill database-analysis -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/database-analysis, .gemini/skills/database-analysis, .github/skills/database-analysis and .opencode/skills/database-analysis in your project.
Going by SKILL.md and its folder, Database Analysis needs the command-line tools its instructions call (uv) and credentials named API_KEY_ENCRYPTION_KEY. Our summary lists: Python 3; A credential in API_KEY_ENCRYPTION_KEY.
SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Database Analysis is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 4.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Database Analysis: Migration Review (jpicklyk/task-orchestrator, 207 stars), Cognee Database Migrations (topoteretes/cognee, 32k stars), Cursor BYOK Database Schema (leookun/cursor-byok, 3.2k stars) and Migration (gocronx-team/gocron, 808 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
fossasia (a GitHub organization) maintains it in fossasia/eventyay-interpretation, which has 1,552 GitHub stars. The repository holds 41 skills in this directory. The repository was last updated on October 5, 2026.
Source: fossasia/eventyay-interpretation on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.