agentleFS
AtmosphereAtmosphere/atmosphere/.claude/skills/obsidian-vault-setup/SKILL.md

obsidian-vault-setup

Skill3.8k starsChanged 2 months agoApache-2.0View on GitHub

Use when setting up the shared atmosphere-vault Obsidian vault on a new machine or for

Trending

Quiet this year.thin dataabout the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the Atmosphere/atmosphere repository that our weekly crawl found: only 2 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about Atmosphere/atmosphere

The biggest 2 of 2 mentions linking to the repository that our crawl found. Each line is their own headline.

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 4 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Verify the Obsidian CLI and the vault's commit timer are configured correctly

    line 27
  2. Very specific:

    Ask the user for PROJECT_DIR and VAULT_DIR if they differ from defaults.

    line 37
  3. Distinctive:

    Check that the following are installed:

    line 45
  4. Very specific:

    If command -v obsidian prints an npm path, the unrelated obsidian-cli npm package is shadowing the real CLI — npm uninstall -g obsidian-cli.

    line 55
  5. Distinctive:

    When prompted "Trust and enable plugins?", click Trust author and enable plugins

    line 113
  6. Distinctive:

    After obsidian-git is configured:

    line 122
  7. Very specific:

    NEVER overwrite an existing claude_docs/ directory that contains real files

    line 137
  8. Very specific:

    ALWAYS verify atmosphere-vault is on main branch before linking

    line 138
  9. Very specific:

    NEVER install the npm obsidian-cli package — it shadows the app's own obsidian CLI

    line 139
  10. Very specific:

    If PROJECT_DIR or VAULT_DIR differ from defaults, ask for them before running any commands

    line 140

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Obsidian Vault Setup

Role

DevOps assistant for setting up the shared atmosphere-vault Obsidian knowledge base on a developer machine.

When to Use

Invoke when a team member needs to:

  • Clone and open the atmosphere-vault for the first time
  • Connect their atmosphere checkout to the vault via symlink
  • Verify the Obsidian CLI and the vault's commit timer are configured correctly

Defaults

PROJECT_DIR = ~/workspace/atmosphere/atmosphere
VAULT_DIR   = ~/workspace/atmosphere/atmosphere-vault
VAULT_REPO  = git@github.com:Atmosphere/atmosphere-vault.git

Ask the user for PROJECT_DIR and VAULT_DIR if they differ from defaults. The vault is a sibling of the project directory: the routing block reaches it as ../atmosphere-vault, and the vault's scripts/sync-claude-memory.sh reaches the checkout as ../atmosphere.

Workflow

Step 1: Verify prerequisites

Check that the following are installed:

# Obsidian desktop app (required)
ls /Applications/Obsidian.app 2>/dev/null && echo "Obsidian: OK" || echo "Obsidian: MISSING — install from https://obsidian.md"

# The app's own CLI (Settings → General → enable the command line interface)
command -v obsidian   # must print /Applications/Obsidian.app/Contents/MacOS/obsidian

If command -v obsidian prints an npm path, the unrelated obsidian-cli npm package is shadowing the real CLI — npm uninstall -g obsidian-cli.

Step 2: Clone atmosphere-vault

# Only if not already present
if [ ! -d "$VAULT_DIR" ]; then
  git clone git@github.com:Atmosphere/atmosphere-vault.git "$VAULT_DIR"
fi

# Verify on main branch
cd "$VAULT_DIR" && git status

Step 3: Install plugins

Downloads obsidian-git and Templater and writes their pre-configured settings.

cd "$VAULT_DIR"
./scripts/install-plugins.sh

This script:

  • Downloads main.js + manifest.json for each plugin from GitHub releases
  • Copies the tracked settings from .obsidian/plugin-configs/ into each plugin's data.json (obsidian-git: auto-commit and auto-push every 10 minutes, pull before push; Templater: template folder Templates/, trigger on new file creation)
  • Writes .obsidian/community-plugins.json to enable both plugins

Plugin binaries are excluded from git (.obsidian/plugins/ is in .gitignore). Re-running the script is safe — it overwrites existing files idempotently.

Step 4: Create claude_docs symlink

This links atmosphere/claude_docs/ to atmosphere-vault/Claude Outputs/ so Claude Code session outputs land directly in the vault.

cd "$PROJECT_DIR"

# Safety check: do NOT overwrite a real directory
if [ -d claude_docs ] && [ ! -L claude_docs ]; then
  echo "ERROR: claude_docs/ exists as a real directory. Back it up before proceeding."
  exit 1
fi

ln -sf "$VAULT_DIR/Claude Outputs" claude_docs
ls -la claude_docs   # verify symlink resolves

Step 5: Open vault in Obsidian

Instruct the user to:

  1. Open Obsidian
  2. Click Open folder as vault
  3. Navigate to $VAULT_DIR and click Open
  4. When prompted "Trust and enable plugins?", click Trust author and enable plugins

The vault's commit timer is obsidian-git's, configured by Step 3 to commit and push every 10 minutes. Run exactly one per machine: if the machine already runs another commit timer of its own for the vault (nothing in this repo or the vault ships one), set obsidian-git's auto-commit and auto-push intervals to 0 there.

Step 6: Verify sync flow

After obsidian-git is configured:

# Create a test file in Claude Outputs
echo "# Test" > "$PROJECT_DIR/claude_docs/test.md"

# Verify it appears in the vault
ls "$VAULT_DIR/Claude Outputs/test.md"

# Clean up
rm "$PROJECT_DIR/claude_docs/test.md"

Constraints

  • NEVER overwrite an existing claude_docs/ directory that contains real files
  • ALWAYS verify atmosphere-vault is on main branch before linking
  • NEVER install the npm obsidian-cli package — it shadows the app's own obsidian CLI
  • If PROJECT_DIR or VAULT_DIR differ from defaults, ask for them before running any commands

Success Criteria

  • ls -la $PROJECT_DIR/claude_docs shows a symlink pointing to $VAULT_DIR/Claude Outputs
  • Obsidian opens the vault and shows all folders (Architecture, APIs, Methodology, Development)
  • command -v obsidian resolves to the app bundle
  • Exactly one commit timer commits into the vault on this machine (Step 5)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.