Start agent

From stevehuang0115/crewly · View interactive version

Start agent is an AI agent skill from the GitHub repository stevehuang0115/crewly. Start a worker agent within the Team Leader's scope: a member whose parentMemberId is the TL, or a parentless member of a team the TL leads.

How to use this skill

Skill file

Start Agent (TL Version)

Starts a worker agent within the Team Leader's subordinate scope. Validates hierarchy before starting — the target worker's parentMemberId must match the TL's memberId.

When to Use

Usage

bash {{TL_SKILLS_PATH}}/start-agent/execute.sh '{"teamId":"{{TEAM_ID}}","memberId":"worker-member-uuid","tlMemberId":"{{MEMBER_ID}}"}'

Parameters

| Parameter | Required | Description |

|-----------|----------|-------------|

| teamId | Yes | The team's UUID |

| memberId | Yes | The target worker's member UUID |

| tlMemberId | Yes | The TL's own member ID for hierarchy validation |

Hierarchy Validation

The script fetches team data and allows the start when:

It refuses members of other teams, members whose parent is someone else, and parentless members of a team the TL does not lead.

Differences from Orchestrator start-agent

| Aspect | Orchestrator | Team Leader |

|--------|-------------|-------------|

| Scope | Any agent in any team | Only subordinates |

| Hierarchy check | None | Subordinates, or parentless members of the TL's own team |

| Extra parameter | None | tlMemberId required |

Output

JSON confirmation with agent startup status, same format as orchestrator start-agent.

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.