<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
<channel>
<atom:link href="https://tiaotiao.best/feed" rel="self" type="application/rss+xml"/>
<title>My Little World</title>
<link>https://tiaotiao.best</link>
<description>Hi, welcome!</description>
<language>zh-CN</language>
<copyright>© Ethan </copyright>
<pubDate>Thu, 11 Jun 2026 21:13:02 GMT</pubDate>
<generator>Mix Space CMS (https://github.com/mx-space)</generator>
<docs>https://mx-space.js.org</docs>
<image>
    <url>https://cravatar.cn/avatar/21cba91306b7513c4b099389dcd4d947?d=retro</url>
    <title>My Little World</title>
    <link>https://tiaotiao.best</link>
</image>
<item>
    <title>Hermes Agent 项目全面解析</title>
    <link>https://tiaotiao.best/notes/3</link>
    <pubDate>Mon, 01 Jun 2026 08:45:25 GMT</pubDate>
    <description>一句话总结

Hermes Agent 是 Nous Research 开源的自我进化个人 AI 智</description>
    <content:encoded><![CDATA[
      <blockquote>This rendering is produced by marked and may have formatting issues. For the best experience, visit: <a href='https://tiaotiao.best/notes/3'>https://tiaotiao.best/notes/3</a></blockquote>
          <h2>一句话总结</h2>
<p>Hermes Agent 是 Nous Research 开源的<strong>自我进化个人 AI 智能体</strong>：它不只是执行任务，更会从任务中学习 —— 自动创建技能、跨会话记忆、越用越聪明，是目前最接近&quot;永久在线、持续成长&quot;理想的开源 Agent。</p>
<hr>
<h2>项目基本信息</h2>
<table>
<thead>
<tr>
<th>项目</th>
<th>详情</th>
</tr>
</thead>
<tbody><tr>
<td>作者</td>
<td>Nous Research（Hermes 模型系列的同一团队）</td>
</tr>
<tr>
<td>GitHub</td>
<td><a href="https://github.com/nousresearch/hermes-agent">NousResearch/hermes-agent</a></td>
</tr>
<tr>
<td>官网文档</td>
<td><a href="https://hermes-agent.nousresearch.com/">hermes-agent.nousresearch.com</a></td>
</tr>
<tr>
<td>许可证</td>
<td>MIT</td>
</tr>
<tr>
<td>Stars</td>
<td>38,700+（截至 2026 年 4 月）</td>
</tr>
<tr>
<td>最新版本</td>
<td>v0.8.0 (v2026.4.8) —— &quot;The Intelligence Release&quot;</td>
</tr>
<tr>
<td>核心口号</td>
<td><strong>The Agent That Grows With You（与你一同成长的 Agent）</strong></td>
</tr>
<tr>
<td>安装</td>
<td><code>curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash</code></td>
</tr>
<tr>
<td>支持平台</td>
<td>Linux、macOS、WSL2、Android (Termux)</td>
</tr>
</tbody></table>
<hr>
<h2>它和普通 Agent 有什么根本区别？</h2>
<p>绝大多数 Agent 框架的工作方式是：</p>
<pre><code class="language-">收到任务 → 规划 → 执行 → 返回结果 → 会话结束 → 遗忘一切</code></pre><p>Hermes 在执行结束后，多了一个关键步骤：</p>
<pre><code class="language-">收到任务 → 规划 → 执行 → 评估结果
              ↓              ↓
         提取可复用模式    更新用户模型
              ↓              ↓
         写入技能库    → 下次更快更准 → 越来越强</code></pre><p><strong>核心差异：</strong> Hermes 不是在重复使用同一个&quot;大脑&quot;，而是在<strong>不断扩充这个大脑的经验库</strong>。</p>
<hr>
<h2>四层记忆架构</h2>
<p>Hermes 的记忆系统是其最核心的创新，分为四个层次：</p>
<pre><code class="language-">┌─────────────────────────────────────────────────────┐
│  Layer 4: 外部/可插拔记忆提供商（Hindsight、Honcho 等）│
│  Layer 3: 会话归档搜索（SQLite FTS5 全文检索）         │
│  Layer 2: 情节/技能记忆（.hermes/skills/ 目录）        │
│  Layer 1: 系统提示记忆（MEMORY.md + USER.md）—— 始终在场│
└─────────────────────────────────────────────────────┘</code></pre><h3>Layer 1：系统提示记忆（总是在线）</h3>
<ul>
<li>存储在 <code>~/.hermes/memories/</code> 中的 <code>MEMORY.md</code> 和 <code>USER.md</code></li>
<li><strong>每次会话开始时自动注入</strong>到系统提示</li>
<li>Agent 通过 memory 工具自主管理（增删改）</li>
<li>有字符限制：记忆区约 2200 字符，用户区约 1375 字符</li>
<li>满了就自动整合，保持聚焦</li>
</ul>
<h3>Layer 2：技能记忆（经验结晶）</h3>
<ul>
<li>完成复杂任务后，Agent 自动将成功的方法写成技能文档（Markdown）</li>
<li>存储在 <code>~/.hermes/skills/</code></li>
<li>技能可搜索、可复用、会自我改进</li>
<li>下次遇到相似问题直接调用已有技能，无需重新摸索</li>
</ul>
<h3>Layer 3：会话搜索（长期回忆）</h3>
<ul>
<li>所有 CLI 和消息平台会话存入 SQLite（<code>~/.hermes/state.db</code>）</li>
<li>使用 FTS5 全文检索，配合 Gemini Flash 对结果进行摘要</li>
<li>Agent 按需调用 <code>session_search</code> 工具，不占用常驻上下文</li>
</ul>
<h3>Layer 4：外部记忆提供商（可扩展）</h3>
<ul>
<li>推荐：<strong>Hindsight</strong>（结构化知识提取 + 实体解析 + 反思综合，本地运行，零成本）</li>
<li>可选：Honcho（用户建模）</li>
<li>在 LongMemEval 基准测试中，Hindsight 是所有提供商中得分最高的</li>
</ul>
<hr>
<h2>技能系统（Skills System）</h2>
<h3>技能 vs. 工具</h3>
<table>
<thead>
<tr>
<th>工具（Tools）</th>
<th>技能（Skills）</th>
</tr>
</thead>
<tbody><tr>
<td>Agent 能调用的单个能力</td>
<td>Agent 知道如何用工具做事的知识</td>
</tr>
<tr>
<td>如：运行终端命令、搜索网络</td>
<td>如：把多个工具调用链接成完整工作流</td>
</tr>
<tr>
<td>固定的、内置的</td>
<td>动态生成的、随使用改进的</td>
</tr>
</tbody></table>
<h3>技能的三级渐进加载</h3>
<ul>
<li><strong>Level 0</strong>：只加载技能名称和描述（~3K tokens，支持 40+ 技能）</li>
<li><strong>Level 1</strong>：按需加载完整 SKILL.md 内容</li>
<li><strong>Level 2</strong>：加载具体参考文件</li>
</ul>
<p>Agent 只在需要时拉取所需层级，保持上下文精简。</p>
<h3>技能的可移植性</h3>
<ul>
<li>与 <a href="https://agentskills.io">agentskills.io</a> 兼容，社区共享技能库</li>
<li>支持平台限制和条件加载（如：没有 Firecrawl API key 时自动 fallback 到 DuckDuckGo 搜索）</li>
</ul>
<hr>
<h2>核心架构内部</h2>
<h3>系统提示构建（prompt_builder.py）</h3>
<p>每次会话的系统提示由以下内容组装：</p>
<pre><code class="language-">SOUL.md（个性）
+ MEMORY.md + USER.md（记忆）
+ 技能列表（按需加载）
+ 上下文文件（AGENTS.md、.hermes.md）
+ 工具使用指导
+ 模型特定指令</code></pre><h3>工具注册表（tools/registry.py）</h3>
<ul>
<li><strong>47 个注册工具</strong>，分布在 <strong>20 个工具集</strong></li>
<li>每个工具文件在导入时自动注册</li>
<li>统一处理：schema 收集、分发、可用性检查、错误包装</li>
</ul>
<h3>会话持久化</h3>
<ul>
<li>SQLite（WAL 模式）：支持并发读，单写者</li>
<li>每轮对话后写入：会话内容、工具调用、执行结果</li>
<li>原始记录存入 JSONL 文件</li>
<li>Cron 定义单独存储在磁盘</li>
</ul>
<h3>上下文压缩的记忆安全机制</h3>
<p>对话变长需要压缩时，Hermes 先触发<strong>记忆刷新</strong>：</p>
<ol>
<li>独立调用模型，只提供 memory 工具</li>
<li>给 Agent 机会在压缩前保存重要信息</li>
<li>压缩后，未被标记的内容彻底消失</li>
</ol>
<hr>
<h2>平台与部署灵活性</h2>
<h3>支持的消息平台（一个 Gateway 进程管理全部）</h3>
<p>Telegram、Discord、Slack、WhatsApp、Signal、Matrix、Email、Mattermost + CLI</p>
<h3>支持的终端后端（6 种）</h3>
<table>
<thead>
<tr>
<th>后端</th>
<th>特点</th>
</tr>
</thead>
<tbody><tr>
<td>Local</td>
<td>本地直接运行</td>
</tr>
<tr>
<td>Docker</td>
<td>容器隔离</td>
</tr>
<tr>
<td>SSH</td>
<td>远程服务器</td>
</tr>
<tr>
<td>Daytona</td>
<td>无服务器持久化，空闲时休眠</td>
</tr>
<tr>
<td>Singularity</td>
<td>HPC 环境</td>
</tr>
<tr>
<td>Modal</td>
<td>无服务器持久化，按需唤醒</td>
</tr>
</tbody></table>
<h3>模型无关性</h3>
<p>可接入任意模型，一行命令切换，无需改代码：</p>
<pre><code class="language-bash">hermes model              # 交互式切换模型</code></pre><p>支持：Nous Portal、OpenRouter（200+ 模型）、OpenAI、Anthropic、Kimi/Moonshot、MiniMax、自托管端点（Ollama/vLLM/SGLang）等</p>
<hr>
<h2>自进化伴侣项目</h2>
<p><strong><a href="https://github.com/NousResearch/hermes-agent-self-evolution">hermes-agent-self-evolution</a></strong></p>
<p>使用 <strong>DSPy + GEPA</strong> 进行进化式自我改进：</p>
<ul>
<li>优化技能、提示词和代码</li>
<li>与 Nous Research 的 RL 框架 <strong>Atropos</strong> 集成</li>
<li>可生成数千条工具调用轨迹，用于微调更小、更便宜的模型</li>
</ul>
<hr>
<h2>最新版本亮点：v0.8.0（2026.4.8）</h2>
<p><strong>&quot;The Intelligence Release&quot;</strong></p>
<ul>
<li>🔔 后台任务自动通知</li>
<li>🆓 Nous Portal 免费提供 MiMo v2 Pro 模型</li>
<li>🔄 跨平台实时切换模型（无需重启）</li>
<li>🔒 MCP OAuth 2.1 支持</li>
<li>⏱️ 智能不活跃超时</li>
<li>✅ 审批按钮（人类监督钩子）</li>
<li>🔌 插件系统扩展（可注册 CLI 子命令、请求范围 API 钩子、会话生命周期事件）</li>
<li>📝 结构化日志（<code>~/.hermes/logs/</code>）+ 启动时 YAML 配置验证</li>
<li>📦 合并 PR 209 个，修复 Issue 82 个</li>
</ul>
<hr>
<h2>与竞品对比</h2>
<h3>Hermes Agent vs. OpenClaw</h3>
<table>
<thead>
<tr>
<th>维度</th>
<th>Hermes Agent</th>
<th>OpenClaw</th>
</tr>
</thead>
<tbody><tr>
<td>核心设计哲学</td>
<td>自我改进的闭合学习循环</td>
<td>控制平面优先，人工编写技能</td>
</tr>
<tr>
<td>技能来源</td>
<td>自动从任务中提取生成</td>
<td>主要由人类编写</td>
</tr>
<tr>
<td>记忆系统</td>
<td>四层分级架构</td>
<td>相对扁平</td>
</tr>
<tr>
<td>适合场景</td>
<td>长期运行、持续成长、减少重复</td>
<td>灵活工具链、宽泛响应能力</td>
</tr>
<tr>
<td>生态成熟度</td>
<td>快速增长中</td>
<td>Slack/Discord 集成较成熟</td>
</tr>
</tbody></table>
<h3>Hermes Agent vs. AutoGPT / LangChain</h3>
<ul>
<li><strong>vs. AutoGPT</strong>：AutoGPT 聚焦任务分解和网络交互；Hermes 聚焦记忆、学习和技能沉淀。可互补。</li>
<li><strong>vs. LangChain</strong>：LangChain 是构建 AI 应用的工具箱；Hermes 是一个完整的 Agent 框架，内置了 LangChain 需要你自己实现的自主技能创建能力。</li>
</ul>
<h3>Hermes Agent vs. AutoResearch（Karpathy）</h3>
<table>
<thead>
<tr>
<th>维度</th>
<th>Hermes Agent</th>
<th>AutoResearch</th>
</tr>
</thead>
<tbody><tr>
<td>优化对象</td>
<td>通用任务（任何领域）</td>
<td>ML 训练脚本</td>
</tr>
<tr>
<td>学习方式</td>
<td>技能沉淀 + 记忆系统</td>
<td>Git 版本对比 + 指标追踪</td>
</tr>
<tr>
<td>运行时间</td>
<td>永久在线</td>
<td>限时实验（5 分钟/次）</td>
</tr>
<tr>
<td>人类干预</td>
<td>极少（可选审批）</td>
<td>只需写 program.md</td>
</tr>
<tr>
<td>核心价值</td>
<td>累积成长</td>
<td>大量快速迭代</td>
</tr>
</tbody></table>
<hr>
<h2>对 Agent 领域的重要意义</h2>
<h3>1. &quot;Agent 操作系统&quot; 的雏形</h3>
<p>v0.6.0 引入的多 Profile 支持让开发者可以从单个安装运行多个隔离的 Hermes 实例（各有独立配置、记忆、技能、会话）。这已经不是&quot;个人助手&quot;，而是<strong>可复用的 Agent 运行时</strong>。</p>
<h3>2. 技能即知识产权</h3>
<p>技能可以共享（agentskills.io）、可以被社区贡献。这创造了一个 Agent 知识库的生态：好的解决方案一旦被一个 Agent 发现，就可以共享给所有人的 Agent。</p>
<h3>3. 闭合学习循环的落地验证</h3>
<p>Hermes 证明了自主技能创建在实际产品中是可行的 —— 不只是研究论文中的概念。</p>
<h3>4. 指向&quot;不断复利&quot;的 Agent 未来</h3>
<p>当前的 Agent 更像&quot;工具&quot;：用完即走，不留痕迹。Hermes 的设计目标是让 Agent 变成真正的&quot;数字同事&quot;：越用越了解你，越用越高效，形成<strong>能力复利</strong>。</p>
<hr>
<h2>局限与注意事项</h2>
<h3>⚠️ 技术门槛较高</h3>
<ul>
<li>需要自管基础设施</li>
<li>持久状态管理有一定复杂性</li>
<li>比 SaaS 产品的设置更繁琐</li>
</ul>
<h3>⚠️ 处于快速迭代阶段</h3>
<ul>
<li>版本更新频繁（每周级别）</li>
<li>可能有 Breaking Changes</li>
<li>适合愿意跟进前沿的开发者</li>
</ul>
<h3>⚠️ 单一指标的局限（与 AutoResearch 共同的问题）</h3>
<p>自我改进依赖可量化的反馈信号，对模糊、主观的任务效果有限。</p>
<h3>⚠️ 记忆边界</h3>
<p>Layer 1 记忆有字符限制，长期使用需要关注记忆整合质量。</p>
<hr>
<h2>安装快速上手</h2>
<pre><code class="language-bash"># 一键安装
curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash

# 首次配置向导
hermes setup

# 启动
hermes
hermes chat              # 直接进入对话
hermes model             # 切换模型

# 从 OpenClaw 迁移（自动检测 ~/.openclaw）
hermes setup             # 向导会自动提示迁移</code></pre><hr>
<h2>我的思考空间</h2>
<blockquote>
<p><em>（留给自己的笔记区域，随时补充）</em></p>
</blockquote>
<p>- </p>
<hr>
<h2>相关链接</h2>
<table>
<thead>
<tr>
<th>资源</th>
<th>链接</th>
</tr>
</thead>
<tbody><tr>
<td>GitHub 主仓库</td>
<td><a href="https://github.com/nousresearch/hermes-agent">NousResearch/hermes-agent</a></td>
</tr>
<tr>
<td>官方文档</td>
<td><a href="https://hermes-agent.nousresearch.com/docs/">hermes-agent.nousresearch.com/docs</a></td>
</tr>
<tr>
<td>记忆系统文档</td>
<td><a href="https://hermes-agent.nousresearch.com/docs/user-guide/features/memory/">Memory - Hermes Agent</a></td>
</tr>
<tr>
<td>架构文档</td>
<td><a href="https://hermes-agent.nousresearch.com/docs/developer-guide/architecture/">Architecture - Hermes Agent</a></td>
</tr>
<tr>
<td>自进化伴侣项目</td>
<td><a href="https://github.com/NousResearch/hermes-agent-self-evolution">hermes-agent-self-evolution</a></td>
</tr>
<tr>
<td>精选资源列表</td>
<td><a href="https://github.com/0xNyk/awesome-hermes-agent">awesome-hermes-agent</a></td>
</tr>
</tbody></table>
<hr>
<h2>Sources</h2>
<ul>
<li><a href="https://github.com/nousresearch/hermes-agent">GitHub - NousResearch/hermes-agent</a></li>
<li><a href="https://hermes-agent.nousresearch.com/docs/">Hermes Agent Documentation</a></li>
<li><a href="https://hermes-agent.nousresearch.com/docs/user-guide/features/memory/">Persistent Memory - Hermes Agent</a></li>
<li><a href="https://hermes-agent.nousresearch.com/docs/developer-guide/architecture/">Architecture - Hermes Agent</a></li>
<li><a href="https://mranand.substack.com/p/inside-hermes-agent-how-a-self-improving">Inside Hermes Agent: How a Self-Improving AI Agent Actually Works</a></li>
<li><a href="https://hermes-agent.ai/blog/hermes-agent-memory-system">Hermes Agent Memory System - 3-Layer Explained</a></li>
<li><a href="https://www.turingpost.com/p/hermes">AI 101: Hermes Agent – OpenClaw&#39;s Rival?</a></li>
<li><a href="https://dev.to/arshtechpro/hermes-agent-a-self-improving-ai-agent-that-runs-anywhere-2b7d">Hermes Agent: A Self-Improving AI Agent That Runs Anywhere - DEV Community</a></li>
<li><a href="https://thenewstack.io/persistent-ai-agents-compared/">OpenClaw vs. Hermes Agent - The New Stack</a></li>
<li><a href="https://github.com/NousResearch/hermes-agent-self-evolution">NousResearch/hermes-agent-self-evolution</a></li>
</ul>

          <p style='text-align: right'>
          <a href='https://tiaotiao.best/notes/3#comments'>Finished reading? Leave a comment</a>
          </p>
    ]]>
    </content:encoded>
  <guid isPermaLink="false">143275432345604096</guid>
  <category>note</category>
false
 </item>
  <item>
    <title>README</title>
    <link>https://tiaotiao.best/notes/2</link>
    <pubDate>Mon, 01 Jun 2026 06:54:11 GMT</pubDate>
    <description>Claudesidian: Claude Code + Obsidian Starter Kit

</description>
    <content:encoded><![CDATA[
      <blockquote>This rendering is produced by marked and may have formatting issues. For the best experience, visit: <a href='https://tiaotiao.best/notes/2'>https://tiaotiao.best/notes/2</a></blockquote>
          <h1>Claudesidian: Claude Code + Obsidian Starter Kit</h1>
<p>Turn your Obsidian vault into an AI-powered second brain using Claude Code.</p>
<h2>What is this?</h2>
<p>This is a pre-configured Obsidian vault structure designed to work seamlessly
with Claude Code, enabling you to:</p>
<ul>
<li>Use AI as a thinking partner, not just a writing assistant</li>
<li>Organize knowledge using the PARA method</li>
<li>Maintain version control with Git</li>
<li>Access your vault from anywhere (including mobile)</li>
</ul>
<h2>Quick Start</h2>
<h3>1. Get the Starter Kit</h3>
<p><strong>Option A: Clone with Git</strong></p>
<pre><code class="language-bash"># Clone with your preferred folder name (replace 'my-vault' with any name you like)
git clone https://github.com/heyitsnoah/claudesidian.git my-vault
cd my-vault

# Examples:
# git clone https://github.com/heyitsnoah/claudesidian.git obsidian-notes
# git clone https://github.com/heyitsnoah/claudesidian.git knowledge-base
# git clone https://github.com/heyitsnoah/claudesidian.git second-brain</code></pre><p><strong>Option B: Download ZIP (no Git required)</strong></p>
<ol>
<li>Click &quot;Code&quot; → &quot;Download ZIP&quot; on GitHub</li>
<li>Extract to your desired location</li>
<li>Open the folder in Claude Code</li>
</ol>
<h3>2. Run the Setup Wizard</h3>
<pre><code class="language-bash"># Start Claude Code in the directory
claude

# Run the interactive setup wizard (in Claude Code)
/init-bootstrap</code></pre><p>This will:</p>
<ul>
<li>Install dependencies automatically</li>
<li>Disconnect from the original claudesidian repository</li>
<li><strong>Intelligently analyze</strong> your existing vault structure and patterns</li>
<li><strong>Import your existing Obsidian vault</strong> safely to OLD_VAULT/ (if you have one)</li>
<li><strong>Research your public work</strong> for personalized context (with your permission)</li>
<li>Ask you about your workflow preferences</li>
<li>Create a personalized CLAUDE.md configuration</li>
<li>Set up your folder structure</li>
<li>Optionally configure Gemini Vision for image/video analysis</li>
<li>Optionally configure Firecrawl for web research</li>
<li>Initialize Git for version control</li>
</ul>
<h3>3. Open in Obsidian (Optional but Recommended)</h3>
<ul>
<li>Download <a href="https://obsidian.md">Obsidian</a></li>
<li>Open vault from the claudesidian folder</li>
<li>This gives you a visual interface alongside Claude Code</li>
</ul>
<h3>4. Your First Session</h3>
<p>Tell Claude Code:</p>
<pre><code class="language-">I'm starting a new project about [topic].
I'm in thinking mode, not writing mode.
Please search my vault for any relevant existing notes,
then help me explore this topic by asking questions.</code></pre><p>Or use one of the pre-configured commands (in Claude Code):</p>
<pre><code class="language-">/thinking-partner   # For collaborative exploration
/daily-review       # For end-of-day reflection
/research-assistant # For deep dives into topics</code></pre><h2>Folder Structure</h2>
<pre><code class="language-">claudesidian/
├── 00_Inbox/           # Temporary capture point for new ideas
├── 01_Projects/        # Active, time-bound initiatives
├── 02_Areas/           # Ongoing responsibilities
├── 03_Resources/       # Reference materials and knowledge base
├── 04_Archive/         # Completed projects and inactive items
├── 05_Attachments/     # Images, PDFs, and other files
├── 06_Metadata/        # Vault configuration and templates
│   ├── Reference/      # Documentation and guides
│   └── Templates/      # Reusable note templates
└── .scripts/           # Helper scripts for automation</code></pre><h2>Key Concepts</h2>
<h3>Thinking Mode vs Writing Mode</h3>
<p><strong>Thinking Mode</strong> (Research &amp; Exploration):</p>
<ul>
<li>Claude asks questions to understand your goals</li>
<li>Searches existing notes for relevant content</li>
<li>Helps make connections between ideas</li>
<li>Maintains a log of insights and progress</li>
</ul>
<p><strong>Writing Mode</strong> (Content Creation):</p>
<ul>
<li>Generates drafts based on your research</li>
<li>Helps structure and edit content</li>
<li>Creates final deliverables</li>
</ul>
<h3>The PARA Method</h3>
<p><strong>Projects</strong>: Have a deadline and specific outcome</p>
<ul>
<li>Example: &quot;Q4 2025 Marketing Strategy&quot;</li>
<li>Create a folder in <code>01_Projects/</code></li>
</ul>
<p><strong>Areas</strong>: Ongoing without an end date</p>
<ul>
<li>Example: &quot;Health&quot;, &quot;Finances&quot;, &quot;Team Management&quot;</li>
<li>Lives in <code>02_Areas/</code></li>
</ul>
<p><strong>Resources</strong>: Topics of ongoing interest</p>
<ul>
<li>Example: &quot;AI Research&quot;, &quot;Writing Tips&quot;</li>
<li>Store in <code>03_Resources/</code></li>
</ul>
<p><strong>Archive</strong>: Inactive items</p>
<ul>
<li>Completed projects with their outputs</li>
<li>Old notes no longer relevant</li>
</ul>
<h2>Claude Code Commands</h2>
<p>Pre-configured AI assistants ready to use:</p>
<ul>
<li><code>thinking-partner</code> - Explore ideas through questions</li>
<li><code>inbox-processor</code> - Organize your captures</li>
<li><code>research-assistant</code> - Deep dive into topics</li>
<li><code>daily-review</code> - End of day reflection</li>
<li><code>weekly-synthesis</code> - Find patterns in your week</li>
<li><code>create-command</code> - Build new custom commands</li>
<li><code>de-ai-ify</code> - Remove AI writing patterns from text</li>
<li><code>upgrade</code> - Update to the latest claudesidian version</li>
<li><code>init-bootstrap</code> - Re-run the setup wizard</li>
<li><code>install-claudesidian-command</code> - Install shell command to launch vault from
anywhere</li>
</ul>
<p>Run with: <code>/[command-name]</code> in Claude Code</p>
<h3>Staying Updated with <code>/upgrade</code></h3>
<p>Claudesidian automatically checks for updates when you start Claude Code and
will remind you to run <code>/upgrade</code> when new features are available.</p>
<p>The upgrade command intelligently merges new features while preserving your
customizations:</p>
<pre><code class="language-bash"># Preview what would be updated (recommended first)
/upgrade check

# Run the interactive upgrade
/upgrade

# Skip confirmations for safe updates (advanced)
/upgrade force</code></pre><p><strong>What the upgrade does:</strong></p>
<ul>
<li>Creates a timestamped backup before making any changes</li>
<li>Shows you diffs for each file before updating</li>
<li>Preserves your personal notes and customizations</li>
<li>Only updates system files (commands, agents, scripts)</li>
<li>Never touches your content folders (00_Inbox, 01_Projects, etc.)</li>
<li>Provides rollback capability if needed</li>
</ul>
<p><strong>Safety features:</strong></p>
<ul>
<li>All your personal content is protected</li>
<li>Complete backup created in <code>.backup/upgrade-[timestamp]/</code></li>
<li>File-by-file review and confirmation</li>
<li>Progress tracked in <code>.upgrade-checklist.md</code></li>
<li>Can be stopped and resumed at any time</li>
</ul>
<h2>Vision &amp; Document Analysis (Optional)</h2>
<p>With <a href="https://ai.google.dev/">Google Gemini</a> MCP configured, Claude Code can
process your attachments directly without having to describe them. This means:</p>
<ul>
<li><strong>Direct image analysis</strong>: Claude sees the actual image, not your description</li>
<li><strong>PDF text extraction</strong>: Full document text without copy-pasting</li>
<li><strong>Bulk processing</strong>: Analyze multiple screenshots or documents at once</li>
<li><strong>Smart organization</strong>: Auto-generate filenames based on image content</li>
<li><strong>Comparison tasks</strong>: Compare before/after screenshots, designs, etc.</li>
</ul>
<p><strong>Why this matters</strong>: Instead of describing &quot;a screenshot showing an error
message&quot;, Claude Code directly sees and reads the error. Perfect for debugging
UI issues, analyzing charts, or processing scanned documents.</p>
<p><strong>Getting a Gemini API key:</strong></p>
<ol>
<li>Visit <a href="https://aistudio.google.com">Google AI Studio</a></li>
<li>Sign in with your Google account</li>
<li>Click &quot;Get API key&quot; in the left sidebar</li>
<li>Create a new API key (it&#39;s free!)</li>
<li>Set it in your environment: <code>export GEMINI_API_KEY=&quot;your-key-here&quot;</code></li>
</ol>
<p>See <code>.claude/mcp-servers/README.md</code> for full setup instructions</p>
<h2>Web Research (Optional)</h2>
<p>With <a href="https://www.firecrawl.dev/">Firecrawl</a> configured, our helper scripts
fetch and save full web content directly to your vault. This means:</p>
<ul>
<li><strong>Full text capture</strong>: Scripts pipe complete article text to files, not
summaries</li>
<li><strong>Context preservation</strong>: Claude doesn&#39;t need to hold web content in memory</li>
<li><strong>Batch processing</strong>: Save multiple articles at once with <code>firecrawl-batch.sh</code></li>
<li><strong>Clean markdown</strong>: Web pages converted to readable, searchable markdown</li>
<li><strong>Permanent archive</strong>: Your research stays in your vault forever</li>
</ul>
<p><strong>Why this matters</strong>: Instead of Claude reading a webpage and summarizing it
(losing detail), the scripts save the FULL text. Claude can then search and
analyze thousands of saved articles without hitting context limits. Perfect for
research projects, documentation archives, or building a knowledge base.</p>
<p><strong>Example workflow:</strong></p>
<pre><code class="language-bash"># Save a single article
npm run firecrawl:scrape -- "https://example.com/article" "03_Resources/Articles"

# Batch save multiple URLs
npm run firecrawl:batch -- urls.txt "03_Resources/Research"</code></pre><p><strong>Getting a Firecrawl API key:</strong></p>
<ol>
<li>Visit <a href="https://www.firecrawl.dev">Firecrawl</a> and sign up</li>
<li>Get 300 free credits to start (open-source, can self-host)</li>
<li>Go to your dashboard to find your API key</li>
<li>Copy the key (format: <code>fc-xxxxx...</code>)</li>
<li>Set it in your environment: <code>export FIRECRAWL_API_KEY=&quot;fc-your-key-here&quot;</code></li>
</ol>
<h2>Helper Scripts</h2>
<p>Run these with <code>pnpm</code>:</p>
<ul>
<li><code>attachments:list</code> - Show unprocessed attachments</li>
<li><code>attachments:organized</code> - Count organized files</li>
<li><code>attachments:sizes</code> - Find large files</li>
<li><code>attachments:orphans</code> - Find unreferenced attachments</li>
<li><code>vault:stats</code> - Show vault statistics</li>
</ul>
<h2>Advanced Setup</h2>
<h3>Quick Launch from Anywhere</h3>
<p>Install a shell command to launch your vault from any directory:</p>
<pre><code class="language-bash"># In Claude Code, run:
/install-claudesidian-command</code></pre><p>This creates a <code>claudesidian</code> alias that:</p>
<ul>
<li>Changes to your vault directory automatically</li>
<li>Tries to resume your existing session (if one exists)</li>
<li>Falls back to starting a new session</li>
<li>Returns to your original directory when done</li>
</ul>
<p><strong>Usage:</strong></p>
<pre><code class="language-bash"># From anywhere in your terminal:
claudesidian

# It will automatically resume your last session or start a new one</code></pre><p>The command is added to your shell config (~/.zshrc, ~/.bashrc, etc.) so it
persists across terminal sessions.</p>
<h3>Git Integration</h3>
<p>Initialize Git for version control:</p>
<pre><code class="language-bash">git init
git add .
git commit -m "Initial vault setup"
git remote add origin your-repo-url
git push -u origin main</code></pre><p>Best practices:</p>
<ul>
<li>Commit after each work session</li>
<li>Use descriptive commit messages</li>
<li>Pull before starting work</li>
</ul>
<h3>Mobile Access</h3>
<ol>
<li>Set up a small server (mini PC, cloud VPS, or home server)</li>
<li>Install Tailscale for secure VPN access</li>
<li>Clone your vault to the server</li>
<li>Use Termius or similar SSH client on mobile</li>
<li>Run Claude Code remotely</li>
</ol>
<h3>Custom Commands</h3>
<p>Create specialized commands by saving instructions in <code>.claude/commands/</code>:</p>
<p><strong>Research Assistant</strong> (<code>06_Metadata/Agents/research-assistant.md</code>):</p>
<pre><code class="language-markdown">You are a research assistant.

- Search the vault for relevant information
- Synthesize findings from multiple sources
- Identify gaps in knowledge
- Suggest areas for further exploration</code></pre><h2>Tips &amp; Best Practices</h2>
<h3>From Experience</h3>
<ol>
<li><strong>Start in thinking mode</strong>: Resist the urge to generate content immediately</li>
<li><strong>Be a token maximalist</strong>: More context = better results</li>
<li><strong>Save everything</strong>: Capture chats, fragments, partial thoughts</li>
<li><strong>Trust but verify</strong>: Always read AI-generated content</li>
<li><strong>Break your flow</strong>: AI helps you resume easily</li>
</ol>
<h2>Troubleshooting</h2>
<h3>Claude Code can&#39;t find my notes</h3>
<ul>
<li>Make sure you&#39;re running Claude Code from the vault root directory</li>
<li>Check file permissions</li>
<li>Verify markdown files have <code>.md</code> extension</li>
</ul>
<h3>Git conflicts</h3>
<ul>
<li>Always pull before starting work</li>
<li>Commit frequently with clear messages</li>
<li>Use branches for experimental changes</li>
</ul>
<h3>Attachment management</h3>
<ul>
<li>Run <code>npm run attachments:create-organized</code> to set up folders</li>
<li>Use helper scripts to find orphaned files</li>
<li>Keep attachments under 10MB for Git</li>
</ul>
<h2>Philosophy</h2>
<p>This setup is based on key principles:</p>
<ol>
<li><strong>AI amplifies thinking, not just writing</strong></li>
<li><strong>Local files = full control</strong></li>
<li><strong>Structure enables creativity</strong></li>
<li><strong>Iteration beats perfection</strong></li>
<li><strong>The goal is insight, not just information</strong></li>
</ol>
<h2>Contributing</h2>
<p>We welcome contributions from the community! This is a living template that gets
better with everyone&#39;s input.</p>
<h3>How to Contribute</h3>
<ol>
<li><strong>Fork the repository</strong> on GitHub</li>
<li><strong>Create a feature branch</strong> (<code>git checkout -b feature/amazing-feature</code>)</li>
<li><strong>Make your changes</strong></li>
<li><strong>Test your changes</strong> to ensure everything works</li>
<li><strong>Commit your changes</strong> (<code>git commit -m &#39;Add amazing feature&#39;</code>)</li>
<li><strong>Push to the branch</strong> (<code>git push origin feature/amazing-feature</code>)</li>
<li><strong>Open a Pull Request</strong> with a clear description of what you&#39;ve done</li>
</ol>
<h3>What We&#39;re Looking For</h3>
<ul>
<li><strong>New commands</strong>: Useful Claude Code commands for common workflows</li>
<li><strong>New agents</strong>: Specialized agents for specific tasks</li>
<li><strong>Documentation improvements</strong>: Better explanations, examples, or guides</li>
<li><strong>Bug fixes</strong>: Found something broken? Fix it!</li>
<li><strong>Workflow templates</strong>: Share your productive workflows</li>
<li><strong>Helper scripts</strong>: Automation tools that make vault management easier</li>
<li><strong>Integration guides</strong>: Connect Claudesidian with other tools</li>
<li><strong>Core updates</strong>: Improvements to the upgrade system, setup wizard, or other
core features</li>
</ul>
<h3>Guidelines</h3>
<ul>
<li>Keep commands focused and single-purpose</li>
<li>Write clear documentation with examples</li>
<li>Test thoroughly before submitting</li>
<li>Follow existing code style and structure</li>
<li>Update the CHANGELOG.md with your changes</li>
<li><strong>AI-generated content is welcome, but you MUST carefully read and review
everything before submitting</strong> - never submit code you don&#39;t understand</li>
</ul>
<h3>Getting Updates</h3>
<p>When new features are contributed and merged, users can easily get them with:</p>
<pre><code class="language-bash">/upgrade</code></pre><p>The upgrade command intelligently merges new features while preserving your
personal customizations, making it easy to benefit from community contributions
without losing your work.</p>
<h3>Questions or Ideas?</h3>
<ul>
<li>Open an issue to discuss major changes before starting work</li>
<li>Join discussions in existing issues</li>
<li>Share your use cases - they help us understand needs better</li>
</ul>
<p>Remember: best practices emerge from use, not theory. Your real-world experience
makes this better for everyone!</p>
<h2>Resources</h2>
<ul>
<li><a href="https://help.obsidian.md">Obsidian Documentation</a></li>
<li><a href="https://fortelabs.com/blog/para/">PARA Method</a></li>
<li><a href="https://claude.ai/docs">Claude Code Documentation</a></li>
</ul>
<h2>Inspiration</h2>
<p>This starter kit was inspired by the workflows discussed in:</p>
<ul>
<li><a href="https://every.to/podcast/how-to-use-claude-code-as-a-thinking-partner">How to Use Claude Code as a Second Brain</a> -
Noah Brier&#39;s interview with Dan Shipper</li>
<li>Built by the team at <a href="https://alephic.com">Alephic</a> - an AI-first strategy and
software partner that helps organizations solve complex challenges through
custom AI systems</li>
</ul>
<h2>License</h2>
<p>MIT - Use this however you want. Make it your own.</p>
<hr>
<p><em>Remember: The bicycle feels wobbly at first, then you forget it was ever hard.</em></p>

          <p style='text-align: right'>
          <a href='https://tiaotiao.best/notes/2#comments'>Finished reading? Leave a comment</a>
          </p>
    ]]>
    </content:encoded>
  <guid isPermaLink="false">143247441934684160</guid>
  <category>note</category>
false
 </item>
  <item>
    <title>你好，世界 👋</title>
    <link>https://tiaotiao.best/notes/1</link>
    <pubDate>Mon, 01 Jun 2026 04:21:18 GMT</pubDate>
    <description>这是我的第一篇手记，博客正式开张啦！🎉

（这是初始化占位内容，你可以在后台编辑或删除它，但请始终</description>
    <content:encoded><![CDATA[
      <blockquote>This rendering is produced by marked and may have formatting issues. For the best experience, visit: <a href='https://tiaotiao.best/notes/1'>https://tiaotiao.best/notes/1</a></blockquote>
          <p>这是我的第一篇手记，博客正式开张啦！🎉</p>
<p>（这是初始化占位内容，你可以在后台编辑或删除它，但请始终保留至少一篇已发布的手记。）</p>

          <p style='text-align: right'>
          <a href='https://tiaotiao.best/notes/1#comments'>Finished reading? Leave a comment</a>
          </p>
    ]]>
    </content:encoded>
  <guid isPermaLink="false">143066684683456999</guid>
  <category>note</category>
false
 </item>
  
</channel>
</rss>