task-orchestrator: Command for Claude Code

.claude/commands/deploy_to_docker.md

deploy_to_docker is a command for Claude Code from jpicklyk/task-orchestrator. It costs 23 tokens per session (2,932 once invoked), scanned A, original, MIT.

A command that builds a Docker image and starts or replaces the project’s container. Docker packages an application so it can run consistently in an isolated container.

In plain words
What is it for?
Use it to deploy the MCP Task Orchestrator, build without starting it, run with a chosen image tag, or reconfigure its REST connection and mounted settings.
Why use it?
It simplifies rebuilding and redeploying the service while reusing the current container settings when appropriate.

Command for Claude Code

Written for Claude Code: SessionStart hook event. Also seen: names the AskUserQuestion tool.

This is jpicklyk/task-orchestrator's own configuration. It tells Claude Code how to work on task-orchestrator itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything task-orchestrator configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is { label: "Floor config (recommended)", description: "Mount ./deploy/global-config/.taskorchestrator read-only as AGENT_CONFIG_DIR — the process-schema floor (ag.

Reuse

Borrowing it

Nothing to install: this file belongs to jpicklyk/task-orchestrator. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/jpicklyk/task-orchestrator/main/.claude/commands/deploy_to_docker.md
Clone the repo
git clone --depth 1 https://github.com/jpicklyk/task-orchestrator

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for deploy_to_docker

README.md
[![agentmods](https://agentmods.dev/badge/commands/jpicklyk/task-orchestrator/deploy_to_docker/github.svg)](https://agentmods.dev/commands/jpicklyk/task-orchestrator/deploy_to_docker)
Your own site
<a href="https://agentmods.dev/commands/jpicklyk/task-orchestrator/deploy_to_docker"><img src="https://agentmods.dev/badge/commands/jpicklyk/task-orchestrator/deploy_to_docker/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for deploy_to_docker

Your own site · 80×15
<a href="https://agentmods.dev/commands/jpicklyk/task-orchestrator/deploy_to_docker"><img src="https://agentmods.dev/badge/commands/jpicklyk/task-orchestrator/deploy_to_docker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,932 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00023 $0.02932
Opus 5.5 $0.00009 $0.01173
Sonnet 5.5 $0.00005 $0.00586
Haiku 4.5 $0.00002 $0.00293

Measured 1mo ago against content hash 60b1b4da4ff6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

deploy_to_docker scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/deploy_to_docker.md · 193 lines

How it starts

The opening of the file, as written. The whole thing — 193 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Deploy to Docker

Build the MCP Task Orchestrator Docker image and start (or redeploy) the detached HTTP container that the active .mcp.json connects to. The Dockerfile handles its own Gradle build internally — no local build step needed.

On every deploy the command detects the current container's settings and defaults to reusing them, so you never have to re-specify things like API_AUTH_MODE=none after the first time. You can always review or change them via the chooser.

Usage: /deploy_to_docker [image-tag] [--build-only] [--run] [--reuse]

Default (no flags): Build the image, detect the existing container's config, then present a [Reuse / Reconfigure] chooser. Reuse redeploys with the same settings; Reconfigure walks the REST-mode / config-mount prompts. Matches the active .mcp.json (type: http, url: http://localhost:3001/mcp) — reachable after /mcp reconnect mcp-task-orchestrator.

Arguments:

  • image-tag (optional): Docker image tag. Default task-orchestrator:current. A bare name like dev → task-orchestrator:dev.
  • --build-only: Build the image only; start no container; no prompts.
  • --run / --reconfigure: Build, then go straight to the reconfigure prompts (skip the reuse chooser) — including STDIO/HTTP transport choice.
  • --reuse: Build, then redeploy with the detected settings without prompting (non-interactive redeploy).

Examples:

  • /deploy_to_docker — build, then Reuse-or-Reconfigure chooser
  • /deploy_to_docker --reuse — rebuild + redeploy identical settings, no prompts
  • /deploy_to_docker --run — build + full interactive reconfigure
  • /deploy_to_docker --build-only — build image only

Workflow

Step 1: Resolve Image Tag

  • TARGET=runtime-current, default tag task-orchestrator:current, data volume mcp-task-data.
  • A non--- tag argument is used as-is; a tag with no : gets task-orchestrator: prepended; no arg → default.

Step 2: Build Docker Image

docker build --target runtime-current -t <image-tag> .

Multi-stage build compiles from source — no prior ./gradlew build.

Read the full file on GitHub · 193 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 193 lines · 23 tokens per session scan A 60b1b4da4ff6

Subscribe to this mod's changes

deploy_to_docker is a command published in the GitHub repository jpicklyk/task-orchestrator (209 stars, last pushed today), licensed MIT. It adds 23 tokens to every session and 2,932 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.