/marketing-os:team-osfrom Marketing OS
Replaces the official Relay plugin with the BenAI fork in an Obsidian vault, adding custom RBAC and access controls for team-wide vault sharing. Guides the user through locating their vault folder and performing the swap.
Ships in Marketing OS. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill replaces the upstream Relay plugin (system3-relay) with the BenAI fork (benai-relay-fork) in a target Obsidian vault. The compiled fork ships at ${CLAUDE_PLUGIN_ROOT}/skills/team-os/reference/benai-relay-fork/ (three files: main.js, manifest.json, styles.css). Copy from there — do not fetch from anywhere else.
Just their Obsidian vault folder — the one they open inside Obsidian itself. The skill will auto-detect it if they invoke /team-os from inside the vault, otherwise it'll walk them through finding it via Obsidian's Settings → About → "Show vault folder".
Example paths the user might give: ~/Documents/MyVault, /Users/jane/Obsidian/Work, or a folder dragged from Finder/Explorer. The skill normalizes all of them.
Tell the user what this will do, in plain language:
I'm about to replace the official Relay plugin with the BenAI fork in your Obsidian vault. The fork has custom RBAC + access controls. This will:
- Delete the old
system3-relayplugin if it's there.- Install the bundled BenAI Relay build.
- Update Obsidian's community-plugins config to switch over.
Close Obsidian first — modifying plugin files while it's running can corrupt the install.
Don't ask for an "absolute path". Most users don't think in those terms. Try this order:
1. Try the current working directory first.
If the cwd contains a .obsidian/ folder, ask:
I see this folder (
{cwd}) is already an Obsidian vault. Is this the one you want to install BenAI Relay into? (yes / no — I'll ask where it is)
If yes, set VAULT="$(pwd)" and skip to Step 1.
2. Otherwise, ask in plain language with platform-specific hints.
AskUserQuestion framed like:
Where is your Obsidian vault — the folder you open inside Obsidian itself?
Easiest way to find it:
- Open Obsidian → Settings → "About" → click "Show vault folder" (or right-click your vault name in the vault switcher → "Reveal in Finder/Explorer"). Drag that folder into this chat, or copy its path.
- On macOS it usually looks like
/Users/yourname/Documents/MyVaultor~/Obsidian/MyVault.- On Windows it usually looks like
C:\Users\yourname\Documents\MyVault.- The folder you want is the one with a hidden
.obsidiansubfolder inside it (not the Documents folder above it).
Accept any of:
~ expansion, trailing slash).Normalize whatever they give you: strip surrounding quotes, expand ~, drop trailing /. Save as VAULT.
Do not proceed until VAULT is set.
VAULT="<paste>"
test -d "$VAULT/.obsidian" || echo "NOT_A_VAULT"
If NOT_A_VAULT prints, tell the user the path doesn't contain .obsidian/ and ask them to re-check. Do not proceed.
ls "$VAULT/.obsidian/plugins/" 2>/dev/null
cat "$VAULT/.obsidian/community-plugins.json" 2>/dev/null
Show the user what's there. If community-plugins.json doesn't exist, that's fine — Obsidian creates it on first community plugin install. We'll handle both cases.
Confirm with the user before proceeding:
system3-relay is present, we'll remove it.benai-relay-fork already exists, we'll overwrite it (warn and ask).pgrep -x Obsidian && echo "OBSIDIAN_RUNNING"
If OBSIDIAN_RUNNING, stop and tell the user to quit Obsidian (Cmd+Q on macOS), then re-run. Do not proceed while it's running.
if [ -d "$VAULT/.obsidian/plugins/system3-relay" ]; then
rm -rf "$VAULT/.obsidian/plugins/system3-relay"
echo "Removed system3-relay"
fi
This is destructive — that's why Step 0 told the user upfront. If the user has unsaved local changes inside that plugin's folder (rare; usually it's just compiled build artifacts), they should back it up first.
SRC="${CLAUDE_PLUGIN_ROOT}/skills/team-os/reference/benai-relay-fork"
DST="$VAULT/.obsidian/plugins/benai-relay-fork"
mkdir -p "$DST"
cp "$SRC/main.js" "$SRC/manifest.json" "$SRC/styles.css" "$DST/"
ls -la "$DST"
You should see the three files (main.js, manifest.json, styles.css) at the destination.
community-plugins.jsonObsidian uses this file to track which community plugins are enabled. We need to:
system3-relay from the enabled list.benai-relay-fork to the enabled list.CFG="$VAULT/.obsidian/community-plugins.json"
if [ ! -f "$CFG" ]; then echo '[]' > "$CFG"; fi
python3 - <<PY
import json, pathlib
p = pathlib.Path("$CFG")
data = json.loads(p.read_text() or "[]")
data = [x for x in data if x != "system3-relay"]
if "benai-relay-fork" not in data:
data.append("benai-relay-fork")
p.write_text(json.dumps(data, indent=2) + "\n")
print("community-plugins.json:", data)
PY
test -f "$VAULT/.obsidian/plugins/benai-relay-fork/main.js" && echo "INSTALLED OK"
grep -q "benai-relay-fork" "$VAULT/.obsidian/community-plugins.json" && echo "ENABLED OK"
test ! -d "$VAULT/.obsidian/plugins/system3-relay" && echo "OFFICIAL REMOVED OK"
All three should print OK.
Done. Open Obsidian and load this vault. The BenAI Relay plugin should be active. If you don't see it:
- Settings → Community plugins → confirm "BenAI Relay" is toggled on.
- If Obsidian shows a "safe mode" banner, click "Trust author and enable" or disable safe mode in Settings → Community plugins.
- Sign in with your Relay.md credentials when prompted.
NOT_A_VAULT — the path is wrong, or it's pointing at a parent. The right folder is the one that has a hidden .obsidian folder inside it directly (e.g. ~/Documents/MyVault, not ~/Documents). Easiest way to find it: open Obsidian → Settings → About → "Show vault folder".
Plugin doesn't appear in Obsidian. Check .obsidian/community-plugins.json — it must contain "benai-relay-fork". Restart Obsidian.
Obsidian shows "Failed to load plugin". The bundled main.js may be incompatible with the user's Obsidian version. Check manifest.json's minAppVersion against Obsidian's "About" panel. The bundled fork requires Obsidian 0.15.0+.
User wants to revert to upstream Relay. Remove <vault>/.obsidian/plugins/benai-relay-fork/, edit community-plugins.json to remove benai-relay-fork, then install system3-relay from the Obsidian community plugins store normally.
Want to update the bundled fork later. The plugin is built into this skill — to update, the maintainer rebuilds relay-fork, copies the three artifacts into shared-skills/team-os/reference/benai-relay-fork/, runs ./sync-skills.sh && ./build-zips.sh, and republishes.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub benaios/skills --plugin marketing-os12 skills in this plugin
/instant-uiBuild a BenAI-branded HTML page in the neo-brutalist instant-ui design language (cream background, near-black ink, 3px hard borders, 6px zero-blur shadows, a blue/green/amber gradient stripe, system font plus SF Mono, weight-900 headings). Use for any BenAI landing page, offer, sales, or pricing page, onboarding or intake form, partner page, case study, playbook, toolkit, or internal doc that must look like it came off the same line as the BenAI Champion Offer assets. Reproduces that visual language 1:1 with a fixed token set and a 20-component library. Triggers include "instant-ui", "benai ui", "benai brand page", "build a benai page", "make this look like benai", "on-brand landing page", "branded form", "benai landing", "champion offer page". Not for dark HUD dashboards (route to personal-ui) or non-BenAI clients (route to client-docs)./marketing-os-carouselBuild an image-first social carousel from an asset already filed in the Marketing OS, export it as a PDF, and record it back as a real channel asset. Brand palette, typography, the logo pointer and the never-black-background rule all resolve from Context/brand/brand-kit.md. Source is a filed newsletter edition, published pillar asset, or pipeline brief, so it provably says what the parent said. Fans out parallel readers over the OS before planning, renders every slide with Higgsfield, QAs every slide with one agent each, prompted to reject rather than pass, composites the footer in code, assembles the PDF, then writes the repurposed-channel asset pointing at the PDF, updates the parent's repurpose tree, logs, and always closes by rendering a run report. Use when the user says 'build a carousel', 'turn this newsletter into a carousel', or runs /marketing-os-carousel.\"
disable-model-invocation: true
argument-hint: \"[source, e.g. a broadcast slug, a published pillar slug, or 'latest newsletter']/marketing-os-dashboardBuild, rebuild, and deploy the Marketing OS control center: a self-contained single-page dashboard rendered from the OS files, eleven pages in six nav groups (Core, Calendar, Content, Campaigns, Funnel, Performance, Learnings, Audience, Intelligence, Team, System). Interviews the user on first build to decide which pages earn a place, then reads the OS, assembles one inline JSON data block, swaps it into the fixed page shell, verifies the page opens with no external requests, deploys to a live URL and records it in config. Renders gaps as 'not pulled' rather than zero, flags any routine that should have run and did not, and renders correctly in both light and dark palettes. Bundled shell ships with the skill. Run from the Marketing OS root. Use when the user says 'build my marketing dashboard', 'rebuild the control center', 'update the marketing OS dashboard', 'deploy my marketing dashboard', 'my dashboard is stale', 'marketing os dashboard', or runs /marketing-os-dashboard./marketing-os-market-intelRun a market intelligence brief against the Marketing OS, score every find, and turn the ones that clear the bar into scored ideas in the backlog. The watchlist, competitor roster, lookback window and connectors all come from the OS, and what counts as a signal comes from the positioning file, so the brief reports the translation gap rather than generic AI news. Fans out one agent per stream in a single batch across official sources, practitioners, the competitor roster, search demand and the wider web, with an effort floor and distinct sources so a run cannot conclude from one search. Reads existing daily scan files and pulls live only for the window they miss. Writes a dated standing brief to Intelligence/market/, seeds scored ideas, logs, and always closes by rendering the brief. Use when the user says 'run market intel', or runs /marketing-os-market-intel.\"
disable-model-invocation: true
argument-hint: \"[optional focus, e.g. 'agents', 'a competitor name', or a lookback like 'last 7 days']/marketing-os-newsletterWrite a newsletter edition from the Marketing OS, gated step by step, then file it as a real asset. Reads the ICP, voice register, offer and live price, measured patterns and swipe file from the OS, never from bundled copies. Sources from a pillar asset, the values doc, a community post or a raw idea. Fans out five parallel readers over the OS before the first gate, and verifies the draft with independent agents against the voice register and offer facts. Seven gates with options at each; the edition is written only after the angle, insight, outcome, outline, subject line and hook are confirmed. On approval it writes Channels/newsletter/broadcasts/YYYY-MM-DD-slug.md, appends the shipped subject line to the swipe file, updates the parent's repurpose tree, logs, and always closes by rendering the edition. Use when the user says 'write a newsletter', or runs /marketing-os-newsletter.\"
disable-model-invocation: true
argument-hint: \"[source, e.g. a published video slug, 'values doc', or a raw idea]/marketing-os-researchAnswer an open question the Marketing OS already wrote down, then promote it to a finding. Takes its queue from the OS itself: files with status open-question in Intelligence/research/, open questions and untested beliefs in Analytics/what-works.md, and ideas with no established pain. Fans out one agent per stream in a single batch across papers, forums, the web and creators, with an effort floor, distinct sources and full-text reads, fact-checks every hard claim with a verifier prompted to refute rather than confirm, then writes Intelligence/research/topic-slug.md and updates the question file in place with a dated status change. Routes findings about our own performance to Analytics, and graduates recurring customer language to the segment files. Always closes by rendering the report. Use when the user says 'research this', 'deep dive on', or runs /marketing-os-research.\"
disable-model-invocation: true
argument-hint: \"[a topic, or an open-question file to close, or nothing to be shown the queue]5 plugins in 2 repositories ship this exact skill · first indexed Sep 18, 2026
Other plugins' skills for the same job