apparition-protocol

Transfer tasks between agents with structured context packages.

Updated Feb 13, 2026
One-click install
npx skills add https://github.com/kheery12/hogwarts-framework-template --skill apparition-protocol
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: apparition-protocol
Source: https://github.com/kheery12/hogwarts-framework-template/tree/main/skills/protocols/apparition
Command: npx skills add https://github.com/kheery12/hogwarts-framework-template --skill apparition-protocol

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This protocol enables rapid, safe transfer of work from one agent to another with minimal context loss, addressing situations where an agent is stuck, corrupted, or needs to be replaced.

Core Features & Use Cases

  • Seamless Agent Swapping: Replace an agent mid-task without losing progress or context.
  • Error Recovery: Automatically triggers when an agent is stuck or its context becomes corrupted.
  • Specialist Reassignment: Allows for manual reassignment to a more suitable agent for complex tasks.
  • Use Case: If a coding agent gets stuck on a complex bug for too long, the Apparition Protocol can instantly transfer the task to a specialist agent with a fresh context, ensuring project momentum.

Quick Start

Use the apparition protocol to replace the current agent with a specialist for task ID 12345.

Frequently Asked Questions about apparition-protocol

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

FAQPage Schema
How do I transfer agent context when replacing a stuck AI agent mid-task?

To transfer agent context safely, you can use a structured transfer package that preserves the current progress and task state before swapping to a replacement agent. This prevents context loss during mid-task agent replacement.

What is the best way to handle agent context corruption during task execution?

Handling agent context corruption involves triggering an automated error recovery protocol that immediately transfers the active task to a new agent. This ensures project momentum without losing the structured task progress.

Can I reassign a task to a specialized agent without losing previous progress?

Yes, you can manually reassign complex tasks to a specialist agent by packaging the current context into a structured transfer format. This allows the new specialized agent to resume work instantly without starting over.

When should I use an agent replacement protocol for my workflow?

You should use an agent replacement protocol when a coding agent is stuck on a bug for too long, its context becomes corrupted, or a task requires strategic reassignment to a more specialized agent.

How does performance tracking work for specialized agent reassignment?

Performance tracking for agent reassignment monitors the reliability of replacement agents after a context transfer. It evaluates how effectively the new agent utilizes the structured transfer package to continue the task.