Onboard

From ballred/obsidian-claude-pkm · View interactive version

Onboard is an AI agent skill from the GitHub repository ballred/obsidian-claude-pkm. Interactive vault setup and context loading. On first run, personalizes your vault. On subsequent runs, loads full context. Use at start of session or when Claude needs full vault context.

How to use this skill

Skill file

Onboard Skill

Interactive vault setup (first run) and context loading (subsequent runs).

Usage

/onboard                    # Full onboard (setup if first run, context load if not)
/onboard Projects/MyProject # Load specific project context

First-Run Setup

If the file FIRST_RUN exists in the vault root, this is a new vault. Run the interactive setup:

Step 1: Welcome

Greet the user and explain what will happen:

Step 2: Ask Questions

Use AskUserQuestion to ask these interactively:

Question 1: Your name

Question 2: Preferred review day

Question 3: Primary goal areas

Question 4: Work style

Step 3: Save Configuration

Write vault-config.json in the vault root:

{
  "name": "User's name",
  "reviewDay": "Sunday",
  "goalAreas": ["Career & Professional", "Health & Wellness"],
  "workStyle": "Direct and concise",
  "setupDate": "2026-02-15",
  "version": "3.1"
}

Step 4: Personalize CLAUDE.md

Edit the root CLAUDE.md:

Step 5: Remove First-Run Marker

rm FIRST_RUN

Step 6: Confirm Setup

Tell the user:

Then proceed to the standard context loading below.

Standard Context Loading (Subsequent Runs)

What This Skill Does

  1. Discovers Context Files
  1. Loads Hierarchical Context
  1. Scans Active Projects
  1. Reads User Preferences
  1. Builds Understanding

Context Hierarchy

vault/
├── CLAUDE.md                 # [1] Global context - loaded first
├── Projects/
│   ├── Project A/
│   │   └── CLAUDE.md         # [2] Project context
│   └── Project B/
│       └── CLAUDE.md         # [3] Another project context
└── Areas/
    └── Health/
        └── CLAUDE.md         # [4] Area-specific context

CLAUDE.md File Structure

Root CLAUDE.md Should Include

# System Context for Claude

## Personal Mission
[Your life mission/purpose]

## Current Focus
[What you're working on now]

## Preferences
- Writing style: [Formal/Casual/Technical]
- Detail level: [High/Medium/Low]

## Conventions
- File naming: [Your patterns]
- Tag system: [Your tags]

Project CLAUDE.md Should Include

# Project: [Name]

## Overview
[What this project is about]

## Current Status
[Where things stand]

## Key Decisions
[Important choices made]

## Next Steps
[What needs to happen]

Smart Context Loading

Recent Activity

Automatically considers:

Project Summary

When loading full context, include a project overview:

### Active Projects (N)
| Project | Phase | Progress | Goal |
|---------|-------|----------|------|
| [[ProjectA]] | Active | 60% | [[Goal 1]] |
| [[ProjectB]] | Planning | 10% | [[Goal 3]] |

Selective Loading

For focused assistance:

/onboard Projects/WebApp      # Only specific project
/onboard Goals                # Only goals context

Use Cases

Starting a Session

/onboard
"Help me plan my day based on my goals"

Project Work

/onboard Projects/MyApp
"Help me refactor the authentication module"

Weekly Planning

/onboard Goals
"Analyze my week and suggest improvements"

Context Variables

Your CLAUDE.md files can include preferences:

## Variables for Claude
- DEFAULT_LANGUAGE: JavaScript
- TIMEZONE: America/New_York
- COMMUNICATION_STYLE: Direct and concise

Best Practices

Keep Context Updated

Be Specific

Hierarchical Information

Privacy & Security

Never Include in CLAUDE.md

Safe Context Examples

Integration

Works with:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.