Command Palette

Search for a command to run...

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

workspace-init

БесплатноЗапускает вложенные скриптыНе проверен

Initialize a missing research Workspace from the repository template without overwriting existing Run state; use before Pipeline binding when the target under…

WILLOSCARот WILLOSCAR★ 521 звезда на GitHub

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

Workspace Init

Initialization is a boundary: it creates Workspace-owned state and leaves existing state untouched unless overwrite is an explicit operator decision. It does not select a Workflow or execute a Unit.

Inputs

  • Target directory under workspaces/<name>/.
  • Optional explicit overwrite decision.

Outputs

  • STATUS.md, CHECKPOINTS.md, UNITS.csv, and DECISIONS.md.
  • GOAL.md and queries.md.
  • papers/, outline/, citations/, and output/ directories.

Steps

1. Validate the destination

Resolve the target path and reject the repository root. Inspect existing files before deciding whether initialization is missing, partial, or already complete. Never infer overwrite permission from a partial Workspace.

Completion criterion: the destination is a Workspace path and every existing file that could be replaced is known.

2. Materialize the base template

Copy the repository-owned template into the target. Default to create-missing; use --overwrite only after an explicit replacement decision.

Completion criterion: all missing base files and directories are materialized, and no pre-existing file was replaced without explicit permission.

3. Verify the core contract

Confirm that STATUS.md, UNITS.csv, CHECKPOINTS.md, and DECISIONS.md exist. Parse the UNITS.csv header and reject malformed CSV rather than leaving a superficially initialized Workspace.

Completion criterion: the four core files exist and UNITS.csv has the required schema.

4. Hand off to Workflow binding

Leave Workflow selection and Pipeline-specific Unit materialization to pipeline-router or the Pipeline adapter. The generic template is not evidence that a Goal has been routed.

Completion criterion: the Workspace can be passed to the router without requiring any state from chat history.

Context Pointers

  • Read assets/workspace-template/ only when inspecting or changing the base template contract.
  • Read the selected pipelines/*.pipeline.md only after Workflow binding.
  • Use research-pipeline-runner when the user asked to continue beyond initialization.

Script

Quick Start

uv run python .codex/skills/workspace-init/scripts/run.py \
  --workspace workspaces/<name>

All Options

  • --workspace <path>: target Workspace.
  • --overwrite: replace existing template-owned files after explicit approval.
  • --unit-id, --inputs, --outputs, --checkpoint: Pipeline-runner compatibility arguments.

Examples

Inspect the interface before use:

uv run python .codex/skills/workspace-init/scripts/run.py --help

Replace template files only after an explicit reset decision:

uv run python .codex/skills/workspace-init/scripts/run.py \
  --workspace workspaces/<name> \
  --overwrite

Troubleshooting

  • Existing files remain unchanged by default. This is the expected idempotent behavior, not an initialization failure.
  • Never point the script at the repository root; use workspaces/<name>/.
Полный SKILL.md на GitHub

Установить workspace-init в Claude Code и Claude Desktop

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

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

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

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

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

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

assets/workspace-template/CHECKPOINTS.mdassets/workspace-template/DECISIONS.mdassets/workspace-template/GOAL.mdassets/workspace-template/STATUS.mdassets/workspace-template/UNITS.csvassets/workspace-template/citations/ref.bibassets/workspace-template/citations/verified.jsonlassets/workspace-template/outline/claim_evidence_matrix.mdassets/workspace-template/outline/mapping.tsvassets/workspace-template/outline/outline.ymlassets/workspace-template/outline/taxonomy.ymlassets/workspace-template/output/DRAFT.mdassets/workspace-template/output/QUALITY_GATE.mdassets/workspace-template/output/RUN_ERRORS.mdassets/workspace-template/output/SNAPSHOT.mdassets/workspace-template/papers/core_set.csvassets/workspace-template/papers/paper_notes.jsonlassets/workspace-template/papers/papers_dedup.jsonlassets/workspace-template/papers/papers_raw.jsonlassets/workspace-template/queries.mdscripts/run.py

FAQ

Что делает скилл workspace-init?

Initialize a missing research Workspace from the repository template without overwriting existing Run state; use before Pipeline binding when the target under `workspaces/` has no valid core artifacts.

Как установить скилл workspace-init?

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

Скилл workspace-init запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

Сравнить workspace-init с