add-component
Checklists for adding a new MCP tool, select or op, a new Flyway database migration, or a new Gradle dependency to the Task…
Creates 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
Claude Code
$ npx -y skills add jpicklyk/task-orchestrator --skill create-item --agent claude-code
Codex
$ npx skills add jpicklyk/task-orchestrator --skill create-item -a codex -y
Cursor
$ npx skills add jpicklyk/task-orchestrator --skill create-item -a cursor -y
Gemini CLI
$ npx skills add jpicklyk/task-orchestrator --skill create-item -a gemini-cli -y
GitHub Copilot
$ npx skills add jpicklyk/task-orchestrator --skill create-item -a github-copilot -y
OpenCode
$ npx skills add jpicklyk/task-orchestrator --skill create-item -a opencode -y
Windsurf
$ npx skills add jpicklyk/task-orchestrator --skill create-item -a windsurf -y
name: create-item description: "Creates 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." argument-hint: "[optional: brief description of what to create]"
Create work items from conversation context: anchor them in a category container, pick a declared `type`, and pre-fill the queue notes. Call shapes are in [`_generated/call-shapes.md`](../_generated/call-shapes.md); field semantics are in `current/docs/api-reference.md`. Ids in examples are 8-hex shorts; any id field also takes the full UUID. Read every answer through the envelope: `ok`, then `data.results[i]` (`ok` or `error`) and `data.summary {ok, failed}`. When a write element fails, the call-level `error` is only `partial_failure` (no detail, no fix): read `code`, `kind` (retry class), `detail` and `fix` from `data.results[i].error`. A read (`select`) call reports its failure in the call-level `error`.
Director mode is the session state entered by `/task-orchestrator:director` (or by running as the hardened `director` agent). Creating an item writes through `items_write` and `notes_write`, which a director does not run inline: dispatch ONE background `Agent` (`run_in_background: true`, `model` set) that runs the steps below, or `SendMessage` the run's orchestrator when the new item is meant for a member of an open or paused run. Hand the agent the title, kind, priority, parent hint and whether it is an observation. It reports one line only, `Created: <title> (<short-id>) under <path>`, never note bodies. A background agent dispatched by a director is not in director mode: it runs the steps below.
A root is lifecycle-free when every type its own config declares is `lifecycle: none`: in `config` `effective`, every `schemas[]` entry with `configSource: "per-root"` has `lifecycleMode: "none"`. When `config` is not served on the connection, read the `work_item_schemas` of `.taskorchestrator/config.yaml` as a file instead. Such a root holds pages of knowledge with no phases, so Steps 1 to 7 do not apply: no kind table, no category containers, no priority and no queue-note drafting. Instead:
1. Dedup with one search over items, notes and documents:
{"tool": "items_read", "select": "search", "args": {"query": "retry backoff", "kinds": ["item", "note", "document"], "limit": 5}}2. Create ONE item of a declared type. Its parent is the item the user names, else the root:
{"tool": "items_write", "op": "create", "args": {"title": "Retry backoff notes", "type": "<declared-type>", "parentId": "9f3a1c22"}}3. Write its notes, one `upsert` element per note, each at the role its note entry declares:
{"tool": "notes_write", "op": "upsert", "args": {"itemId": "4b7d0e19", "key": "<note-key>", "role": "<declared-role>", "body": "Exponential backoff with jitter on 503 and 429."}}4. Report one line: `Created: <title> (<short-id>)`.
Every other root follows Steps 1 to 7.
Take from the conversation (or `$ARGUMENTS`): title, kind (bug, feature, tech debt, observation, action item, general), priority (default medium), and scope (one item, or a feature with 2 or more distinct subtasks). If the title or kind is unclear, ask with `AskUserQuestion` and concrete options, never an open question.
Resolve the scope from the SessionStart context: a `## Project Scope` section carries a project rootId (scopes reads and anchors); a `## Personal Scope` section carries a personal root (anchors only, reads stay unscoped). With no session context, read `project.rootId` from `.taskorchestrator/config.yaml` (a file read).
With a rootId, the category containers are the direct children of the root, which an anchored overview returns (`includeChildren` is not allowed with `anchorId`):
{"tool": "items_read", "select": "overview", "args": {"anchorId": "9f3a1c22"}}With no rootId, scan unscoped (`args` `{}`) and classify the result:
| Pattern | Classification | |---|---| | Depth-0 item with category-named children | Hierarchical: a project root exists | | Category-named items at depth 0, no project root | Flat: use them directly | | No items at all | Empty: hand off to `/task-orchestrator:init`, which creates the project root |
Create-item never creates a project root. After `init` has run, restart this skill.
| Item kind | Category | Signal words | |---|---|---| | Bug, error, crash | Bugs | bug, error, crash, broken, failure, exception | | Feature, enhancement | Features | feature, add, implement, support, capability | | Tech debt, refactor | Tech Debt | refactor, cleanup, debt, migrate, restructure | | Observation, friction | agent-observation, a standalone root (no parent) | slow, optimize, latency, friction, gap | | Follow-up, reminder | Action Items | todo, follow up, remind, track | | Unclear | best match; ask if unsure | |
Use the matching category as `parentId`, except an observation, which takes no `parentId`. If it is missing, create it first with `items_write` `create` and a declared type (Step 4; `container` when the config lists it), then use its id. With only a personal root known, use it as the parent.
Process-global types such as `agent-observation` resolve from the server config wherever they sit (4.0 rule: per-root type, server type, per-root `default`, server `default`; see [Schema pins](../../../../current/docs/config-reference.md#schema-pins)), so an observation is created as a standalone depth-0 item of type `agent-observation` with no `parentId`, in line with [adopt-project-scope](../adopt-pro
Server-enforced workflow discipline for AI agents. Prompt-based frameworks hope the LLM follows instructions. This one blocks the call if it doesn't.
Checklists for adding a new MCP tool, select or op, a new Flyway database migration, or a new Gradle dependency to the Task…
Compatibility assessment for items with the needs-api-compat-review trait. Evaluates the tool surface (served over both MCP and…
End-to-end workflow for taking MCP work items from backlog to merged PR. Handles git branching, schema-driven planning,…
SQLite migration assessment for items with the needs-migration-review trait. Evaluates schema changes, table recreation patterns,…
Performance impact assessment for items with the needs-perf-review trait. Evaluates hot paths, query patterns, and measurement…
Assessment of plugin skill and hook changes needed after MCP or config changes. Evaluates skill references, hook context,…
Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…
Create a new Architecture Decision Record with sequential numbering and AgentDB registration