deploy_to_docker
CommandBuild Docker image and start/redeploy the MCP Task Orchestrator container, reusing the last-used config by default
Check the Flyway schema version of the SQLite database on a Docker volume
> /plugin marketplace add jpicklyk/task-orchestrator> /plugin install task-orchestrator@task-orchestrator-marketplace
description: Check the Flyway schema version of the SQLite database on a Docker volume
Check the schema version of the Task Orchestrator database on a Docker volume.
1. Parse the volume name from the user's command, defaulting to "mcp-task-data" if not provided 2. Create a temporary SQL file with the query 3. Run the Docker command mounting both the volume and the project directory 4. Display the results in a clear, formatted way 5. Clean up the temporary SQL file
Due to shell escaping issues on Windows, use a mounted SQL file approach:
**Step 1:** Create temporary SQL file in project root:
-- File: .tmp_check_schema.sql (in project root directory)
.mode box
.headers on
SELECT
installed_rank,
version,
description,
type,
script,
installed_on,
execution_time,
success
FROM flyway_schema_history
ORDER BY installed_rank DESC
LIMIT 10;
-- 4.0 only: data_steps (V23). The sqlite3 shell does not stop at an error, so on a 3.x database
-- this prints `no such table: data_steps` and the migration list above is unaffected.
SELECT name, applied_at, rows_affected, binary_version
FROM data_steps
ORDER BY applied_at;**Temp File Location:** Create `.tmp_check_schema.sql` in the current working directory (the project root or worktree), since Step 2 mounts `${PWD}`.
**Step 2:** Run via Docker with mounted SQL file:
powershell.exe -Command "docker run --rm -v {{VOLUME_NAME}}:/data -v '${PWD}:/work' alpine sh -c 'apk add --no-cache sqlite >/dev/null 2>&1 && sqlite3 /data/current-tasks.db < /work/.tmp_check_schema.sql'"**Step 3:** Clean up:
rm .tmp_check_schema.sql
**Note:** The `alpine/sqlite` image doesn't work well with inline SQL on Windows. Use `alpine` with sqlite installed instead.
Present the results with:
If the query fails:
After showing the results, offer these follow-up options:
1. **Show all migrations:** Remove the LIMIT from the SQL query 2. **Show table structure:** Create SQL file with `.schema flyway_schema_history` 3. **Show all tables:** Create SQL file with `.tables` 4. **Check database file:**
docker run --rm -v {{VOLUME_NAME}}:/data alpine ls -lh /data//check_schema_version
Checks the default `mcp-task-data` volume.
/check_schema_version my-custom-volume
Checks the `my-custom-volume` Docker volume.
Server-enforced workflow discipline for AI agents. Prompt-based frameworks hope the LLM follows instructions. This one blocks the call if it doesn't.
Build Docker image and start/redeploy the MCP Task Orchestrator container, reusing the last-used config by default
Reviewed all command files in `.claude/commands/analysis/` directory to ensure proper usage of: - `mcp__claude-flow__*` tools…
This compatibility command keeps `/oh-my-claudecode:ask` available without loading the full `ask` skill description in every…