agentscope-extensions-skill-mysql-repository stores skills in MySQL with full CRUD: edit and save in your admin console / business system, and the Agent picks up changes immediately on the next read.
When to use
- You operate skills via an admin console and want changes to take effect right away.
- You already have MySQL infrastructure and don’t want a Git dependency.
- You want skill storage to share the transactional boundary with your business data.
Add the dependency
Quickstart
Schema
WhencreateIfNotExist=true, the following tables are created:
agentscope_skills: the skills themselves;nameis unique;skill_contentstores the fullSKILL.md.agentscope_skill_resources: attached resource files (screenshots, templates, …) cascaded byid.
Compatibility with legacy tables
- If an existing table lacks
metadata_json, the repository falls back to round-trippingname+descriptiononly. It does not auto-ALTER TABLE. - To upgrade: run
ALTER TABLE agentscope_skills ADD COLUMN metadata_json LONGTEXT NULL;yourself.
Custom database / table names
CRUD
ON DELETE CASCADE ensures no orphaned resources.