Borrowing it
Nothing to install: this file belongs to mgh3326/auto_trader. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/mgh3326/auto_trader/main/AGENTS.mdgit clone --depth 1 https://github.com/mgh3326/auto_traderWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/mgh3326/auto_trader/agents-md)<a href="https://agentmods.dev/instructions/mgh3326/auto_trader/agents-md"><img src="https://agentmods.dev/badge/instructions/mgh3326/auto_trader/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/mgh3326/auto_trader/agents-md"><img src="https://agentmods.dev/badge/instructions/mgh3326/auto_trader/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.07943 | $0.07943 |
| Opus 5.5 | $0.03177 | $0.03177 |
| Sonnet 5.5 | $0.01589 | $0.01589 |
| Haiku 4.5 | $0.00794 | $0.00794 |
Grade A, and why
auto_trader AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 403 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
이 파일이 이 레포의 유일한 에이전트 진입점이자 정본이다. Codex 등 모든 에이전트가 이 파일을 읽고,
Claude Code는 한 줄 스텁 CLAUDE.md(@AGENTS.md)를 통해 같은 파일을 읽는다. 에이전트 지침은 여기에만 쓴다 —
CLAUDE.md에 내용을 추가하지 마라.
프로젝트 개요
AI 기반 자동 거래 분석 시스템으로, 다양한 금융 데이터를 수집하고 out-of-process MCP consumer(claude 세션 등)를 통해 투자 분석을 제공합니다.
주요 특징:
- 다중 시장 지원: 국내주식(KIS), 해외주식(KIS/Yahoo Finance), 암호화폐(Upbit)
- 다중 시간대 분석: 일봉 200개 + 분봉(60분/5분/1분)
- AI 분석: out-of-process MCP consumer(claude 세션 등)가 담당 (런타임은 in-process LLM provider 미탑재 — ROB-501 가드)
핵심 명령어
테스트
make test # 모든 테스트 실행
make test-unit # 단위 테스트만
make test-integration # 통합 테스트만
make test-cov # 커버리지 리포트 포함
uv run pytest tests/test_*.py -v -k "test_name" # 특정 테스트만
코드 품질
make lint # Ruff + ty 검사
make format # Ruff로 코드 포맷팅
make typecheck # ty 타입 체킹
make security # bandit, safety 보안 검사
데이터베이스
# 마이그레이션 생성 및 적용
uv run alembic revision --autogenerate -m "migration message"
uv run alembic upgrade head
# 마이그레이션 롤백
uv run alembic downgrade -1
# 현재 버전 확인
uv run alembic current
개발 도구
python manage_users.py list # 사용자 권한/상태 확인
python websocket_monitor.py --mode both # 통합 WebSocket 모니터링
python kis_websocket_monitor.py # KIS WebSocket 모니터링
python upbit_websocket_monitor.py # Upbit WebSocket 모니터링
작업 시작 전 필독 계약
작업을 시작하기 전에 이 파일 전체와 아래 계약 파일 전부를 읽어라. 관심 기능만 골라 읽는 것은 허용되지 않는다.
@docs/agent-contracts/mcp-and-analysis-contracts.md @docs/agent-contracts/broker-and-ledger-contracts.md @docs/agent-contracts/market-data-and-screener-contracts.md @docs/agent-contracts/approval-and-shadow-contracts.md @docs/agent-contracts/data-model-and-symbol-contracts.md @docs/agent-contracts/developer-reference-contracts.md
필독 파일 중 하나라도 없거나 읽을 수 없으면 작업을 중단하라. 찾아보기 표는 탐색 보조일 뿐 필독 면제가 아니다. 문서 속 예시 명령은 실행 승인이나 운영 권한을 부여하지 않는다.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- today Changed · +28 lines · +753 tokens per session f3d8aa8a615a
- 2d ago Changed · +213 lines · +3,642 tokens per session cacf3ed9e5ed
- 3d ago Changed · +14 lines · +397 tokens per session 371b93c91943
- 1mo ago Changed · +2 lines · +63 tokens per session 7faa8849d149
- 1mo ago Changed · +3 lines · +68 tokens per session acfb2f2691a5
- 1mo ago Changed · +6 lines · +156 tokens per session f3f7ba86d93f
- 1mo ago Changed · +6 lines · +103 tokens per session 21f4b15f497a
- 1mo ago Changed · +4 lines · +149 tokens per session cafa3628873d
- 1mo ago Changed · +12 lines · +164 tokens per session b6642c65e70a
- 2mo ago First seen · 115 lines · 2,448 tokens per session scan A 7726bfeb7973
auto_trader AGENTS.md is an instructions file published in the GitHub repository mgh3326/auto_trader (10 stars, last pushed yesterday), licensed MIT. It adds 7,943 tokens to every session, about $0.0318 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
auto_trader AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| auto_trader AGENTS.mdmgh3326/auto_trader | Instructions file | 10 | yesterday | MIT | A | 7,943 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |