start-task
FreeNo executable scriptsNot checkedInitialize a new tracked task folder with status.md, user_inputs/initial.md, user_inputs/input_artifacts/, task-progress-artifacts/, and…
by ma08★ 31 GitHub starsAbout this skill
Start Task
Create a task folder and capture durable metadata for machine, session, and tracker linkage.
Invocation
/start-task <description>
If no description is provided, ask for one using clarify.
Shared Helpers
python ~/pro/botfiles/codex/skills/_shared/task_status/scripts/resolve_task_context.py \
--project-root "<project-root>" \
--description "<text>"
python ~/pro/botfiles/codex/skills/_shared/task_status/scripts/sync_task_metadata.py \
--status-file "<status-file>" \
--tracker-url "<tracker-url-if-any>" \
--github-issue-url "<github-issue-url-if-any>" \
--sync-github-issue
Process
Step 1: Determine task status root
- Check project
AGENTS.mdfortask-status-root:. - If missing, check project
CLAUDE.md. - Default to
context/daily/. - Resolve date as
YYYY-MM-DD.
Step 2: Resolve context before slugging
Run:
python ~/pro/botfiles/codex/skills/_shared/task_status/scripts/resolve_task_context.py \
--project-root "<project-root>" \
--description "<user description>" \
--max-slug-length 60
Troubleshooting before treating helper execution as broken:
- If the terminal/tool layer returns
BLOCKED: User denied. Do NOT retry., do not attribute that to the helper script itself. - First verify the live machine context with
pwdandenv | sort | grep -E '^(HOME|PWD|USER)='so you do not accidentally use paths from another machine profile. - Retry once with a simpler direct invocation on the verified local path, avoiding unnecessary heredocs/wrappers.
- Only report a helper-script failure when the script itself returns a real stderr/exit failure after path/context verification.
Use output fields such as:
- If the terminal/tool layer returns
BLOCKED: User denied. Do NOT retry., do not attribute that to the helper script itself. - First verify the live machine context with
pwdandenv | sort | grep -E '^(HOME|PWD|USER)='so you do not accidentally use paths from another machine profile. - Retry once with a simpler direct invocation on the verified local path, avoiding unnecessary heredocs/wrappers.
- Only report a helper-script failure when the script itself returns a real stderr/exit failure after path/context verification.
Use output fields such as:
- Task Slug
- Tracker Kind / URL / Human ID / Title
- GitHub Issue compatibility URL when detected
- Canonical Project Root
- Canonical Task Status Root
- Machine
- Coding Agent
- Agent Session ID
- Zellij Session
- Zellij Link
Step 3: Slug and folder naming
- If the primary tracker is GitHub, slug format is
repo-issue-<number>-<title>. - If the primary tracker is Linear, slug format is
<linear-id>-<title>. - If canonical project/task roots are emitted for tracker-linked work, create or resume the task there instead of the current repo.
- Enforce max slug length
60; truncation appends a stable hash suffix. - Folder format remains
<HH>h<MM>m<SS>sPST-<slug>.
Step 4: Existing task check
- Search for an existing task folder with the same slug.
- If found, ask whether to resume or create new using
clarify, with your recommended option first. - For tracker-linked work, search the canonical task root first when emitted by
resolve_task_context.py. - If resuming, hand off to
continue-taskunless the current session already owns the task.
Step 5: Create folder structure
<HH>h<MM>m<SS>sPST-<slug>/
├── status.md
├── user_inputs/
│ ├── initial.md
│ └── input_artifacts/
└── task-progress-artifacts/
└── scratchpad/
Step 6: Populate status and initial input
- Capture the original description verbatim in
user_inputs/initial.md. - Keep additional Markdown input notes directly under
user_inputs/. - Reserve
user_inputs/input_artifacts/for user-provided or user-referenced files, images, and local copies of input artifacts. - Create
user_inputs/input_artifacts/index.mdonce the task has a captured input artifact or external artifact reference needing provenance. - Keep timestamps in PST (
TZ=America/Los_Angeles date). - Treat top-level
task-progress-artifacts/as curated deliverables andtask-progress-artifacts/scratchpad/as the default destination for raw/intermediate files.
Step 7: Upsert task metadata
After creating status.md, run:
python ~/pro/botfiles/codex/skills/_shared/task_status/scripts/sync_task_metadata.py \
--status-file "<abs-status-file-path>" \
--tracker-url "<tracker-url-if-any>" \
--github-issue-url "<issue-url-if-any>" \
--sync-github-issue
Behavior:
- Always upserts managed tracker-aware task metadata in the status file.
- Sets this task as the current task for the active
{project, coding-agent, agent-session}context. - If
--sync-github-issueis set, upserts the managed live-session block on the primary tracker. - If tracker sync dependencies are missing, core task creation still succeeds.
- After sync, verify that the metadata block reflects a real session ident
Install start-task in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the start-task skill do?
Initialize a new tracked task folder with status.md, user_inputs/initial.md, user_inputs/input_artifacts/, task-progress-artifacts/, and task-progress-artifacts/scratchpad/. Supports tracker-aware slugs, canonical task roots, machine/session metadata capture, and immediate plan review.
How do I install the start-task skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the start-task skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
by Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
by Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropic