Borrowing it
Nothing to install: this file belongs to zwl467135974/lumina. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/zwl467135974/lumina/master/.agents/skills/lumina_flyway/SKILL.mdgit clone --depth 1 https://github.com/zwl467135974/luminaWrote 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.
[](https://agentmods.dev/skills/zwl467135974/lumina/lumina_flyway)<a href="https://agentmods.dev/skills/zwl467135974/lumina/lumina_flyway"><img src="https://agentmods.dev/badge/skills/zwl467135974/lumina/lumina_flyway/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.
<a href="https://agentmods.dev/skills/zwl467135974/lumina/lumina_flyway"><img src="https://agentmods.dev/badge/skills/zwl467135974/lumina/lumina_flyway.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01477 |
| Opus 5.5 | $0.00000 | $0.00591 |
| Sonnet 5.5 | $0.00000 | $0.00295 |
| Haiku 4.5 | $0.00000 | $0.00148 |
Grade A, and why
lumina_flyway 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.
How it starts
The opening of the file, as written. The whole thing — 123 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Lumina Flyway 迁移规范
核心原则
写新迁移前必须先检查已有迁移的表结构、列名、数据约定。
版本号规则
- 单调递增:V1, V2, ..., V25, V26...
- 不跳号、不复用、不修改已执行的迁移
- 文件命名:
V{版本号}__{简洁描述}.sql(双下划线) - 当前版本:V44(每次写新迁移前先
ls db/migration/ | sort | tail -3确认最新版本号)
写迁移前的强制检查(不可跳过)
0. 查实际表结构(最高优先级,必须执行)
写任何 INSERT/ALTER 前,必须先连数据库查 DESCRIBE,确认列名真实存在。
# 查目标表的列名(替换表名)
"/c/Program Files/MySQL/MySQL Server 8.0/bin/mysql.exe" -uroot -p123456 -h127.0.0.1 lumina_dev \
-e "DESCRIBE lumina_permission;"
或如果没有数据库连接,用 grep 从建表迁移中提取:
# 找到建表语句
grep -A 30 "CREATE TABLE.*lumina_permission" db/migration/V*.sql
绝对禁止凭记忆/猜测写列名。 历史上多次因此导致 CI 全量失败(V44 事件)。
1. 检查已有列名约定
2. 常见列名约定(必须遵守)
| 表名 | 常见易错列名 | 正确列名 |
|---|---|---|
lumina_permission |
❌ name code id type |
✅ permission_name permission_code permission_id permission_type |
lumina_permission |
❌ tenant_id(此表无租户列) |
✅ 无 tenant_id |
lumina_permission |
父权限码 ❌ model |
✅ system:model(带 system: 前缀) |
lumina_role |
❌ id name |
✅ role_id role_code role_name |
lumina_role_permission |
❌ id |
✅ id(自增) role_id permission_id |
lumina_user |
❌ id real_name |
✅ user_id nickname |
lumina_model_pricing |
— | ✅ provider model_name input_price output_price currency is_active |
| 通用 | — | ✅ create_time / update_time / deleted / tenant_id |
3. 检查权限种子格式
权限种子 INSERT 必须用正确的列名和 INSERT IGNORE 防重复:
-- ✅ 正确格式(参考 V17/V25)
INSERT IGNORE INTO `lumina_permission`
(`parent_id`, `permission_code`, `permission_name`, `permission_type`, `path`, `icon`, `sort_order`)
VALUES (...);
-- 给 admin 角色分配权限
INSERT IGNORE INTO `lumina_role_permission` (`role_id`, `permission_id`)
SELECT 1, `permission_id` FROM `lumina_permission`
WHERE `permission_code` IN (...);
迁移内容规范
CREATE TABLE
ENGINE=InnoDB DEFAULT CHARSET=utf8mb4- 必须有
create_time/update_time/deleted - 索引命名:
idx_{columns}或uk_{columns}(唯一索引)
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.
- 1mo ago Changed · +22 lines 20b5d991239e
- 2mo ago First seen · 101 lines · 0 tokens per session scan A fb0892eb7696
lumina_flyway is a skill published in the GitHub repository zwl467135974/lumina (91 stars, last pushed 1mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,477 tokens. 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.
lumina_flyway compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| lumina_flywayzwl467135974/lumina | Skill | 91 | 1mo ago | Apache-2.0 | A | 0 | Claude Code, Codex |
| create-prprisma/orm | Skill | 48k | yesterday | Apache-2.0 | A | 48 | Claude Code, Codex |
| schema-explorationlangchain-ai/deepagents | Skill | 31k | yesterday | MIT | A | 57 | Claude Code, Codex |
| atlas-mssqlariga/atlas | Skill | 8.8k | yesterday | Apache-2.0 | A | 163 | Claude Code |
| ha-data-storesshiwenwen/hope-agent | Skill | 1.9k | yesterday | MIT | A | 115 | Claude Code, Codex |
| nornicdb-cypher-queriesorneryd/NornicDB | Skill | 923 | yesterday | MIT | A | 79 | Claude Code, Codex |
| volcengine-rds-postgresqlbytedance/agentkit-samples | Skill | 484 | today | Apache-2.0 | A | 63 | Claude Code, Codex |