Bootstrap the BenAI Obsidian Plugin vault structure and run personalized onboarding. Creates all directories, system files, Obsidian config, memory system, hooks, and output styles, then interviews the user to personalize everything. Two modes — Solopreneurs/Professionals (default), Business/Teams. Use when user says "set up", "bootstrap", "initialize", "onboarding", or runs /setup.
From obsidiannpx claudepluginhub naveedharri/benai-skillsThis skill uses the workspace's default tool permissions.
references/claude-md-template-business.mdreferences/claude-md-template.mdreferences/claudeignore-template.mdreferences/context-brand.mdreferences/context-business.mdreferences/context-me.mdreferences/context-operator.mdreferences/context-organization.mdreferences/context-stakeholders.mdreferences/context-strategy-business.mdreferences/context-strategy.mdreferences/context-team.mdreferences/gitignore-template.mdreferences/guide-daily.mdreferences/guide-departments.mdreferences/guide-intelligence.mdreferences/guide-onboarding.mdreferences/guide-processes.mdreferences/guide-projects.mdreferences/guide-skills-vault.mdUSE WHEN the user runs /setup or asks to set up their vault, bootstrap the assistant, initialize the system, or configure the BenAI Obsidian Plugin.
This is a three-phase process:
Check if claude.md or CLAUDE.md exists only in the current working directory (do NOT search subdirectories or parent directories — check only the exact CWD path).
Ask the user to pick a mode by presenting these two options as a simple text question:
What type of vault do you want?
- Solopreneurs/Professionals — Blends work and personal. Best for solo founders, freelancers, consultants.
- Business/Teams — Org structure with departments, processes, stakeholders. Best for teams and companies.
Wait for the user to respond before proceeding. Do NOT use AskUserQuestion or any tool — just ask via text output and wait for a reply.
Mode mapping:
os-mode: professionalos-mode: businessAccept any clear signal: "solo", "professional", "freelancer", "business", "org", "team", etc.
If the user skips or says "I don't know", use Solopreneurs/Professionals (professional mode).
Store the selected mode. It will be written to claude.md frontmatter as os-mode: professional | business.
Create the directory structure and write all system files for the selected mode.
All modes share this base:
mkdir -p .claude
mkdir -p Context
mkdir -p Projects
mkdir -p Daily
mkdir -p Resources
mkdir -p Skills
Solopreneurs/Professionals mode adds:
mkdir -p Intelligence/meetings/team-standups
mkdir -p Intelligence/meetings/client-calls
mkdir -p Intelligence/meetings/one-on-ones
mkdir -p Intelligence/meetings/general
mkdir -p Intelligence/competitors
mkdir -p Intelligence/market
mkdir -p Intelligence/decisions
mkdir -p Intelligence/archive
Business mode adds:
mkdir -p Intelligence/meetings/team-standups
mkdir -p Intelligence/meetings/client-calls
mkdir -p Intelligence/meetings/one-on-ones
mkdir -p Intelligence/meetings/board-reviews
mkdir -p Intelligence/meetings/all-hands
mkdir -p Intelligence/meetings/cross-team
mkdir -p Intelligence/meetings/general
mkdir -p Intelligence/competitors
mkdir -p Intelligence/market
mkdir -p Intelligence/decisions
mkdir -p Intelligence/processes
mkdir -p Intelligence/archive
mkdir -p Departments
mkdir -p Teams
mkdir -p Onboarding
mkdir -p Resources/templates
Read each reference file and write it to the corresponding local path. The reference files contain the complete content for each system file.
All modes — shared system files:
| Reference File | Creates at Local Path |
|---|---|
references/settings-json-template.md | ./.claude/settings.json |
references/claudeignore-template.md | ./.claudeignore |
references/gitignore-template.md | ./.gitignore |
Mode-specific claude.md template:
| Mode | Reference File | Creates at Local Path |
|---|---|---|
| Solopreneurs/Professionals | references/claude-md-template.md | ./claude.md |
| Business | references/claude-md-template-business.md | ./claude.md |
Mode-specific folder guides:
| Mode | Reference File | Creates at Local Path |
|---|---|---|
| Solopreneurs/Professionals | references/guide-projects.md | ./Projects/_guide.md |
| Solopreneurs/Professionals | references/guide-daily.md | ./Daily/_guide.md |
| Solopreneurs/Professionals | references/guide-intelligence.md | ./Intelligence/_guide.md |
| Solopreneurs/Professionals | references/guide-skills.md | ./Resources/_guide.md |
| Business | references/guide-projects.md | ./Projects/_guide.md |
| Business | references/guide-daily.md | ./Daily/_guide.md |
| Business | references/guide-intelligence.md | ./Intelligence/_guide.md |
| Business | references/guide-skills.md | ./Resources/_guide.md |
| Business | references/guide-departments.md | ./Departments/_guide.md |
| Business | references/guide-teams.md | ./Teams/_guide.md |
| Business | references/guide-onboarding.md | ./Onboarding/_guide.md |
| Business | references/guide-processes.md | ./Intelligence/processes/_guide.md |
| Solopreneurs/Professionals | references/guide-skills-vault.md | ./Skills/_guide.md |
| Business | references/guide-skills-vault.md | ./Skills/_guide.md |
For each row applicable to the selected mode: read the reference file, then write its content to the local path.
All modes — create placeholder skill folders:
mkdir -p Skills/linkedin-writer/references
mkdir -p Skills/newsletter-writer/references
Then write placeholder files from references:
references/skills-placeholder-linkedin-notes.md → write to ./Skills/linkedin-writer/notes.mdreferences/skills-placeholder-linkedin-example.md → write to ./Skills/linkedin-writer/references/example-post.mdreferences/skills-placeholder-newsletter-strategy.md → write to ./Skills/newsletter-writer/strategy.mdreferences/skills-placeholder-newsletter-example.md → write to ./Skills/newsletter-writer/references/example-edition.mdSolopreneurs/Professionals mode:
references/context-me.md → write to ./Context/me.mdBusiness mode:
references/context-operator.md → write to ./Context/operator.mdreferences/context-organization.md → write to ./Context/organization.mdreferences/context-team.md → write to ./Context/team.mdreferences/context-strategy-business.md → write to ./Context/strategy.mdBusiness mode — placeholder teams:
mkdir -p Teams/engineering
mkdir -p Teams/marketing
mkdir -p Teams/leadership
Then write placeholder files from references:
references/teams-placeholder-engineering-readme.md → write to ./Teams/engineering/README.mdreferences/teams-placeholder-person.md → write to ./Teams/engineering/alice-smith.mdreferences/teams-placeholder-person.md → write to ./Teams/engineering/bob-jones.mdreferences/teams-placeholder-engineering-readme.md → write to ./Teams/marketing/README.mdreferences/teams-placeholder-person.md → write to ./Teams/marketing/carol-white.mdreferences/teams-placeholder-engineering-readme.md → write to ./Teams/leadership/README.mdreferences/teams-placeholder-person.md → write to ./Teams/leadership/dave-chen.mdchmod +x .claude/hooks/*.sh
Tell the user:
Skills/Resources/ for storing prompts, frameworks, swipe files, and templatesThen proceed to Phase B.
Two questions. That's it. The questions differ by mode.
Solopreneurs/Professionals mode:
Question 1:
Tell me about yourself (and your business, if you have one). Paste anything — bio, LinkedIn, company about page, team info, whatever you have. You can also upload files. Or skip this.
Question 2:
What are you currently working on? List your active projects, or paste project briefs, docs, whatever. Skip if you'd rather add these later.
Business mode:
Question 1:
Tell me about your organization — company info, team wiki, org chart, product info. Paste, upload, or skip.
Question 2:
What are the active projects or initiatives? Roadmaps, OKRs, briefs — whatever you have. Or skip.
The user might give you:
Accept whatever they give. Don't ask follow-ups. Extract what you can.
If the user says "skip" to both — proceed to build with defaults only.
After the two questions (or skips), build everything you can from what the user gave you. Work silently — don't narrate each step.
Behavior depends on selected mode.
Solopreneurs/Professionals mode:
Context/me.md — Always created. Fill with identity info from Question 1.Context/business.md — Only if user mentioned a company/product/business. Read references/context-business.md as template.Context/team.md — Only if user mentioned team members. Read references/context-team.md as template.Context/brand.md — Only if user mentioned voice/tone/brand. Read references/context-brand.md as template.Context/strategy.md — Only if user mentioned goals/vision/priorities. Read references/context-strategy.md as template.Business mode:
Context/operator.md — Always created. Fill with the person's role, decision authority, responsibilities from Question 1. Read references/context-operator.md as template.Context/organization.md — Always created. Fill with company info, org structure, products from Question 1. Read references/context-organization.md as template.Context/team.md — Always created. Fill with any team members mentioned. Read references/context-team.md as template.Context/strategy.md — Always created. Fill with any goals, OKRs, targets mentioned. Read references/context-strategy.md as template. Focus template on OKRs, department goals, revenue targets.Context/brand.md — Only if user mentioned voice/tone/brand. Read references/context-brand.md as template.Context/stakeholders.md — Only if user mentioned vendors, partners, investors, board. Read references/context-stakeholders.md as template.From Question 2, intelligently structure each project based on what the user gave you.
Analyze the info and decide the right structure:
README.mdREADME.md + relevant subdirsCreate subdirectories only when the content justifies them:
| Content type | Goes to |
|---|---|
| Overview, status, deadlines, contacts | README.md |
| Research, competitor analysis, references | research/{topic}.md |
| Specs, requirements, briefs | specs/{name}.md or briefs/{name}.md |
| Drafts, scripts, written content | drafts/{name}.md |
| Ideas, brainstorms | ideas/{name}.md |
| Notes, working docs | notes/{name}.md |
README.md is always the index:
---
type: project
status: active
created: YYYY-MM-DD
---
## Overview
[What this project is]
## Current Status
[Where things stand]
## Key Resources
[Links, tools, contacts]
## Next Steps
[What needs to happen]
Don't create empty subdirs. Don't cram everything into the README. Distribute content into the right files based on what it actually is.
Business mode only — if user provided department info, also create Departments/{name}/README.md with department charter, KPIs, and team members.
Business mode only:
Intelligence/processes/Onboarding/Create Daily/YYYY-MM-DD.md (today's date):
---
type: daily-note
date: YYYY-MM-DD
---
# YYYY-MM-DD
## Session
- **Focus**: Initial vault setup and onboarding
- **Completed**: Full vault bootstrap + personalized onboarding
- **Next Steps**: [based on what was discussed]
Tell the user:
/assistant (sessions, daily reviews, tasks, meetings)