clarion-regime-check
Reads the SPY/TLT/RSP color regime and the equity hurdle rate. Use when the user asks about the market regime, risk-on / risk-off, market color, SPY/TLT regime, breadth, or what hurdle rate to use for new positions. Pulls daily bars via yfinance (cached locally). Optionally accepts a 1Y T-bill yield to compute the equity hurdle rate. Requires clarion-setup to have been run.
- License 许可
- MIT
- 最近更新
- 2026-09-18
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- clarion-regime-check
- metadata
- { "author": "cis.zo.computer", "category": "External", "homepage": "https://github.com/jingerzz/clarion-intelligence-system", "display-name": "Clarion Regime Check" }
- description
- Reads the SPY/TLT/RSP color regime and the equity hurdle rate. Use when the user asks about the market regime, risk-on / risk-off, market color, SPY/TLT regime, breadth, or what hurdle rate to use for new positions. Pulls daily bars via yfinance (cached locally). Optionally accepts a 1Y T-bill yield to compute the equity hurdle rate. Requires clarion-setup to have been run.
02 资源文件 2
- 参考文档references/regime-color-guide.md6.6 KB
- 脚本scripts/regime.py5.0 KB
03 SKILL.md 正文
Clarion regime check
Reports the current market regime color (GREEN / BLUE / ORANGE / RED / DANGER) and, if a risk-free rate is supplied, the equity hurdle rate.
When to use
User asks any of:
- "What's the market regime?"
- "Is the market risk-on or risk-off?"
- "What color is SPY/TLT today?"
- "What's the breadth signal?"
- "What hurdle rate should I use for new positions?"
How to run
python /home/workspace/clarion-intelligence-system/skills/clarion-regime-check/scripts/regime.py
If the user mentioned a 1Y T-bill yield, risk-free rate, or "rf rate", pass it (a percent value, no % sign):
python ... regime.py --rf-rate-pct 4.5
If the user wants the latest cached read without re-fetching from yfinance:
python ... regime.py --offline
Output
The script prints a structured markdown report:
- Heading — color and as-of date
- Rationale — a short paragraph stating which signal triggered the color
- Signals table — SPY 20d return, TLT 20d return, RSP-SPY 60d spread, SPY 252d drawdown
- Hurdle rate — only when
--rf-rate-pctis supplied - Footer — sources and timestamp
Pass the script output through to the user verbatim. Do not paraphrase the numbers or invent a new format.
If the user asks what a color means — e.g. "what does ORANGE imply?" or "how should I size positions in this regime?" — load references/regime-color-guide.md and answer from it.
On error
If the script prints REGIME_ERROR: ..., surface the error to the user. Common cases:
empty history for SPY/TLT/RSP— yfinance returned no rows. Network glitch or rate limit. Suggest waiting a minute and retrying, or running with--offlineif there's a recent cache.need at least 61 bars— the workspace is brand new and the cache hasn't backfilled enough history. Tell the user to wait for the first full fetch (the script will fetch ~5 years on first run).
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