quality-screen

quality-screen is a skill for Claude Code from xbtlin/ai-berkshire. It costs 32 tokens per session (2,486 once invoked), scanned A, original, MIT.

A quick screen for removing companies that do not meet seven quality measures. It is meant to narrow the list before doing deeper investment research.

In plain words
What is it for?
Use it to review a group of companies, apply the seven measures, identify businesses that fail the screen, and focus further work on stronger candidates.
Why use it?
It saves time by filtering out weaker businesses early instead of researching every company in detail.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions subagents; mentions Claude Code; mentions AGENTS.md.

Good fit Use it to review a group of companies, apply the seven measures, identify businesses that fail the screen, and focus further work on stronger candidates.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xbtlin/ai-berkshire/quality-screen
About the project

AI Berkshire is a collection of Claude Code and Codex skills that structures investment research around the methods of four value-investing thinkers and uses multiple agents for adversarial analysis. It is intended for investors who want a disciplined process for researching companies and making valuation-based decisions.

xbtlin/ai-berkshire · 16,273 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add xbtlin/ai-berkshire --skill quality-screen
Clone the repo
git clone --depth 1 https://github.com/xbtlin/ai-berkshire

Made for: Claude Code.

Wrote 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.

agentmods badge for quality-screen

README.md
[![agentmods](https://agentmods.dev/badge/skills/xbtlin/ai-berkshire/quality-screen/github.svg)](https://agentmods.dev/skills/xbtlin/ai-berkshire/quality-screen)
Your own site
<a href="https://agentmods.dev/skills/xbtlin/ai-berkshire/quality-screen"><img src="https://agentmods.dev/badge/skills/xbtlin/ai-berkshire/quality-screen/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.

agentmods 80×15 button for quality-screen

Your own site · 80×15
<a href="https://agentmods.dev/skills/xbtlin/ai-berkshire/quality-screen"><img src="https://agentmods.dev/badge/skills/xbtlin/ai-berkshire/quality-screen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,486 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00032 $0.02486
Opus 5 $0.00016 $0.01243
Sonnet 5 $0.00006 $0.00497
Haiku 4.5 $0.00003 $0.00249

Measured 11d ago against content hash ea302e077cbf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

quality-screen 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 11d ago.

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.

codex-skills/quality-screen/SKILL.md · 184 lines

How it starts

The opening of the file, as written. The whole thing — 184 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Codex adapter note

This skill is generated from skills/quality-screen.md so Claude Code and Codex users share one canonical workflow.

  • Treat $ARGUMENTS as the user's request in the current Codex thread.
  • When the source mentions Claude-only surfaces such as Task, Agent, WebSearch, Bash, Read, or Write, use the closest Codex capability available in this session: subagents when available, web search when needed, shell commands for local tools, and normal file edits for workspace files.
  • Use shared project tools from tools/ in this repository. Prefer running commands from the repository root with paths like python3 tools/financial_rigor.py ...; if the current thread starts outside the repo, locate the actual checkout path first instead of assuming a fixed home-directory path.
  • Before starting research, run the date command to confirm today's date; treat it as the baseline for "latest" data and state the data cutoff date in the report header. Never assume the current date from training data.
  • Preserve the research quality rules from AGENTS.md: cross-check financial data, use exact arithmetic tools for valuation/math, and clearly label uncertainty and source gaps.

去劣筛选:7条指标快速排除非一流公司

对 $ARGUMENTS 执行去劣指标筛选,快速排除不符合一流公司标准的标的。

支持输入格式

输入方式 示例 说明
个股 腾讯, 美团, 英伟达 逐家筛选
行业 中国啤酒行业 全球云计算 港股运动品牌 先搜索该行业主要上市公司(10-20家),再逐家筛选
市场/指数 恒生指数成分股 沪深300 纳斯达克100 拉取成分股列表,逐家筛选
主题 中国高股息50强 全球AI算力链 先搜索主题相关公司,再逐家筛选

行业/市场/主题模式下,输出额外包含:通过率统计、行业内排名、板块对比总结。

设计原则

  • 目标:不错杀任何一流好公司,但能排除确定的非一流公司
  • 逻辑:7条硬指标 + 2条豁免规则,宁可漏网不可误杀
  • 适用范围:所有上市公司(银行/保险不适用第3条利息覆盖倍数)

7条去劣指标

# 指标 排除条件 衡量的是什么
1 10年平均ROE < 8% 资本效率——股东的钱能不能跑赢机会成本
2 5年累计自由现金流 为负 真金白银——利润是不是"纸面富贵"
3 利息覆盖倍数(EBIT/利息) < 2倍 偿债安全——还利息的能力
4 长期毛利率 < 15% 定价权——产品/服务有没有差异化
5 经营现金流 / 净利润(5年均值) < 0.7 利润质量——赚到的利润能不能收回现金
6 长期净利率 < 5% 抗风险能力——收入波动时利润是否归零
7 5年总股本膨胀 > 20%(非并购原因) 股东利益——管理层是否在稀释你的权益

Read the full file on GitHub · 184 lines

Changes

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.

  1. 11d ago First seen · 184 lines · 32 tokens per session scan A ea302e077cbf

Subscribe to this mod's changes

quality-screen is a skill published in the GitHub repository xbtlin/ai-berkshire (16,273 stars, last pushed 3d ago), licensed MIT. It adds 32 tokens to every session and 2,486 once invoked, about $0.0002 per session on Opus 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-30.