feat(conductor): Add run_subagent script for stable headless skill invocation

This commit is contained in:
2026-02-24 23:17:45 -05:00
parent 0080ceb397
commit 462ed2266a
3 changed files with 24 additions and 7 deletions

12
scripts/run_subagent.ps1 Normal file
View File

@@ -0,0 +1,12 @@
param(
[Parameter(Mandatory=$true)]
[string]$Prompt,
[string]$Model = "gemini-3-flash-preview"
)
# Ensure the session has the API key loaded
. C:\projects\misc\setup_gemini.ps1
# Piping an empty string ensures stdin is closed, forcing the Gemini CLI to terminate naturally after answering.
echo "" | gemini $Prompt --model $Model