/ctx:ctx-task-addfrom ctx
Adds a task to TASKS.md with provenance tracking. Use when follow-up work is identified or when breaking down complex work into subtasks.
Ships in ctx. 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.
None: SKILL.md is the whole skill.
Add a task to TASKS.md.
Three questions: if any answer is "no", don't record:
Tasks should describe what to do and why, not just a topic.
If the user provides only a topic, ask:
ctx task add "Task description" \
--session-id SESSION --branch BRANCH --commit HASH \
[--priority high|medium|low] [--section "Phase N"]
Provenance flags (--session-id, --branch, --commit) are required.
Get these values from the hook-relayed provenance line in your context
(e.g., Session: abc12345 | Branch: main @ 68fbc00a).
Prefer this skill over raw ctx task add: the conversational
approach lets you automatically pick up session ID, branch, and commit
from the provenance line already in your context window.
Placement: Without --section, the task is inserted before the
first unchecked task in TASKS.md. Use --section only when you need
a specific section (e.g., --section "Maintenance").
Example: specific and actionable:
ctx task add "Add --cooldown flag to ctx agent to suppress repeated output within a time window. Use tombstone file per session for isolation." \
--session-id abc12345 --branch main --commit 68fbc00a \
--priority medium
Example: with context for why:
ctx task add "Investigate ctx init overwriting user-generated content in context files. Commit a9df9dd wiped 18 decisions from DECISIONS.md. Need guard to prevent reinit from destroying user data." \
--session-id abc12345 --branch main --commit 68fbc00a \
--priority high
Example: scoped subtask:
ctx task add "Add topic-based navigation to blog when post count reaches 15+" \
--session-id abc12345 --branch main --commit 68fbc00a \
--priority low
JSON payload (when content would trip a permissions.deny rule): pass
--json-file <path> instead of the positional content + flags. The
title (plus an optional body, space-joined) becomes the task text;
priority, section, and a provenance envelope map to the flags:
ctx task add --json-file /tmp/task.json # {"title","body","priority","section","provenance"}
Bad examples (too shallow):
ctx task add "Fix bug" # What bug? Where?
ctx task add "Improve performance" # Of what? How?
ctx task add "Authentication" # That's a topic, not a task
# Also bad: missing --session-id, --branch, --commit
This skill records actionable follow-up work. It does not unilaterally promote material from adjacent skills:
Light compression for clarity is allowed; new facts are not.
Before recording, verify:
Confirm the task was added.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub activememory/ctx --plugin ctx54 skills in this plugin
/ctx-agentLoad full context packet. Use at session start or when context seems stale or incomplete./ctx-architectureBuild and maintain architecture maps. Use to create or refresh ARCHITECTURE.md and DETAILED_DESIGN.md. Supports principal mode for deeper analysis: vision, future direction, bottlenecks, implementation alternatives, gaps, upstream proposals, and intervention points./ctx-architecture-enrichEnrich architecture artifacts with code intelligence data. Takes existing /ctx-architecture output as baseline, verifies and quantifies with GitNexus MCP (blast radius, execution flows, domain clustering, registration sites). Run after /ctx-architecture, not instead of it./ctx-architecture-failure-analysisAdversarial failure analysis for codebases. Generates falsifiable incident hypotheses: race conditions, ordering assumptions, cache staleness, error swallowing, ownership gaps, idempotency failures, and scaling cliffs. Produces DANGER-ZONES.md with evidence-backed, ranked findings./ctx-archiveArchive completed tasks. Use when TASKS.md has many completed items cluttering the view./ctx-blogGenerate blog post draft. Use when documenting project progress, sharing learnings, or writing about development experience.Other plugins' skills for the same job