alphaloop
AGENTS.md20 starsChanged 5 months agoMITView on GitHub
For AI agents reading this repo: this is a skill suite, not an application. It defines a human-agent collaboration operating model for investment research and bundles the six sub-skills it orchestrates. AlphaLoop is an operating model: the trader sets direction, the agent gathers and verifies evidence, and the human always keeps the decision. The full specification lives in SKILL.md. Read it before doing anything else. This AGENTS.md exists so that agents following the AGENTS.md standard (OpenAI Codex, OpenCode, Hermes, OpenClaw,…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,691 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository8 other files it gives its agents.
- skills/openorder/AGENTS.mdAGENTS.md
- alphaloopSkill
- agent-tool-escalationSkill
- claim-verificationSkill
- openorderSkill
- stock-data-fetchSkill
- strategic-materialsSkill
- trade-journalSkill
The file
We split this AGENTS.md into the rules it gives an agent
7 rules. About 1 is common, 0 are distinctive, and 6 are very specific to this project.
≈1
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 25
Treat any logic/claim the human hands you as a hypothesis (C-grade), not a fact.
- Very specific: line 26
First action: when a ticker/industry/framework appears: read ${OPENORDER_HOME}/INDEX.md → relevant files.
- Very specific: line 27
Always pull real-time prices with a timestamp + source.
- Very specific: line 30
When a trade happens, log it with its source framework to close the feedback loop.
- Very specific: line 31
If any tool fails (403/404/can't fetch), escalate the tool, not the user.
- Very specific: line 48
No real research data: only the methodology + templates.
- Common: line 49
No secrets: no API keys, no private spreadsheet tokens.
≈ “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.
Files
AlphaLoop — Agent Instructions
For AI agents reading this repo: this is a skill suite, not an application. It defines a human-agent collaboration operating model for investment research and bundles the six sub-skills it orchestrates.
What you are looking at
AlphaLoop is an operating model: the trader sets direction, the agent gathers and verifies evidence, and the human always keeps the decision. The full specification lives in SKILL.md. Read it before doing anything else.
This AGENTS.md exists so that agents following the AGENTS.md standard (OpenAI Codex, OpenCode, Hermes, OpenClaw, Aider, etc.) can discover and load the suite consistently.
Quick install (any agent)
git clone https://github.com/realnaka/alphaloop.git
cd alphaloop
./install.shThe installer auto-detects which agents are present and symlinks the orchestrator plus every bundled sub-skill into each agent's skills directory. It also initializes an empty wiki at ${OPENORDER_HOME:-$HOME/openorder} (templates only, no real data).
How to use as an agent
Whenever a conversation enters an investment-research context (a ticker, a company, an industry, a forwarded research note or screenshot, a thesis to verify, a stock to pick, a trade to log):
- Treat any logic/claim the human hands you as a hypothesis (C-grade), not a fact. Verify before trusting. → see
skills/claim-verification/SKILL.md - First action when a ticker/industry/framework appears: read
${OPENORDER_HOME}/INDEX.md→ relevant files. →skills/openorder/SKILL.md - Always pull real-time prices with a timestamp + source; never use stale data. →
skills/stock-data-fetch/SKILL.md - For raw materials / chokepoint / export-control topics, run the five-layer funnel. →
skills/strategic-materials/SKILL.md - Hand back a verification matrix + stock list + risks; never pull the trigger for the user. The decision is always the human's.
- When a trade happens, log it with its source framework to close the feedback loop. →
skills/trade-journal/SKILL.md - If any tool fails (403/404/can't fetch), escalate the tool, not the user. →
skills/agent-tool-escalation/SKILL.md
Key files in this repo
| File | Purpose |
SKILL.md | Orchestrator spec — division of labor, routing table, three iron rules (source of truth) |
AGENTS.md | This file (mirror for AGENTS.md-aware agents) |
README.md | Human-facing pitch (Chinese) and quick start |
install.sh | Cross-agent installer |
skills/ | The six bundled sub-skills |
docs/workflow.md | The collaboration workflow in depth |
docs/case-study.md | A real, sanitized end-to-end walkthrough |
docs/customize.md | How to fork the model for other domains |
What this repo does NOT contain
- No real research data: only the methodology + templates. Your wiki content (company profiles, positions, P&L) lives at
${OPENORDER_HOME}on your machine and is never committed here. - No secrets: no API keys, no private spreadsheet tokens. Keys go in environment variables; the suite ships free, no-key price fallbacks.
- No telemetry / network calls of its own: pure markdown + your agent. Nothing phones home.
Boundary
AlphaLoop gives the human input, not a trigger. Position sizing, timing, and the buy/sell decision always stay with the trader. The agent surfaces evidence, candidate names, and risks — and explicitly flags the bear case.
Read SKILL.md next.
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
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.

