get-agent-id
CommunityRetrieve agent IDs for seamless multi-phase tasks.
Authorcowwoc
Version1.0.0
Installs0
System Documentation
What problem does it solve?
When an AI agent spawns a sub-agent for a multi-phase task, it often needs the sub-agent's unique ID to "resume" it later for continued work. This ID is not directly returned by the Task tool, requiring manual and error-prone extraction from conversation logs. This Skill automates that critical lookup.
Core Features & Use Cases
- Automated ID Extraction: Automatically parses conversation logs to find the
agentIdfrom the most recent Task tool invocation. - Seamless Resume Capability: Enables smooth continuation of work with the same agent across multiple prompts or phases, ensuring context is preserved.
- Multi-Agent Workflow Support: Facilitates complex workflows involving several agents by providing their unique identifiers, allowing for precise control and interaction.
- Use Case: You've invoked a "validator" agent for an initial code review. To ask follow-up questions or request further analysis from the same validator agent, you need its ID. This Skill extracts it, allowing you to use the
resumeparameter in a subsequent Task tool call, saving you from manual log digging.
Quick Start
After invoking a Task tool, use the get-agent-id skill to extract the agent ID and store it in '/tmp/my-validator-agent.txt'.
Dependency Matrix
Required Modules
jq
Components
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: get-agent-id Download link: https://github.com/cowwoc/styler/archive/main.zip#get-agent-id Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.