agentleFS
byteseekbyteseek/Mira/AGENTS.md

Mira

AGENTS.md274 starsChanged 5 months agoApache-2.0View on GitHub

This repository is the Mira research workspace. Mira is a named research protocol, not a fictional personality, adviser, trade bot, or background automation promise. If a user already provides a concrete research task as the first prompt, do not block with onboarding. Route and answer the task, optionally adding one short line that Mira help shows the full prompt menu. - Start by identifying research_object, market_scope, time_boundary, and available sources. - Before formal analysis, run loops/analysis-routing.md. - For time-sensitive market…

The file

We split this AGENTS.md into the rules it gives an agent

9 rules. About 0 are common, 4 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If a user already provides a concrete research task as the first prompt, do not block with onboarding.

    line 34
  2. Very specific:

    Start by identifying research_object, market_scope, time_boundary, and available sources.

    line 40
  3. Very specific:

    Before formal analysis, run loops/analysis-routing.md.

    line 42
  4. Very specific:

    Use quick_map, standard, or deep_dive to control depth.

    line 52
  5. Distinctive:

    Use the quant dependency gate when conclusions rely on derived numbers, valuation math, peer ranking, or time-series comparisons.

    line 56
  6. Distinctive:

    Keep facts, inferences, and judgments separate.

    line 58
  7. Very specific:

    Keep user-specific views, watchlists, preferences, holdings, weights, and portfolio constraints in gitignored private/ state by default.

    line 60
  8. Distinctive:

    Do not present position-size or portfolio-construction conclusions without user-provided holdings, weights, mandate, and risk budget.

    line 67
  9. Distinctive:

    Use research actions only.

    line 69

≈ “Common” is an estimate: at least 1 in 5 of the 16,597 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Mira Agent Guide

This repository is the Mira research workspace. Mira is a named research protocol, not a fictional personality, adviser, trade bot, or background automation promise.

Read Order

  1. MIRA.md for the wake word, identity boundary, and memory contract.
  2. OPERATING_CONTRACT.md for the one-screen lazy-loading map.
  3. START_HERE.md when the user asks how to start, what Mira covers, or wants prompt examples.
  4. AGENT_QUICKSTART.md only when agent execution details, output locations, or extended examples are needed.

Fast Paths

user intentdo this
empty first prompt, hi Mira, 你好 Mira, Mira mode, or onboarding requestReturn a concise START_HERE.md summary before any research workflow.
update mira, Mira self-update, 从 GitHub 拉最新 MiraRun scripts/mira_update.sh. Do not run scripts/check_updates.sh first.
Mira help, 怎么用 Mira, Mira 能做什么, start hereReturn the layered Start Here card from START_HERE.md; keep it user-facing and concise.
start a standard / deep_dive research taskRun scripts/check_updates.sh once (local-first by default, 24h remote TTL; add --always-fetch to force a remote check now). Report if behind; never auto-update or elevate sandbox permissions — a blocked fetch degrades to cached local refs and is disclosed.
start a quick_map / 看一下 taskSkip the freshness check; it is not worth a network round-trip for throwaway triage.
Mira, 看一下 XTreat as quick_map; route first, then answer with source notes and refresh triggers.
time-sensitive market question (今天, 现在, 目前, latest, intraday, premarket, after-hours, crash/pullback)Run data/time-policy.md Market-Date Resolution, then data/live-data-source-policy.md; anchor relative dates to the market timezone, search or refresh live sources before judging, and show quote/publish time plus freshness caveat.
现在能不能买/卖 X, 能不能加/减/追/抄底 X, actionability askRun data/marginal-buyer-payoff-bridge.md before data/actionability-risk-control.md; identify marginal buyer/seller, payoff source, repricing trigger, priced-in status and failure mode before posture.
daily/weekly market report, market brief, 盘前简报, 收盘复盘, 日报, 周报Use loops/market-briefing-loop.md; set market_scope, briefing_type, quote/publish time, source notes and escalation queue.
Mira, 研究 XUse loops/research-loop.md unless routing selects a narrower path.
Mira, 更新 XUse loops/monitoring-loop.md; focus on incremental evidence and thesis impact.
earnings, guidance, or transcript workUse skills/earnings-report-analysis/ before updating a standard research package.
research report, sell-side note, rating change, target price, or user-provided report/PDFUse skills/research-report-interpretation/; run ingestion/restricted-source handling before using the report as evidence.
methodology reliabilityUse loops/methodology-research-loop.md.
PM, position, portfolio, or decision reviewUse the matching review loop from OPERATING_CONTRACT.md.

If a user already provides a concrete research task as the first prompt, do not block with onboarding. Route and answer the task, optionally adding one short line that Mira help shows the full prompt menu.

Research Rules

  • Start by identifying research_object, market_scope, time_boundary, and available sources.
  • Before formal analysis, run loops/analysis-routing.md.
  • For time-sensitive market questions, run data/live-data-source-policy.md before judging the move; do not answer from memory or stale market data.
  • For relative market dates (今天, 现在, latest), resolve the date in the instrument's market timezone first. US equities default to America/New_York; do not use China/Singapore/user-local date as the US market_session_date.
  • For daily or weekly market briefings, use loops/market-briefing-loop.md instead of monitoring-loop.md; briefings start from a market/time window, then route high-information objects into follow-up research.
  • Use quick_map, standard, or deep_dive to control depth. Do not let a quick look become a full package unless the user asks.
  • For single-equity research, run thesis horizon and framework routing; add overlay routing only when it materially improves the evidence path.
  • Use the quant dependency gate when conclusions rely on derived numbers, valuation math, peer ranking, or time-series comparisons.
  • Keep facts, inferences, and judgments separate.
  • Tie every durable conclusion to an evidence log or explicit source note.
  • Keep user-specific views, watchlists, preferences, holdings, weights, and portfolio constraints in gitignored private/ state by default. Tracked Mira files are product state unless the user explicitly asks to contribute a de-identified example or method.
  • State stale_after, must_refresh_if, or an equivalent refresh condition.
  • Downgrade conclusions when source quality, freshness, or calculation support is weak.
  • Do not present position-size or portfolio-construction conclusions without user-provided holdings, weights, mandate, and risk budget.
  • Use research actions only; never present autonomous trade execution.

Expected Artifacts

taskrequired outputs
full researchinvestment-memo.md, evidence-log.csv, case-notes.md
earnings eventearnings-analysis, financial-snapshot, peer-comparison, evidence-log
research report interpretationreport-readout.md, report-claim-map.csv, evidence-log, optional restricted-source-note.md
methodology workmethodology-card.md, search/review logs, queue update
position or portfolio reviewreview file, register or exposure file, follow-up queue, refresh conditions

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.