Skip to main content
← Back to list
01Issue
FeatureShippedSwamp CLI
Assigneesstack72

Relationships

#1047 Share skill: guided solo-to-team promotion

Opened by stack72 · 7/8/2026· Shipped 7/9/2026

Problem

A solo swamp user who wants to share their repo with a teammate currently has to research their way through it. They need to discover that @swamp/s3-datastore exists, figure out the JSON config shape, run swamp datastore setup extension ..., then separately realize their secrets are still local, discover swamp vault migrate, and figure out vault providers — all as disconnected commands with no guidance connecting them. Most people won't complete this journey.

Proposed solution

A share skill that activates when the user expresses intent to share ("I want to share this with my team", "make this a team repo", etc.). The skill drives a checklist-based state machine:

State machine

assess → datastore (gate) → vaults (gate) → commit → joiner instructions

Step 1 — Assess

Read .swamp.yaml, vault configs, git remote. Show a checklist of what's done and what needs attention:

  • Git remote configured?
  • Datastore external or still filesystem?
  • Any vaults still on local_encryption?

The checklist is the anchor — every time the skill runs, it shows this first. If the user returns after a partial run, it picks up where they left off.

Step 2 — Datastore (gate)

Conversational gate: "Where do you want to store data?" The AI agent discusses options (S3, filesystem path, other extension) with the user, then assembles and runs the right swamp datastore setup command. Verifies health after setup. If it fails (credential issue, bucket doesn't exist), explains the problem and what to fix.

Step 3 — Vaults (gate, per vault)

For each vault still on local_encryption: "Which provider should hold these secrets?" Same conversational pattern. Runs swamp vault migrate for each. If the user says "same provider for all", batches them. User can skip vaults ("I'll do that later") — the checklist remembers.

Step 4 — Commit guidance

Shows which files changed (.swamp.yaml, vault configs) and why. Offers to create the commit via the repo's VCS skill. No surprise commits.

Step 5 — Joiner instructions

The deliverable: specific, copy-pasteable instructions for what a teammate needs after cloning. Credential requirements (S3 access, vault provider credentials), extension auto-install expectations, and the fact that the S3 cache hydrates automatically. Tailored to the actual config — not generic docs.

Edge cases

  • Already shareable: skill reports "this repo is already shareable" and offers joiner instructions
  • No vaults: vault step is skipped entirely
  • Mixed vault states: only processes local_encryption vaults, shows green checks for already-migrated ones
  • Setup fails: explains the error and what to fix, waits for the user to try again
  • Partial state: picks up where the user left off

What this skill does NOT do

  • Set up swamp serve (separate operational decision, not required for sharing)
  • Manage team members (belongs on swamp-club.com)
  • Configure access control grants (relevant for serve, not shared-datastore teams)
  • Create cloud infrastructure (assumes S3 buckets, IAM roles exist)

Future extensions (same skill, later phases)

  • Serve setup step after vaults
  • Team identity integration (pre-fill defaults from team config)
  • server: field in .swamp.yaml for auto-routing
  • Per-user attribution guidance

Design artifact

Detailed user flow wireframe with terminal mockups: see attached share-skill-flow.html

02Bog Flow
OPENTRIAGEDIN PROGRESSSHIPPED+ 1 MOREASSIGNED+ 10 MOREREVIEW+ 4 MOREPR_MERGED+ 1 MORENOTIFICATION_SKIPPED

Shipped

7/9/2026, 6:36:17 PM

Click a lifecycle step above to view its details.

03Sludge Pulse
stack72 assigned stack727/8/2026, 11:31:32 PM

Sign in to post a ripple.