Skip to content

add thirdshift skill <skill> command #965

Closed

Description

@JacobStephens2

optionally add thirdshift skill <skill> issue <issue> command

Activity

  1. JacobStephens2 commented on Oct 21, 2026

    @JacobStephens2
    OwnerAuthor

    This was generated by AI during triage.

    Agent Brief

    Category: enhancement
    Summary: thirdshift skill <skill> [issue <issue>] runs one skill in a headless session on the default Harness and prints the result

    Current behavior:
    thirdshift only runs skills inside the Commands it shapes. A Run's sessions use the Factory skills (thirdshift-implement, thirdshift-code-review, thirdshift-to-spec and the rest), which it writes out and links into each worktree. There is no command that runs a single skill on its own, e.g. turning an issue into a Spec or reviewing a branch without starting a Run.

    Desired behavior:

    • Settled with the maintainer during triage: the command runs the skill in a headless session. It doesn't print or install skills.
    • thirdshift skill <skill> starts one headless session on the User config's default Harness, with its Model and effort, and gives it the skill as the task. It prints the session's final message on stdout. thirdshift skill <skill> issue <issue> gives the session that issue too. <issue> is an Issue URL or a number, as in other commands.
    • <skill> is looked up first by its exact name, as a Factory skill or as a skill the repository checks in under .agents/skills/ or .claude/skills/. If no skill has that name, it's looked up as the Factory skill thirdshift-<skill>. So thirdshift skill to-spec issue 42 runs thirdshift-to-spec on Release pipeline: binaries, installer and platform smoke tests #42.
    • The command runs from the repository clone, like other commands, in a temporary worktree at the head of the checked-out branch, with the Factory skills linked in as for a Run. Uncommitted changes in the checkout aren't part of it, and the checkout is left untouched. If the session leaves uncommitted changes or unpushed commits, thirdshift keeps the worktree and prints its path. Otherwise it removes the worktree.
    • It exits 0 when the session completes. When the session fails or ends early, it exits non-zero and names the cause on stderr, as other commands do.
    • thirdshift help and the CLI docs list the command.

    Key interfaces:

    • The command-line parser's Command enum and the help text's usage lines.
    • The Factory skills (SKILLS), and how they are linked into a worktree for a Harness Adapter (skills::link_into, Adapter::project_skills()).
    • The Harness sessions a Run's stages start, and the release summary's prompt-in, final-message-out path (--release-summary), which runs a session without Factory skills.
    • How other commands resolve an Issue URL or number from origin.

    Acceptance criteria:

    • With a fake Harness, thirdshift skill to-spec issue 42 starts one session whose prompt names the thirdshift-to-spec skill and issue Release pipeline: binaries, installer and platform smoke tests #42's URL, and prints that session's final message.
    • thirdshift skill <name> finds a skill the repository checks in under its skills folders by its directory name.
    • An unknown skill exits non-zero without starting a session, and lists the skills it could run.
    • Afterwards the checkout it ran from has no new files, links or changes. A worktree with leftover changes is kept and its path printed.
    • A failing or early-ending session exits non-zero with the cause on stderr.

    Out of scope:

    • Recording the session as a Command in thirdshift status, the Console or the Session logs (a follow-up if wanted).
    • Running several skills in sequence, or on a schedule.
    • Printing or installing skills.
  2. added
    enhancement
    ready-for-agent
    in-progress
    and removed
    ready-for-agent
    in-progress
    on Oct 21, 2026
  3. removed
    in-progress
    on Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions