FaST-LMM AGENTS.md

FaST-LMM AGENTS.md is an instructions file for Codex, OpenCode from fastlmm/FaST-LMM. It costs 1,535 tokens per session, scanned A, original, Apache-2.0.

A repository instruction file for FaST-LMM, a Python package for numerical genetics and statistics. It records coding policies, compatibility requirements, and expectations for testing and error handling.

In plain words
What is it for?
Use it when modifying, testing, documenting, or releasing FaST-LMM code, especially where numerical correctness and cross-version compatibility matter.
Why use it?
Changes to a mature numerical package can accidentally alter results or break supported environments. These instructions help agents preserve established behavior and check the relevant configurations.

Instructions file for CodexOpenCode

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.

agentmods
npx agentmods add instructions/fastlmm/fast-lmm/agents-md
Clone the repo
git clone --depth 1 https://github.com/fastlmm/FaST-LMM

Made for: Codex, OpenCode.

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 FaST-LMM AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/fastlmm/fast-lmm/agents-md.svg)](https://agentmods.dev/instructions/fastlmm/fast-lmm/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/fastlmm/fast-lmm/agents-md"><img src="https://agentmods.dev/badge/instructions/fastlmm/fast-lmm/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,535 This file is loaded in full into every session.
When invoked 1,535 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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.01535 $0.01535
Opus 5 $0.00767 $0.00767
Sonnet 5 $0.00307 $0.00307
Haiku 4.5 $0.00153 $0.00153

Measured 5d ago against content hash 67ee13444cd8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

FaST-LMM 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 5d 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.

AGENTS.md · 147 lines

How it starts

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

Coding Notes for Agents

This file contains repository-wide guidance for FaST-LMM, a mature numerical Python package with downstream users. Preserve compatibility and numerical correctness unless the task explicitly changes those goals.

General Policies

  • When work is interrupted or reaches a stopping point, report the current status, what remains, and the recommended next step. If the next step is within the current task and safe to perform, perform it instead of merely recommending it.
  • Inspect existing code, tests, documentation, and project configuration before introducing a new pattern. Prefer a focused change that follows nearby conventions over an unrelated cleanup or broad rewrite.
  • Do not silently skip required Python versions, operating systems, architectures, dependency configurations, tests, doctests, or artifact checks. If a required environment or tool is unavailable, fail clearly and report what is missing.
  • Avoid silent clamping, coercion, truncation, or fallback behavior. Validate inputs and fail clearly unless the public API explicitly documents another behavior.
  • Preserve behavior on every supported Python version, not only the interpreter used for development.

Cross-Repository Release Coordination

FaST-LMM depends on the separately released pysnptools and fastlmmclib projects. When a release changes their compatibility requirements, complete and publish the prerequisite releases first, update FaST-LMM's dependency bounds, and perform final acceptance against the published artifacts rather than unpublished sibling checkouts.

Numerical Correctness

  • Treat changes to numerical algorithms, tolerances, array shapes, dtypes, missing-value handling, sample or marker ordering, and random-number behavior as behavior changes, not mechanical refactors.
  • Do not update expected numerical or textual output merely to make a test pass. First confirm that the new result is correct and does not hide a regression.
  • Use deterministic seeds in tests involving randomness. When exact equality is inappropriate, use an explicit, justified tolerance rather than an unnecessarily broad one.
  • Preserve representative small end-to-end tests for association, inference, and packaged data so integration failures are not hidden by unit tests.

Read the full file on GitHub · 147 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. 5d ago First seen · 147 lines · 1,535 tokens per session scan A 67ee13444cd8

Subscribe to this mod's changes

FaST-LMM AGENTS.md is an instructions file published in the GitHub repository fastlmm/FaST-LMM (55 stars, last pushed 27d ago), licensed Apache-2.0. It adds 1,535 tokens to every session, about $0.0077 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.