給定任意 URL,自動偵測內容類型、擷取內容、生成摘要,以 Obsidian Flavored Markdown 存入 Obsidian /隨手筆記/ 資料夾。
| 類型 | 處理方式 |
|---|---|
| YouTube | NotebookLM 分析 |
| Meta 貼文(Instagram / Facebook / Threads) | OpenCLI 抓取 → defuddle 清理 → Gemma 4 摘要 |
| Meta 影片(Reels / FB 影片) | 同時抓文字 + yt-dlp 下載影片 → ffmpeg 抽影格 → Gemma 4 視覺+文字分析 |
| 一般網頁 | NotebookLM(失敗則 defuddle → Gemma 4 fallback) |
| 直接影片 URL(.mp4 / .mov) | yt-dlp 下載 → ffmpeg → Gemma 4 |
複製以下訊息,貼給你的 AI agent(Claude Code、Codex CLI 等):
請幫我安裝 quicknote plugin:https://github.com/dk40913/quicknote
步驟:
AI 會在過程中詢問你的 Google API Key 和 Obsidian vault 路徑。
以下工具由 AI 安裝時自動處理,無需手動安裝:
| 工具 | 用途 |
|---|---|
| obsidian-skills | 筆記格式化與寫入(含 defuddle) |
| yt-dlp + ffmpeg | 影片下載與抽影格 |
| opencli | 瀏覽器控制(Instagram / Facebook) |
| notebooklm-py | YouTube / 網頁分析 |
| Python 3.11+ | 執行環境 |
唯一需要手動準備的是 Google API Key:Google AI Studio 免費申請。
如果你偏好自己動手:
1. 安裝外部工具
brew install yt-dlp ffmpeg
brew install uv
uv tool install opencli
uv tool install notebooklm-py
安裝 obsidian-skills(參考 kepano/obsidian-skills):
/plugin marketplace add kepano/obsidian-skills
/plugin install obsidian@obsidian-skills
2. 安裝 plugin(在 Claude Code 對話中執行)
/plugin marketplace add dk40913/quicknote
/plugin install quicknote@dk40913-quicknote
3. 建立 Python 虛擬環境
plugin 安裝後,進入系統自動 clone 的目錄:
cd ~/.claude/plugins/marketplaces/quicknote
python3 -m venv .venv
.venv/bin/pip install -r requirements.txt
4. 設定環境變數
cp .env.example .env
# 填入:
# GOOGLE_API_KEY=你的 API Key
# OBSIDIAN_PATH=/你的/Obsidian/vault路徑
安裝完成後,直接對你的 AI agent 說:
幫我整理這個網址 https://...
AI 會自動抓取、摘要,並以 Obsidian Flavored Markdown 存入你的 Obsidian 筆記庫。
| 參數 | 說明 | 範例說法 |
|---|---|---|
--lang en | 英文摘要 | 幫我整理這個網址 https://...(英文) |
--model gemma-4-31b-it | 使用較強的模型 | 幫我整理這個網址 https://...(用較強的模型) |
執行 claude plugin install 時,Claude Code 會自動把 repo clone 到:
~/.claude/plugins/marketplaces/quicknote/
這是 plugin 系統實際執行 skill 時讀取程式碼的地方。因此 Python venv 也必須建在這個目錄下,skill 才能正確找到執行環境。
你自己的開發 repo(如果有的話)和這個目錄是獨立的,兩者都是同一個 GitHub repo 的 clone。
執行 claude plugin update 時,plugin 系統會從 GitHub pull 最新版本到 marketplaces/ 目錄,並更新 cache。版本號由 plugin.json 的 version 欄位決定。
當新版本發布後,在 Claude Code 對話中執行:
/plugin update quicknote@quicknote
或使用終端機:
claude plugin update quicknote@quicknote
更新後需要重啟 Claude Code 讓新版本生效。
notebooklm CLI 參數錯誤:create 改用位置參數、source add/ask/delete 改用 --notebooknotebook_id 解析(從 Created notebook: <id> - <title> 輸出擷取).venv 初始化步驟,若不存在則自動建立並安裝依賴,避免 exit code 127/plugin install 安裝Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub dk40913/quicknote --plugin quicknoteCreate and edit Obsidian vault files including Markdown, Bases, and Canvas. Use when working with .md, .base, or .canvas files in an Obsidian vault.
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Frontend design skill for UI/UX implementation
Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
Memory compression system for Claude Code - persist context across sessions
Marketing skills for AI agents — conversion optimization, copywriting, SEO, paid ads, ad creative, and growth