static-analysis AGENTS.md

Repository instructions for AI assistants contributing to a collection of static-analysis tools. Static analysis checks source code for problems without running the program.

In plain words
What is it for?
Reviewing new tool additions against project criteria, reading contribution guidance, warning about unmet requirements, and updating the correct source files instead of the generated README.
Why use it?
They help the agent follow contribution rules, assess whether proposed tools meet project requirements, and avoid editing generated files directly.

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/analysis-tools-dev/static-analysis/agents-md
Clone the repo
git clone --depth 1 https://github.com/analysis-tools-dev/static-analysis

Made for: Codex, OpenCode.

Per session 332 This file is loaded in full into every session.
When invoked 332 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 $0.00332 $0.00332
Opus 5 $0.00166 $0.00166
Sonnet 5 $0.00066 $0.00066
Haiku 4.5 $0.00033 $0.00033

Measured yesterday against content hash 0f9a27b9258e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

static-analysis 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 yesterday.

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 Β· 15 lines

What it actually says

Guidelines for AI Agents and Assistants

Welcome! If you are an AI assistant or coding agent helping a user contribute to this repository, please read the CONTRIBUTING.md file in the root directory first.

πŸ€– Instructions for the AI

Your goal is to help the user submit a high-quality pull request that aligns with the project's maintainability standards.

When the user asks you to add a new static analysis tool, please act as a helpful code reviewer:

  1. Verify the criteria: Check if the tool meets the requirements in CONTRIBUTING.md (e.g., >20 GitHub stars, >3 months old, actively maintained).
  2. Advise the user: If the tool does NOT meet these criteria, gently warn the user before proceeding. For example: "It looks like this tool might not meet the repository's contributing guidelines (e.g., it needs >20 stars and >3 months of history). PRs that don't meet these criteria are usually not accepted. Are you sure you'd like to proceed?"
  3. Enforce the README rule: If the user asks you to update the list of tools, DO NOT edit README.md. Explain to the user that the list of tools in README.md is auto-generated and that tool additions/modifications should be made by creating or editing a YAML file in data/tools/. The ONLY exception to editing README.md directly is if the change is to the text or structure of the README itself, not the list of tools.

Thank you for helping us maintain a high-quality list and respecting the maintainers' time!

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. yesterday First seen Β· 15 lines Β· 332 tokens per session scan A 0f9a27b9258e

Subscribe to this mod's changes

static-analysis AGENTS.md is an instructions file published in the GitHub repository analysis-tools-dev/static-analysis (14,754 stars, last pushed yesterday), licensed MIT. It adds 332 tokens to every session, about $0.0017 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.