/task-orchestrator:manage-schemas [optional: action + schema name or workflow description, e.g. 'view bug-fix', 'create research-spike', 'recommend schemas for support triage', 'validate']from task-orchestrator
Creates, views, edits, deletes, and validates note schemas in .taskorchestrator/config.yaml for the MCP Task Orchestrator. Recommends schema designs from workflow pattern libraries for autonomous coding, spec-driven teams, research pipelines, content production, support triage, data pipelines, incident response, and document review.
Ships in task-orchestrator. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Create, view, edit, delete, and validate note schemas in .taskorchestrator/config.yaml. Schemas define which notes agents must fill at each workflow phase before advancing items.
Every tool call below is a to-call block, {tool, select|op, args}, in the shapes of call-shapes.md. The config tool is served by the orchestration profile only.
Director mode is the session state entered by /task-orchestrator:director (or by running as the hardened director agent). Nothing in this skill runs inline there: the config file cannot be read or written (Read and Write are denied) and the config tool is orchestration-only. Dispatch ONE background Agent (run_in_background: true, model set) that runs the steps below with the user's request. It reports one line: the pushed version, any warnings and affectedInFlight.count, never YAML or note bodies. A background agent dispatched by a director is not in director mode: it runs the steps below.
Classify from $ARGUMENTS and conversation context before making any tool calls.
| Signal words | Action |
|---|---|
| "create", "build", "new", "add schema", "define", "set up" | CREATE |
| "recommend", "advise", "design", "what schema should I use", "help me choose", a described workflow with no schema name | CREATE (advisor path) |
| "show", "view", "list", "what schemas", "display" | VIEW |
| "edit", "modify", "change", "update", "add note to", "remove note from" | EDIT |
| "delete", "remove schema", "drop" | DELETE |
| "undo", "roll back", "restore", "previous version" | ROLLBACK |
| "validate", "check", "verify", "lint" | VALIDATE |
| "run budget", "stall", "stall_after", "attempts per seat", "run policy" | RUN POLICY |
| "decision class", "human-only", "who can answer", "approval gate", "decision expires" | DECISION CLASSES |
If $ARGUMENTS contains both an action and a schema name (e.g., "view bug-fix"), extract both. If intent cannot be determined, ask via AskUserQuestion with options: Create, View / Validate, Edit, Delete.
Validate is grouped with View — both leave the config file unchanged.
The target file is the path on the SessionStart context's Config: line (project or personal scope) when there is one, otherwise .taskorchestrator/config.yaml. In personal scope that is the user-level file, so an edit applies to every directory that has no project config of its own. Check if the target file exists by reading it.
If the file does not exist:
.taskorchestrator/config.yaml does not exist." and stop.If the file exists: Read and parse it. Proceed to Step 3.
Note: a config document has these top-level keys:
work_item_schemas,traits,resources(the server file only),note_limits,status_labels,independence,runs,decision_classes,projectandextensions. Each has one owner; see config-reference.md "Key ownership".project:anchors this repo to a project root item and is written by/task-orchestrator:initand/adopt-project-scope, never by this skill;extensions:holds the plugin's own settings underextensions.claude-code(seereferences/config-format.md→ "Plugin settings"). Never drop or rewrite either: every write operation in Step 3 (CREATE/EDIT/DELETE) must carryprojectandextensionsthrough verbatim, byte for byte. Seereferences/config-format.md→ Project Scoping for theprojectfields, and → "Resources (Trait Dimension)" forresources:.Never write
actor_authentication,auditing,schema_resolution, or a top-levelorchestration,retrospectiveoractor_attribution. They are gone from the 4.0 config: a leftoveractor_authenticationkey fails server startup, a push rejects the others, andactor_attributionhas no reader left. VALIDATE and every write flag any of them found in the file, with the fix: deleteactor_authentication,auditingandschema_resolution; moveorchestrationandretrospectiveunderextensions.claude-code; deleteactor_attribution. Caller identity is not configured here: it comes from the server'sAPI_AUTH_MODE(see/task-orchestrator:configure-server).
Three entry paths: a pattern-driven advisor (the user describes their workflow; classify it
against references/workflow-patterns.md and recommend a configuration with per-gate
rationale), starter templates, and from-scratch Q&A. All three converge on the same
customize → write → smoke-test machinery. When the user described a workflow rather than naming
a schema, go straight to the advisor path.
For detailed workflow, see references/create-workflow.md in this skill folder.
Read .taskorchestrator/config.yaml and display schemas in a summary table:
◆ Note Schemas — .taskorchestrator/config.yaml
| Schema Type | Lifecycle | Queue Notes | Work Notes | Review Notes | Total |
|---|---|---|---|---|---|
| feature-implementation | auto | 1 (1 req) | 2 (2 req) | 1 (1 req) | 4 |
| bug-fix | auto | 1 (1 req) | 2 (2 req) | 1 (1 req) | 4 |
When the file has a project.rootId, also show what the server resolves for that root. The file lists only the root's own types; the server layers them over its own config, so types the file lacks (server-layer, process-global types) exist for the root too:
{"tool": "config", "op": "effective", "args": {"rootId": "<project.rootId>"}}
Add every schemas[] entry whose configSource is global and whose type the file does not declare to the table, marked (global). Then show one sync line, from the head version and a validate of the local file (file text with CRLF replaced by LF):
{"tool": "config", "op": "get", "args": {"rootId": "<project.rootId>"}}
{"tool": "config", "op": "validate", "args": {"rootId": "<project.rootId>", "configYaml": "<file text, LF>"}}
An empty diff (no added, removed or changed type, trait or setting) reads in sync with head v<version>. Otherwise name the changed keys and say that config-sync (on the next save or session start) or the Step 4 push puts the file on the server. A not_found from get means the root has no stored config yet.
If the user specified a schema name, show that schema's full detail: each note with key, role, required, description, guidance, and skill (if set). Also show the schema's lifecycle mode and default_traits (if any).
If the config has a traits: section, show a separate traits summary table:
◆ Traits
| Trait | Notes | Skills | Dispatch |
|---|---|---|---|
| needs-security-review | security-assessment (review, req) | security-review | — |
| needs-migration-review | migration-assessment (queue, req) | migration-review | — |
| delegated | delegation-metadata (work, opt) | — | work: implementer, review: reviewer (effort high) |
The Dispatch column summarizes the trait's dispatch: map (if any) as phase: agent pairs,
each with (effort <level>) appended when that phase's profile sets one (e.g. review: reviewer (effort high)); a model-only or effort-only phase profile (no agent) shows as
phase: (model <name>) / phase: (effort <level>); — when the trait declares no dispatch:.
See references/config-format.md → "Dispatch (Trait Dimension)".
Read current config, display the target schema, ask what to change (add note, remove note, toggle required, change description/guidance/skill, change lifecycle mode, add/remove default_traits, rename key), apply changes, write back.
When adding or editing a note, offer the skill field: "Should this note have a skill framework? If so, provide the skill name (e.g., security-review, or a skill that exists in this workspace). The skill will be invoked before the agent fills the note."
If the target schema is not found in config.yaml, inform the user and offer to CREATE instead.
For detailed workflow, see references/edit-workflow.md in this skill folder.
Read current config, confirm the schema name, warn about orphaned notes on existing items, remove the key, write back.
If the target schema is not found in config.yaml, inform the user and offer to CREATE instead.
For detailed workflow, see references/delete-workflow.md in this skill folder.
runs: blockView: show runs: from the file (or the merged view when a rootId exists). Edit: write the keys (stall_after, budgets.attempts_per_seat, budgets.max_active_seats), then run the Step 4 validate and push. The seat budgets are ceilings and opt-in; keys and ranges are in references/config-format.md -> "Run Budgets (runs:)".
decision_classes: blockA decision can only be raised under a declared class: a raise with an undeclared class fails invalid_request /class. View: when a rootId exists, read the server-merged classes with config effective (built-ins plus server plus root); otherwise read the file. Edit: write the class (answerers, severity, expires_after, on_expiry, freeform), then the existing Step 4 validate and push. Keys, built-ins and the merge rule are in references/config-format.md -> "Decision Classes".
Run structural and semantic checks on the config file and report issues with fix suggestions. When the file has a project.rootId, also run the server's own check (config validate, Step 4): the server is the authority on what a push accepts, and the local checks are for files with no root.
In addition to the checks in references/validate-workflow.md, flag any skill: value that is
exactly one of review, plan, run, or init as a probable built-in-skill collision (warning,
not an error) — these bare names resolve to a Claude Code built-in (e.g. review is the
GitHub-PR review skill) rather than a project's intended framework skill. Suggest the likely
intended framework skill name (a specific name such as code-review-checklist instead of the bare review) and cite the exact-name
rule in references/config-format.md → "skill — exact-name rule".
For detailed workflow, see references/validate-workflow.md in this skill folder.
Needs a project.rootId (rollback is a server operation on the root's stored versions). The server keeps every pushed version; a rollback appends a copy of the chosen version as the new head, so nothing is lost.
List the versions, newest first, and show version, source, createdAt for each. Ask which one with AskUserQuestion.
{"tool": "config", "op": "history", "args": {"rootId": "<project.rootId>", "limit": 10}}
Read the chosen version, then validate its configYaml to see what the swap would change against the head (diff) and how many in-flight items it affects (affectedInFlight.count):
{"tool": "config", "op": "get", "args": {"rootId": "<project.rootId>", "version": 3}}
{"tool": "config", "op": "validate", "args": {"rootId": "<project.rootId>", "configYaml": "<configYaml of that version>"}}
Show the diff and the count; confirm with the user before changing anything.
Roll back on the server FIRST, with expectedVersion set to the headVersion from step 1 (version_conflict means the head moved: read the history again and ask again):
{"tool": "config", "op": "rollback", "args": {"rootId": "<project.rootId>", "version": 3, "expectedVersion": 5}}
THEN write the local config file from that version's configYaml (LF line endings). Order matters: config-sync compares the file with the server head, so a file written before the rollback can be pushed by config-sync as new content (or skipped as superseded) while the server head is still the old one; written after the rollback, the next config-sync finds the file current and does nothing.
As in Step 4 item 4, offer repin for the in-flight items the rollback affects.
For write operations (CREATE, EDIT, DELETE):
Show what changed in the config file
Sync to server (if the file has project.rootId — a project root or the personal root): The local write is authoritative; the push puts it on the server for that root. Use the file text with CRLF replaced by LF as configYaml (at most 131072 bytes).
Validate first. Nothing is written; a problem comes back as valid: false, not as a failure.
{"tool": "config", "op": "validate", "args": {"rootId": "<project.rootId>", "configYaml": "<file text, LF>"}}
Show each errors[{path, reason}] and stop on any (the local file is already saved; fix it and re-run VALIDATE). Relay warnings. Show the diff against the root's head (types, traits, settings, each with added, removed and changed names) and affectedInFlight ({count, sample}: in-flight items whose resolved schema would change on a repin; sample holds up to 20 {itemId, changedNotes, schema?, lifecycle?} entries, and affectedInFlight is present only for a valid document).
Head version. A root with no config fails with data.results[0].error.code not_found, which means "no head".
{"tool": "config", "op": "get", "args": {"rootId": "<project.rootId>"}}
Push, with expectedVersion set to the head's version when a head exists (omit it otherwise).
{"tool": "config", "op": "push", "args": {"rootId": "<project.rootId>", "configYaml": "<file text, LF>", "expectedVersion": 1}}
version; relay warnings. Re-pushing identical content appends nothing (appended: false), so a push after every write is safe.partial_failure; read the code, detail and fix from data.results[0].error.config_invalid → the server rejected the document; show detail.errors[{path, reason}]. Nothing was stored.version_conflict → the head moved since step 2, or the document matches an earlier version (force re-pushes it). Read it again, show what differs, and ask before pushing; force is only for an intentional overwrite (it never skips validation or expectedVersion).forbidden → the credential lacks write-config.When affectedInFlight.count is above 0, tell the user those items still resolve their pinned schema and offer (ask first) to move them to the new head with items_write repin, one per sample[i].itemId. Only 20 ids are listed; for a larger count, list the root's in-flight items with items_read list.
{"tool": "items_write", "op": "repin", "args": {"id": "<item-uuid>"}}
Without project.rootId there is nothing to push: only the local file is edited. A server file (the one AGENT_CONFIG_DIR points at) is imported once at boot, so a change to it needs a server restart (for stdio, reconnecting with /mcp starts a new process). A successful per-root push takes effect immediately for new and unpinned items of that root, with no reconnect.
For VIEW and VALIDATE: The output from Step 3 is the deliverable — no additional report needed.
expectedNotes unchanged after a push
items_read get shows schemaVersion and stale: true when the pin is behind.items_write repin for that item (Step 4, item 4), or create the item again.Schema not applied — item has no schema
type no layer declares any more (a 3.x carry-over or a deleted schema) when there is no default, or an item created at depth 0 or outside the project root, which sees only the server config. Tags are never consulted. A new item cannot be created with an undeclared type (schema_violation).default, the server's default. See references/config-format.md → Matching Rules.items_read get, then items_write update {id, type} to a declared type, or {id, parentId} under the root.{"tool": "items_read", "select": "get", "args": {"itemId": "<uuid>"}}
Duplicate schema key in config file
config push and validate and the boot import reject itwork_item_schemas: and merge themChanges to a server file not taking effect
/mcp to reconnect, which starts a new process)Example 1: View all schemas
User says: "What schemas do I have?"
.taskorchestrator/config.yamlExample 2: Add a required note to an existing schema
User says: "Add a rollout-plan note to the bug-fix schema"
bug-fix schemarepin for in-flight items it affectsExample 3: Validate config after manual editing
User says: "I edited the config by hand — check it"
config validate when a root existsreferences/companion-template.md (opens in a new tab)references/config-format.md (opens in a new tab)references/create-workflow.md (opens in a new tab)references/delete-workflow.md (opens in a new tab)references/edit-workflow.md (opens in a new tab)references/example-schemas.md (opens in a new tab)references/profiles/autonomous-loop.md (opens in a new tab)references/profiles/content-production.md (opens in a new tab)references/profiles/data-pipeline-ops.md (opens in a new tab)references/profiles/document-review.md (opens in a new tab)references/profiles/incident-response.md (opens in a new tab)references/profiles/multi-project.md (opens in a new tab)references/profiles/research-pipeline.md (opens in a new tab)references/profiles/schema-free.md (opens in a new tab)references/profiles/spec-driven-team.md (opens in a new tab)references/profiles/support-triage.md (opens in a new tab)references/validate-workflow.md (opens in a new tab)references/workflow-patterns.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub jpicklyk/task-orchestrator --plugin task-orchestrator20 skills in this plugin
/adopt-project-scopeMigrates an already-populated, unscoped Task Orchestrator database in place to the project-scoping convention — creates a project anchor root, re-parents existing work trees under it, and writes rootId back to config.yaml. Use when a user says: adopt project scope, migrate this database to project scoping, make this DB multi-project, project-scope this workspace, adopt existing database, or set up project scoping for an existing DB./batch-completeCompletes or cancels many items at once, closing out a feature subtree or cleaning up old work; use when a user says: close out this feature, complete everything under X, cancel this workstream, clean up old items, bulk complete, finish this feature, or archive completed work./configure-serverConfigures how the MCP Task Orchestrator SERVER runs and is reached — transport (HTTP vs STDIO), the REST API, port publishing, config mounts, and config-sync. Use when a user says: run the server, register the image, set up the Docker container, enable the REST API, set up config-sync, reconfigure the server, change transport, expose the API, reconnect to a different endpoint, or allow a hostname. NOT for first-time onboarding (that's quick-start), NOT for project/personal setup (that's init), and NOT for note schemas / gates / traits (that's manage-schemas) — this skill only decides how the container is launched and reached. Caller identity is set by the REST auth mode (API_AUTH_MODE): this skill renders none and bearer; jwks is linked to the deployment docs, not rendered./create-itemCreates an MCP work item from conversation context, anchored in the right container (an observation is a standalone root) with a declared type and its queue notes pre-filled; use when the conversation surfaces a bug, feature idea, tech debt or observation worth tracking, or the user says: track this, log this bug, create a task for, or add this to the backlog./dependency-managerVisualizes, creates, deletes and diagnoses dependencies between MCP work items; use when a user says: what blocks this, add a dependency, show dependency graph, why can't this start, link these items, unblock this, remove dependency, or show blockers./directorEnters director mode: this session runs the board instead of the code. It shows open runs, their frontier, open decisions and rollups, answers decisions, and delegates every read or edit to background agents and coordinators. A guard hook blocks file reads, edits, foreground dispatches and most shell commands until you leave with off. Use when the user says: director mode, become the director, be the director, run the board, show open decisions, answer decisions, what needs my decision, or director off.Other plugins' skills for the same job