Borrowing it
Nothing to install: this file belongs to iamzhihuix/obsidian-ai-vault-template. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/iamzhihuix/obsidian-ai-vault-template/main/CLAUDE.mdgit clone --depth 1 https://github.com/iamzhihuix/obsidian-ai-vault-templateWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/iamzhihuix/obsidian-ai-vault-template/claude-md)<a href="https://agentmods.dev/instructions/iamzhihuix/obsidian-ai-vault-template/claude-md"><img src="https://agentmods.dev/badge/instructions/iamzhihuix/obsidian-ai-vault-template/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/iamzhihuix/obsidian-ai-vault-template/claude-md"><img src="https://agentmods.dev/badge/instructions/iamzhihuix/obsidian-ai-vault-template/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01677 | $0.01677 |
| Opus 5 | $0.00839 | $0.00839 |
| Sonnet 5 | $0.00335 | $0.00335 |
| Haiku 4.5 | $0.00168 | $0.00168 |
Grade A, and why
obsidian-ai-vault-template CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 137 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Vault 概览
这是一个 Obsidian 知识库,用于个人内容创作与 AI 副业知识管理。不是软件项目。
作者身份:
目录结构
采用 PARA+Zettelkasten 混合体系,编号前缀表示类别:
| 文件夹 | 用途 | 关键子目录 |
|---|---|---|
00.项目/ |
当前活跃项目(建站、跨境 SOP) | — |
10.内容创作/ |
所有内容创作 | 公众号/、推特/、YouTube/、短剧/ |
20.AI技术/ |
AI 技术学习与研究 | Claude-Code/、n8n/、提示词/、tts/、知识库/ |
30.建站变现/ |
SEO 建站与变现 | SEO上站/、stripe/ |
40.工具箱/ |
基础设施与账号 | 服务器与网络/、账号记录/、链接收藏/ |
50.学习笔记/ |
通用学习记录 | 卡片笔记/、投资/ |
90.收藏箱/ |
剪藏与收集(只读参考) | 微信剪藏/ |
assets/ |
全局图片资源 | — |
子目录 CLAUDE.md
以下子目录有独立的 CLAUDE.md,包含更细粒度的上下文:
10.内容创作/公众号/CLAUDE.md— 公众号写作风格指南(语气、结构模板、标题公式、常用表达库)20.AI技术/Claude-Code/CLAUDE.md— AI 编程学习笔记、Agent 开发资料
内容约定
公众号文章
- 存放路径:
10.内容创作/公众号/YYYY-MM/YYYYMMDD-主题.md - 写作风格详见
10.内容创作/公众号/CLAUDE.md - 选题管理:
10.内容创作/公众号/选题库.md,状态标记⏳待写✍️写作中✅已发布❌已废弃
敏感文件
40.工具箱/服务器与网络/— VPS/服务器信息,操作时注意安全40.工具箱/账号记录/— 各平台账号信息
已安装插件
- Claudian — 将 Claude Code 嵌入 Obsidian,vault 作为 Claude 工作目录
- ObShare — 一键上传笔记到飞书云文档
- Dataview — 笔记数据库视图
- codeblock-customizer — 代码块美化渲染
- Bases(核心)— 笔记数据库视图(
.base文件) - Canvas(核心)— 可视化画布(
.canvas文件) - Daily Notes(核心)— 每日笔记
飞书知识库配置(可选)
如果你使用飞书,在这里配置你的知识空间:
| 配置项 | 值 |
|---|---|
| 知识空间名称 | |
| Space ID | |
| 类型 | team / personal |
feishu-cli 使用要点
PATH 设置(每次 Bash 命令前需加):
export PATH="$HOME/go/bin:$PATH"
User Access Token 获取(Wiki 操作必须带 --user-access-token):
UAT=$(python3 -c "import json; d=json.load(open('$HOME/.feishu-cli/token.json')); print(d.get('access_token',''))")
常用命令速查:
# 列出知识空间(必须带 UAT)
feishu-cli wiki spaces --user-access-token "$UAT"
# 列出知识库文档目录
feishu-cli wiki nodes <SPACE_ID> --user-access-token "$UAT"
# 导出 wiki 文档为 Markdown
feishu-cli wiki export <node_token> -o ./output.md --download-images --assets-dir ./assets
# 搜索云文档
feishu-cli search docs "关键词"
# 导入 Markdown 到飞书
feishu-cli doc import 文章.md --title "标题" --upload-images
# 认证状态检查 / 重新登录
feishu-cli auth status
feishu-cli auth login
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 137 lines · 1,677 tokens per session scan A 302e001ba0a0
obsidian-ai-vault-template CLAUDE.md is an instructions file published in the GitHub repository iamzhihuix/obsidian-ai-vault-template (43 stars, last pushed 5mo ago), licensed MIT. It adds 1,677 tokens to every session, about $0.0084 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).