# Setup

Initialize any folder as a Bedrock-powered Obsidian vault.

- Repository: https://github.com/ccplugins/awesome-claude-code-plugins (991 stars)
- Category: Engineering
- License: Apache-2.0
- Last updated: 2026-08-12
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add ccplugins/awesome-claude-code-plugins --skill setup -g -a claude-code -y`
Codex: `npx skills add ccplugins/awesome-claude-code-plugins --skill setup -g -a codex -y`
Cursor: `npx skills add ccplugins/awesome-claude-code-plugins --skill setup -g -a cursor -y`
Gemini CLI: `npx skills add ccplugins/awesome-claude-code-plugins --skill setup -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add ccplugins/awesome-claude-code-plugins`

## Description

Initialize any folder as a Bedrock-powered Obsidian vault. Creates entity directories, copies templates, configures language and domain taxonomy, scaffolds connected example entities, and checks dependencies. Use when: "bedrock setup", "bedrock-setup", "/bedrock:setup", "initialize vault", "setup vault", "create vault", "bootstrap vault", or when a user wants to start a new Second Brain with Bedrock.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# /bedrock:setup, Vault Initialization

## Plugin Paths

Templates and entity definitions are in the plugin directory, not in the vault root.
Use the "Base directory for this skill" provided at invocation to resolve paths:

- Entity definitions: `<base_dir>/../../entities/`
- Templates: `<base_dir>/../../templates/{type}/_template.md`
- Plugin CLAUDE.md: `<base_dir>/../../CLAUDE.md` (auto-injected into context)

Where `<base_dir>` is the path shown in "Base directory for this skill".

---

## Overview

This skill bootstraps any folder into a fully functional Bedrock-powered Obsidian vault
through an interactive guided flow. It creates directories, copies templates, configures
the vault, scaffolds example entities with bidirectional wikilinks, checks dependencies,
and guides the user through next steps.

**You are a setup agent.** Follow the phases below in order. Do not skip steps.

---

## Phase 0, Idempotency Check

Check if the vault is already initialized:

```bash
ls .bedrock/config.json 2>/dev/null
```

**If `.bedrock/config.json` exists:**

1. Read and display the current configuration:
   ```
   This vault is already initialized:
   - Language: <language>
   - Preset: <preset>
   - Domains: <domains>
   - Git strategy: <git.strategy or "commit-push" if absent>
   - Initialized at: <date>
   ```

2. Check if this vault is registered in the global vault registry:
   ```bash
   cat <base_dir>/../../vaults.json 2>/dev/null
   ```
   If the registry exists, check if any entry has a `path` matching the current working directory.
   - **If registered:** display "Registered as vault `<name>`" alongside the config above.
   - **If NOT registered:** display "This vault is not yet registered in the global vault registry."

The rest: https://github.com/ccplugins/awesome-claude-code-plugins/blob/HEAD/plugins/bedrock/skills/setup/SKILL.md
