mcpField
O
Obsidian Automation

Obsidian Automation

github.com/claude-office-skills生产力5454.8k 次安装39 周前更新
代码仓库

关于 Obsidian Automation

Obsidian Automation 是用于自动化 Obsidian 笔记与个人知识管理流程的技能,涵盖笔记模板、自动链接、Dataview 查询和研究工作流。

主要功能

  1. 01按模板创建笔记
  2. 02根据规则自动建立链接
  3. 03使用 Dataview 查询任务和笔记
  4. 04自动化网页摘录与研究流程
  5. 05分析笔记图谱并发现关联

适用场景

  1. 01生成每日笔记和固定格式笔记
  2. 02为人物或项目自动添加链接
  3. 03查看今日到期任务和近期会议
  4. 04将网页内容整理为研究笔记

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/claude-office-skills/skills --skill obsidian-automation

安装后在 Claude Code 中输入/obsidian-automation确认已加载。

详细介绍

Obsidian 自动化

自动化 Obsidian 知识管理和个人知识库工作流。

核心功能

创建笔记
note_templates:
  daily_note:
    filename: "{{date:YYYY-MM-DD}}"
    folder: "Daily Notes"
    template: |
      # {{date:dddd, MMMM D, YYYY}}
      
      ## Morning Intentions
      - [ ] 
      
      ## Tasks
      - [ ] 
      
      ## Notes
      
      ## Evening Reflection
      
      ---
      [[{{date:YYYY-MM-DD|-1d}}|← Yesterday]] | [[{{date:YYYY-MM-DD|+1d}}|Tomorrow →]]

  meeting_note:
    filename: "Meeting - {{title}} - {{date}}"
    folder: "Meetings"
    template: |
      ---
      date: {{date}}
      attendees: {{attendees}}
      tags: meeting
      ---
      
      # {{title}}
      
      ## Agenda
      
      ## Notes
      
      ## Action Items
      - [ ] 
      
      ## Follow-ups
      
      [[Meetings MOC]]
智能链接
auto_linking:
  rules:
    - pattern: "[[Person/{{name}}]]"
      trigger: "@{{name}}"
      create_if_missing: true
      
    - pattern: "[[Project/{{project}}]]"
      trigger: "#proj/{{project}}"
      
  backlink_suggestions:
    enabled: true
    min_mentions: 2
    
  alias_support:
    - "[[Machine Learning|ML]]"
    - "[[Artificial Intelligence|AI]]"
Dataview 查询
dataview_examples:
  tasks_due_today:
    query: |
      ```dataview
      TASK
      WHERE !completed AND due = date(today)
      SORT due ASC
      ```
      
  recent_meetings:
    query: |
      ```dataview
      TABLE date, attendees
      FROM "Meetings"
      WHERE date >= date(today) - dur(7 days)
      SORT date DESC
      LIMIT 10
      ```
      
  project_dashboard:
    query: |
      ```dataview
      TABLE status, due, priority
      FROM #project
      WHERE status != "completed"
      SORT priority ASC
      ```
模板
templates:
  zettelkasten:
    filename: "{{date:YYYYMMDDHHmmss}}"
    content: |
      ---
      id: {{date:YYYYMMDDHHmmss}}
      tags: 
      links: 
      ---
      
      # {{title}}
      
      ## Idea
      
      ## Source
      
      ## Connections
      - Related to: 
      
      ## References
      
  book_note:
    filename: "Book - {{title}}"
    content: |
      ---
      author: {{author}}
      finished: 
      rating: 
      tags: book
      ---
      
      # {{title}}
      by {{author}}
      
      ## Summary
      
      ## Key Ideas
      
      ## Highlights
      
      ## My Thoughts
      
      ## Action Items

工作流自动化

网页剪藏器
web_clipper:
  trigger: browser_extension
  actions:
    - extract_content:
        title: "{{page.title}}"
        url: "{{page.url}}"
        content: "{{selection}}"
    - create_note:
        folder: "Clippings"
        template: web_clip
    - add_tags: ["web-clip", "{{domain}}"]
研究工作流
research_workflow:
  steps:
    - create_topic_note:
        filename: "Research - {{topic}}"
        folder: "Research"
    - gather_sources:
        search: "{{topic}}"
        link_to_note: true
    - generate_questions:
        based_on: sources
    - create_sub_notes:
        for_each: key_concept

图谱分析

graph_insights:
  orphan_notes:
    query: "notes without incoming links"
    action: suggest_connections
    
  clusters:
    identify: true
    visualize: true
    
  link_suggestions:
    based_on: content_similarity
    threshold: 0.7

最佳实践

  1. 原子化笔记:每篇笔记只记录一个想法
  2. 统一命名:遵循命名规范
  3. 广泛链接:关联相关想法
  4. 每日实践:定期回顾
  5. 模板:统一笔记类型
  6. 标签与链接:有策略地同时使用

评论

支持 Markdown