lucien-1127/strata-skill/obsidian-prompt-batch-optimizer
Claude Code and agent skill by lucien-1127/strata-skill
- community
Checking that the SKILL.md file is still in the repository.
批量優化 Obsidian vault 內所有提示詞的腳本工具,保留 YAML frontmatter,使用 Hermes config 中的 DeepSeek API
Install
npx vskill@latest install lucien-1127/strata-skill/obsidian-prompt-batch-optimizerSKILL.md
The same SKILL.md was published earlier as lucien-1127/strata-skill/obsidian-prompt-batch-optimizer.
obsidian-prompt-batch-optimizer
📖 Description
批量優化 Obsidian vault 內所有提示詞的腳本工具,保留 YAML frontmatter,使用 Hermes config 中的 DeepSeek API
name: obsidian-prompt-batch-optimizer title: Obsidian Prompt Batch Optimizer description: 批量優化 Obsidian vault 內所有提示詞的腳本工具,保留 YAML frontmatter,使用 Hermes config 中的 DeepSeek API
Obsidian Prompt Batch Optimizer
批量讀取 Obsidian vault 內的提示詞檔案 → 用 DeepSeek 逐一優化 → 存回原檔(保留 YAML frontmatter),並自動備份原始檔案。
前置條件
- Hermes 配置了 DeepSeek provider(
~/.hermes/config.yaml中有custom_providers含 deepseek) pip install openai pyyaml
腳本位置
- 腳本:
<vault>/_scripts/batch_prompt_optimizer.py - 備份目錄:
<vault>/_optimized_backup/ - 優化報告:
<vault>/_optimized_backup/優化報告.md
處理範圍
自動收集以下目錄的 .md / .txt 檔案:
copilot/system-prompts/— Obsidian Copilot 系統提示詞copilot/copilot-custom-prompts/— 自訂斜線指令copilot/copilot-模板/— 模板知識庫/🔧提示詞庫/— 精選可運行的提示詞(跳過純知識文件)
優化策略
- 保留 YAML frontmatter 不做修改
- 強化結構:角色、背景、目標、指令、約束、輸出格式
- 增加邊界約束(anti-jailbreak, 輸出可控, 準確性聲明)
- 使用繁體中文(台灣用語)
優化 API 參數
- Model:
deepseek-v4-flash - Temperature: 0.3
- Max tokens: 8000
執行方式
還原方式
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingobsidian-prompt-batch-optimizer/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/lucien-1127/strata-skill/obsidian-prompt-batch-optimizer)