AGENTS.mdA

AGENTS.md from longsizhuo/openinvest is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add longsizhuo/openinvest/AGENTS.md@git:20260712.ae1e4b3

Pins git:20260712.ae1e4b3 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
longsizhuo/openinvest
Path
AGENTS.md
Versions recorded
1
Latest version
git:20260712.ae1e4b3, committed Jul 12, 2026
Size
1,841 bytes
Repository stars
139
License
MIT

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# AGENTS.md

项目完整指引见 [CLAUDE.md](CLAUDE.md)(分层契约 / 测试纪律 / 发版规则)。
本文件只放跨 agent 通用的**可复用操作路径**——Hermes / Codex / OpenClaw 等会自动读本文件。

## Smoke test:宿主 agent 侧日报链路(Hermes,2026-07-12 验证通过)

验证 `openinvest daily_report`(stdout = 与邮件正文同源的日报 markdown,不发邮件)
能被宿主 agent 的 cron 原样投递。服务器侧 `daily_report` cron 已默认停用
(`jobs/daily_report.yml` `enabled: false`),这条链路是它的替代。

本机(dev box)已装 Hermes:`~/.hermes/`,gateway 跑在 user systemd service,
CLI 在 `~/.local/bin/hermes`。

```bash
export PATH="$HOME/.local/bin:$PATH"

# 1) 任务脚本(已存在):~/.hermes/scripts/daily_invest.sh
#    本机跑 repo 本地代码:INVEST_HOME=/home/ubuntu/projects-review/invest + uv run
#    普通用户版本:INVEST_HOME=~/openInvest exec uvx openinvest daily_report

# 2) cron 任务(已存在:daily-invest-report,UTC 02:00 工作日 = 北京 10:00)
hermes cron list

# 3) 手动触发一次并验收
hermes cron run daily-invest-report
ls -t ~/.hermes/cron/output/*/ | head -2   # 取最新 .md
```

验收标准:

- 最新输出 `.md` 正文以 `# 投资委员会日报 (YYYY-MM-DD)` 开头,含"风险提示与免责声明"节
- 全程无邮件发送日志(`run(send_email=False)` 契约,单测见 `tests/test_cli_daily_report.py`)
- 重跑会重新烧一轮 DeepSeek token(无当日缓存)——测试别连续触发

改动 `jobs/daily_report.py` / `skill_cmds/committee_cmds.py` / `cli.py` 的日报相关
代码后,先跑单测再跑这条链路:

```bash
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add longsizhuo/openinvest/AGENTS.md@sha256:ff7c9f8a6030b661

The line at the top of this page pins the label git:20260712.ae1e4b3, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_cj54zrin6qlzq2um.svg)](https://markdownregistry.com/a/art_cj54zrin6qlzq2um)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Jul 12, 2026.

versioncommittedcommitsizeaudit
git:20260712.ae1e4b3 latest2026-07-12 ae1e4b3 1,841 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (1841 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

longsizhuo/openinvest · 139 stars · license MIT · pushed 2026-11-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_cj54zrin6qlzq2um
GET https://markdownregistry.com/api/v1/resolve?ref=longsizhuo/openinvest/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/ff7c9f8a6030b661f01e55b4131c36b1656d9f987700bc9e6472e95541f8ef9b

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.

More from longsizhuo/openinvest

CLAUDE.md CLAUDE.md file
longsizhuo/openinvest · CLAUDE.md
git:20261018.a84632e · audit A · 139 stars
CLAUDE.md@experiments CLAUDE.md file
longsizhuo/openinvest · experiments/CLAUDE.md
git:20260709.7aa4ee0 · audit A · 139 stars
invest-backup SKILL.md skill
longsizhuo/openinvest · plugin/skills/invest-backup/SKILL.md · Back up / restore openInvest's local state — memory/ (holdings, strategy, user profile, committee records, dream logs)…
v0.3.0 # x-release-please-version · audit A · 139 stars
invest-ibkr SKILL.md skill
longsizhuo/openinvest · plugin/skills/invest-ibkr/SKILL.md · **BETA — not recommended for anyone.** Operator notes for openInvest's experimental IBKR live autopilot: an LLM picks…
v0.2.0 # x-release-please-version · audit A · 139 stars
invest-setup SKILL.md skill
longsizhuo/openinvest · plugin/skills/invest-setup/SKILL.md · First-time openInvest installation and onboarding. **ONLY use when** user explicitly says "set up invest" / "init…
v0.6.0 # x-release-please-version · audit B · 139 stars
invest SKILL.md skill
longsizhuo/openinvest · plugin/skills/invest/SKILL.md · openInvest multi-asset AI investment committee — **daily use**. Read portfolio / live prices / strategy / decision…
v0.34.1 # x-release-please-version · audit B · 139 stars
okf-frontmatter SKILL.md skill
longsizhuo/openinvest · skills/okf-frontmatter/SKILL.md · Maintain openInvest's docs (docs/wiki chapters + docs/wiki/adr) under Google's Open Knowledge Format (OKF). Two jobs…
v0.3.0 # x-release-please-version · audit A · 139 stars

Every file in longsizhuo/openinvest

Other files named AGENTS.md

AGENTS.md AGENTS.md file
morluto/rea · AGENTS.md
git:20261102.920d634 · audit A · 433,876 stars
AGENTS.md AGENTS.md file
obra/superpowers · AGENTS.md
git:20261020.b739a8a · audit A · 314,583 stars
AGENTS.md AGENTS.md file
affaan-m/ecc · AGENTS.md
git:20261030.f29e332 · audit A · 299,696 stars
AGENTS.md AGENTS.md file
firecrawl/firecrawl · AGENTS.md
git:20261008.5a75dca · audit A · 199,595 stars
AGENTS.md AGENTS.md file
dietrichgebert/ponytail · AGENTS.md
git:20261008.2a1fe84 · audit A · 185,249 stars
AGENTS.md AGENTS.md file
graphify-labs/graphify · AGENTS.md
git:20260926.98d73fe · audit A · 144,492 stars
AGENTS.md AGENTS.md file
garrytan/gstack · AGENTS.md
git:20261107.ef99eb5 · audit A · 140,694 stars
AGENTS.md AGENTS.md file
juliusbrussee/caveman · AGENTS.md
git:20261106.e45976c · audit A · 118,366 stars

Browse by kind, by grade A, or by owner.