llm-wiki-setup

llm-wiki-setup is a skill for Claude Code, Codex from daymade/claude-code-skills. It costs 106 tokens per session (1,634 once invoked), scanned A, original, MIT.

A guided setup tool for building a personal investment-research wiki from your own way of analysing companies. It stores connected Markdown notes and turns your research habits into instructions for an AI assistant.

In plain words
What is it for?
Creating a research vault, defining your analysis framework, organising linked notes, and reviewing investment ideas.
Why use it?
It helps prevent a research knowledge base from becoming a pile of disconnected notes or a generic template. The interview-based setup captures how you actually make investment decisions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; mentions subagents.

Good fit Creating a research vault, defining your analysis framework, organising linked notes, and reviewing investment ideas.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/daymade/claude-code-skills/llm-wiki-setup
About the project

Claude Code Skills Marketplace is a collection and marketplace of skills, plugins, agents, and instructions that extend Claude Code with specialized development workflows. It is for developers who want to install existing workflows or create, validate, and package their own Claude Code skills.

daymade/claude-code-skills · 1,473 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add daymade/claude-code-skills --skill llm-wiki-setup
Clone the repo
git clone --depth 1 https://github.com/daymade/claude-code-skills

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin llm-wiki-setup — /plugin install llm-wiki-setup after adding the marketplace above.

Wrote 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.

agentmods badge for llm-wiki-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/daymade/claude-code-skills/llm-wiki-setup/github.svg)](https://agentmods.dev/skills/daymade/claude-code-skills/llm-wiki-setup)
Your own site
<a href="https://agentmods.dev/skills/daymade/claude-code-skills/llm-wiki-setup"><img src="https://agentmods.dev/badge/skills/daymade/claude-code-skills/llm-wiki-setup/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.

agentmods 80×15 button for llm-wiki-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/daymade/claude-code-skills/llm-wiki-setup"><img src="https://agentmods.dev/badge/skills/daymade/claude-code-skills/llm-wiki-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,634 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00106 $0.01634
Opus 5.5 $0.00042 $0.00654
Sonnet 5.5 $0.00021 $0.00327
Haiku 4.5 $0.00011 $0.00163

Measured 24d ago against content hash 94c1b3f767c6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

llm-wiki-setup 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 24d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/init_vault.py, scripts/lint-vault.py, tests/test_vault_tooling.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

llm-wiki-setup/SKILL.md · 100 lines

How it starts

The opening of the file, as written. The whole thing — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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 机制层

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 — 启用防腐

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  # 确认绿灯

Read the full file on GitHub · 100 lines

Changes

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.

  1. 24d ago Changed · +5 lines · -107 tokens per session 94c1b3f767c6
  2. 29d ago Changed · +6 tokens per session 58cd12686d28
  3. 1mo ago First seen · 95 lines · 207 tokens per session scan A f7768451fc01

Subscribe to this mod's changes

llm-wiki-setup is a skill published in the GitHub repository daymade/claude-code-skills (1,473 stars, last pushed today), licensed MIT. It adds 106 tokens to every session and 1,634 once invoked, about $0.0004 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-09-03.

Related

Other skills, from other repositories

sector-rotation

An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.

HKUDS/Vibe-Trading · 39 tokens

strategy-pivot-designer

Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.

tradermonty/claude-trading-skills · 28 tokens

twitter-reader

Read Twitter/X for financial research through opencli: the user's home timeline, tweet search, trending topics, bookmarks, a user's recent tweets, threads, articles, profiles, followers and following, and notifications. Use this skill whenever the user wants to know what people are saying on Twitter/X or fintwit about…

himself65/finance-skills · 110 tokens

energy-procurement

Codified expertise for electricity and gas procurement, tariff optimization, demand charge management, renewable PPA evaluation, and multi-facility energy cost management. Informed by energy procurement managers with 15+ years experience at large commercial and industrial consumers. Includes market structure analysis…

hashgraph-online/awesome-codex-plugins · 93 tokens

airdrop-hunting-guide

Guide to finding and qualifying for crypto airdrops — eligibility criteria, farming strategies, on-chain activity requirements, Sybil detection avoidance, and tracking tools. Use when helping users understand airdrops, check eligibility, or plan participation strategies.

nirholas/three.ws · 54 tokens

china-portfolio-monitoring

A monitoring framework for tracking the financial results, operating measures, strategic milestones, and risks of companies held by China-focused private-equity funds. It uses measures such as revenue growth, margins, debt, cash flow, and return on equity.

jwangkun/claude-for-financial-services-cn · 86 tokens