Skip to content
Back to skills

Workspace Init

ASecurity

Initialize a new workspace by copying the standard artifact template (STATUS.md, CHECKPOINTS.md, UNITS.csv, DECISIONS.md + folders). **Trigger**: workspace init, initialize workspace, workspace template, 初始化 workspace. **Use when**: 启动任何 pipeline run(必须先有 workspace 工件与目录骨架)。 **Skip if**: workspace 已初始化且不希望覆盖既有文件(除非显式 `--overwrite`)。 **Network**: none. **Guardrail**: 不要修改 `.codex/skills/workspace-init/assets/` 模板;默认不覆盖已有文件。

  • 512 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added February 8, 2026
developmentpythongo

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add WILLOSCAR/research-units-pipeline-skills --skill workspace-init --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Workspace Init?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Workspace Init
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/willoscar-workspace-init/badge)](https://www.skillsdirectory.com/skills/willoscar-workspace-init)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: workspace-init
description: |
  Initialize a new workspace by copying the standard artifact template (STATUS.md, CHECKPOINTS.md, UNITS.csv, DECISIONS.md + folders).
  **Trigger**: workspace init, initialize workspace, workspace template, 初始化 workspace.
  **Use when**: 启动任何 pipeline run(必须先有 workspace 工件与目录骨架)。
  **Skip if**: workspace 已初始化且不希望覆盖既有文件(除非显式 `--overwrite`)。
  **Network**: none.
  **Guardrail**: 不要修改 `.codex/skills/workspace-init/assets/` 模板;默认不覆盖已有文件。
---

# Workspace Init

Create an artifact-first workspace using the standard template under `assets/workspace-template/`.

This skill is intentionally simple and deterministic.

## Input

- Target workspace directory (usually the current working directory for the run).

## Outputs

- `STATUS.md`, `CHECKPOINTS.md`, `UNITS.csv`, `DECISIONS.md`
- `GOAL.md`
- `queries.md`
- `papers/`, `outline/`, `citations/`, `output/` (with placeholder files)

## Workflow

1. Create the target workspace directory if it does not exist.
2. Copy the contents of `assets/workspace-template/` into the workspace.
3. Do not overwrite existing files unless explicitly requested; prefer merge/append when safe.
4. Ensure the four core files exist: `STATUS.md`, `UNITS.csv`, `CHECKPOINTS.md`, `DECISIONS.md`.

## Quality checklist

- [ ] Workspace contains the template files and folders.
- [ ] `UNITS.csv` is valid CSV with the required header.

## Side effects

- Allowed: create missing workspace files/directories.
- Not allowed: modify the template under `.codex/skills/workspace-init/assets/`.

## Script

### Quick Start

- `python .codex/skills/workspace-init/scripts/run.py --help`
- `python .codex/skills/workspace-init/scripts/run.py --workspace <workspace_dir>`

### All Options

- `--overwrite`: allow overwriting existing files in the target workspace

### Examples

- Create a new workspace:
  - `python .codex/skills/workspace-init/scripts/run.py --workspace workspaces/my-run`
- Re-init and overwrite template files (be careful):
  - `python .codex/skills/workspace-init/scripts/run.py --workspace workspaces/my-run --overwrite`

## Troubleshooting

### Issue: workspace already exists and files were not overwritten

**Fix**:
- This is the default behavior. Re-run with `--overwrite` only if you want to replace template files.

### Issue: you accidentally tried to use the repo root as a workspace

**Fix**:
- Always use `workspaces/<name>/` (the runner refuses to use the repo root).

Files in this skill

  • SKILL.md2.5 KB
  • assets/workspace-template/CHECKPOINTS.md1.3 KB
  • assets/workspace-template/DECISIONS.md396 B
  • assets/workspace-template/GOAL.md122 B
  • assets/workspace-template/STATUS.md170 B
  • assets/workspace-template/UNITS.csv268 B
  • assets/workspace-template/citations/ref.bib72 B
  • assets/workspace-template/citations/verified.jsonl1 B
  • assets/workspace-template/outline/claim_evidence_matrix.md121 B
  • assets/workspace-template/outline/mapping.tsv75 B
  • assets/workspace-template/outline/outline.yml370 B
  • assets/workspace-template/outline/taxonomy.yml333 B
  • assets/workspace-template/output/DRAFT.md128 B
  • assets/workspace-template/output/QUALITY_GATE.md176 B
  • assets/workspace-template/output/RUN_ERRORS.md155 B
  • assets/workspace-template/output/SNAPSHOT.md81 B
  • assets/workspace-template/papers/core_set.csv37 B
  • assets/workspace-template/papers/paper_notes.jsonl1 B
  • assets/workspace-template/papers/papers_dedup.jsonl1 B
  • assets/workspace-template/papers/papers_raw.jsonl1 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.