Import 13 skills from the old opencode setup into turnstone

skills/ carries the SKILL.md files; scripts/import_skills.py runs
inside the VM via turnstone's own storage layer (SKILL.md parser +
risk scanner) so rows match what the console admin API would write.
Server must be restarted after import (stale WAL snapshot).
This commit is contained in:
marvin committed 2026-09-28 20:24:47 +02:00
1 parent 93fa05bdcc
commit 18fdff7d8c
15 files changed
+1973

No files matched your search

+19
View File
@@ -122,6 +122,25 @@ python3 scripts/persona.py # --db data/turnstone.db default
(Without a console deployment, persona CRUD is a direct SQLite write;
with `turnstone-console` running, use its admin API/Personas tab.)
### Skills
The 13 skills from the old opencode setup (`~/marvin/configs/opencode/skills`,
copied into this repo under `skills/`) are imported into turnstone's
DB-backed catalog via `scripts/import_skills.py`. The script runs
INSIDE the VM (uses turnstone's storage layer + SKILL.md parser +
risk scanner):
```sh
scp -O -i configs/ssh/id_ed25519 -P 2222 -r skills scripts/import_skills.py \
marvin@localhost:/tmp/
ssh -i configs/ssh/id_ed25519 -p 2222 marvin@localhost \
/opt/turnstone/bin/python /tmp/import_skills.py --dir /tmp/skills
```
Idempotent (`--update` re-imports + appends version rows). **Reboot the
VM after importing** — the running server holds a stale WAL snapshot
and won't see new rows until restart.
## Notes / trade-offs
- boco boots with `-snapshot`: **only the virtiofs shares persist.**