Back to list
chipoto69

obsidian-bridge

by chipoto69

A curated collection of reusable skills for Claude Code / OpenCode: knowledge pipelines, workflow automation, browser automation, code quality, and Obsidian integration

0🍴 0📅 Jan 19, 2026

SKILL.md


name: obsidian-bridge description: | Orchestrates the knowledge capture pipeline: harvester → analyzer → forge → obsidian. Manages automatic triggers via hooks and coordinates skill chaining.

Triggers: "sync to obsidian", "update knowledge base", "run pipeline", "/sync" version: 1.0.0 author: Claude Code allowed-tools:

  • Bash(python:*)
  • Bash(git:*)
  • Read
  • Write

Obsidian Bridge

Master orchestrator for the knowledge capture and documentation pipeline.

Pipeline Overview

┌──────────────────────────────────────────────────────────────────────────────┐
│                         KNOWLEDGE PIPELINE                                    │
└──────────────────────────────────────────────────────────────────────────────┘

  TRIGGERS              CAPTURE              TRANSFORM             OUTPUT
  ────────              ───────              ─────────             ──────
                        
  ┌─────────┐       ┌─────────────┐      ┌───────────────┐     ┌──────────────┐
  │Git Commit│──────▶│   DevLog    │─────▶│   Knowledge   │────▶│   Obsidian   │
  └─────────┘       │  Harvester  │      │     Forge     │     │    Notes     │
                    └─────────────┘      └───────────────┘     └──────────────┘
  ┌─────────┐              │                    │                     │
  │ Project │──────────────┤                    │                     │
  │ Switch  │              ▼                    │                     ▼
  └─────────┘       ┌─────────────┐             │              ┌──────────────┐
                    │   Project   │─────────────┘              │   Portfolio  │
  ┌─────────┐       │  Analyzer   │                            │     HTML     │
  │ 3x Daily│───────▶─────────────┘                            └──────────────┘
  │ Rollup  │              │
  └─────────┘              ▼
                    ┌─────────────┐
  ┌─────────┐       │    AGI      │
  │  Idle   │───────▶│   Memory   │
  │ 30 min  │       │  Integration│
  └─────────┘       └─────────────┘

Automatic Triggers

1. Git Commit Hook

Install with:

python ~/.claude/skills/obsidian-bridge/scripts/install-hooks.py

This adds a post-commit hook to all tracked repos that:

  • Captures commit context
  • Stages data for next rollup

2. Time-Based Rollups

Add to crontab:

# 3x daily rollups at 9am, 2pm, 9pm
0 9,14,21 * * * ~/.claude/skills/obsidian-bridge/scripts/scheduled-rollup.sh

3. Project Switch Detection

The harvester monitors PWD changes and flushes data when switching projects.

4. Idle Flush

After 30 minutes of no activity, accumulated data is flushed.

Usage

Manual Full Pipeline

# Run complete pipeline for current project
/sync

# Run for specific project
/sync --project ATLAS-main

# Dry run (preview only)
/sync --dry-run

Individual Steps

# Just harvest
python ~/.claude/skills/devlog-harvester/scripts/harvest.py

# Just synthesize
python ~/.claude/skills/knowledge-forge/scripts/synthesize.py --all

# Just generate portfolio
python ~/.claude/skills/portfolio-forge/scripts/generate.py

Integration with AGI-Memory

The bridge syncs with AGI-memory MCP:

# On harvest, also store to AGI-memory
mcp_memory_remember(
    content=f"Session on {project}: {commits} commits, {summary}",
    type="episodic",
    importance=0.7,
    concepts=["project:{project}", "devlog"]
)

This enables:

  • Cross-session recall ("What did I work on last week?")
  • Project context retrieval
  • Pattern recognition across sessions

Integration with ATLAS

If ATLAS knowledge base is detected, the bridge:

  1. Exports session notes in ATLAS-compatible format
  2. Syncs to ATLAS mind.mv2 via memvid
  3. Enables ATLAS agents to access development context

Configuration

~/.config/devlog/config.yaml:

pipeline:
  # Enable automatic triggers
  auto_commit_harvest: true
  auto_rollup: true
  rollup_times: ["09:00", "14:00", "21:00"]
  
  # Idle detection
  idle_threshold_minutes: 30
  
  # AGI-memory integration
  sync_to_agi_memory: true
  
  # ATLAS integration
  atlas_integration: true
  atlas_mind_path: ~/.claude/mind.mv2
  
  # Portfolio generation
  auto_portfolio: daily  # or: on_sync, manual
  portfolio_output: ~/Documents/Vaultage/06_Metadata/Portfolio
  
  # Projects to track (empty = all)
  tracked_projects: []
  
  # Projects to ignore
  ignored_projects:
    - node_modules
    - .git
    - __pycache__

Skill Chain Commands

Run the full chain:

/chain harvest → analyze → forge → portfolio

Or use the shorthand:

/sync --full

Files

  • scripts/run-pipeline.py - Main orchestrator
  • scripts/install-hooks.py - Git hook installer
  • scripts/scheduled-rollup.sh - Cron script
  • scripts/agi-memory-sync.py - AGI-memory integration

Score

Total Score

70/100

Based on repository quality metrics

SKILL.md

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

+20
LICENSE

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

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

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

0/5
Issue管理

オープンIssueが50未満

+5
言語

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

+5
タグ

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

0/5

Reviews

💬

Reviews coming soon