with one click
task-close
Close tasks when complete or aborted using OpenCode tools
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Close tasks when complete or aborted using OpenCode tools
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Properly close a mission with cleanup and documentation
Initialize a new mission with role selection and persona naming
Claim tasks in the s9 database to take ownership and start work
Create new tasks in the s9 task database with proper formatting and validation
Query, list, and report on tasks in the s9 database
Update task progress, notes, and time tracking using OpenCode tools
| name | task-close |
| description | Close tasks when complete or aborted using OpenCode tools |
| license | MIT |
| compatibility | opencode |
| metadata | {"audience":"all-agents","workflow":"task-completion"} |
I provide comprehensive instructions for closing tasks using the OpenCode task_close tool. Use this skill when a task is complete or should be cancelled.
Use the task_close tool to close a task:
task_close(
task_id="TASK-ID",
status="COMPLETE", # or "ABORTED"
notes="Final summary"
)
Required:
task_id - The task to close (e.g., "ENG-H-0037")status - Closing status: "COMPLETE" or "ABORTED"notes - Summary of why closing with this statusThe tool automatically:
closed_at timestamp.opencode/work/tasks/Use when:
Example:
task_close(
task_id="ENG-H-0037",
status="COMPLETE",
notes="Rate limiting implemented and tested. All tests passing. Documentation updated."
)
Use when:
Example:
task_close(
task_id="DOC-L-0012",
status="ABORTED",
notes="Task obsolete after architecture change in ARC-H-0029. No longer needed."
)
When you call the task_close tool:
closed_at timestamp recordedstatus updated to COMPLETE or ABORTED.opencode/work/tasks/# Close as complete
task_close(
task_id="ENG-H-0037",
status="COMPLETE",
notes="Rate limiting implemented and tested. All tests passing. Documentation updated. PR #123 merged."
)
# Verify with task_show tool
task_show(task_id="ENG-H-0037")
# Status: COMPLETE
# Closed: 2026-02-05T23:30:00+00:00
task_close(
task_id="DOC-L-0012",
status="ABORTED",
notes="Task obsolete after architecture change in ARC-H-0029. New approach documented in ARC-H-0030 instead."
)
task_update tool before closingtask_show tooltask_claim toolnotes parameter is required when closingVerify task was closed with the task_show tool:
task_show(task_id="ENG-H-0037")
Check status and closing timestamp are correct.
# 1. Claim it with task_claim tool
task_claim(task_id="ENG-H-0037")
# 2. Work on it, update progress
task_update(
task_id="ENG-H-0037",
status="UNDERWAY",
notes="Implemented core functionality"
)
# 3. Close when done
task_close(
task_id="ENG-H-0037",
status="COMPLETE",
notes="All tests passing, code reviewed, documentation complete"
)
# Working on medium priority task
task_update(
task_id="DOC-M-0019",
status="UNDERWAY",
notes="50% complete - intro and setup sections done"
)
# Critical issue appears - close current task as ABORTED or COMPLETE depending on state
# If you want to resume later, just leave it UNDERWAY and use task_release to hand it off
# Otherwise, close it:
task_close(
task_id="DOC-M-0019",
status="ABORTED",
notes="Stopping work to handle critical security issue ENG-C-0003"
)
# Work on critical issue
task_claim(task_id="ENG-C-0003")
task_close(
task_id="ENG-C-0003",
status="COMPLETE",
notes="Security issue fixed"
)
Related Skills:
task-update - Updating progress before closingtask-claim - Claiming tasks to resume paused/blocked worktask-query - Viewing closed tasks and completion historytask-management - Overview of task systemDocumentation:
.opencode/data/README.md - Complete s9 system reference