bub

Spawn child agent instances for isolated sub-task execution with scoped tools.

Updated Feb 18, 2026
One-click install
npx skills add https://github.com/XiongJingzhi/agent-learn --skill bub-xiongjingzhi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bub
Source: https://github.com/XiongJingzhi/agent-learn/tree/main/app/bub/src/bub/skills/bub
Command: npx skills add https://github.com/XiongJingzhi/agent-learn --skill bub-xiongjingzhi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill allows Bub to delegate tasks to sub-agents, run commands in separate sessions, execute tasks with different tools/skills, or test operations in isolation.

Core Features & Use Cases

  • Sub-task Delegation: Assign specific tasks to child agent instances.
  • Isolated Execution: Run commands or tasks in a controlled, separate environment.
  • Tool/Skill Scoping: Execute tasks with a predefined set of tools or skills.
  • Use Case: You need to analyze a specific Python file for potential bugs. You can use bub run to delegate this analysis to a specialized Python-analyzing agent instance, ensuring it has the necessary Python tools enabled and operates within a clean workspace.

Quick Start

Use the bub skill to run the command 'List all Python files in the current directory'.

Frequently Asked Questions about bub

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

FAQPage Schema
How do I delegate sub-tasks to isolated agent instances for command execution?

Running commands in isolated execution environments requires spawning child agent instances with targeted tool and skill enablement. This approach uses specific workspace and session IDs to create a controlled environment for deterministic task completion.

How does sub-task delegation work for command execution in separate sessions?

Sub-task delegation works by assigning specific operations to child agent instances that run in separate sessions. You can scope the execution by enabling a predefined set of tools or skills for the child agent to ensure deterministic task completion.

Can I scope specific tools and skills when delegating tasks to a child agent?

Yes, you can scope specific tools and skills when delegating tasks to a child agent. This targeted tool and skill enablement ensures the sub-agent operates with a predefined configuration for deterministic task completion.

What is the best way to run one-off commands in a controlled environment?

The best way to run one-off commands in a controlled environment is to delegate the command execution to a sub-agent. This provides an isolated workspace and session ID, ensuring the operation does not affect the main environment.

When should I use sub-task delegation instead of running commands directly?

You should use sub-task delegation when you need to test operations in isolation, execute tasks with different tools or skills, or run commands in separate sessions. It prevents environment interference and ensures deterministic task completion.