Co-Pilot / 辅助式
更新于 24 days ago

obsidian-claude-pkm

Bballred
0.9k
ballred/obsidian-claude-pkm
80
Agent 评分

💡 摘要

一个将Obsidian和Claude Code结合的个人知识管理系统,增强笔记和生产力。

🎯 适合人群

希望组织学习材料的学生管理多个项目的专业人士需要结构化笔记的方法的作家从各种来源汇编信息的研究人员希望通过AI助手提高生产力的任何人

🤖 AI 吐槽:看起来很能打,但别让配置把人劝退。

安全分析中风险

风险:Medium。建议检查:是否执行 shell/命令行指令;是否发起外网请求(SSRF/数据外发);文件读写范围与路径穿越风险。以最小权限运行,并在生产环境启用前审计代码与依赖。

📊 Take the quick poll - Help shape what gets built next!


Obsidian + Claude Code PKM Starter Kit 🚀

A complete personal knowledge management system that combines Obsidian's powerful note-taking with Claude Code's AI assistance. Go from zero to a fully functional PKM in 15 minutes or less.

v2.1 - Unified skills pattern (skills and slash commands merged), hooks, agents, and rules.

✨ Features

Core PKM

  • 🎯 Goal-Aligned System - Cascading goals from 3-year vision to daily tasks
  • 📅 Daily Notes System - Structured daily planning and reflection
  • 📱 Mobile Ready - GitHub integration for notes on any device
  • 🔄 Version Controlled - Never lose a thought with automatic Git backups
  • 🎨 Fully Customizable - Adapt templates and structure to your needs

AI-Powered (v2.1)

  • ⚡ Unified Skills - Skills and slash commands merged (/daily, /weekly, /push, /onboard)
  • 🪝 Hooks - Auto-commit on save, session initialization
  • 🤖 Custom Agents - Note organizer, weekly reviewer, goal aligner, inbox processor
  • 📏 Modular Rules - Path-specific conventions for markdown, productivity, projects
  • 🧠 Output Styles - Productivity Coach for accountability
  • 📊 Status Line - Vault stats in terminal (note count, inbox, uncommitted changes)
  • 👁️ Progress Visibility - See spinner updates during multi-step operations like morning routines

🚀 Quick Start

Prerequisites

15-Minute Quickstart

# 1) Install prerequisites (once) # - Obsidian: https://obsidian.md/ # - Git: https://git-scm.com/ # - Claude Code CLI: https://code.claude.com/docs # 2) Clone this repository git clone https://github.com/ballred/obsidian-claude-pkm.git cd obsidian-claude-pkm # 3) Run setup (macOS/Linux) chmod +x scripts/setup.sh ./scripts/setup.sh # 3b) Windows scripts\setup.bat

Manual Copy (alternative)

# Copy the vault template to your preferred location cp -r vault-template ~/Documents/ObsidianPKM

Open in Obsidian

  1. Launch Obsidian
  2. Click "Open folder as vault"
  3. Select your vault folder (e.g., ~/Documents/ObsidianPKM)
  4. Start with today's daily note!

📖 Documentation

🗂️ Structure

Your Vault/
├── CLAUDE.md                    # AI context and navigation
├── CLAUDE.local.md.template     # Template for personal overrides
├── .claude-plugin/
│   └── plugin.json              # Plugin manifest
├── .claude/
│   ├── agents/                  # Custom AI agents
│   │   ├── note-organizer.md
│   │   ├── weekly-reviewer.md
│   │   ├── goal-aligner.md
│   │   └── inbox-processor.md
│   ├── skills/                  # Unified skills (invoke with /skill-name)
│   │   ├── daily/               # /daily - Create daily notes, routines
│   │   ├── weekly/              # /weekly - Weekly review process
│   │   ├── push/                # /push - Git commit and push
│   │   ├── onboard/             # /onboard - Load vault context
│   │   ├── goal-tracking/       # Auto: Track goal progress
│   │   └── obsidian-vault-ops/  # Auto: Vault file operations
│   ├── hooks/                   # Event automation (NEW)
│   │   ├── session-init.sh
│   │   └── auto-commit.sh
│   ├── rules/                   # Path-specific conventions (NEW)
│   │   ├── markdown-standards.md
│   │   ├── productivity-workflow.md
│   │   └── project-management.md
│   ├── scripts/
│   │   └── statusline.sh        # Terminal status display (NEW)
│   ├── output-styles/
│   │   └── coach.md             # Productivity Coach
│   └── settings.json            # Permissions and config (NEW)
├── Daily Notes/
├── Goals/
├── Projects/
├── Templates/
└── Archives/

🧠 Output Styles

This starter kit includes a Productivity Coach output style that transforms Claude into an accountability partner. The coach will:

  • Challenge you to clarify your true intentions
  • Point out misalignments between stated goals and actions
  • Ask powerful questions to drive momentum
  • Hold you accountable to your commitments
  • Help you identify and overcome resistance

To use the coach style in Claude Code:

  1. The output style is automatically included in .claude/output-styles/
  2. Start Claude Code and type /output-style to select from available styles
  3. Or directly activate with: /output-style coach
  4. The style preference is automatically saved for your project

Learn more about customizing output styles.

🤖 Custom Agents (v2.0)

Ask Claude to use specialized agents for common PKM tasks:

# Organize your vault and fix broken links claude "Use the note-organizer agent to audit my vault" # Facilitate weekly review aligned with goals claude "Use the weekly-reviewer agent for my weekly review" # Check if daily work aligns with long-term goals claude "Use the goal-aligner agent to analyze my recent activity" # Process inbox items using GTD principles claude "Use the inbox-processor agent to clear my inbox"

🔄 Upgrading from v1.x

If you have an existing vault from v1.x:

# 1. Copy new directories to your vault cp -r vault-template/.claude-plugin your-vault/ cp -r vault-template/.claude/agents your-vault/.claude/ cp -r vault-template/.claude/skills your-vault/.claude/ cp -r vault-template/.claude/hooks your-vault/.claude/ cp -r vault-template/.claude/rules your-vault/.claude/ cp -r vault-template/.claude/scripts your-vault/.claude/ cp vault-template/.claude/settings.json your-vault/.claude/ cp vault-template/CLAUDE.local.md.template your-vault/ # 2. Review and merge CLAUDE.md changes # Your customizations are preserved, just add references to new features # 3. Make hook scripts executable chmod +x your-vault/.claude/hooks/*.sh chmod +x your-vault/.claude/scripts/*.sh

🤝 Contributing

Found a bug or have a feature idea? Please open an issue or submit a PR!

📄 License

MIT - Use this freely for your personal knowledge management journey.


Ready to transform your note-taking? Follow the Setup Guide to get started!

五维分析
清晰度8/10
创新性8/10
实用性9/10
完整性8/10
可维护性7/10
优缺点分析

优点

  • 将强大的笔记与AI助手结合
  • 可根据个人需求进行定制
  • 版本控制确保数据安全
  • 移动端支持,随时随地访问

缺点

  • 需要多个安装
  • 新用户可能需要学习曲线
  • 依赖于Git和Claude Code等外部工具
  • 对于非技术用户,设置过程可能复杂

相关技能

pytorch

S
toolCode Lib / 代码库
92/ 100

“它是深度学习的瑞士军刀,但祝你好运能从47种安装方法里找到那个不会搞崩你系统的那一个。”

agno

S
toolCode Lib / 代码库
90/ 100

“它承诺成为智能体领域的Kubernetes,但得看开发者有没有耐心学习又一个编排层。”

nuxt-skills

S
toolCo-Pilot / 辅助式
90/ 100

“这本质上是一份组织良好的小抄,能把你的 AI 助手变成一只 Nuxt 框架的复读机。”

免责声明:本内容来源于 GitHub 开源项目,仅供展示和评分分析使用。

版权归原作者所有 ballred.