docs/agents/skill-runtime.md

Running the managed skills

Pick the smallest skill that finishes the task, and read only that skill and the references it needs. A clear task goes straight to the work, with no forced interview, prototype or planning step.

Installing a skill does not run it. Skills marked explicit in registry.json run only when Screen names them, and must set disable-model-invocation: true in frontmatter. Suggest an explicit skill when it fits and let Screen call it. Keep descriptions short: one sentence on what the skill does, one on when to use it.

Default skill routing

The marked block in instructions/AGENTS.md is the one place to edit the default routing. sync-skills.ps1 copies it into each client's startup file, and -Check confirms the copies match. Restart a client session to pick up a change.

Skill index and preferences

registry.json is the single index of managed skills and their invocation policies, and each skill's SKILL.md frontmatter owns its description. Engineering principles live as plain essays in docs/principles/, not as skills.

Screen's design preferences apply to every imported example: skeletons for loading, and motion with a purpose and reduced-motion support.

Tstack skills

  • Use the repository's real Git host and CLI. GitHub commands apply to GitHub work only.
  • takeover, babysit-pr, modernize and leaving-pr-comments run when the task matches. full-send, full-stop, council and sol-loop are explicit. pr writes the description and files or updates the PR. code-review is the ordinary review.
  • full-send permits pushing and merging its own task branch after its merge gate. full-stop permits preparing and pushing, and leaves the PR unmerged. A plain implementation request selects neither.
  • Post comments only within Screen's authorization. One standing exception: after an authorized push of fixes to an existing PR, post the fix update from leaving-pr-comments.
  • The babysit-pr/scripts/pr-wait fallback needs Python 3, authenticated gh and POSIX fcntl, so it cannot run on native Windows. Outside T3 on Windows, report that no watcher is available instead of writing a loop.

Adding, removing and updating skills

  • Add: copy the skill and its references into skills/, pin the upstream revision in registry.json, keep its license under docs/third-party/, then run scripts/sync-skills.ps1 and -Check.
  • Remove, only when Screen asks: move the folder to .agents/skill-backups/Fleet/, delete its registry entry, add its name to excludedNames, then sync. An upstream deletion is not a reason to remove a local skill.
  • Update check: pwsh.exe -NoProfile -File scripts/check-skill-updates.ps1 compares each pinned skill with its source and changes nothing. Applying an update needs Screen's OK and must keep Fleet's local edits.
  • Fingerprints use sha256-path-content-v1: sort a skill's files by relative POSIX path, then SHA-256 each UTF-8 path, a NUL byte, the file's raw bytes and another NUL byte, in order. Refresh contentSha256 after editing a skill.