/kotgent:create-tasksfrom kotgent
Creates kotgent backlog tasks from user requests, specs, or implementation plans with repository and session provenance.
Ships in kotgent. 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 only tasks justified by the request. Use the kotgent CLI for tracker operations and git for
repository identity and provenance. Do not use an MCP server, SDK, direct daemon request, or helper script.
kotgent invocation as a standalone command. Do not pipe or post-process it inline, merge
stderr into stdout, or append an echo of the status; those forms hide the command's real exit code or
destroy the stdout/stderr contract.task and project stdout as one JSON value. Treat failure stderr as one JSON object.2 as a command-construction bug: stderr may be plain usage text. Stop and report the exact
command and stderr; do not retry it unchanged.project init, project restore, or project delete in this workflow.KOTGENT_SESSION_ID as
identity or copy it into --session. Use --session only for a caller outside a kotgent pane when the
invocation context or user explicitly supplied the exact current session ID.Complete every check before creating the first task:
git --version and kotgent --version. Stop if either command is unavailable.git rev-parse --show-toplevel. Stop outside a Git worktree.kotgent task show. Accept exit 0, or exit 1 with empty
stdout, no status, and error exactly equal to this session is not linked to a task — name one, or link one with `kotgent task claim <ref>` . Any other response means pane resolution failed; stop
rather than adding --session from the environment.kotgent task show --session <session-id>. Accept exit 0, or exit 1 with empty
stdout, no status, and error exactly equal to session '<session-id>' is not linked to a task — name one: kotgent task <command> <ref> --session <session-id>.
Never infer an ID from a provider conversation, environment variable, name, cwd, recency, or
kotgent list. Keep the chosen mode for the whole run.<root>/.kotgent.json and resolve one of these project states:
id. Run kotgent project list. If it
contains that ID, record the live project UUID and run kotgent task list --project <project-uuid>.kotgent project list --archived. Stop if
that ID is archived; never restore it. If it is absent there too, leave the project unresolved so the
first contextual task add adopts the committed descriptor.project init. Leave the project unresolved so the
first contextual task add creates the descriptor and project.git rev-parse HEAD; stop if HEAD does not exist or is not a full SHA.
Resolve the branch with git symbolic-ref --quiet --short HEAD; use the literal detached only when
that command reports detached HEAD.Codex, Claude Code, or Junie.task dep add A --on B, task A depends on task B.Append this visible footer to every body, after any task description:
---
Created by: <Codex|Claude Code|Junie>
Git branch: <branch or detached>
Git HEAD: <full SHA>
Do not put the footer in an HTML comment or omit it from an otherwise empty body. Kotgent records the
actual acting session as the created activity author; do not duplicate an ambient session label in the
body as if it were authoritative identity.
Create one task at a time with concrete values. When preflight found a live project, include it from the first command:
kotgent task add <title> --body <body-with-footer> --project <project-uuid>
In explicit outside-pane mode only, append --session <session-id>.
When the descriptor was missing or not yet registered, omit --project from the first command. Let the
current session context create or adopt the repository project:
kotgent task add <title> --body <body-with-footer>
In explicit outside-pane mode only, append --session <session-id>.
After that success, record the returned project UUID, read <root>/.kotgent.json, and require its ID to
match. Use the returned UUID explicitly for every remaining add. If the first add created the descriptor,
mention the untracked file in the result and do not stage, commit, or delete it unless the user separately
asks for that Git operation.
After each success, parse and record the returned ref. Create dependencies only after every required
task exists, using returned refs rather than constructing them:
kotgent task dep add <dependent-ref> --on <prerequisite-ref>
Stop at the first failed add or dependency command. Preserve every successful task and dependency. Report the successful refs in creation order, the exact failed command, exit code, and complete stderr. Never issue compensating deletes.
Finish with the created refs, titles, dependency edges, project UUID, identity mode (and the explicit
session ID only in outside-pane mode), branch, HEAD, and whether this run created .kotgent.json. Say
explicitly when the batch is partial.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub heapy/kortex --plugin kotgent7 skills in this plugin
/exec-planExecute or resume an approved kotgent structured plan using coordinated worker sessions, worktrees, independent review and serial merges. Use when the user asks to execute, implement, finish, or resume a kotgent plan./make-planCreate or revise a structured implementation plan on a kotgent task and work through its browser review rounds. Use when the user asks to make, write, revise, or review a kotgent plan before implementation./review-tasksAudit todo kotgent tasks against the current repository and recommend whether to keep, rewrite, merge, drop, or escalate them. Use when the user asks to review, groom, clean up, triage, or validate the todo backlog for completed, obsolete, conflicting, duplicate, absorbed, or incorrectly blocked tasks. This workflow is always read-only.