mysql-ops
Skill0 starsChanged 52 days agoMITView on GitHub
MySQL operations (connect / schema / backup / grants / slow query). Use when: creating schemas/tables, exporting backups, granting privileges, or checking slow queries on an authorized MySQL; destructive ops like DROP DATABASE are hard-blocked. Boundary: authorized instances only.
- Deletes or force-pushes
In this repository27 other files it gives its agents.
- redis-opsSkill
- data-opsSkill
- docker-containerSkill
- docker-imageSkill
- docker-installSkill
- docker-opsSkill
- apt-repoSkill
- file-opsSkill
- server-settingsSkill
- shell-execSkill
- infra-opsSkill
- ssh-terminalSkill
- bbrSkill
- firewallSkill
- net-secSkill
- ssh-keysSkill
- monitorSkill
- process-manageSkill
- obs-opsSkill
- opsSkill
- lnmpSkill
- nginx-rewriteSkill
- php-manageSkill
- reverse-proxySkill
- site-manageSkill
- web-stackSkill
- ssl-manageSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 25
Run mysql client commands via shell-exec (create schema / grant / backup).
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
mysql-ops
Capabilities
- Schema / table CRUD
- User privilege management
- Backup / restore (zip)
- SQL file import
- root password management
Safety gate
DROP DATABASE/DROP TABLE/TRUNCATE/DROP SCHEMAare hard-blocked (cannot be overridden by--mode yes)- Granting any-host users should use explicit
--mode yes(avoid exposure; the engine does not parse SQL semantics — the operator is the guard) - Confirm target before backup; audit execution (host + exit code)
EXECUTION (real engine)
Run mysql client commands via shell-exec (create schema / grant / backup).
opsctl shell-exec --host web1 --cmd "mysql -e \"CREATE DATABASE app; GRANT ALL ON app.* TO 'u'@'localhost'\"" --mode yes
opsctl shell-exec --host web1 --cmd "mysqldump app > /backup/app.sql" --mode autoNote: DROP DATABASE etc. hit the gate blacklist and are hard-blocked; they cannot be released via opsctl --mode yes. To actually drop a schema, log into mysql manually.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

