Skip to content

Latest commit

 

History

78 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

obsidian-workflows

Validate Commands Lint Generate Documentation

Obsidian writing workflows plugin for Claude Code.

What is this?

A structured 4-stage workflow system for writing projects in Obsidian with Claude Code:

  1. Plan - Organize thoughts and define scope
  2. Work - Create and refine content
  3. Review - Quality check against style guides
  4. Compound - Capture learnings for future reference

Installation

Prerequisites

Install via Marketplace (Recommended)

/plugin marketplace add andromedarabbit/obsidian-workflows
/plugin install obsidian-workflows@andromedarabbit

Install from Local Directory

# From within Claude Code session
claude --plugin-dir /path/to/obsidian-workflows

# Example: if you cloned to ~/projects/obsidian-workflows
claude --plugin-dir ~/projects/obsidian-workflows

Install via npx skills

npx skills add git@github.com:andromedarabbit/obsidian-workflows.git

Manual Installation

cd /path/to/your/obsidian-vault
git clone https://github.com/andromedarabbit/obsidian-workflows.git .claude

See the official Claude Skills documentation for more details.

Configuration

Create writing-config.md in your Obsidian vault root:

source_paths:
  - .
policy_dir: Workflows/policy
enabled_policies:
  - daily-note
default_policy: daily-note
proposal_policy_allowlist:
  - daily-note

daily_notes_path: Daily Notes
daily_note_template: 템플릿/Daily.md
note_creation_engine: obsidian
templater_required: true
fallback_recent_files_limit: 5

draft_path: Workflows/Drafts
final_path: Workflows/Notes
proposal_path: Workflows/Proposals/passive-proposals

Policy resolution is config-driven: policy is valid only when it is included in enabled_policies and policy_dir/writing-policy.<policy>.md exists.

Configuration Files

  • config/writing-config.example.md - Example vault configuration
  • assets/Workflows/SOUL.md - Writing style template asset
  • assets/Workflows/policy/writing-policy.*.md - Policy templates (config-driven)

Usage

1. Plan (/obsidian-workflows:ow-plan)

Plan your writing workflow before execution.

Modes:

  • Active mode: Interactive planning with Claude
  • Passive mode: Claude analyzes notes and suggests a plan

Usage:

/obsidian-workflows:ow-plan [--intent active|passive] [topic=...] [policy=<policy-name>]

Examples:

/obsidian-workflows:ow-plan
/obsidian-workflows:ow-plan --intent passive
/obsidian-workflows:ow-plan --intent active topic="Daily operations summary" policy=daily-note

When --intent is omitted, the command defaults to passive mode. If your config uses external_tools.auto_use: ask, you may still see an external-tool usage prompt, but not an intent-selection prompt.

Daily-note behavior is policy-driven. With source_strategy: previous-note, it reads the previous daily note from daily_notes_path. If previous note is missing and policy requires missing_source_behavior: skip-and-prompt-recent, it returns SKIP and suggests up to fallback_recent_files_limit recent files for manual selection.

2. Work (/obsidian-workflows:ow-work)

Execute writing tasks and create content.

Modes:

  • Active mode: Collaborative writing with suggestions
  • Passive mode: Claude writes based on plan and sources
  • Draft mode: Create initial draft
  • Refine mode: Improve existing draft
  • Route mode: Determine next workflow step

Usage:

/obsidian-workflows:ow-work [mode=<active|passive|draft|refine|route>] [args...]

Examples:

/obsidian-workflows:ow-work
/obsidian-workflows:ow-work proposal="Workflows/Proposals/passive-proposals/proposal-2026-03-03.md" idea=1
/obsidian-workflows:ow-work mode=active policy=daily-note

3. Review (/obsidian-workflows:ow-review)

Review content quality against style guide and policies.

Checks:

  • Policy compliance (Workflows/policy/writing-policy.<policy>.md)
  • Style consistency (Workflows/SOUL.md)
  • Grammar, clarity, structure, technical accuracy

Usage:

/obsidian-workflows:ow-review [file or draft reference]

Example:

/obsidian-workflows:ow-review drafts/k8s-operators.md

4. Compound (/obsidian-workflows:ow-compound)

Capture learning points from completed work.

Purpose:

  • Document solutions to problems
  • Extract reusable patterns
  • Build institutional knowledge
  • Create reference material

Usage:

/obsidian-workflows:ow-compound [completed work reference]

Example:

/obsidian-workflows:ow-compound finals/k8s-operators-published.md

Complete Workflow Example

# 1. Plan ideas from recent changes
/obsidian-workflows:ow-plan --intent passive

# 2. Create draft from selected proposal idea
/obsidian-workflows:ow-work proposal="Workflows/Proposals/passive-proposals/proposal-2026-03-03.md" idea=1

# 3. Refine the content
/obsidian-workflows:ow-work mode=refine file="Workflows/Drafts/2026-03-03.md" policy=daily-note

# 4. Review for quality
/obsidian-workflows:ow-review file="Workflows/Drafts/2026-03-03.md" policy=daily-note

# 5. Capture learnings
/obsidian-workflows:ow-compound file="Workflows/Notes/2026-03-03.md"

Documentation

Contributing

Contributions are welcome! See CONTRIBUTING.md for development setup, validation workflow, and contribution guidelines.

Core Principles

  1. Fail fast over silent fallback - Exit immediately on critical errors
  2. Enforce path safety consistently - All hook paths must start with commands/
  3. Keep command discovery deterministic - Single canonical source per command name
  4. Preserve PASS|SKIP|FAIL status semantics - Consistent status reporting
  5. No absolute path assumptions - Use relative paths in contracts
  6. No global runtime state dependencies - Don't rely on ~/.claude/* for correctness
  7. No duplicate command definitions - Enforce unique command names

License

MIT

About

Agent skills

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages