clarion-thesis-write
Scaffold a new thesis document for a ticker in the canonical Clarion thesis format. Pre-fills the YAML metadata block, opens the History with an OPENED entry, and (when filings are indexed) seeds the "Why I Believe It" evidence section with draft citations from the Buffett-lens search. The user fills in the actual prose. Outputs a markdown file at ~/clarion/theses/{TICKER}.md. Use when the user says "write a thesis on <TICKER>", "scaffold a thesis for <TICKER>", "draft a thesis for <TICKER>", or after clarion-single-stock-eval returns an Add verdict and the user wants to formalize the position. Requires clarion-setup to have been run.
- License 许可
- MIT
- 最近更新
- 2026-09-18
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- clarion-thesis-write
- metadata
- { "author": "cis.zo.computer", "category": "External", "homepage": "https://github.com/jingerzz/clarion-intelligence-system", "display-name": "Clarion Thesis Write" }
- description
- Scaffold a new thesis document for a ticker in the canonical Clarion thesis format. Pre-fills the YAML metadata block, opens the History with an OPENED entry, and (when filings are indexed) seeds the "Why I Believe It" evidence section with draft citations from the Buffett-lens search. The user fills in the actual prose. Outputs a markdown file at ~/clarion/theses/{TICKER}.md. Use when the user says "write a thesis on <TICKER>", "scaffold a thesis for <TICKER>", "draft a thesis for <TICKER>", or after clarion-single-stock-eval returns an Add verdict and the user wants to formalize the position. Requires clarion-setup to have been run.
02 资源文件 4
- 资产文件assets/zo-space-page-template-skip.tsx11.9 KB
- 资产文件assets/zo-space-page-template.tsx16.7 KB
- 参考文档references/thesis-template-guide.md2.8 KB
- 脚本scripts/write.py12.0 KB
03 SKILL.md 正文
Clarion thesis write
Scaffolds a new thesis in the canonical docs/-defined format. The script generates the structure with metadata + draft citations; the user (with your help) fills in the prose.
When to use
User says any of:
- "Write a thesis on NVDA."
- "Scaffold a thesis for AAPL."
- "Draft the thesis for KO."
- After
clarion-single-stock-evalreturns an Add verdict.
Decision tree
-
Confirm the inputs. Ask the user (or default) for:
- Ticker (required)
- Bucket:
value(default),systematic,short, oryolo— seedocs/ALLOCATION-POLICY.mdfor what each means - Opened: today's date by default, or a backfilled date if the user is documenting an existing position
-
Verify the ticker has indexed SEC filings. If not, suggest running
clarion-sec-research index <TICKER>first and waiting 1–5 minutes — without indexed filings, the evidence section won't be seeded with citations and the user will have to gather them manually. -
Run
write.pywith the ticker and bucket:python /home/workspace/clarion-intelligence-system/skills/clarion-thesis-write/scripts/write.py NVDA --bucket valueThe script will:
- Refuse to overwrite an existing thesis file unless
--forceis passed - Pull fundamentals from yfinance for the metadata block
- Pull Buffett-lens snippets from indexed filings for the evidence section
- Render the canonical template to
~/clarion/theses/{TICKER}.md - Print the path written + a short list of "TODO" sections the user must fill in
- Refuse to overwrite an existing thesis file unless
-
Walk the user through the TODO sections in order. The most important to get right early:
- What I Believe — the core insight, 1-3 paragraphs
- Why I Believe It — numbered evidence, each citing a filing or data source
- What's It Worth — bear/base/bull scenarios with rough numbers
- Why Now — catalyst or patience rationale
- Kill Conditions — specific, measurable, falsifiable
Reference
docs/PRINCIPLES.mdPrinciple 2 (Thesis-First) anddocs/DESIGN-LANGUAGE.mdAnti-patterns when guiding the user. -
Promote
status: draft→status: active. Scaffolded theses ship atstatus: draftsoclarion-thesis-monitorskips them while they're still being written. Once the prose is in (especially Kill Conditions, which are load-bearing), update the metadata block:status: draft→status: active. Until that flip, the thesis is invisible to the monitor. -
After promoting to active, suggest running
clarion-thesis-monitor --ticker <TICKER>to compute the initial health score.
How to run
WRITE=python /home/workspace/clarion-intelligence-system/skills/clarion-thesis-write/scripts/write.py
$WRITE NVDA # value bucket, opened today
$WRITE NVDA --bucket yolo # YOLO bucket
$WRITE NVDA --opened 2024-08-01 # backfill an existing position
$WRITE NVDA --force # overwrite an existing file
$WRITE NVDA --no-lens # skip the secrag lens pre-population
Voice
After scaffolding, switch into co-author mode. Help the user write specific, measurable, sourced prose. Cite every claim drawn from filings (the script's seeded citations are canonical). Show the math in the valuation table. Use the Buffett Question Bank to interrogate weak sections.
The thesis should be conversational and direct — the style described in docs/DESIGN-LANGUAGE.md. Vague claims ("strong moat," "good management") are flags to push back on.
On error
THESIS_WRITE_ERROR: file already exists— pass--forceto overwrite, or pick a different filename.THESIS_WRITE_ERROR: failed to fetch fundamentals— yfinance hiccup. Retry, or pass--no-fundamentalsto skip the snapshot pre-fill.THESIS_WRITE_ERROR: ticker not indexed— only when--require-indexedis set. Runclarion-sec-research index <TICKER>first.
04 同仓库更多 Skills
zopack
Export and import zo.space route setups as shareable .zopack.md files. Use when the user wants to package their zo.space routes for sharing, or when they receive a .zopack.md file to deploy. Triggers on "export my zo.space", "create a zopack", "import this zopack", or any mention of .zopack.md files.
zoho-mail-inbox
Full inbox management for Zoho Mail (info@justlegalsolutions.org) — list unread, mark all as read, delete by sender/keyword, search, send from aliases, list folders. Fully self-contained — zero setup needed.
weekly-meeting-reminder
Get an email every Sunday evening listing your meetings for the coming week.
Let Zo use your X (Twitter) account
zo-tools
Internal process tools for Zo and Hermes — local search, document processing, OCR, and embeddings. All services run on localhost, zero HTTP slots consumed.
ssh-setup
Sets up secure remote access to your Zo Computer so you can connect from anywhere