スキル一覧に戻る
arlenagreer

obsidian-file-manager

by arlenagreer

Claude Code SuperClaude framework configuration and documentation

2🍴 0📅 2026年1月13日
GitHubで見るManusで実行

SKILL.md


name: obsidian-file-manager description: > This skill should be used when managing documentation files in an Obsidian vault, including creating session artifacts, moving planning documents from project directories to the vault, updating document lifecycle states (active → processed → archived), searching for documents by tags or content, and automating archival of old documents. Integrates with task-startup/task-wrapup workflows for any coding project.

Obsidian File Manager Skill

Automated file management for Obsidian vault integration via the Local REST API.

Triggers

This skill should be used when:

  • Creating session artifacts or documentation in the vault
  • Moving planning documents from project directories to vault
  • Updating document lifecycle states (active → processed → archived)
  • Searching for documents by tags, project, or content
  • Automating archival of old documents based on retention policies
  • Managing documentation during task-startup/task-wrapup workflows

Quick Start

Prerequisites

  1. Obsidian with Local REST API plugin installed and enabled
  2. Ruby 2.7+ installed
  3. API key configured in config/.env

Setup

# Configure API key (get from Obsidian → Settings → Local REST API)
echo "OBSIDIAN_API_KEY=your-key" > ~/.claude/skills/obsidian-file-manager/config/.env
chmod 600 ~/.claude/skills/obsidian-file-manager/config/.env

Operations

create - Create new document

~/.claude/skills/obsidian-file-manager/scripts/create_in_vault.rb \
  --type session \
  --project myproject \
  --subject "feature implementation" \
  --content "# Session Notes\n\n..." \
  --lifecycle active

move - Move file to vault

~/.claude/skills/obsidian-file-manager/scripts/move_to_vault.rb \
  --source /path/to/project/docs/plan.md \
  --type plan \
  --project myproject

update-lifecycle - Change document state

~/.claude/skills/obsidian-file-manager/scripts/update_lifecycle.rb \
  --path sessions/myproject/session_myproject_20251124.md \
  --lifecycle processed

search - Find documents

~/.claude/skills/obsidian-file-manager/scripts/search_vault.rb \
  --query "project:myproject lifecycle:active type:session"

archive - Auto-archive old documents

~/.claude/skills/obsidian-file-manager/scripts/auto_archive.rb --dry-run

Project Partitioning

Files are organized by type first, then by project:

{type}/{project}/filename.md

This enables multi-project support within a single vault. For example:

  • planning/softtrak/plan_softtrak_auth_system.md
  • planning/myotherproject/plan_myotherproject_api_design.md

Document Types

TypeDirectory PatternPurpose
sessionsessions/{project}/Development session artifacts
planplanning/{project}/Implementation plans
prdprojects/{project}/Product requirements
adr, decisiondecisions/{project}/Architecture decisions
investigationinvestigations/{project}/Research and analysis
resourceresources/{project}/Reference materials

Lifecycle States

StateDescriptionAuto-Archive
masterReference docsNever
activeCurrently in useNever
processedWork completeAfter 30 days
trashAbandonedAfter 7 days
archivedLong-term storageN/A

Error Codes

CodeMeaning
0Success
2Configuration error
3API error
4Validation error
5File operation error

Resources

For detailed documentation, see references/:

  • references/operations.md - Full parameter documentation
  • references/configuration.md - Config file reference
  • references/integration.md - Workflow integration patterns
  • references/troubleshooting.md - Common issues and solutions

Scripts

All scripts are in scripts/:

  • create_in_vault.rb - Create new documents
  • move_to_vault.rb - Move files to vault
  • update_lifecycle.rb - Change lifecycle state
  • search_vault.rb - Search vault
  • auto_archive.rb - Automatic archival

Core libraries in scripts/lib/:

  • obsidian_client.rb - REST API wrapper
  • file_namer.rb - Naming conventions
  • tag_manager.rb - Tag/frontmatter utilities

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です