agentleFS
eisen0419eisen0419/revolve/skills/revolve-setup/SKILL.md

revolve-setup

Skill9 starsChanged 7 months agoMITView on GitHub

This skill should be used when the user asks to 'set up Revolve', 'configure Revolve', or 'run revolve setup'. Interactive wizard that detects Obsidian vault, checks dependencies, and writes config.md.

  • Installs packages

The file

We split this skill into the rules it gives an agent

12 rules. About 0 are common, 8 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Check the following dependencies and report status:

    line 34
  2. Very specific:

    Search common locations for Obsidian vault by looking for directories containing .obsidian/:

    line 61
  3. Distinctive:

    If 1 vault found: via AskUserQuestion, confirm with user:

    line 71
  4. Distinctive:

    If multiple vaults found: via AskUserQuestion, present numbered options:

    line 74
  5. Distinctive:

    If no vault found: via AskUserQuestion, ask for manual entry:

    line 80
  6. Distinctive:

    Ask the user (via AskUserQuestion) for:

    line 87
  7. Distinctive:

    If exists: via AskUserQuestion, ask:

    line 130
  8. Very specific:

    If user answers n: print Setup cancelled.

    line 132
  9. Very specific:

    If user answers y: proceed to write.

    line 133
  10. Distinctive:

    If not found: proceed to write.

    line 135
  11. Very specific:

    Write config.md using the template from config.md.example with user-provided values:

    line 137
  12. Distinctive:

    If any deps were missing in Step 2, append:

    line 198

≈ “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

/revolve-setup

Interactive environment detection and configuration wizard for Revolve.

Trigger

User runs /revolve-setup or asks to set up / configure Revolve.

Instructions

Step 1: Welcome

Greet the user and explain what this wizard does:

Welcome to Revolve Setup!

This wizard will:
  1. Detect your environment (Obsidian vault, Python, system tools)
  2. Collect required paths
  3. Generate config.md

Let's get started.

Step 2: Dependency Check

Check the following dependencies and report status:

python3 --version 2>/dev/null && echo "PYTHON_OK" || echo "PYTHON_MISSING"
which fswatch 2>/dev/null && echo "FSWATCH_OK" || echo "FSWATCH_MISSING"
which yt-dlp 2>/dev/null && echo "YTDLP_OK" || echo "YTDLP_MISSING"

Show a summary table:

Dependency Check:
  ✅ Python 3.x.x   OK
  ❌ fswatch        MISSING — Install via: brew install fswatch
  ✅ yt-dlp         OK

Installation hints for missing deps:

  • Python 3.8+: Install from https://python.org (or brew install python)
  • fswatch: brew install fswatch
  • yt-dlp: pip install yt-dlp or brew install yt-dlp

Non-fatal: warn about missing deps but continue. Do NOT abort.

Step 3: Detect Obsidian Vault

Search common locations for Obsidian vault by looking for directories containing .obsidian/:

find ~/Documents -maxdepth 3 -name ".obsidian" -type d 2>/dev/null | sed 's|/.obsidian$||'
find ~/Desktop -maxdepth 2 -name ".obsidian" -type d 2>/dev/null | sed 's|/.obsidian$||'
find ~ -maxdepth 2 -name ".obsidian" -type d 2>/dev/null | sed 's|/.obsidian$||'

Deduplicate results, then:

  • If 1 vault found: via AskUserQuestion, confirm with user:

    Detected Obsidian vault: <path>. Use this path? (press Enter to confirm, or type a new path)

  • If multiple vaults found: via AskUserQuestion, present numbered options:

    Detected Obsidian vaults:

    1. /path/a
    2. /path/b Enter number or type a custom path:
  • If no vault found: via AskUserQuestion, ask for manual entry:

    No Obsidian vault detected. Please enter your vault path:

Store final path as VAULT_PATH.

Step 4: Collect Paths

Ask the user (via AskUserQuestion) for:

  1. vault_path — already confirmed in Step 3, display for final confirmation.
  2. output_dir — Ask:

    Output directory for research notes (relative to vault root): Default: Research — press Enter to accept.

    Validate: must not start with / and must not contain ... Re-ask if invalid. Store as OUTPUT_DIR (default: Research).

  3. screenshots_dir — Ask:

    Screenshots directory (relative to vault root): Default: <OUTPUT_DIR>/screenshots — press Enter to accept.

    Store as SCREENSHOTS_DIR.

Step 5: Select Sync Providers

Via AskUserQuestion, present supported providers and ask which to enable:

Which providers would you like to sync conversations from?
(Enter comma-separated list, or press Enter for all)

  [ ] claude
  [ ] gemini
  [ ] chatgpt
  [ ] codex

Default: claude,gemini,chatgpt,codex

Store selection as SYNC_PROVIDERS (comma-separated, e.g. claude,codex).

Step 6: Write config.md

First, check if config.md already exists at the plugin root:

[ -f "config.md" ] && echo "EXISTS" || echo "NOT_FOUND"
  • If exists: via AskUserQuestion, ask:

    config.md already exists. Overwrite? (y/n)

    • If user answers n: print Setup cancelled. Existing config preserved. and stop.
    • If user answers y: proceed to write.
  • If not found: proceed to write.

Write config.md using the template from config.md.example with user-provided values:

---
vault_path: <VAULT_PATH>
output_dir: <OUTPUT_DIR>
screenshots_dir: <SCREENSHOTS_DIR>
sync_providers: <SYNC_PROVIDERS>
---

# Revolve Configuration

This file is the configuration for the Revolve plugin. Copy it to `~/.config/revolve/config.md` and update the values.

Quick setup: run `/revolve-setup` to generate this file automatically.

## Field Reference

- **vault_path** (required): Absolute path to your Obsidian vault root
- **output_dir** (required): Relative path within vault for research notes (must be under vault_path)
- **screenshots_dir** (optional): Relative path within vault for screenshot attachments
- **sync_providers** (optional): Comma-separated list of providers to sync. Options: claude, codex, opencode, gemini. Default: all

## Format Rules

- All values are simple unquoted strings (no YAML quoting)
- Lists use comma-separated format (e.g., `claude,codex,gemini`)
- Paths with spaces are fine — parser splits on first `: ` only
- Do not use multi-line values

Also create the config directory and copy to the canonical location:

mkdir -p ~/.config/revolve/
cp config.md ~/.config/revolve/config.md

Step 7: Confirm & Next Steps

Show a summary of the written config:

Setup complete!

Config written to:
  ./config.md
  ~/.config/revolve/config.md

Configuration summary:
  vault_path:      <VAULT_PATH>
  output_dir:      <OUTPUT_DIR>
  screenshots_dir: <SCREENSHOTS_DIR>
  sync_providers:  <SYNC_PROVIDERS>

Next steps:
  1. Run /research-pipeline to start a research session
  2. Run /evolve-claude-md to evolve your CLAUDE.md
  3. Run /yt-search to search YouTube videos

If any deps were missing in Step 2, append:

Note: <N> dependencies are not installed. See the warnings above for installation instructions.

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.