Aman4563/finresearch
Personal, local-first investment research app for Indian markets: fact-checked AI research reports on IPOs, stocks, mutual funds and bonds, live NSE/BSE/AMFI data and signals, and a private portfolio and capital-gains tax tracker.
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
GUARDRAILS
4/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · No YOLO mode · details
Quality 51/100 Guardrails v2
Copy this rig
# review before running: this installs third-party code
$ npx degit Aman4563/finresearch/.claude ./rig-finresearch # 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.
$ npx degit Aman4563/finresearch/.claude/skills/feature .claude/skills/feature $ npx degit Aman4563/finresearch/.claude/skills/live-check .claude/skills/live-check $ npx degit Aman4563/finresearch/.claude/skills/new-migration .claude/skills/new-migration $ npx degit Aman4563/finresearch/.claude/skills/release .claude/skills/release $ npx degit Aman4563/finresearch/.claude/skills/ship .claude/skills/ship $ npx degit <redacted>-research .claude/skills/bond-research $ npx degit <redacted>-research .claude/skills/fund-research $ npx degit <redacted>-fin-glossary .claude/skills/indian-fin-glossary $ npx degit <redacted>-deep-research .claude/skills/ipo-deep-research $ npx degit <redacted>-writer .claude/skills/report-writer $ npx degit <redacted>-navigator .claude/skills/rhp-navigator $ npx degit <redacted>-research .claude/skills/stock-research
$ curl -fsSL --create-dirs -o .claude/agents/gold-reviewer.md https://raw.githubusercontent.com/Aman4563/finresearch/main/.claude/agents/gold-reviewer.md $ curl -fsSL --create-dirs -o .claude/agents/implementer.md https://raw.githubusercontent.com/Aman4563/finresearch/main/.claude/agents/implementer.md $ curl -fsSL --create-dirs -o .claude/agents/invariant-auditor.md https://raw.githubusercontent.com/Aman4563/finresearch/main/.claude/agents/invariant-auditor.md
Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.
{
"permissions": {
"deny": [
"WebFetch(domain:localhost)",
"WebFetch(domain:*.localhost)",
"WebFetch(domain:127.0.0.1)",
"WebFetch(domain:0.0.0.0)",
"WebFetch(domain:*.local)",
"WebFetch(domain:*.internal)",
"Read(./.env)",
"Read(./.env.local)",
"Read(~/.pgpass)",
"Edit(./.env)",
"Edit(~/.pgpass)",
"Bash(gh auth switch:*)",
"Bash(gh auth login:*)",
"Bash(gh auth logout:*)",
"Bash(git config --global:*)",
"Bash(git push origin main:*)",
"Bash(git push --force origin main:*)",
"Bash(git stash)",
"Bash(git stash push:*)",
"Bash(git stash pop:*)",
"Bash(dropdb finresearch)",
"Bash(security find-generic-password:*)"
]
},
"hooks": {
"PreToolUse": [
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "[ \"$CLAUDE_CODE_DISABLE_CLAUDE_MDS\" = 1 ] || [ ! -f \"$CLAUDE_PROJECT_DIR/.claude/hooks/guard.py\" ] || python3 \"$CLAUDE_PROJECT_DIR/.claude/hooks/guard.py\" pre-bash"
}
]
},
{
"matcher": "Edit|Write|NotebookEdit",
"hooks": [
{
"type": "command",
"command": "[ \"$CLAUDE_CODE_DISABLE_CLAUDE_MDS\" = 1 ] || [ ! -f \"$CLAUDE_PROJECT_DIR/.claude/hooks/guard.py\" ] || python3 \"$CLAUDE_PROJECT_DIR/.claude/hooks/guard.py\" pre-edit"
}
]
}
]
}
} Skills (12)
featurelive-checknew-migrationreleaseshipbond-researchfund-researchindian-fin-glossaryipo-deep-researchreport-writerrhp-navigatorstock-research
Subagents (3)
| gold-reviewer model: inherit | Scores report-engine changes against the gold sets (evals/gold/) by replaying exported fixtures on a scratch database, and reports recall and contradictions per fact. Never edits gold facts to pass. |
| implementer model: inherit | Implements one FinResearch GitHub issue end to end in its own git worktree with its own *_test database, and opens a PR (never merges). Use for parallel feature or fix work. |
| invariant-auditor model: inherit | Read-only audit of a FinResearch diff or PR against docs/dev/ENGINEERING_HANDOFF.md invariants and the CLAUDE.md "rules that are easy to break". Use before merging any non-trivial PR. |
Hooks (5)
| event | matcher | runs |
|---|---|---|
| SessionStart | * | [ "$CLAUDE_CODE_DISABLE_CLAUDE_MDS" = 1 ] || [ ! -f "$CLAUDE_PROJECT_DIR/.claude/hooks/guard.py" ] || python3 "$CLAUDE_PROJECT_DIR/.claude/hooks/guard.py" session |
| PreToolUse | Bash | [ "$CLAUDE_CODE_DISABLE_CLAUDE_MDS" = 1 ] || [ ! -f "$CLAUDE_PROJECT_DIR/.claude/hooks/guard.py" ] || python3 "$CLAUDE_PROJECT_DIR/.claude/hooks/guard.py" pre-bash |
| PreToolUse | Edit|Write|NotebookEdit | [ "$CLAUDE_CODE_DISABLE_CLAUDE_MDS" = 1 ] || [ ! -f "$CLAUDE_PROJECT_DIR/.claude/hooks/guard.py" ] || python3 "$CLAUDE_PROJECT_DIR/.claude/hooks/guard.py" pre-edit |
| PostToolUse | Edit|Write | [ "$CLAUDE_CODE_DISABLE_CLAUDE_MDS" = 1 ] || [ ! -f "$CLAUDE_PROJECT_DIR/.claude/hooks/guard.py" ] || python3 "$CLAUDE_PROJECT_DIR/.claude/hooks/guard.py" post-edit |
| Stop | * | [ "$CLAUDE_CODE_DISABLE_CLAUDE_MDS" = 1 ] || [ ! -f "$CLAUDE_PROJECT_DIR/.claude/hooks/guard.py" ] || python3 "$CLAUDE_PROJECT_DIR/.claude/hooks/guard.py" stop |
Permissions
deny (22)
WebFetch(domain:localhost)
WebFetch(domain:*.localhost)
WebFetch(domain:127.0.0.1)
WebFetch(domain:0.0.0.0)
WebFetch(domain:*.local)
WebFetch(domain:*.internal)
Read(./.env)
Read(./.env.local)
Read(~/.pgpass)
Edit(./.env)
Edit(~/.pgpass)
Bash(gh auth switch:*)
Bash(gh auth login:*)
Bash(gh auth logout:*)
Bash(git config --global:*)
Bash(git push origin main:*)
Bash(git push --force origin main:*)
Bash(git stash)
Bash(git stash push:*)
Bash(git stash pop:*)
Bash(dropdb finresearch)
Bash(security find-generic-password:*)
ask (0)
—
allow (0)
—
Similar rigs
yicheng47/runner
Where terminal agents work together. Claude Code, Codex, Copilot CLI and pi on the same task, in one mission, each keeping its own TUI in a real terminal.
Pragmatist 4.5k tok · · Q18
front-factory/brigade
Claude Code, organized like a kitchen brigade.
Fort Knox 400 tok · · Q26
martinzachariassen/dotfiles
macOS dotfiles bootstrapper: modular Homebrew packages, symlinked configs, and idempotent dot apply/doctor/remove — one command on a fresh Mac.
Pragmatist 3.3k tok · · Q3
NahumLitvin/prismantis
Colorful, themeable Claude Code replies: tables, code, diagrams, charts and tool rows in 15 themes, with copy buttons. A Claude Code mod.
Pragmatist 2.7k tok · · Q3