Llm Wiki Setup logo

Llm Wiki Setup

CommunityPopular
daymade
llm-wiki-setup

Co-creates a personal investment-research LLM Wiki (Karpathy's pattern) by interviewing the user for THEIR OWN analysis framework, not a template — a living CLAUDE.md of pure markdown + wikilinks, no RAG in place of compilation. Use to build a compounding 投研第二大脑 / 投研知识库 / 个人投研 wiki, ingest research reports / earnings calls into an existing wiki, or run post-earnings prediction→fulfillment reviews.

Overview

Publisherdaymade
Repositoryclaude-code-skills
Skill namellm-wiki-setup
Stars
1.4K
Forks
222
Bundled files
11
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 11 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by daymade on GitHub. Read the source before you install it.

Installation

Install the Llm Wiki Setup AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/daymade/claude-code-skills/tree/main/llm-wiki-setup
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/daymade/claude-code-skills.git /tmp/claude-code-skills
mkdir -p .claude/skills
cp -r /tmp/claude-code-skills/llm-wiki-setup .claude/skills/llm-wiki-setup
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Llm Wiki Setup in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Llm Wiki Setup on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Llm Wiki Setup is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

LLM Wiki Setup(投研第二大脑共创)

帮用户搭一个金融投研专用 LLM Wiki(Karpathy 模式):纯 markdown 文件 + [[wikilink]] 互联 + LLM 维护,知识随用复利。

但核心不是给一份投研模板——是引导用户把他自己的投资判断方式,提炼成他专属的 CLAUDE.md。

★ 先读这一条(这个 skill 的灵魂)

每个人用自己的语言、自己的投资偏好,建自己的 CLAUDE.md。

两个投资者看同一家公司,关注点可能完全不同——一个看「下季度订单能否超市场预期」,另一个看「管理层电话会上的语气和信心」。给他们同一份模板,就抹掉了让 wiki 有用的那个东西。

  • ✅ 你的工作 = 访谈用户 → 提炼他的关注维度 → 用他的话写进 CLAUDE.md
  • ❌ 你的失败 = 套一份「标准投研 schema」让他填空,或让他照抄 examples/

examples/investment-research-CLAUDE.md 是一个人长成的样子,给用户看可能性,禁止照抄。它像模板一样被搬走,这个 skill 就失败了。

不碰的红线(Karpathy 原意,别 over-engineer)

纯 markdown + wikilink。不用检索替代编译:知识靠预编译进结构化页「复利」,不是每次 query 重新检索原始文档——这是本模式相对 RAG 的根本区别,也是 Karpathy 的核心 idea。搜索层不在禁区:他的 gist 写明百来个来源靠 index.md 就够,wiki 长大后要正经搜索,并点名 qmd(本地 BM25 + 向量 + 重排)——搜的是编译好的 wiki 页,不是拿原始文档的片段替代编译。别加 knowledge graph / 自动 health-check 之类机制(社区有些版本加了,那是 over-engineer)。

机制层 vs 规则层(贯穿全程的区分)

内容处置
机制层三层目录 + wikilink + lint + git hook✅ 通用工程结构,scripts/init_vault.py 直接装
规则层看哪些维度 / 怎么记观点 / 要不要分析师归属 / 怎么复盘 / 要长报告还是三行❌ 用户的投资大脑,访谈长出来,绝不给模板

机制层照抄没问题(它是 Karpathy 模式的工程卫生,跟「你怎么投资」无关)。规则层照抄 = 背叛方法论。

工作流

Phase 0 — 判断意图

  • 新建 vault → Phase 1
  • 已有 vault,ingest 一份源 → 直接读 references/ingest_sop.md
  • 已有 vault,财报后复盘某标的 → references/fulfillment_sop.md
  • query → 读 vault 的 index.md + 相关页,带 citation 综合答;好答案回填 synthesis

Phase 1 — scaffold 机制层

bash
python scripts/init_vault.py <目标目录>

建空骨架(三层目录 + lint + hook 占位 + 空 index/log + CLAUDE 骨架)。这一步只装机制层,不写任何 schema。

Phase 2 — 访谈共创 CLAUDE.md ★核心步骤

读 references/interview.md,按它的 8 个维度一条条访谈用户,把回答用他自己的话写进 <vault>/CLAUDE.md 规则层的占位。

  • 一次问一个维度,别一口气灌
  • 用户不在乎的维度直接砍(极简 > 全面)
  • 卡住才翻 examples/ 给灵感,明说「别抄,挑你戳中的」
  • 自检:写好的 CLAUDE.md 像不像「这个人」?像通用模板就重来

Phase 3 — 启用防腐

bash
cd <vault> && git init
git config core.hooksPath .githooks   # local 配置,换机/重 clone 要重设
PYTHONUTF8=1 uv run --no-project --with pyyaml python3 scripts/lint-vault.py wiki  # 确认绿灯

已有 vault — 刷新机制层工具

更新本 skill 后,显式刷新已复制进 vault 的 linter 与 hook:

bash
python scripts/init_vault.py --refresh-tools <vault>

只更新 scripts/lint-vault.py 与 .githooks/pre-commit,不碰 wiki/、raw/ 或用户的 CLAUDE.md。文件有变化时先保留 .before-refresh 备份;若备份已存在则 fail-fast,先审阅并移走旧备份再重跑。

Phase 4 — 首次 ingest 演示

拿用户一份真实的源(研报 / 电话会 / 纪要),按 references/ingest_sop.md 走一遍 HITL 5 卡点,让他亲眼看到 wiki 怎么从源长出来。用用户自己的素材,不要用 examples。

后续运营(按需读 references)

场景读
ingest 新源references/ingest_sop.md(doc_type 用用户自己定的分类)
财报后复盘references/fulfillment_sop.md(分析师回测调 analyst-track-record skill,别重造)
vault 卫生(派生值漂移)references/prune_discipline.md
复盘页对抗审查references/counter_review.md
怎么访谈提炼用户的投资大脑references/interview.md(Phase 2 的完整方法)

为什么这个 skill 是 inline(不设 context: fork)

它要调 analyst-track-record skill(复盘回测)、跑 Bash(scaffold / lint)、可能并行 Task 取财报数据——subagent 不能调 skill 或 spawn subagent,所以必须 inline。

Next Step

vault 搭好、用户开始 ingest 卖方研报后,如果他想回测某分析师过去准不准 → 建议接 analyst-track-record skill(双维度命中率,有 validated 脚本)。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Llm Wiki Setup AI skill do?

Co-creates a personal investment-research LLM Wiki (Karpathy's pattern) by interviewing the user for THEIR OWN analysis framework, not a template — a living CLAUDE.md of pure markdown + wikilinks, no RAG in place of compilation. Use to build a compounding 投研第二大脑 / 投研知识库 / 个人投研 wiki, ingest research reports / earnings calls into an existing wiki, or run post-earnings prediction→fulfillment reviews.

Why use Llm Wiki Setup on TypingMind?

Because you install it once and use it with any model. Llm Wiki Setup is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Llm Wiki Setup in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/daymade/claude-code-skills/tree/main/llm-wiki-setup. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Llm Wiki Setup?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Llm Wiki Setup?

As many as you like. As long as a model supports skills, you can use Llm Wiki Setup with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Llm Wiki Setup AI skill free?

Yes. It is published on GitHub by daymade under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇