agentleFS
xbtlinxbtlin/ai-berkshire/AGENTS.md

ai-berkshire

AGENTS.md17k starsChanged 5 months agoMITView on GitHub

This repository contains investment research workflows, reports, and shared validation tools. Keep compatibility with both Claude Code and Codex users. - skills/*.md: Claude Code slash-command source files. - codex-skills/*/SKILL.md: Codex skill packages. Most are generated from skills/*.md; Codex-only hand-written packages are allowed when clearly marked and no same-named skills/*.md source exists. - codex-prompts/*.md: generated Codex custom prompts for slash-command style entry points. These are a compatibility layer; skills remain preferred. - tools/*.py: shared financial validation and data tools used by…

Trending

Less talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 15 mentionsJul 2026: 11 mentionsAug 2026: 3 mentionsSep 2026: 0 mentionsOct 2026: 1 mentionNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the xbtlin/ai-berkshire repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about xbtlin/ai-berkshire

The biggest 5 of 30 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 30

Talked about on GitHub, Bluesky and Hacker News (30 times).

On GitHub · 25

20 more on GitHub

On Bluesky · 4

On Hacker News · 1

  • 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 repositoryOne other file it gives its agents.

The file

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

12 rules. About 0 are common, 3 are distinctive, and 9 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 9

    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
  1. Very specific:

    Treat skills/*.md as the canonical workflow source.

    line 27
  2. Very specific:

    After changing any file in skills/, run: python3 scripts/sync-codex-skills.py

    line 28
  3. Very specific:

    If slash prompt compatibility is needed, also run: python3 scripts/sync-codex-prompts.py

    line 30
  4. Very specific:

    Do not manually edit generated codex-skills/*/SKILL.md unless also updating the corresponding source in skills/.

    line 32
  5. Very specific:

    Keep tool paths compatible with the documented checkout path: ~/ai-berkshire/tools/...

    line 37
  6. Distinctive:

    Keep CLAUDE.md for Claude Code behavior and this AGENTS.md for Codex behavior.

    line 39
  7. Very specific:

    Before starting any research, run the date command to confirm today's date.

    line 44
  8. Distinctive:

    Never assume the current date from training data.

    line 47
  9. Very specific:

    Use exact arithmetic tools for market cap, valuation, cross-source checks, and scenario analysis: python3 tools/financial_rigor.py ...

    line 50
  10. Very specific:

    Use report audit tooling before treating generated research as publishable: python3 tools/report_audit.py ...

    line 53
  11. Distinctive:

    Keep changes scoped to the requested skill, tool, script, or documentation.

    line 62
  12. Very specific:

    Before finishing a skill/tool change, run the relevant syntax or generation check.

    line 63

≈ “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.

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

AI Berkshire Codex Guide

This repository contains investment research workflows, reports, and shared validation tools. Keep compatibility with both Claude Code and Codex users.

Project Layout

  • skills/*.md: Claude Code slash-command source files.
  • codex-skills/*/SKILL.md: Codex skill packages. Most are generated from skills/*.md; Codex-only hand-written packages are allowed when clearly marked and no same-named skills/*.md source exists.
  • codex-prompts/*.md: generated Codex custom prompts for slash-command style entry points. These are a compatibility layer; skills remain preferred.
  • tools/*.py: shared financial validation and data tools used by both systems.
  • reports/: research outputs. Do not rewrite unrelated reports while changing tooling or skills.
  • scripts/sync-codex-skills.py: regenerates Codex skills from skills/*.md.
  • scripts/install-codex-skills.sh / scripts/install-codex-skills.bat: installs Codex skills locally.
  • scripts/install-codex-prompts.sh / scripts/install-codex-prompts.bat: installs generated Codex slash prompts locally.
  • scripts/install-claude-commands.sh / scripts/install-claude-commands.bat: installs Claude Code commands locally.

Compatibility Rules

  • Treat skills/*.md as the canonical workflow source.
  • After changing any file in skills/, run: python3 scripts/sync-codex-skills.py
  • If slash prompt compatibility is needed, also run: python3 scripts/sync-codex-prompts.py
  • Do not manually edit generated codex-skills/*/SKILL.md unless also updating the corresponding source in skills/.
  • For Codex-only hand-written packages under codex-skills/, keep them clearly marked as Codex-only and do not create a same-named skills/*.md file unless intentionally adopting the workflow for Claude Code too.
  • Keep tool paths compatible with the documented checkout path: ~/ai-berkshire/tools/...
  • Keep CLAUDE.md for Claude Code behavior and this AGENTS.md for Codex behavior.

Research Quality Rules

  • Before starting any research, run the date command to confirm today's date. Treat that date as the baseline for "latest" data (prices, market cap, most recent filings), and state the data cutoff date in the report header. Never assume the current date from training data.
  • Financial data must come from at least two independent sources when the skill requires verification.
  • Use exact arithmetic tools for market cap, valuation, cross-source checks, and scenario analysis: python3 tools/financial_rigor.py ...
  • Use report audit tooling before treating generated research as publishable: python3 tools/report_audit.py ...
  • Clearly label low-confidence conclusions, incomplete data, and source gaps.
  • This project is for learning and research, not investment advice.

Editing Rules

  • Preserve existing report files unless the task specifically asks to change them.
  • Keep changes scoped to the requested skill, tool, script, or documentation.
  • Before finishing a skill/tool change, run the relevant syntax or generation check. For compatibility changes, run: python3 scripts/sync-codex-skills.py
  • To verify generated Codex artifacts are current without rewriting files, run: python3 scripts/sync-codex-skills.py --check and, when slash prompts are relevant: python3 scripts/sync-codex-prompts.py --check

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.