end-subagent-session

Close Sonnet subagent sessions with structured context and cleanup reporting.

Updated Apr 18, 2026
One-click install
npx skills add https://github.com/harukainguyen1411/strawberry-agents --skill end-subagent-session
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: end-subagent-session
Source: https://github.com/harukainguyen1411/strawberry-agents/tree/main/.claude/skills/end-subagent-session
Command: npx skills add https://github.com/harukainguyen1411/strawberry-agents --skill end-subagent-session

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the process of closing a Sonnet subagent session, ensuring that only necessary information is logged and resources are freed without redundancy.

Core Features & Use Cases

  • Session Closure Logic: Decides whether to perform a fast, clean close based on session outcomes.
  • Context Management: Handles context probing and optional handoff notes for future sessions.
  • Use Case: A developer needs to terminate a subagent session gracefully after task completion without unnecessary logging or data writes.

Quick Start

Invoke the Skill with the name of the subagent to close it and ensure no additional writes are performed.

Frequently Asked Questions about end-subagent-session

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I close a Sonnet subagent session without unnecessary logging?

To close a Sonnet subagent session without unnecessary logging, invoke a closure process that evaluates session outcomes to decide whether to perform a fast, clean close and free resources without redundant data writes.

What is the best way to manage context and memory when terminating a subagent session?

Managing context when terminating a subagent session involves probing the existing context and generating optional handoff notes for future sessions, ensuring that only necessary information is logged and resources are freed without redundancy.

How does subagent session closure logic handle final reporting and cleanup?

Subagent session closure logic handles final reporting and cleanup by structuring the termination process to evaluate session outcomes, manage context, and ensure proper final reporting before completely freeing resources.

Can I prevent additional data writes when a subagent session ends?

Yes, you can prevent additional data writes when a subagent session ends by invoking a structured closure process that ensures no extra writes are performed after the task is completed.

When do I need to terminate a subagent session gracefully?

You need to terminate a subagent session gracefully after task completion to ensure proper final reporting, manage context and learnings, and free resources without losing critical session information.

Does subagent session closure support handoff notes for future sessions?

Yes, subagent session closure supports handoff notes for future sessions by handling context probing and generating optional handoff notes to ensure continuity and proper memory management.