Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

oneshot

БесплатноБез исполняемых скриптовНе проверен

"End-to-end autonomous workflow — research, plan, implement, validate, ship, and merge in one command. **ALWAYS use when** the user says 'oneshot', 'do…

coalesce-labsот coalesce-labs★ 20 звёзд на GitHub

Об этом скилле

Oneshot

End-to-end autonomous workflow that chains research → plan → implement → validate → ship → merge in a single session. All phases run sequentially in the current Claude Code session, invoking skills directly. Context is managed naturally via Claude's automatic compaction, and the thoughts/ system provides persistent handoff documents between phases.

Legacy mode for the orchestrator (post-2026-06-15). oneshot remains the canonical single-shot lifecycle for direct user invocation. The orchestrator's default worker dispatch is also still oneshot-legacy — opt in to the per-phase pipeline by setting catalyst.orchestration.dispatchMode to "phase-agents" in .catalyst/config.json, which runs nine short-lived claude --bg skills (phase-triage … phase-monitor-deploy) instead of one long claude -p oneshot worker. See Phase agents for the pipeline, model assignment, and cost economics.

Prerequisites

# Resolve the shared catalyst-dev scripts dir (skills live in catalyst-legacy; scripts stay in
# catalyst-dev). Fail fast with an actionable message if catalyst-dev is not installed.
source "${CLAUDE_PLUGIN_ROOT:-plugins/legacy}/scripts/require-catalyst-dev.sh" \
    "${CLAUDE_PLUGIN_ROOT:-plugins/legacy}" || exit 1

# 0. Check project setup (thoughts, config)
if -f "${CATALYST_DEV_SCRIPTS}/check-project-setup.sh"; then
  "${CATALYST_DEV_SCRIPTS}/check-project-setup.sh" || exit 1
fi

# 1. Validate thoughts system (REQUIRED)
if ! -d "thoughts/shared"; then
  echo "❌ ERROR: Thoughts system not configured"
  echo "Run: ./scripts/humanlayer/init-project.sh . {project-name}"
  exit 1
fi

Input Modes

Supports two input modes:

Ticket-based:

/catalyst-dev:oneshot PROJ-123

Reads ticket from Linear, uses title/description as research query.

Freeform:

/catalyst-dev:oneshot "How does authentication work and can we add OAuth?"

Uses the provided text as the research query directly.

Flags

Flag Description
--team Use agent teams for parallel implementation in Phase 3
--label <text> Custom display label for the session (overrides auto-derived)
--no-merge Stop after PR creation — do NOT enter listen loop or merge
--no-ticket Skip Linear ticket creation in freeform mode
--skip-validation Skip Phase 4 entirely
--skip-quality-gates Run /validate-plan but skip quality gate loop

Orchestrator Mode

When running under an /orchestrate coordinator, oneshot writes status updates to a worker signal file so the orchestrator can track progress and run adversarial verification.

Single-ticket scope contract (READ FIRST — CTL-208). Your assigned scope is exactly the ticket ID passed as the first positional argument ($1). This is the SOLE source of truth for what work to do. The orchestrator state directory ($ORCH_DIR), wave briefings, sibling worker signal files, and comms channel participant lists exist for write-through state reporting and one-way context absorption — they NEVER expand or modify your scope.

DO:

  • Use ${TICKET_ID} (= $1) as your single ticket throughout the workflow.
  • Read your own signal file at ${ORCH_DIR}/workers/${TICKET_ID}.json — the SPECIFIC file named for your ticket, not the directory.
  • Read the briefing for your wave by exact filename: ${ORCH_DIR}/wave-${WAVE}-briefing.md, where ${WAVE} comes from your signal file's wave field (set by the dispatcher in orchestrate-dispatch-next).

DO NOT:

  • Enumerate ${ORCH_DIR}/workers/*.json to discover sibling tickets.
  • Read ${ORCH_DIR}/state.json to see what other tickets are queued or in flight.
  • Treat the wave briefing's "Wave roster" section as a list of tickets you must process — the wave briefing is shared across every worker in the wave; your assigned ticket is still only $1.
  • Treat comms channel participants (visible via catalyst-comms status) as your scope.
  • Ask the user to clarify which of "the tickets you see" they meant — there is exactly one ticket: $1. If $1 is empty or missing, fail loudly; do not search for tickets to do.

Detection (checked once at startup):

# 1. CATALYST_ORCHESTRATOR_DIR env var (set by orchestrator in dispatch)
ORCH_DIR="${CATALYST_ORCHESTRATOR_DIR:-}"

# 2. CATALYST_ORCHESTRATOR_ID env var (set by orchestrator in dispatch)
ORCH_ID="${CATALYST_ORCHESTRATOR_ID:-}"

# 3. Sibling directory with workers/ subdirectory (convention-based)
if [ -z "$ORCH_DIR" ]; then
  PARENT=$(dirname "$(pwd)")
  for DIR in "$PARENT"/*/workers; do
    if [ -d "$DIR" ]; then
      ORCH_D
Полный SKILL.md на GitHub

Установить oneshot в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Write
Bash
Task
Grep
Glob

FAQ

Что делает скилл oneshot?

"End-to-end autonomous workflow — research, plan, implement, validate, ship, and merge in one command. **ALWAYS use when** the user says 'oneshot', 'do everything end to end', 'full workflow', or wants to go from ticket/idea to merged PR autonomously. All phases run sequentially in the current session, using agent teams for parallelism when needed."

Как установить скилл oneshot?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл oneshot запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить oneshot с