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.
npx agentmods add instructions/zexion7873/copilot-setting/sql-ddlgit clone --depth 1 https://github.com/zexion7873/copilot-settingWhat 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 | $0.00989 | $0.00989 |
| Opus 5 | $0.00495 | $0.00495 |
| Sonnet 5 | $0.00198 | $0.00198 |
| Haiku 4.5 | $0.00099 | $0.00099 |
Grade A, and why
copilot-setting sql-ddl.instructions.md 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 yesterday.
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 — 43 lines — stays where its author put it; the contents beside it link to each section on GitHub.
MySQL DDL & Migration Conventions
Rules for schema changes, migration scripts, and stored procedures. Query / JDBC / HQL rules: instructions/sql.instructions.md.
MySQL DDL & Migrations
Schema conventions — apply to every CREATE TABLE / ALTER TABLE, not just stored procedures:
- Tables: InnoDB,
utf8mb4,created_at/updated_attimestamps mandatory - FK:
fk_<child>_<parent_col>;RESTRICTdefault,CASCADEonly for dependent children - Index:
idx_<table>_<columns>
Migration safety — every DDL / data-modifying DML script:
- Every up statement has a down / rollback script; never
DROP TABLEwithout explicit sign-off - Drop a column renamed-then-dropped across two releases; rename a column add-new → dual-write → drop-old — never single-shot
ADD COLUMN ... NOT NULL DEFAULT <constant>isALGORITHM=INSTANTon MySQL 8.0.12+ (metadata-only, safe at any size) — append, ALGORITHM=INSTANTso it errors instead of silently rebuilding when INSTANT can't apply (aSTOREDgenerated column,ROW_FORMAT=COMPRESSED, FULLTEXT index, >64 prior instant changes, pre-8.0.29 non-trailing position). Do NOT pre-emptively reach for the nullable → backfill →MODIFY COLUMN ... NOT NULLdance: that finalMODIFYis the genuinely expensiveINPLACEtable rebuild — reserve it for the cases INSTANT rejects. MySQL has noALTER COLUMN ... SET NOT NULL, soMODIFYmust re-list the full column definition (DEFAULT/COMMENT/ charset) or they are silently dropped- A large-table
ALTERthat rebuilds the table uses online schema change (pt-osc / gh-ost) or carries an explicit downtime note; index creation usesALGORITHM=INPLACE, LOCK=NONEwhere supported - Backfill and long
UPDATE/DELETEare idempotent and chunked by PK range, committed per chunk (low thousands of rows as a starting point — tune per the batch rule ininstructions/sql.instructions.md) - Idempotency guards:
CREATE/DROP TABLEtakeIF [NOT] EXISTS, but MySQL has none forADD/DROP COLUMNorCREATE/DROP INDEX— guard those with aninformation_schema.COLUMNS/STATISTICSexistence check (or rely on the migration tool's version tracking) - Running-app compatibility: new columns nullable or DB-defaulted so an old app instance's INSERT won't fail; drop columns only after every instance stops reading them; realign
hbm.xml/ DAO with the post-migration schema after deploy
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.
- yesterday First seen · 43 lines · 989 tokens per session scan A 4d016035e8c8
copilot-setting sql-ddl.instructions.md is an instructions file published in the GitHub repository zexion7873/copilot-setting (1 stars, last pushed 29d ago), licensed MIT. It adds 989 tokens to every session, about $0.0049 per session on Opus 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-31.
Other instructions, from other repositories
ai-agent-rules-generator copilot.instructions.md
Glitch WooCommerce Payment Gateway plugin coding guidelines — auto-doc sync for plugin, features, and infrastructure.
ai-agent-rules-generator agent-observations.instructions.md
Mandatory agent observation logging — anomalies, recommendations, and critical findings must be disclosed before commit.
ai-agent-rules-generator task.instructions.md
Task execution rules for Glitch WooCommerce Payment Gateway engineering work.
ai-agent-rules-generator doc-sync.instructions.md
Documentation sync rules — which docs to update when code changes.
ai-agent-rules-generator browsetools.instructions.md
Browser verification rules for Glitch WooCommerce Payment Gateway using Chrome DevTools MCP.
ai-agent-rules-generator devtools.instructions.md
Browser DevTools and local development access credentials.