Skip to content

Commit 8ef131d

Browse files
committed
fix: pass /skill:control-agent as initial message so agent auto-starts
The --skill flag only adds the skill to the system prompt available skills list (description + location). It does not inject the full content or trigger an LLM turn. Adding the positional argument "/skill:control-agent" causes pi to expand the skill command and send it as the first user message, which triggers the startup checklist automatically.
1 parent 99fdae8 commit 8ef131d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ export PI_SESSION_NAME="control-agent"
2525

2626
# Start control-agent
2727
# --session-control: enables inter-session communication (handled by control.ts extension)
28-
pi --session-control --skill ~/.pi/agent/skills/control-agent
28+
pi --session-control --skill ~/.pi/agent/skills/control-agent "/skill:control-agent"

0 commit comments

Comments
 (0)