ctx-task-add
Add a task. Use when follow-up work is identified or when breaking down complex work into subtasks.
Best use case
ctx-task-add is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Add a task. Use when follow-up work is identified or when breaking down complex work into subtasks.
Teams using ctx-task-add should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/ctx-task-add/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How ctx-task-add Compares
| Feature / Agent | ctx-task-add | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Add a task. Use when follow-up work is identified or when breaking down complex work into subtasks.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
Add a task to TASKS.md. ## Before Recording Three questions: if any answer is "no", don't record: 1. **"Is this actionable?"** → If it's a vague wish, clarify first 2. **"Would someone else know what to do?"** → If not, add more detail 3. **"Is this tracked elsewhere?"** → If yes, don't duplicate Tasks should describe **what to do and why**, not just a topic. ## When to Use - When follow-up work is identified during a session - When breaking down a complex task into subtasks - When the user mentions something that should be tracked ## When NOT to Use - Vague ideas without clear scope (discuss first, then add) - Work already completed (mark existing tasks done instead) - One-line fixes you can do right now (just do it) ## Gathering Information If the user provides only a topic, ask: 1. "What specifically needs to happen?" → Scope the work 2. "Why does this matter?" → Capture motivation 3. "Is this high, medium, or low priority?" → Set priority ## Execution ```bash ctx add task "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 add task`**: 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:** ```bash ctx add task "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:** ```bash ctx add task "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:** ```bash ctx add task "Add topic-based navigation to blog when post count reaches 15+" \ --session-id abc12345 --branch main --commit 68fbc00a \ --priority low ``` **Bad examples (too shallow):** ```bash ctx add task "Fix bug" # What bug? Where? ctx add task "Improve performance" # Of what? How? ctx add task "Authentication" # That's a topic, not a task # Also bad: missing --session-id, --branch, --commit ``` ## Quality Checklist Before recording, verify: - [ ] Task starts with a verb (Add, Fix, Implement, Investigate, Update) - [ ] Someone unfamiliar with the session could act on it - [ ] Not a duplicate of an existing task in TASKS.md (check first) - [ ] Priority set if the user indicated urgency Confirm the task was added.
Related Skills
ctx-add-task
Add a task. Use when follow-up work is identified or when breaking down complex work into subtasks.
ctx-verify
Verify before claiming completion. Use before saying work is done, tests pass, or builds succeed.
ctx-skill-creator
Create, improve, test, and deploy skills. Full skill lifecycle from intent to working skill file.
ctx-sanitize-permissions
Audit tool permissions for dangerous or overly broad entries. Use to ensure safe agent configuration.
ctx-recall
Browse session history. Use when referencing past discussions or finding context from previous work.
ctx-prompt
Apply, list, and manage saved prompt templates from .context/prompts/. Use when the user asks to apply, list, or create a reusable template like code-review or refactor.
ctx-journal-normalize
Normalize journal source markdown for clean rendering. Use after journal site shows rendering issues: fence nesting, metadata formatting, broken lists.
ctx-import-plans
Import plan files into project specs directory. Use to convert external plans into project-tracked specs.
ctx-compact
Archive completed tasks and trim context. Use when context files are growing large.
ctx-check-links
Audit docs for dead links. Use before releases, after restructuring docs, or when running a documentation audit.
ctx-add-learning
Record a learning. Use when discovering gotchas, bugs, or unexpected behavior that future sessions should know about.
ctx-add-decision
Record architectural decision. Use when a trade-off is resolved or a non-obvious design choice is made that future sessions need to know.