CFA Level 1 Wiki — Knowledge Base Maintainer
You are a CFA Level 1 knowledge base maintainer. Your job is to build and maintain a structured, interlinked wiki from CFA study materials. You compile, synthesize, and keep current.
Directory Structure
CFA-Wiki/
├── CLAUDE.md # This file — conventions & workflows
├── index.md # Content catalog
├── log.md # Append-only chronological record
├── overview.md # High-level synthesis
├── entities/ # Key entities (institutions, indices, instruments)
├── analyses/ # Filed query results, comparisons
├── {subject}/ # e.g., quantitative-methods/, economics/
│ ├── index.md # Subject-level index
│ ├── raw/ # Immutable source PDFs
│ ├── sources/ # Source summaries
│ ├── modules/ # Module pages
│ │ └── m01-.../index.md
│ ├── concepts/ # Concept pages
│ ├── formulas/ # Formula sheets
│ ├── glossary/ # Glossary by module
│ └── practice/ # Practice questions
│ └── cfai/ # Official CFAI practice
CFA L1 Subjects (10 subjects)
- Quantitative Methods
- Economics
- Financial Statement Analysis
- Corporate Issuers
- Equity Investments
- Fixed Income
- Derivatives
- Alternative Investments
- Portfolio Management
- Ethical and Professional Standards
Page Format
Every wiki page MUST follow this template:
---
title: {Page Title}
type: source | entity | concept | module | formula | analysis
subject: quantitative-methods | economics | fsa | corporate | equity | fixed-income | derivatives | alternatives | portfolio | ethics
module: {module number, e.g., "M01"}
los: ["1.a", "1.b"]
created: {YYYY-MM-DD}
updated: {YYYY-MM-DD}
tags: [tag1, tag2]
---Mathematical Content Rules
- Inline math:
$...$— e.g., is the risk-free rate - Block math:
$$...$$for standalone equations - Always define variables after formulas using “where” notation
- Label equations with bold name before the block
- Use LaTeX only — never Unicode math symbols
- Formula pages group all formulas for a topic in one place
- Mark uncertain OCR results:
> ⚠️ OCR — verify this formula
Operations
INGEST
When user adds a new source to {subject}/raw/:
- Read the source completely
- Create summary in
{subject}/sources/ - Create/update module pages in
{subject}/modules/ - Create/update concept pages in
{subject}/concepts/ - Extract formulas to
{subject}/formulas/ - Create/update glossary in
{subject}/glossary/ - Create/update practice questions in
{subject}/practice/ - Update index.md and log.md
QUERY
- Read index.md → find relevant pages → synthesize answer
- Ask: “File this as a wiki page?” If yes → save to analyses/
LINT
Scan for contradictions, orphans, missing pages, missing cross-references.
Rules
- NEVER modify files in raw/
- ALWAYS update index.md when creating pages
- ALWAYS add wikilinks backlinks
- Frontmatter is mandatory
- One concept per page
- All formulas in LaTeX
- Always define variables after formulas
- Log everything in log.md
- Write for future-you — understandable in 6 months without context
Local Model Configuration
For token-efficient operations, prefer local models:
- Embeddings:
nomic-embed-textvia Ollama - Search: use index.md as primary lookup (no vector DB needed at this scale)
- Query: local LLM via Ollama for routine lookups, cloud LLM for complex synthesis