# Selesai conventions for pstack

- Invoke installed skills as `$name`. A playbook can read a bundled skill directly under `skills/<name>/SKILL.md`.
- Generate project skills in `.selesai/skills/` for trusted projects. For portable project skills, follow the existing `.agents/skills/` convention if present. Use `~/.agents/skills/` for personal skills.
- Read optional role preferences from `~/.selesai/agent/pstack-models.md` when selecting a worker model. This is a pstack file, not a Selesai settings file or an automatically loaded rule. Missing roles, `auto`, and `inherit-parent` mean no explicit model override. Use only confirmed `provider/id` values with an optional supported `:thinking` suffix.
- Use the structured `question` tool through codemode for actual operator decisions, or ask in plain text. Keep the checklist in the session when no checklist tool is present.
- `$poteto-mode` authorizes delegation for its task, including every playbook and routed skill it runs. Outside it, work inline unless the operator authorized delegation. Delegate through the native `subagent` tool with a configured local agent, isolate concurrent writers in their own git worktrees, and use native completion notifications for async runs. Label missing independent or cross-model verification honestly.
- For prior work, use workspace-scoped `session_search`. Open an exact transcript only when its path was supplied by Selesai or the operator. For worktree cleanup, verify active ownership independently; missing activity evidence does not mean idle.
- Use the available forge CLI for requested PR work and the project's existing tools to drive the real app. Treat review-bot comments as ordinary review comments, not required integrations. Don't invent external services or perform unrequested publication.
