Agent-native investment research system for evidence-tracked, refreshable investment theses.
$ npx -y skills add byteseek/Mira --agent claude-code
Agent-native investment research system for evidence-tracked, refreshable investment theses.
Mira is an AI investment research system for agents and research users. It is designed to turn multi-source material into traceable, reviewable and refreshable investment judgment, rather than a one-off stock report or chat answer.
Mira focuses on the investment thesis: what evidence supports it, when it is valid, what would disconfirm it, and how it should be monitored.
Mira is built for a three-part division of labor:
Model output is not evidence by itself. Mira's job is to turn useful model work into source-backed claims, explicit uncertainty, refresh conditions and research actions that remain separate from trading or portfolio instructions.
This repository is for research workflow design, documentation, and historical examples only. It does not constitute investment advice and does not provide legal, tax, accounting, or financial advice. The same disclaimer applies to any AI/agent output produced with this repository, including answers, memos, research packages, and derived analysis based on public sources, user-provided materials, local files, market data, or combined datasets. Treat all such outputs as research support, not advice, recommendations, or verified facts. Public case packages and generated outputs may be incomplete, inaccurate, or stale after their stated cutoff or refresh boundary.
If you just want to start using Mira, read START_HERE.md. It is the single user-facing entry card for layered prompts, examples, the help matrix and usage boundaries.
If you open the repository in an agent and only say hi Mira, 你好 Mira, Mira mode, or ask how to use Mira, the agent should return a concise START_HERE.md summary. If the first prompt is already a concrete research task, it should route the task directly instead of interrupting with onboarding.
If you are using a non-Codex / non-Claude product, or you are unsure whether the product will load this repository's rules, use docs/chatgpt-conversation-instructions.md. It is the compact, self-contained entry gate that keeps the agent in Mira Mode instead of answering as a generic assistant, and you can paste it directly when the product cannot read local repository files.
If you want Codex, Claude Code or another code agent to use this repository directly, the main documents are:
| Need | Read |
|---|---|
| User entry, layered prompts and help matrix | START_HERE.md |
| Wake word, identity boundary and memory contract | MIRA.md |
| One-screen agent loading contract | OPERATING_CONTRACT.md |
| Agent execution quickstart, routing and output locations | AGENT_QUICKSTART.md |
| Minimum entry gate and copyable instructions (non-Codex/Claude or uncertain rule loading) | docs/chatgpt-conversation-instructions.md |
| Codex project rules | AGENTS.md |
| Claude Code entry | CLAUDE.md |
Common commands:
| Intent | Command |
|---|---|
| Update Mira itself after the user asks for it | scripts/mira_update.sh |
Check freshness before standard/deep_dive research | scripts/check_updates.sh |
scripts/mira_update.sh is the safe update entrypoint: it fetches, refuses
dirty/ahead/diverged worktrees, fast-forwards only, and validates the repository
after a successful update. Freshness checks do not update the repository.
Minimal workflow:
scripts/mira_update.sh.standard/deep_dive research run scripts/check_updates.sh (local-first by default, 24h remote TTL; quick_map skips it; add --always-fetch to force a remote check now). A blocked fetch degrades to cached local refs — never elevate sandbox permissions for a freshness check.For more prompt types, use the Help matrix in START_HERE.md.
Mira supports:
Mira is not a trade bot, market-data daemon or autonomous portfolio manager.
| Concept | Meaning | Details |
|---|---|---|
research package | Standard memo, evidence log and case notes for a formal research object. | docs/research-artifacts.md |
ingestion layer | Contract for bringing public APIs, user files, vendor data and portfolio exports into Mira without bypassing source, license, evidence and calculation controls. | data/ingestion-layer.md |
evidence log | Claim-level source trail for conclusions and key observations. | data/evidence-log-schema.md |
thesis system | Durable chain from source to claim, expectation, thesis, event delta, decision log and postmortem. | architecture/thesis-system.md |
refresh boundary | stale_after, must_refresh_if or equivalent conditions that make a conclusion unsafe to reuse. | data/time-policy.md |
controlled vocabulary | Stable state and action tokens for thesis state, readiness, research action and review outputs. | data/controlled-vocabulary.md |
Formal work starts with loops/analysis-routing.md. Common destinations:
| User Need | Primary Entry | Output |
|---|---|---|
| Establish or rebuild an investment thesis | loops/research-loop.md | Standard research package |
| Update an existing thesis | loops/monitoring-loop.md | Monitoring summary and thesis impact |
| Produce a daily brief, close wrap or weekly market review | loops/market-briefing-loop.md | Market snapshot, driver map, calendar and escalation queue |
| Analyze earnings or guidance | skills/earnings-report-analysis/ | Earnings package and update decision |
| Interpret sell-side, institutional or user-provided research reports | skills/research-report-interpretation/ | Report readout, claim map and thesis impact |
| Analyze industry or supply-chain concept | skills/industry-concept-analysis/ | Industry map and stock handoff |
| Analyze macro transmission | skills/macro-economic-analysis/ | Macro note or macro overlay |
| Discover or analyze ETFs | skills/etf-listing-discovery/, skills/etf-listing-analysis/ | ETF discovery or listing package |
| Review method quality | loops/methodology-research-loop.md | Methodology card and logs |
| Review a real position or portfolio | loops/position-review-loop.md, loops/portfolio-construction-review-loop.md | Position or portfolio review artifacts |
Single-equity research should also run:
| Topic | Document |
|---|---|
| User entry, prompt examples and task cards | START_HERE.md |
| Minimum entry gate and paste-able instructions | docs/chatgpt-conversation-instructions.md |
| Agent contract and lazy loading | OPERATING_CONTRACT.md |
| Agent execution quickstart and output locations | AGENT_QUICKSTART.md |
| Wake word and memory boundary | MIRA.md |
| Research artifacts and validation | docs/research-artifacts.md |
| Modules, loops, skills, cases and roadmap | docs/module-map.md |
| Source and claim protocols | data/ |
| Templates and delivery checklist | templates/ |
| Case examples and reading order | examples/README.md |
| Thesis System architecture | architecture/thesis-system.md |
Prefer these canonical examples before older cases:
All public cases are historical examples and should not be treated as live recommendations.
Validate the repository or a formal case:
python3 scripts/run_quality_gate.py
python3 scripts/validate_repo.py
python3 scripts/validate_repo.py cases/<case-id>
SEC supplement or filing package validation:
python3 scripts/validate_sec_filing_package.py path/to/sec-supplement-source-note.csv
python3 scripts/validate_sec_filing_package.py path/to/sec-filing-package-dir
More validation and package details: docs/research-artifacts.md.
Mira is a research protocol, not an adviser, trade executor or automated data platform.
mira is a Claude Code plugin with 10 hand-picked skills, indexed on Flowy in the Finance category. Install it with the command on its page. It includes commodity-cycle-analysis, data-analysis-quality-gate, earnings-report-analysis. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it