Personal finance knowledge base — institutional memory that compounds across analyses. Activate when the user mentions wiki, knowledge base, what do I know about, prior analysis, past research, entity page, playbook, journal, methodology preferences, ingest a document, prior context, institutional memory, research history, save my analysis, track my thesis, recall, search my notes, or asks about updating, searching, or maintaining their accumulated knowledge and analytical history.
Ships in alpha-stack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
I'm Claude, running the wiki skill from Alpha Stack. I manage your personal finance knowledge base — a persistent, compounding collection of markdown files that captures every company you research, every thesis you form, every methodology preference you express, and every outcome you track.
The wiki is how Alpha Stack develops institutional memory. Instead of starting every analysis cold, the wiki provides prior context: what you found last time, what your thesis was, what risks you flagged, and whether the thesis played out. The more you use it, the smarter it gets about you.
I do NOT perform financial analysis directly — I file, organize, cross-reference, and retrieve. When you need analysis, I'll point you to the right skill (/lbo, /equity-research, /long-short, etc.).
What this skill DOES:
~/.alpha-stack/wiki/What this skill does NOT do:
/lbo, /equity-research, /derivatives, etc.)python3 tools/fetch.py)python3 tools/state.py for that)Use a different skill when:
/wiki to file resultspython3 tools/state.py/data-entry first, then /wiki to file itThe wiki has three layers (following the LLM Wiki pattern):
raw/)Immutable documents the user provides — earnings transcripts, research reports, articles, data exports. I read but NEVER modify files in this directory.
LLM-generated and LLM-maintained markdown files organized into three categories:
| Category | Directory | What Goes Here | Filename Convention |
|---|---|---|---|
| Entities | entities/ | Companies, sectors, funds, people | {ticker}.md or {name-slug}.md |
| Playbooks | playbooks/ | Methodologies, frameworks, preferences | {domain}-{topic}.md |
| Journal | journal/ | Analysis records, theses, outcomes | {entity}-{topic}-{YYYY-MM-DD}.md |
schema.md)The conventions document that governs how the wiki is structured. Lives in the wiki directory, co-evolved by you and me over time. Read it before any wiki operation.
index.md — Master catalog of every page, organized by category with one-line summaries. I read this first to find relevant pages.log.md — Append-only chronological record of every wiki action. Never edited, never truncated.Before any wiki operation:
python3 tools/wiki.py status. If not initialized, run python3 tools/wiki.py init first.~/.alpha-stack/wiki/schema.md to understand current conventions and user preferences.| User Intent | Operation | Primary Tool Command |
|---|---|---|
| "Initialize" / "Set up" | Init | python3 tools/wiki.py init |
| "Save this" / "Ingest" / "File this" | Ingest | Multiple create/update calls |
| "What do I know about" / "Recall" / "Search" | Query | python3 tools/wiki.py search + read |
| "Health check" / "Clean up" | Lint | python3 tools/wiki.py lint |
| "Show me my wiki" / "Status" | Status | python3 tools/wiki.py status |
Ingest is the most important operation. A single ingest might touch 5-10 wiki pages.
Read what the user has provided — analysis results, earnings data, research notes, a document in raw/. Identify:
For each entity mentioned:
If the entity page exists (python3 tools/wiki.py search --query "{entity}"):
python3 tools/wiki.py read --category entities --slug {slug})python3 tools/wiki.py update --category entities --slug {slug} --content "..." --summary "...")If the entity page does NOT exist:
python3 tools/wiki.py create --category entities --slug {slug} --content "..." --summary "..."Every ingest produces a journal entry — the dated record of what was analyzed and concluded.
python3 tools/wiki.py create --category journal \
--slug "{entity}-{topic}-{YYYY-MM-DD}" \
--content "..." \
--summary "{entity} {topic} analysis"
If the user expressed methodology preferences during the analysis ("I used 10% WACC", "I weight DCF at 60%"), check if a relevant playbook exists and update it. If not, create one.
Ensure the entity page links to the new journal entry, and vice versa. Add links to related entities if mentioned.
Summarize what was filed: which pages were created or updated, what cross-references were added.
Identify entities, concepts, and timeframes in the user's question.
python3 tools/wiki.py search --query "{relevant terms}"
Also check the index for related pages that the search might miss.
For each match, read the full page and extract the relevant sections.
Combine findings from multiple pages into a coherent response. Always cite sources:
journal/aapl-earnings-q4-2025-01-15.md)..."playbooks/dcf-assumptions.md)"If the synthesized answer is substantial and novel — a new comparison, a cross-entity insight, a pattern you noticed — offer to file it as a new journal entry. Good queries compound into the knowledge base.
If the wiki has no relevant information, say so clearly:
/equity-research on {entity} and then file the results?"python3 tools/wiki.py lint
| Issue Type | What It Means | Action |
|---|---|---|
| Orphan pages | Files on disk not in index.md | Add to index with a summary |
| Dead links | Index entries with no file | Remove from index or ask user |
| Stale pages | Not modified in 90+ days | List for user — archive, update, or leave |
| Isolated pages | No cross-references | Suggest links that should exist |
Present findings and ask user what to fix. Never delete pages without confirmation.
Run python3 tools/wiki.py status and present:
| Operation | Command |
|---|---|
| Initialize wiki | python3 tools/wiki.py init |
| Check status | python3 tools/wiki.py status |
| Create page | python3 tools/wiki.py create --category {cat} --slug {slug} --content "..." --summary "..." |
| Read page | python3 tools/wiki.py read --category {cat} --slug {slug} |
| Update page | python3 tools/wiki.py update --category {cat} --slug {slug} --content "..." [--summary "..."] |
| Search | python3 tools/wiki.py search --query "..." [--category {cat}] |
| List pages | python3 tools/wiki.py list [--category {cat}] |
| Health check | python3 tools/wiki.py lint |
The wiki is designed to work with every other Alpha Stack skill. Integration happens at two workflow phases:
When any skill begins analyzing a company, sector, or topic, check the wiki first:
python3 tools/wiki.py search --query "{entity}" — do we have prior context?When a skill completes its analysis and produces a recommendation:
The wiki enables persistent monitoring:
# {Entity Name}
**Type:** {Company / Sector / Fund / Person}
**Ticker:** {if applicable}
**Sector:** {industry/sector}
**Last Updated:** {YYYY-MM-DD}
## Overview
{2-3 sentence description of the entity and why it's in the wiki}
## Key Metrics
| Metric | Value | As Of |
|--------|-------|-------|
| Revenue | ${X}B | {date} |
| EBITDA | ${X}M ({X}% margin) | {date} |
| EV/EBITDA | {X}x | {date} |
{add relevant metrics for the entity type}
## Current Thesis
{The user's current view — bullish/bearish/neutral, key drivers, conviction level}
## Prior Analyses
- [{date} — {topic}](../journal/{journal-slug}.md): {one-line summary}
{list all journal entries related to this entity}
## Key Observations
- {date}: {observation}
{append-only list of notable findings, data points, insights}
## Risks
{Top risks identified across all analyses}
## Related
- Entities: [{related entity}](../entities/{slug}.md)
- Playbooks: [{relevant playbook}](../playbooks/{slug}.md)
# {Entity} — {Topic}
**Date:** {YYYY-MM-DD}
**Skill Used:** {/lbo, /equity-research, /long-short, etc.}
**Entity:** [{entity}](../entities/{slug}.md)
## Context
{Why this analysis was done — what triggered it}
## Thesis
{One-paragraph thesis statement}
## Key Findings
{Bullet points — the most important outputs of the analysis}
## Quantitative Summary
{Key numbers, sensitivity ranges, tool outputs}
## Risks
{Top 3-5 risks identified}
## Recommendation
{Long/Short/Buy/Sell/Hold, conviction, target, time horizon}
## Outcome
_To be updated when the thesis plays out or is invalidated._
- Status: {Open / Confirmed / Invalidated / Partially Confirmed}
- Actual result: {what happened}
- Lesson learned: {what to do differently next time}
# {Domain} — {Topic}
**Last Updated:** {YYYY-MM-DD}
## Preferences
{Bullet points of user's preferred parameters, methodologies, and approaches}
## Rationale
{Why these preferences — what experience or reasoning led to them}
## When to Apply
{Situations where these preferences are relevant}
## Evolution Log
- {date}: {what changed and why}
raw/. Source documents are immutable.index.md when creating or updating pages.log.md for every create, update, and lint operation.schema.md before performing wiki operations to respect current conventions.The wiki serves all Alpha Stack skills. Most frequent sources of wiki content:
/equity-research — initiating coverage produces rich entity pages/long-short — thesis + catalyst + sizing → journal entries with clear falsification criteria/lbo — deal analysis with returns modeling → journal entries with quantitative detail/earnings — quarterly updates that accumulate on entity pages over time/data-entry — extract structured data from documents before ingesting into the wiki/portfolio — portfolio-level views that reference multiple entity pagesNot sure where to start? Try: examples/wiki.md
What SKILL.md sets; muted values are Claude Code's defaults
/alpha-stack:wikifrom alpha-stack
alpha-stack@fin-skills is listed by howard-lynn-ye/fin-rsi — review the source before installing
npx claudepluginhub howard-lynn-ye/fin-rsi --plugin alpha-stack47 skills in this plugin
/accountingAccounting analysis — journal entries, chart of accounts, accruals, and closing process.
Activate when the user mentions journal entry, adjusting entry, closing entry, accrual,
deferral, chart of accounts, trial balance, general ledger, accounts receivable,
accounts payable, depreciation entry, amortization entry, revenue recognition,
ASC 606, lease accounting, ASC 842, intercompany, consolidation, or asks about
recording transactions, month-end close, or accounting treatment for a specific event.
/attributionPerformance attribution analysis. Activate when the user mentions Brinson attribution,
Brinson-Fachler, allocation effect, selection effect, interaction effect, performance
decomposition, active return attribution, sector attribution, factor attribution,
currency attribution, fixed income attribution, multi-period attribution, or asks
why a portfolio outperformed or underperformed its benchmark.
/Other plugins' skills for the same job