kjuhwa/skills-hub/agents-as-tools
Claude Code and agent skill by kjuhwa/skills-hub
- community
Checking that the SKILL.md file is still in the repository.
Expose specialist agents as callable tools so an orchestrator agent retains control of the final answer.
Install
npx vskill@latest install kjuhwa/skills-hub/agents-as-toolsSKILL.md
The same SKILL.md was published earlier as kjuhwa/skills-hub/agents-as-tools.
agents-as-tools
Call agent.as_tool(tool_name, tool_description) to expose a specialist as a callable tool. The orchestrator agent calls the specialist, gets its output, and composes the final reply — never handing off control.
When to apply
When one agent should aggregate outputs from multiple specialists (e.g., translate to multiple languages then synthesize). Prefer handoffs when the specialist should own the final user response.
Core snippet
Key notes
as_tool()runs the specialist in a nested agent loop; result returned as tool output string- Orchestrator composes the final answer; user sees only orchestrator's output
- Combine with handoffs: triage can hand off to orchestrator which calls specialists as tools
- Tool guardrails apply to function tools;
as_tool()runs through the handoff pipeline
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/llm-agents/agents-as-tools/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/kjuhwa/skills-hub/agents-as-tools)