Skip to content
Back to skills

Start Project

ASecurity

Spin up a new project - create the project doc in 03 Projects, link to initiative

  • 5 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added October 4, 2026
ai-agentsgobash

Security analysis

A100/100

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

Scanned November 9, 2026

npx -y skills add OpenCairn/OpenCairn --skill start-project --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Start Project?

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

Security grade badge for Start Project
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/opencairn-start-project/badge)](https://www.skillsdirectory.com/skills/opencairn-start-project)

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: start-project
description: Spin up a new project - create the project doc in 03 Projects, link to initiative
---

# Start Project - New Project Initialisation

**Scoped rule loading:** `_shared-rules-planning.md` before project/task creation. Read the applicable numbered sections at that point, from the same directory as the core `_shared-rules.md`; do not preload unrelated supplements.

You are helping the user spin up a new project. This command creates the project doc in `03 Projects/` — folder location IS status (root = active, `Backlog/` = backlog), so creating the doc there is the whole registration — and optionally links it to an initiative project.

## Philosophy

Projects should be explicit from the start. Creating a project properly:
- Forces clarity on what "done" looks like
- Makes the commitment visible in the `03 Projects/` root
- Links to broader context if part of an initiative
- Creates the session linkage from day one

**Initiatives vs Projects:**
- **Initiative:** Large, multi-week or multi-month effort that contains multiple projects (e.g., "Summer Vacation", "Working Memory Consolidation")
- **Project:** Discrete deliverable, often part of an initiative (e.g., "Task System Consolidation" under "Working Memory Consolidation")

## Instructions

### 0. Resolve Vault Path

```bash
"${VAULT_PATH:?VAULT_PATH not set}/.claude/scripts/resolve-vault.sh"
```

If error, abort. Read `~/.codex/skills/_shared-rules.md` and apply its rules throughout this skill. All code below uses `{VAULT}` as a placeholder — substitute the resolved vault path.

### 1. Check current date/time

```bash
date +"%Y-%m-%d"
date +"%I:%M%p" | tr '[:upper:]' '[:lower:]'
```

### 2. Gather project details

If project name not provided as parameter, ask:
> "What's the name of the project?"

**Run Step 3's conflict check now, as soon as the name is known** — before spending the user's time on the remaining questions. A collision may change the name or abort the run, which makes every answer gathered first a wasted interaction.

Then ask:
> "What does 'done' look like for this project? (One sentence or a few bullet points)"

Ask which bucket it belongs to (one line — the doc's `bucket:` frontmatter, which $morning groups the landscape by):
> "Which bucket?" (offer the vault's taxonomy — Project Doc Format in `07 System/Vault Organisation Principles.md`)

Ask for deadline/target (optional):
> "Any deadline or target date? (Leave blank if open-ended)"

Ask about initiative linkage — **skip this question if `--initiative=Name` was passed**, and use that value:
> "Is this part of a larger initiative? (e.g., 'Summer Vacation', 'Working Memory Consolidation')"

### 3. Check for conflicts

- Check if `{VAULT}/03 Projects/[Project Name].md` already exists
- Check if `{VAULT}/03 Projects/Backlog/[Project Name].md` already exists
- Check if `{VAULT}/03 Projects/Cold/[Project Name].md` already exists
- Glob the vault for any other `[Project Name].md` — a completed project of the same name may live in `04 Areas/.../Archive/` or `06 Archive/`, and a basename collision breaks basename wikilinks elsewhere in the vault. Warn on any hit.
- If an exact-name project exists, make the choices location-sensitive:
  - Root → continue the active project; if its initiative backlink or resources folder is missing, offer to finish only those missing artefacts.
  - `Cold/` or `Backlog/` → offer to activate it via `$set-project-status [Project Name] active`.
  - Elsewhere in the vault → offer a different name or abort. Restoring a completed project is a separate workflow.

**Initiative preflight:** when an initiative was selected, locate and read its actual hub before creating the child or writing its `**Initiative:**` link. If missing or ambiguous, show the candidates and ask for the existing hub or permission to proceed without an initiative; do not invent the hub. Record the resolved path, a unique backlink section anchor and the child's actual path. If the hub has no suitable section, confirm where to add one before writing.

**Task dedup preflight:** search This Week and Tickler for both the project subject and each proposed first action. Read matching items before seeding Next Actions. Name a matching checkbox in the project and link it to the project; do not create a second actionable copy or replace its execution-critical detail with a link alone.

### 4. Create project file

Create at `{VAULT}/03 Projects/[Project Name].md` (or `Backlog/` if `--backlog`). Under `--backlog`, `mkdir -p "{VAULT}/03 Projects/Backlog"` first — the folder is a library-wide convention but is not guaranteed to exist in a fresh vault:

**Write mechanism:** stage the complete document outside the vault, then create it through `locked-edit.sh "<absolute project path>" --replace-whole MISSING` (§5/§14). Exit 2 is a competing creation: read it and repeat the conflict decision; never overwrite it or fall back to apply_patch or a raw write. Initiative-hub mutations retain their canonical locked writer.

Omit the `**Initiative:**` line entirely when there's no initiative — don't write the words "(if applicable)" into the file.

```markdown
---
bucket: [bucket from step 2]
---

# [Project Name]

**Created:** [Date]
**Initiative:** [[resolved initiative path without .md]]

---

## Goal

[Done state from step 2]

---

## Current Objective

[First milestone toward the goal — or the goal restated, if it's one push]

**Last update:** [Date] - Created

---

## Next Actions

- [ ] [First obvious next step, or "Define first action"]

---

## Resources

<!-- Link to related files:
- [[05 Resources/[Project Name]/...]]
-->

---

## Notes

[Any initial context captured during creation]

---

## Session History

<!-- $park appends session links here -->
```

If the dedup preflight found an existing first-action checkbox, replace the template's first-action placeholder with a plain line naming that task by subject (and date, if any), with no surface name or Tickler/This Week heading link (`_shared-rules-planning.md` §3). Once the project file exists, append `→ [[03 Projects/[Project Name]]]` (`Backlog/` form if `--backlog`) to that checkbox through `locked-edit.sh` (§5); do not seed another checkbox merely to fill Next Actions.

Leave Session History empty apart from the comment — `$park` is the writer (it appends the session link there when it runs — see `park/SKILL.md` for the exact format, which this file must not restate and let drift). Seeding a link at creation time means fabricating the session number and topic before `$park` has assigned them: a guaranteed-dangling link in a different anchor format. The `## Session History` heading itself is load-bearing — `$park` appends only where it exists.

### 5. Root-cap check

Creating the doc in the `03 Projects/` root IS the registration — folder location is status (root = active, `Cold/` = paused, `Backlog/` = backlog); there is no separate index or dashboard to update.

After creating (skip under `--backlog`), count the root:

```bash
ls "{VAULT}/03 Projects/"*.md 2>/dev/null | wc -l
```

If the count exceeds the **active project cap** (resolve it first: `rg -F '**Active project cap:'` over `{VAULT}/07 System/Vault Organisation Principles.md` → *Project Doc Format*, and state the value found. **`-F` is required** — a leading `**` is a repetition operator to some greps, which error out instead of matching. Exit 1, or a line yielding no number, means state `cap line unreadable — using default 5` and proceed on 5, so a failed read is never mistaken for a vault that states no cap. **Any other non-zero exit is a tool error, not an absent line** — report it and stop, rather than falling through to the default, which is the failure this branch exists to prevent) — say so and suggest which existing root project looks most moveable to `03 Projects/Cold/` — the root is the active-attention set, and it only stays legible if it stays small. Note it for the user; don't move anything without their say-so.

### 6. Link from initiative (if applicable)

If initiative specified:
- **Write mechanism (F1):** initiative hubs live in `03 Projects/` — edit via `locked-edit.sh`, never a raw edit (see `_shared-rules.md` §5)
- Re-read the hub at the exact path resolved by the initiative preflight, then use its selected section anchor
- Add the backlink in that preflighted section, using the file's actual path (`Backlog/` form if `--backlog`):
  ```markdown
  - [[03 Projects/[Project Name]]] - [brief description]
  ```

Read back the saved hub section and child's initiative link. Report `Linked from initiative` only when both resolve to the actual files. A missing/changed section or failed locked replacement is a pending backlink, not successful linkage; retain the child and report the exact repair needed.

### 7. Create resources folder (optional)

Ask:
> "Create a resources folder at `05 Resources/[Project Name]/`? (y/n)"

If yes:
```bash
if [ -d "{VAULT}/05 Resources/[Project Name]" ]; then echo "existed"; else mkdir -p "{VAULT}/05 Resources/[Project Name]" && echo "created"; fi
```

Report whichever the test returned in Step 8 — `mkdir -p` silently adopts a colliding topic folder, so an unconditional "✓ created" can claim a folder this run didn't make. Then **uncomment the hub's `## Resources` link** to point at the folder; left commented, nothing links it and the folder is orphaned.

### 8. Display confirmation

```
✓ Project created: [actual file path — 03 Projects/[Project Name].md, or Backlog/ form]
✓ Registered by location: [03 Projects root (active) / Backlog] — folder is status
[⚠ Root count now N (cap M) — consider moving [candidate] to Cold — omit when at or under the cap, or under --backlog]
[✓ Linked from initiative: [actual hub path] — only after Step 6 verified the reciprocal links | ⚠ Initiative backlink pending: [actual hub path and failed/missing link] — after a Step 6 failure; omit when no initiative]
[✓ Resources folder created: 05 Resources/[Project Name]/ | ✓ Resources folder already existed: … — whichever the Step 7 test returned]

Project ready. What's the first action?
```

## Guidelines

- **Explicit > implicit:** Creating a project forces clarity on scope and done-state
- **Initiatives are optional:** Many projects stand alone
- **Backlog = not yet started:** Use `--backlog` for ideas not ready to pursue
- **Minimal ceremony:** Don't over-engineer the project file - it grows organically
- **Done-state is key:** "What does done look like?" prevents scope creep
- **Link early:** Session history section creates searchable project thread from day one
- **Resources folder optional:** Only create if project will have associated files

## When to Use This Command

**Use when:**
- Starting a new discrete body of work
- Splitting an initiative into concrete projects
- Capturing an idea that deserves tracking (use `--backlog`)
- Work that will span multiple sessions

**Don't use when:**
- Quick task (route to This Week or the Tickler — small items need no home doc)
- Existing project already covers this work
- Area maintenance (belongs in `04 Areas/`, not a project)

If unsure whether something is a project or a task: if it needs multiple sessions and has a clear "done", it's a project.

## Integration

- **03 Projects root:** the doc's folder is its status; $morning reads it into the landscape
- **Initiatives:** Linked bidirectionally for navigation
- **Session summaries:** Session History section captures all work
- **complete-project:** Eventual counterpart to route the doc out of the root when done

Files in this skill

  • SKILL.md9.8 KB
  • agents/openai.yaml225 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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

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