quantcoder-plugin
AGENTS.md1 starsChanged 5 months agoApache-2.0View on GitHub
This repository is the shared source of truth for the QuantCoder Claude Code and Codex plugin wrapper around SL-Mar/quantcoder. Provide an installable agent plugin that helps users run QuantCoder workflows: When behavior changes, update all relevant surfaces. Use uv when available: Validate the Codex plugin manifest before handoff: QuantCoder output is research scaffolding. Never present generated strategies or backtests as guaranteed profitable. Always distinguish implementation facts, assumptions, interpretations, and recommendations. Check for data leakage, look-ahead bias, survivorship bias, overfitting, unrealistic…
- Reads credentials
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,773 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 repository3 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- quantcoder-researchSkill
The file
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 15
run evolution/autonomous/library-builder modes when appropriate
- Distinctive: line 28
When behavior changes, update all relevant surfaces.
- Very specific: line 32
Use uv when available:
- Very specific: line 54
Do not commit secrets. QuantConnect and optional API keys must come from user environment variables or ~/.quantcoder/.env.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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
Agent Instructions - QuantCoder Plugin
This repository is the shared source of truth for the QuantCoder Claude Code
and Codex plugin wrapper around SL-Mar/quantcoder.
Goal
Provide an installable agent plugin that helps users run QuantCoder workflows:
- search quantitative papers
- download and summarize papers
- generate QuantConnect LEAN Python drafts
- locally lint common QuantConnect API mistakes
- optionally validate and backtest through QuantConnect
- run evolution/autonomous/library-builder modes when appropriate
Plugin Surfaces
- Codex plugin manifest:
.codex-plugin/plugin.json - Codex marketplace manifest:
.agents/plugins/marketplace.json - Claude plugin manifest:
.claude-plugin/plugin.json - Claude marketplace manifest:
.claude-plugin/marketplace.json - Shared skill:
skills/quantcoder-research/SKILL.md - Claude slash commands:
commands/*.md - MCP configuration:
.mcp.json - MCP stdio wrapper:
quantcoder/mcp_stdio.pyandscripts/quantcoder-mcp
When behavior changes, update all relevant surfaces.
Development
Use uv when available:
uv run quantcoder --help
uv run --extra mcp python -c "import quantcoder.mcp_stdio; print('ok')"
uv run --extra mcp pytest tests/test_qc_linter.py tests/test_mcp.py -qValidate the Codex plugin manifest before handoff:
python3 ~/.codex/skills/.system/plugin-creator/scripts/validate_plugin.py .Safety
QuantCoder output is research scaffolding. Never present generated strategies or backtests as guaranteed profitable. Always distinguish implementation facts, assumptions, interpretations, and recommendations. Check for data leakage, look-ahead bias, survivorship bias, overfitting, unrealistic costs, and mathematical fidelity to the source paper.
Do not commit secrets. QuantConnect and optional API keys must come from user
environment variables or ~/.quantcoder/.env.
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.

