Skills

Workerflow Internal Workflow

Use when a QwenPaw-backed Worker needs to decide whether to do work directly, use...

Install

npx skills add agentscope-ai/AgentTeams --skill workerflow-internal-workflow -g -a claude-code -y
Category
AI and agents
Updated
3d ago
License
Apache-2.0
Context cost
Mediumabout 2,140 tokens
Runs scripts
No, instructions only

What it does

Use when a QwenPaw-backed Worker needs to decide whether to do work directly, use native subagents for internal parallelism, or create a temporary QwenPaw agent with a custom AGENTS.md and skills.

Worker Internal Workflow

Use this skill before splitting work inside a single Worker. WorkerFlow is not TeamHarness delegation.

Decision

NeedPath
Current Worker can do it directlyNo subagent
Same Worker needs short parallel inspectionQwenPaw native subagent
Same Worker needs visible fan-out to custom roles, workspaces, AGENTS.md, or skillsDynamic workflow via worker_agentflow workflow_run
Same Worker needs one manually controlled temporary subagentcreate_temp_agent directly
Work needs a persistent team member or Leader acceptanceDo not use WorkerFlow; use the team workflow

Native Subagent

Use QwenPaw native subagents for short internal parallelism. The current Worker still owns the final result.

Do not create a temporary agent when no custom prompt, workspace, or skill set is required.

Temporary QwenPaw Agent

Use worker_agentflow with workflow_run when a custom AgentSpec-style template has already been placed in the default QwenPaw workspace:

<QWENPAW_WORKING_DIR>/workspaces/default/subagents/<role>/
  AGENTS.md
  PROFILE.md        # optional
  SOUL.md           # optional
  skills/
    <skill-id>/
      SKILL.md

Use list_subagents first when you need to discover the templates available in the default workspace. Use create_temp_agent directly only when you need manual control outside a dynamic workflow.

Subagent template rules:

  • AGENTS.md should tell the temporary agent to begin analysis immediately.
  • AGENTS.md should forbid greetings, self-introductions, and capability summaries.
  • AGENTS.md should define the subagent's focus area so the Worker can send the complete source input instead of manually slicing the input.
  • When multiple subagent results will be merged, each AGENTS.md should require the same fixed output shape.

Dynamic workflow lifecycle:

Read the whole SKILL.md on GitHub

More in AI and agents