/pipecrew:joinfrom pipecrew
Onboards a teammate onto an existing pipecrew workspace by cloning its shared GitHub memory repo and wiring up local config. Use when a colleague has published a workspace and you need to run /deliver, /review, etc. against the same context.
Ships in pipecrew. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
/pipecrew:join <memory-repo-url> [--workspace=<slug>] [--repos-root=<dir>] [--mode=clone|local]
<memory-repo-url> is the private memory repo the workspace owner created
(default name {slug}-memory, e.g. [email protected]:acme/acme-saas-memory.git).
It is the same URL that shows up as config.workspace.memory.remote on their machine.
This skill is the teammate counterpart to /pipecrew:memory-sync: memory-sync
operates on memory you already have (status / pull / sync / enable); join
gets you the memory in the first place and wires up a working local workspace.
gh repo view <url> --json visibility). If it is public, STOP and warn the user — a public memory repo is a privacy defect on the owner's side; do not continue wiring it up as if trusted.repo_url and get a single explicit yes before cloning (Step 4). A repo with no repo_url is resolved by asking the user — either a clone URL they paste, or a path to a local copy. Never guess, fabricate, or infer a URL; never silently skip a missing repo.join is read-mostly on the memory side: it clones and reads. It writes only local, gitignored files (config.json, config.local.json). It never commits to or pushes the memory repo — the owner's syncs and the teammate's later runs do that./discover. Never re-analyze the code or regenerate platform.md/agents — the shared memory is authoritative. If the teammate wants a fresh analysis, that's /discover, not join.{workspace_root}: the directory the user ran /join from (the session's
working directory) — that directory IS the project directory, and everything this
skill creates lands under it: the memory clone at {workspace_root}/{slug},
cloned repos as its direct siblings, and the root routing context at
{workspace_root} itself. $PIPECREW_WORKSPACE_ROOT, if set, overrides. Echo the resolved directory to the user before creating
anything — if they ran /join somewhere unintended, they should say so now, not
after three clones. If --mode=local was passed (the repos already exist on this
machine), add one line to that echo: the best place to run /join from is the
directory that contains those repos, so the workspace lands beside them — and if
the cwd isn't it, ask before cloning. (Without the flag the mode isn't known yet;
Step 4 offers to relocate instead.){slug}: from --workspace=<slug> if given; else derive from the remote URL's repo name with any trailing -memory stripped (e.g. acme-saas-memory.git → acme-saas). Confirm the derived slug with the user before creating anything.{workspace_root}/{slug}/ already exists:
origin) → skip Step 2, go to Step 3 (re-join / repair).git clone <memory-repo-url> {workspace_root}/{slug}
Then enforce privacy (CRITICAL RULE 1). On success you now have context/, agents/,
history/, and config.portable.json locally. You do not have the code repos or a
config.json yet — that's the rest of this skill.
Read {workspace_root}/{slug}/config.portable.json. Each repos.{key} entry carries:
dir — the owner's subpath (informational; not used to place the teammate's clones),repo_url — the clone URL if the owner captured one (absent ⇒ point-to-local only),type / role / description.Present the roster to the user: which repos have a repo_url (cloneable) and which don't.
Goal: every repo in the roster ends up with a local path on this machine. A repo
that isn't present yet is cloned, not skipped — skipping is a deliberate choice the
user makes, never the default for a repo that merely hasn't been fetched. Resolve each
repo independently; the old global "clone vs local" question is now just a default for
the per-repo decision (and --mode still forces one for a non-interactive run).
First decide the clone root (where fresh clones land): {workspace_root} itself by
default, so each clone is a direct sibling of the memory clone ({workspace_root}/{key}),
never inside it (the memory repo is itself a git repo) — the same repos-plus-workspace
layout the owner has. Override with --repos-root=<dir>; confirm it with the user.
Then classify each repo:
{clone_root}/{key}, at a
--map=key=path the user gave, or (local mode) under the teammate's repos_root.
No network fetch. (If a destination path exists but is not this repo, STOP and
ask — --map it elsewhere or --skip; never clone over it.)repo_url → clone it (this is the case backfill + the owner's
last /memory-sync sync exists to enable):
git clone <repo_url> {clone_root}/{key}
repo_url → ask the user for a clone URL to paste. If they give
one, clone it (into {clone_root}/{key}). If they'd rather point at a copy they already
have, take a path and --map it. Only if they decline both do you --skip it —
and say so explicitly in the Step 6 summary, naming the services that drops (Step 5's
rehydrate prints them). Never fabricate a URL.Confirm once, then act. Present the full resolved plan — already-local repos, repos to
clone (URL → destination), and any repo still needing a URL from the user — and get a
single explicit yes before the first git clone. If a workspace's portable config has no
repo_url anywhere (an older workspace, every repo falling to case 3), tell the user the
one-command owner-side fix: the workspace owner runs /pipecrew:memory-sync sync, which
backfills repo_url from their local git remotes into the shared memory — after that a
re-join clones automatically.
Keep the workspace with the code (mainly local mode): if the resolved repos_root
differs from {workspace_root}, offer to move the memory clone there —
{workspace_root}/{slug} → {repos_root}/{slug} (a plain directory move; nothing
references the path yet — config.json, registration, and the root routing context all
happen in Steps 5–6). On yes, move it and set {workspace_root} = {repos_root} for the
remaining steps. On no, continue as-is — cwd inference resolves the workspace from both
locations either way.
You end up with, per repo, one of: an absolute local path (pointed-at or freshly cloned),
or a deliberate skip. Build a --map=key=path,... for explicit paths and a
--skip=key,... for any the user opted out of. Use a single --repos-root when every
remaining path is just {root}/{key}.
node {plugin_dir}/scripts/rehydrate-config.js \
--portable={workspace_root}/{slug}/config.portable.json \
--out={workspace_root}/{slug}/config.json \
[--repos-root={clone_root or teammate repos_root}] \
[--map=key=abs,...] [--skip=key,...]
This strips the portable markers (_portable, repos_root, per-repo dir), sets each
repo's local path, keeps repo_url, and preserves the workspace.memory block so
auto-sync stays on. It refuses (exit 2) if any repo has neither a mapped path nor a
--repos-root — resolve or --skip those and re-run.
Then record the teammate's root so future config.portable.json regens stay stable:
# {workspace_root}/{slug}/config.local.json (gitignored)
{ "repos_root": "{clone_root or teammate repos_root}" }
node {plugin_dir}/scripts/validate-config.js {workspace_root}/{slug}/config.json
node {plugin_dir}/scripts/workspace-registry.js --register={workspace_root}/{slug} --default
node {plugin_dir}/scripts/sync-memory.js status {workspace_root}/{slug}
node {plugin_dir}/scripts/sync-root-claude.js --config={workspace_root}/{slug}/config.json
path exists on disk (so it catches a clone that
didn't land or a wrong local path) — fix and re-run Step 5 on any error.--register … --default adds the joined workspace to the teammate's registry and makes it
the default, so subsequent /deliver, /memory-sync, etc. resolve it by slug from anywhere
(sessions working inside another workspace's repos still resolve that one via cwd inference).status confirms the memory repo is wired and reports how fresh it is.sync-root-claude places (or updates) the PipeCrew routing context at the parent
directory(ies) of the repos just wired up (for clone mode that's the project
directory /join ran from; for local mode the teammate's own repos root) — the
guide that tells any agent session
launched in or below those repos that the PipeCrew skills/agents exist and when to
use them, with this workspace's context paths and agent names. Content lands in
AGENTS.md (read natively by Cursor and other agents) with a one-line CLAUDE.md
shim (@AGENTS.md) beside it for Claude Code — same convention as per-repo docs.
It ships with the teammate's own plugin (so it always matches their version), only
ever rewrites this workspace's block between the <!-- pipecrew:workspaces -->
markers, migrates a pre-parity plugin-owned CLAUDE.md lazily, and never touches a
hand-authored file's content. On exit 1 (malformed markers), surface the error —
don't hand-edit the user's file. Opt-out: "root_context": false under workspace
in config.json makes the script a no-op (the flag arrives via config.portable.json
if the owner set it); --remove uninstalls an existing footprint.~/.claude/CLAUDE.md) to run
node {plugin_dir}/scripts/sync-root-claude.js --user, which maintains a tiny
marker-managed block listing this machine's registered workspaces so every session
knows they exist. Same consent prompt as /discover Phase C Step 5. On no, skip
silently.Report one concise summary: workspace joined, N repos wired (cloned / local / skipped),
memory sync mode, and the next step — e.g. Run /deliver --workspace={slug}. Note that
future runs pull the team's latest memory at pre-flight and sync back automatically.
/discover: discover builds a workspace by analyzing code; join reconstructs one by reading shared memory. A teammate who joins never pays for re-analysis and gets exactly the owner's curated platform.md, agents, and history./memory-sync: after join, the daily surface is /pipecrew:memory-sync status | pull | sync. join is a one-time (or repair) action.--skip leaves those repos out of their local config.json (and drops any service that referenced them, so the config still validates). They can re-run join later to add them.repo_url anywhere? Older workspaces onboarded before repo_url capture won't have clone URLs — that's fine, join runs fully in point-to-local mode. The owner can re-run /discover (or add repo_url by hand) to enable cloning for the next teammate.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub pipecrew-ai/pipecrew --plugin pipecrew23 skills in this plugin
/assessStandalone cross-repo assessment. Checks a feature branch across all repos for cross-repo integration: wire-shape agreement, requirement enforcement symmetry, event/infra wiring. Use for verifying manually-implemented features or pre-merge validation./brainstormBrainstorm what to build (or how to build it) — one skill, two perspectives. PRODUCT perspective dispatches the product-brainstormer: `greenfield` (no onboarded workspace → a PROJECT_BRIEF, same path as /discover --greenfield) or `feature` (an onboarded workspace exists → a ranked FEATURE_BRIEF for the product-owner). TECHNICAL perspective (`--technical`) dispatches the solution-architect in MODE: brainstorm to diverge into 2–3 technical approaches with pros/cons and a recommendation. Auto-detects perspective and mode from the request; asks when it's unclear which. Standalone — dispatches the agent and presents the result./context-refreshAudit or refresh PipeCrew context docs at three scopes: a single repo (its agent-context/, CLAUDE.md, and DESIGN_SYSTEM.md if frontend), the workspace (platform.md), or everything (workspace + every repo). Audit mode reports staleness only; refresh mode updates docs to match current code./deliverPipeCrew delivers a feature end-to-end across all workspace repos. Orchestrates: requirements → architecture → spec editing → parallel implementation (backend + frontend + mock + infra) → cross-repo assessment. Usage: /deliver <feature description>. Reads workspace config from {workspace_root}/{workspace}/config.json./design-testsAuthor feature-level acceptance test cases for a workspace and maintain them as a durable regression suite under {workspace_root}/{slug}/testcases/. Wraps the pipecrew:test-designer agent's draft → user gate → persist protocol. Default: baseline mode — characterization cases for the workspace's EXISTING features (from platform.md + repo profiles/specs). With --run=<run_id>: cases for the feature a past /deliver run shipped (from its FR/EC + technical design, zero code reads). 'status' renders the suite index. Standalone — does not touch /deliver or /discover./discoverDiscover a new project for the PipeCrew. Inspects repos, interrogates the domain, generates workspace config + platform.md + CLAUDE.md files + domain-specific agents. Run once per project, then use /deliver to ship features.Other plugins' skills for the same job