forked-skill

Spawns a forked sub-agent to execute tasks in an isolated context.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/keshrisohit/omniforge --skill forked-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: forked-skill
Source: https://github.com/keshrisohit/omniforge/tree/main/tests/skills/fixtures/test_skills/forked-skill
Command: npx skills add https://github.com/keshrisohit/omniforge --skill forked-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Spawns a forked sub-agent to run tasks in an isolated context, enabling safe experimentation and testing without affecting the parent process.

Core Features & Use Cases

  • Sub-agent spawning with an isolated execution environment.
  • Enforced budget controls (max-iterations) and context separation to prevent leakage.
  • Parent task tracking and rollback for tests and debugging.

Quick Start

Spawn a sub-agent in a forked context to perform a provided task with isolated environment.

Frequently Asked Questions about forked-skill

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

FAQPage Schema
How do I run isolated testing workflows without affecting the parent agent process?

You can spawn a forked sub-agent to run testing workflows in an isolated context, ensuring safe experimentation without affecting the parent process. This allows rollback and parent task tracking across agents.

What is an isolated sub-agent execution environment used for?

An isolated sub-agent execution environment is used to perform tasks within a separate context, preventing state leakage or interference. It enforces reduced budgets and allowed-tools for safe orchestration and debugging.

Can I enforce max-iterations and allowed-tools on a forked sub-agent?

Yes, you can enforce max-iterations and allowed-tools on a forked sub-agent. The skill defines a clear scope for forked execution, enforcing budget controls and separate contexts to prevent interference.

How do I track parent tasks across spawned sub-agents for debugging?

To track parent tasks across spawned sub-agents, the skill maintains parent task tracking and supports rollback. This ensures you can monitor the parent process while the sub-agent executes in its isolated context.

When should I use agent orchestration with forked execution instead of standard execution?

Use forked execution when you need safe experimentation, testing, or debugging without risking the parent process. It is ideal when you require reduced budgets, isolated contexts, and strict tool enforcement to prevent leakage.

Why does my sub-agent context leak into the parent agent workflow?

Context leakage occurs when execution is not properly forked. This skill prevents leakage by enforcing separate contexts, ensuring the sub-agent operates in complete isolation from the parent process during orchestration.