Skip to content
Back to skills

End

ASecurity

End a side thread and mark its card done.

  • 5 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added October 22, 2026
ai-agents

Security analysis

A100/100

Scanned October 22, 2026

npx -y skills add ahmed0thman/thread --skill end --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of End?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for End
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ahmed0thman-end/badge)](https://www.skillsdirectory.com/skills/ahmed0thman-end)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: end
description: End a side thread and mark its card done.
argument-hint: thread id
---

Current session id: ${CLAUDE_SESSION_ID}
If that line still shows a literal placeholder instead of a UUID, use the id from the "[thread plugin]" note at session start.

Call the `thread_end` tool with the thread id from the arguments and `session_id`. If a turn is running it is stopped.

If the tool answers "CONFIRMATION REQUIRED", the thread was started by a different session. Ask the user with the AskUserQuestion tool, using exactly the question, header and options the tool gives. Never answer it yourself. Only if the user chooses to continue, call `thread_end` again with the same `id`, the same `session_id` and the `confirm_code` from the tool. If the user cancels, say that nothing was ended and name the session that started the thread.

Confirm in one line that the thread ended. If the result shows its last result was never reported, mention that; do not report it unless the user asks.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.