dvcrn

Copilot Task Delegate — Communication skill for Claude Code

Communication community

VS Code extension for Copilot agent mode to programmatically create a new Copilot chat session from Copilot itself.

How to install Copilot Task Delegate

This entry records only its repository, not the path inside it, so there is no exact command to give. Open dvcrn/copilot-task-delegate and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Copilot Task Delegate does

VS Code extension for Copilot agent mode to programmatically create a new Copilot chat session from Copilot itself. Not intended for direct user invocation.

Alternatives in Communication

  • Claudix - Claude Code For VSCode — by Haleclipse - A VSCode extension that brings Claude Code directly into your editor with interactive chat int 1k ★
  • Mcptube — Transform YouTube videos into a compounding knowledge base with transcripts, vision analysis, and agentic sear 152 ★
  • Group Chat Checkin — Coordinate parallel sessions for discussion, task execution, and git commits 130 ★

README

Copilot Task Delegate VS Code Extension

This extension provides a set of Language Model Tools for Copilot agent mode, enabling one Copilot instance to initiate, monitor, and receive results from another asynchronous Copilot task.

It allows a primary Copilot agent to delegate a task to a secondary Copilot agent running in a separate chat session, track the progress of this sub-task, and retrieve its outcome.

![demo](./images/demo.gif)

Features

  • Asynchronous Task Delegation: Copilot can start a new Copilot agent session (sub-agent) with a custom prompt without blocking its own execution.
  • Session Tracking: Uses unique session IDs (UUIDs) to track each delegated task.
  • Status Monitoring: Provides a tool for the primary agent to poll the status (pending, completed, error) of the sub-task.
  • Result Retrieval: Allows the primary agent to retrieve the final result or error message from the completed sub-task.
  • Completion Signaling: Includes a tool for the sub-agent to signal its completion or failure back to the tracking system.

Workflow

  1. Initiation: The primary Copilot agent calls the copilot-task-delegate_start tool with a prompt.
  2. Session ID: The tool immediately returns a unique sessionId (UUID) to the primary agent.
  3. Sub-Agent Spawn: In the background, the extension prepares a modified prompt (instructing the sub-agent to report back upon completion using copilot-task-delegate_complete) and opens a new VS Code agent chat session with this prompt, effectively spawning the sub-agent.
  4. Polling (Optional): The primary agent can periodically call the copilot-task-delegate_status tool with the sessionId to check if the sub-task is still pending or has finished.
  5. Completion: Once the sub-agent completes its assigned task, it must call the copilot-task-delegate_complete tool, providing the original sessionId and either a result or an error message.
  6. Result Retrieval: