Skip to content
Back to skills

Graduate Project

ASecurity

Graduate a life-crm project into its own ~/gits dev repo and wire the OKF spine between them. Use when a life-crm project needs its own dev or build space (the move to Claude Code), or the user says graduate this project, spin up a repo for it, give it its own repo, or move it to gits. Scaffolds the repo from clybor-claude-tooling (build) or the ClaudeOS or OKF template (knowledge), writes the spine pointers anchored on the Notion Project ID, flips the life-crm folder to role crm, and registe...

  • 6 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 5, 2026
ai-agentspythongobashrailsgit

Works with

  • claude code
  • cli

Security analysis

A100/100

Scanned December 1, 2026

npx -y skills add shawnclybor/clybor-claude-tooling --skill graduate-project --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Graduate Project?

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

Security grade badge for Graduate Project
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/shawnclybor-graduate-project/badge)](https://www.skillsdirectory.com/skills/shawnclybor-graduate-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: graduate-project
description: Graduate a life-crm project into its own ~/gits dev repo and wire the OKF spine between them. Use when a life-crm project needs its own dev or build space (the move to Claude Code), or the user says graduate this project, spin up a repo for it, give it its own repo, or move it to gits. Scaffolds the repo from clybor-claude-tooling (build) or the ClaudeOS or OKF template (knowledge), writes the spine pointers anchored on the Notion Project ID, flips the life-crm folder to role crm, and registers plus backlinks. Done when check-spine.py and validate-okf.py pass.
allowed-tools: Read, Grep, Glob, Bash, Write, Edit
---

# graduate-project

Turns a life-crm project folder into a graduated `~/gits/<slug>` repo and connects the two via the OKF spine (Clybor OKF profile — `~/gits/life-crm/docs/okf-profile.md`). The **Notion Project ID** is the join key; `check-spine.py` keeps the link honest. Six steps, one at a time. Confirm the destination before scaffolding; never mutate a NEW repo without the user's OK.

## Where every step runs
Run Steps 2, 2b and 5 on the Mac with Desktop Commander `start_process` (`~/gits/...`), where `gh` is signed in. Not the container `Bash`: its GitHub proxy returns 403 on `gh repo create`, and approval does not lift it. Not `device_bash`: no `gh`, no git credentials, deletes off (breaks `init.sh` and git locks). `check-spine.py` exit 3 = SKIP = wrong machine.

## Step 0 — Read the registry row (source of truth)
Read the project's registry block — `~/gits/life-crm/docs/project-registry.md` is the index and its Detail column names the block file `docs/registry/<slug>.md` — for: **Notion Project ID**, **Local folder**, existing **Related repos**. If the project isn't in the registry, STOP and ask — graduation assumes a signed/active project. Never guess the Notion ID.

## Step 1 — Pick repo type, slug and remote
Ask (one round): **build** repo (code/deploys → `init.sh` flavor) or **knowledge** repo (OKF KB → ClaudeOS template) — or both. Default slug = the project's local-folder name. Confirm the destination `~/gits/<slug>` with the user. In the same round, ask whether to create a GitHub remote (default: private, `<owner>/<slug>`).

## Step 2 — Scaffold the repo
- **build:** `mkdir -p ~/gits/<slug> && git -C ~/gits/<slug> init`, then `bash ~/gits/clybor-claude-tooling/scripts/init.sh ~/gits/<slug> "<Display Name>"` (copies the `.claude/` tree, `CLAUDE.md`, PRD templates, `check-knowledge.sh` + pre-commit gate).
- **knowledge:** copy your ClaudeOS OKF-bundle master template (the self-replicating `.claudeos-template` knowledge base) per its `procedures/new-project.md` (the marker travels with the copy; first-run configures the instance). NEVER write content into a folder while its `.claudeos-template` marker is present.
- Then invoke `project-bootstrap` to install matching catalog assets + write `TOOLING.md`.
- **build:** run `bash scripts/check-knowledge.sh` in the new repo. If it flags unrouted template skills, route the needed ones in *Installed catalog assets* and move the rest to a gitignored `_to_delete/`.

## Step 2b — First commit and GitHub remote (on the Mac, via DC)
```bash
cd ~/gits/<slug> && git add -A && git commit -m "Scaffold <slug> from clybor-claude-tooling"
gh repo create <owner>/<slug> --private --source . --remote origin --push
gh repo view <owner>/<slug> --json visibility,url,defaultBranchRef
```
Quote the `gh repo view` output. Keep `__pycache__/` and `*.bak-*` out. Skip only if the user said no remote.

## Step 3 — Write the spine (the bridge)
Anchor on the Notion Project ID from Step 0.
- **life-crm side** — set `~/gits/life-crm/<folder>/index.md` frontmatter: `role: crm`, `notion_project: <id>`, `canonical_repo: ~/gits/<slug>` (or a `repos:` list for multi-repo). If the folder has no `index.md`, create one to the Clybor OKF profile (`schema: okf-adapted-v0.1`); reframe local deliverables as client-delivery **renders** (canon now lives in the repo).
- **gits side (two-way ONLY — optional):** add `~/gits/<slug>/index.md` with `role: build|knowledge`, `notion_project: <id>`, `crm_home: ~/gits/life-crm/<folder>`. Skip unless the user opens the repo standalone. One-way is the default.

## Step 4 — Register + backlink
- Update the project's `docs/registry/<slug>.md` block: add `~/gits/<slug>/` (and `<owner>/<slug>` if a remote exists) under **Related repos**, then `python3 scripts/build-registry-index.py` (never edit the `docs/project-registry.md` index by hand).
- Run `backlink-governance`, then `bash ~/gits/life-crm/scripts/check-backlinks.sh`.

## Step 5 — Verify (definition of done)
- `python3 ~/gits/life-crm/scripts/check-spine.py` via DC → the project shows ✓ (exit 3 = SKIP = wrong machine, not done) (add `--two-way` if you wrote the reverse pointer).
- If the repo is an OKF bundle: `python3 <repo>/validate-okf.py .` → exit 0.
- Report: repo scaffolded, commit and remote (with the `gh repo view` receipt), spine pointers written, gate results. 2–3 sentences.

## Guardrails
- KISS / YAGNI · Two Strikes · Blocker Protocol · read before writing · no fabrication · audit your writes.
- One-way spine by default; reverse pointer only on an explicit standalone-repo need.
- Confirm before scaffolding a NEW repo. Never touch a `.claudeos-template` master.
- Destructive moves are reversible (`_to_delete/` / `_superseded/`); nothing hard-deleted without confirmation.

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.