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.
npx agentmods add instructions/moeru-ai/alint/agents-mdgit clone --depth 1 https://github.com/moeru-ai/alintWrote 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/moeru-ai/alint/agents-md)<a href="https://agentmods.dev/instructions/moeru-ai/alint/agents-md"><img src="https://agentmods.dev/badge/instructions/moeru-ai/alint/agents-md.svg" alt="Measured on agentmods" 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 | $0.02992 | $0.02992 |
| Opus 5 | $0.01496 | $0.01496 |
| Sonnet 5 | $0.00598 | $0.00598 |
| Haiku 4.5 | $0.00299 | $0.00299 |
Grade A, and why
alint 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.
How it starts
The opening of the file, as written. The whole thing — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.
alint Agent Guide
- pnpm workspace, TypeScript, Vitest, ESLint.
- Components:
packages/cli: CLI entrypoint, argument parsing, setup/config commands, reporter output, and handoff into core.packages/config: project config loading plus global/local setup TOML paths, parsing, merging, and writing.packages/core: public rule/plugin DSL, run engine, source extraction/runtime, model resolution, diagnostics, cache, and usage tracking.packages/plugin-example: example rule plugin that exercises the public SDK and model-backed rule flow.
Structure & Responsibilities
- Build pipeline refs:
.github/workflows; lint rules ineslint.config.ts.
Commands (pnpm with filters)
Use pnpm workspace filters to scope tasks. Examples below are generic; replace the filter with the target workspace name (e.g.
@alint-js/core, etc.).
- Typecheck
pnpm -F <package.json name> typecheck- Example:
pnpm -F @alint-js/cli typecheck(runstsc).
- Unit tests (Vitest)
- Targeted:
pnpm exec vitest run <path/to/file>e.g.pnpm exec vitest run packages/cli/src/cli/cli.test.ts(not recommended as we prefer to run entire package test instead of file) - Workspace:
pnpm -F <package.json name> exec vitest rune.g.pnpm -F @alint-js/cli exec vitest run - Root
pnpm test:run: runs all tests across registered projects. If no tests are found, checkvitest.config.tsinclude patterns. - Root
vitest.config.tsincludespackages/cliand other projects; each app/package can have its ownvitest.config.
- Targeted:
- Lint
pnpm lintandpnpm lint:fix- Formatting is handled via ESLint;
pnpm lint:fixapplies formatting.
- Build
pnpm -F <package.json name> build- Example:
pnpm -F @alint-js/cli build(typecheck + electron-vite build).
Development Practices
- Favor clear module boundaries; shared logic goes in
packages/. - Keep runtime entrypoints lean; move heavy logic into services/modules.
- Prefer functional patterns + DI (
injeca) for testability. - Use Valibot for schema validation; keep schemas close to their consumers.
- Use Eventa (
@moeru/eventa) for structured IPC/RPC contracts where needed. - Use
errorMessageFrom(error)from@moeru/stdto extract error messages instead of manual patterns likeerror instanceof Error ? error.message : String(error). Pair with?? 'fallback'when a default is needed. - Do not add backward-compatibility guards. If extended support is required, write refactor docs and spin up another Codex or Claude Code instance via shell command to complete the implementation with clear instructions and the expected post-refactor shape.
- If the refactor scope is small, do a progressive refactor step by step.
- When modifying code, always check for opportunities to do small, minimal progressive refactors alongside the change.
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.
- 5d ago First seen · 122 lines · 2,992 tokens per session scan A fbc9ac8634f5
alint AGENTS.md is an instructions file published in the GitHub repository moeru-ai/alint (53 stars, last pushed 7d ago), licensed MIT. It adds 2,992 tokens to every session, about $0.0150 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.
Other instructions, from other repositories
teaql-agent-kit AGENTS.md
AGENTS.md instructions for teaql/teaql-agent-kit, covering agents.md — teaql agent kit and hard requirements.
baro CLAUDE.md
Claude Code instructions for jigjoy-ai/baro, covering claude.md, project overview, tech stack, directory structure and build commands.
baro AGENTS.md
AGENTS.md instructions for jigjoy-ai/baro, covering claude.md, project overview, tech stack, directory structure and build commands.
x-code-cli AGENTS.md
AGENTS.md instructions for woai3c/x-code-cli, covering agents.md, rules, commands, delivery workflow and architecture.
FylloCode AGENTS.md
AGENTS.md instructions for Fioooooooo/FylloCode, covering agents.md, 项目概述, 技术栈, 目录结构 and 常用命令.
lunar AGENTS.md
AGENTS.md instructions for gszr/lunar, covering how to work here, our goals, before you type, code and scope.