Agent Skill
2/7/2026os-tk-sync
Apply .os-tk/config.json to .pi/prompts + .pi/agents (model/thinking/skill frontmatter).
L
legout
1GitHub Stars
1Views
npx skills add legout/os-tk-pi
SKILL.md
| Name | os-tk-sync |
| Description | Apply .os-tk/config.json to .pi/prompts + .pi/agents (model/thinking/skill frontmatter). |
name: os-tk-sync description: Apply .os-tk/config.json to .pi/prompts + .pi/agents (model/thinking/skill frontmatter).
/os-tk-sync
Purpose
Apply workflow config changes (models + prompt skill injection) to the installed workflow assets.
Specifically:
- Updates
.pi/prompts/os-tk-*.mdfrontmatter (model,thinking,skill,restore) so pi-prompt-template-model can route commands. - Updates
.pi/agents/os-tk-*.mdfrontmatter (model) so pi-async-subagents uses the configured models for subagents.
Resolve skill dir
SKILL_DIR=".pi/skills/os-tk-sync"
if [[ ! -d "$SKILL_DIR" ]]; then SKILL_DIR="pi/skills/os-tk-sync"; fi
Run
python3 "$SKILL_DIR/scripts/apply-config.py"
Important: session reload behavior
- Subagents (pi-async-subagents): agents are discovered at tool call time, so updated
.pi/agents/*.mdtake effect immediately for futuresubagent(...)calls. - Prompt model routing (pi-prompt-template-model): prompts are loaded on
session_start, so updated.pi/prompts/*.mdtypically require starting a new pi session (or restarting pi) to take effect. This should be treated as the default expectation.
Output
Print a concise summary of what was updated and whether a restart/new session is recommended.
Skills Info
Original Name:os-tk-syncAuthor:legout
Download