ワンクリックで
run-subagent
Run a subagent - either a newly created one from workspace or a saved subagent from previous sessions.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Run a subagent - either a newly created one from workspace or a saved subagent from previous sessions.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Create a new Python subagent file in the workspace. After creating, use run_subagent to test it (NOT use_saved_subagent).
Complete the task with a final answer and save reusable subagents as skills. Use this when you have successfully solved the question.
List all previously saved subagent skills. Use this to check if a suitable subagent already exists before creating a new one.
Edit an existing subagent file by replacing specific code snippets. Supports both workspace files and saved skills.
View the source code of a saved subagent skill. Use this to understand how an existing subagent works before reusing or adapting it.
**Problem Category**: Audio file transcription using OpenAI Whisper
| name | run_subagent |
| description | Run a subagent - either a newly created one from workspace or a saved subagent from previous sessions. |
Run a subagent file from either the workspace (newly created) or from saved skills (previous sessions).
run_subagent now handles BOTH types of subagents:
filename parameterskill_name parameterFor newly created subagents (workspace files):
<action>run_subagent</action>
<params>{"filename": "subagent.py", "query": "your focused sub-question"}</params>
For saved subagents (from previous sessions):
<action>run_subagent</action>
<params>{"skill_name": "multi_hop_biographical_researcher", "query": "your focused sub-question"}</params>
| Parameter | Type | Default | Description |
|---|---|---|---|
| filename | str | "subagent.py" | Name of the file you created with create_subagent (for workspace files) |
| skill_name | str | - | Name of a saved subagent from list_saved_subagents (for saved skills) |
| query | str | original question | The focused query to pass to the subagent |
Note: Provide either filename OR skill_name, not both. If skill_name is provided, it takes priority.
On success:
{
"success": True,
"answer": "the subagent's answer",
"summary": "reasoning trace with key evidence"
}
On failure:
{
"success": False,
"error": "error message..."
}
filename parameter matching the exact filename you used in create_subagent. If you created with "filename": "visualizer.py", you must run with "filename": "visualizer.py" — omitting it will default to "subagent.py" and fail.list_saved_subagents to see available namesquery parameter to pass focused sub-questionsmain(query) function as a parametermodify_subagent to fix (workspace files only)<!-- After create_subagent with filename="subagent.py" -->
<action>run_subagent</action>
<params>{"filename": "subagent.py", "query": "What year was the Sapphire Jubilee?"}</params>
<!-- Using a saved subagent -->
<action>run_subagent</action>
<params>{"skill_name": "entity_researcher", "query": "Who is Kwesi Arthur?"}</params>
<!-- Call again with different query -->
<action>run_subagent</action>
<params>{"filename": "subagent.py", "query": "Who created Linux?"}</params>