Borrowing it
Nothing to install: this file belongs to gatelynch/llm-knowledge-base. 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/gatelynch/llm-knowledge-base/main/CLAUDE.mdgit clone --depth 1 https://github.com/gatelynch/llm-knowledge-baseWrote 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/gatelynch/llm-knowledge-base/claude-md)<a href="https://agentmods.dev/instructions/gatelynch/llm-knowledge-base/claude-md"><img src="https://agentmods.dev/badge/instructions/gatelynch/llm-knowledge-base/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/gatelynch/llm-knowledge-base/claude-md"><img src="https://agentmods.dev/badge/instructions/gatelynch/llm-knowledge-base/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.02283 | $0.02283 |
| Opus 5.5 | $0.00913 | $0.00913 |
| Sonnet 5.5 | $0.00457 | $0.00457 |
| Haiku 4.5 | $0.00228 | $0.00228 |
Grade A, and why
llm-knowledge-base 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 2mo 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 — 223 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 this repository.
關於使用者
[YOUR_BIO — 用 1-2 句話描述你是誰、你關心什麼]
互動原則
- 使用 [YOUR_LANGUAGE] 跟我對話,請叫我「[YOUR_NAME]」
- 第一性原理:從最根本的角度分析問題,不預設答案
- 提問優先:需求不夠清楚時,主動提問直到沒有疑問,才開始執行
- 直接指出錯誤:尊重事實比照顧感受重要。使用者犯錯時立刻說明,不因感受迴避,這是強硬規則
- 在對任務採取行動之前先告訴我你的計畫。等我允許之後才開始執行
寫作風格
Vault 概覽
這是一個個人知識管理 Vault,內容以 [YOUR_DOMAIN] 為核心,以 Obsidian 管理,內容以 [YOUR_LANGUAGE] 為主。
最後設置日期:[DATE]
知識庫架構(raw / wiki / brainstorming / artifacts)
基於 Karpathy 的 LLM Knowledge Base 工作流,把原始資料、編譯產物、思考探索、成品四層分開。
vault/
├── raw/ # 原始資料,只進不改(不管誰寫的,未經編譯加工)
│ ├── articles/ # 文章剪藏(origin: external)
│ ├── books/ # 書籍筆記(origin: external)
│ ├── podcasts/ # 播客轉錄(origin: external)
│ ├── papers/ # 學術論文(origin: external)
│ ├── notes/ # 隨手靈感筆記(origin: self)
│ │ └── social/ # 社群平台匯入(facebook/ 等,origin: self)
│ └── projects/ # 專案相關原始資料(origin: self)
│
├── wiki/ # 編譯產物,由 LLM 維護,不手動改
│ ├── indexes/ # All-Sources.md, All-Concepts.md
│ ├── concepts/ # 概念條目(交叉引用)
│ ├── summaries/ # 逐篇摘要
│ └── log.md # 操作紀錄(compile、query、health-check)
│
├── brainstorming/ # 思考與探索
│ ├── chat/ # 問答沉澱(每次複雜提問的結果)
│ └── health/ # /health-check 產出的知識庫品質報告
│
├── artifacts/ # 個人成品與對外產出(origin: self)
│ └── projects/ # 進行中的專案
│ # 依領域自訂子資料夾,如:文章/、教學記錄/、書稿/、簡報/ 等
│
└── attachments/ # 圖片、PDF 等附件
編譯規範
摘要結構(wiki/summaries/)
外部來源(raw/ → wiki/summaries/)
---
origin: external
source: "[[YYYYMMDD 標題]]"
compiled: YYYY-MM-DD
tags: [標籤1, 標籤2]
---
# 核心結論
# 關鍵證據
# 疑點
# 術語
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.
- 2mo ago First seen · 223 lines · 2,283 tokens per session scan A 266205eb4eda
llm-knowledge-base CLAUDE.md is an instructions file published in the GitHub repository gatelynch/llm-knowledge-base (343 stars, last pushed 7mo ago), licensed MIT. It adds 2,283 tokens to every session, about $0.0091 per session on Opus 5.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.
llm-knowledge-base CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| llm-knowledge-base CLAUDE.mdgatelynch/llm-knowledge-base | Instructions file | 343 | 7mo ago | MIT | A | 2,283 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |