agentscope-extensions-skill-postgresql-repository stores skills in PostgreSQL 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 PostgreSQL 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
Using the Builder
Schema
WhencreateIfNotExist=true, the following tables are created (under the configured schema):
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"."agentscope_skills" ADD COLUMN metadata_json TEXT NULL;yourself.
CRUD
ON DELETE CASCADE ensures no orphaned resources.