~ / rigs / joehahn / portfolio-wave-rider

joehahn/portfolio-wave-rider

An AI agent reads an unstructured news feed and curates a watchlist, while a mechanical mean-variance optimizer handles the sizing that must be auditable. Research project by JMH DataSciences.

↗ GitHub ★ 0 NOASSERTION updated 8d ago project Claude Code
field: AI / ML
share on X
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
CONTEXT TAX · EVERY TURN
~5.9k tokens
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
1/5
No YOLO mode · details
Quality 18/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit joehahn/portfolio-wave-rider/.claude ./rig-portfolio-wave-rider  # inspect, then merge into .claude/

MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.

$ curl -fsSL --create-dirs -o .claude/agents/report-writer.md https://raw.githubusercontent.com/joehahn/portfolio-wave-rider/main/.claude/agents/report-writer.md
$ curl -fsSL --create-dirs -o .claude/agents/watchlist-curator.md https://raw.githubusercontent.com/joehahn/portfolio-wave-rider/main/.claude/agents/watchlist-curator.md

This rig commits no guardrails. Here is the community baseline instead — the deny/ask rules most often found across all 16.2k rigs:

{
  "permissions": {
    "deny": [
      "Read(./.env)",
      "Read(./.env.*)",
      "Read(**/.env)",
      "Read(~/.ssh/**)",
      "Bash(git push --force:*)",
      "Read(**/*.pem)",
      "Read(.env)",
      "Read(~/.aws/**)",
      "Read(**/*.key)",
      "Read(**/.env.*)",
      "Bash(git push --force*)",
      "Bash(rm -rf:*)",
      "Bash(rm -rf *)",
      "Bash(sudo *)",
      "Bash(sudo:*)",
      "Bash(rm -rf /)",
      "Bash(git push -f:*)",
      "Read(.env.*)",
      "Bash(git reset --hard*)",
      "Bash(rm -rf /*)"
    ],
    "ask": [
      "Bash(git push:*)",
      "Bash(git push *)",
      "Bash(gh pr merge *)",
      "Bash(git commit:*)",
      "Bash(rm *)",
      "Bash(gh pr merge:*)",
      "Bash(gh pr create *)",
      "Bash(git reset --hard:*)",
      "Bash(npm publish:*)",
      "Bash(git rebase *)"
    ]
  }
}

Subagents (2)

report-writer
model: sonnet
Canonical format spec for the /review-portfolio and /initialize-portfolio reports. The orchestrating skills author the report inline in the main loop following the structure below; this subagent is re
watchlist-curator
model: sonnet
Reads recent business news, the investor's wave thesis, and the current watchlist; proposes which tickers to add and which to remove. Returns a JSON payload to the orchestrating skill or backtest harn

Permissions

deny (0)
—
ask (0)
—
allow (6)
Bash(.venv/bin/python -m src.cli:*)
Bash(.venv/bin/pytest:*)
Bash(mkdir -p data/*)
Bash(rm -f data/state/*.pkl)
Read(//**)
Edit(data/**)

Similar rigs

copied ✓