AgentLint copilot-instructions.md

AgentLint copilot-instructions.md is an instructions file for GitHub Copilot from 0xmariowu/AgentLint. It costs 1,210 tokens per session, scanned A, original, MIT.

Repository instructions for AgentLint, a shell-and-JavaScript tool that checks whether a software project is well prepared for AI coding agents. They define rules for the project, including how to handle tests, CI settings, and code changes.

In plain words
What is it for?
They help agents work on AgentLint, understand its scanners and checks, respect its hard rules, and fix problems in the code rather than bypassing verification.
Why use it?
They stop agents from hiding failures by changing test expectations, suppressing warnings, or weakening build and CI configuration. They also explain the project’s architecture and required working practices.

Instructions file for GitHub Copilot

Installs and runs on its own, but its text points at files inside the plugin that ships it — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed.

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/0xmariowu/agentlint/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/0xmariowu/AgentLint

Made for: GitHub Copilot.

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 AgentLint copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/0xmariowu/agentlint/copilot-instructions.svg)](https://agentmods.dev/instructions/0xmariowu/agentlint/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/0xmariowu/agentlint/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/0xmariowu/agentlint/copilot-instructions.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,210 This file is loaded in full into every session.
When invoked 1,210 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.01210 $0.01210
Opus 5 $0.00605 $0.00605
Sonnet 5 $0.00242 $0.00242
Haiku 4.5 $0.00121 $0.00121

Measured 5d ago against content hash a54a83ceb295, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

AgentLint copilot-instructions.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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.github/copilot-instructions.md · 64 lines

How it starts

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

Copilot instructions for AgentLint

AgentLint is a shell-based linter for AI-friendly repos. It scans for CLAUDE.md/AGENTS.md quality, CI hygiene, and agent-ready patterns, then emits SARIF + scored reports. Implementation is bash + JavaScript: src/scanner.sh runs 51 deterministic checks across 6 core dimensions (findability, instructions, workability, safety, continuity, harness), and JS modules add 7 opt-in extended checks across 2 dimensions (Deep + Session) for 58 total. The CLI wrapper is shell + JS, published to npm.

Any Copilot agent (Coding Agent, Code Review, ci-doctor) working on this repo must follow the rules below.

Hard rules — never violate

  1. No test assertion mutation. If a test is failing, fix the code or file a bug — never change the expected value in an assertion to make it pass.
  2. No lint / type / test suppressions. No @ts-ignore, # noqa, // eslint-disable, it.skip, @pytest.mark.skip, or equivalent. The tool raised it for a reason.
  3. No weakening of CI, workflows, or build config. Do not edit .github/workflows/**, Makefile, tsconfig.json, package.json scripts, or test config to make things pass. Fix the code instead.
  4. No deleting or skipping tests to resolve a failure.
  5. No unrelated refactors. Only change lines directly required by the task. A bug fix does not need surrounding cleanup.
  6. No features, abstractions, or error handling the task did not ask for. Three similar lines beats a premature abstraction. Don't validate scenarios that cannot happen.
  7. No absolute hardcoded paths (/Users/..., /home/...). Use ${CLAUDE_PLUGIN_ROOT}, env vars, or repo-relative paths.
  8. No emoji in code, comments, commit messages, or markdown unless explicitly requested.
  9. No new top-level files (README alternates, design docs, notes) unless the task explicitly asks.
  10. No commits to main. All changes go through a PR.

Scope discipline for this repo

  • Adding a check requires evidence. Cite an Anthropic source, academic paper, or documented real-world failure in standards/evidence.json. Opinions are not acceptable.
  • Scanner output is a contract. Changing the JSONL schema in src/scanner.sh requires updating the scorer, plan-generator, and reporter in the same PR.
  • Scoring changes require rationale in standards/weights.json. Do not adjust weights silently.
  • Thresholds in shell code must match standards/evidence.json. Do not hardcode a new number without updating the evidence file.
  • Skills in commands/*.md must reference bundled assets via ${CLAUDE_PLUGIN_ROOT}. Persistent data goes in ${CLAUDE_PLUGIN_DATA} or ~/.al/, never the plugin root.

Read the full file on GitHub · 64 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 · 64 lines · 1,210 tokens per session scan A a54a83ceb295

Subscribe to this mod's changes

AgentLint copilot-instructions.md is an instructions file published in the GitHub repository 0xmariowu/AgentLint (55 stars, last pushed 1mo ago), licensed MIT. It adds 1,210 tokens to every session, about $0.0060 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.

Related

Other instructions, from other repositories

brooks-lint AGENTS.md

AGENTS.md instructions for hyhmrright/brooks-lint, covering agents.md, core purpose, skill integration, engineering standards and project structure.

hyhmrright/brooks-lint · 934 tokens

procoder tests.instructions.md

Instructions for azrtydxb/procoder, covering tests in procoder, every test carries its mutation, assertions, portability and fixtures.

azrtydxb/procoder · 738 tokens

logic-lens GEMINI.md

Instructions for hyhmrright/logic-lens, covering logic-lens — developer guide (gemini cli), invoking skills, installation, project layout and key conventions.

hyhmrright/logic-lens · 285 tokens

evolve-loop AGENTS.md

AGENTS.md instructions for mickeyyaya/evolve-loop, covering agents.md — cross-cli canonical instructions, what evolve-loop is, cross-cli invariants (the universal rules), 1. pipeline ordering is non-negotiable and 4. builder writes only inside its worktree.

mickeyyaya/evolve-loop · 4,503 tokens

agentic-tech-debt AGENTS.md

AGENTS.md instructions for bcanfield/agentic-tech-debt: The agent instructions for this repo live in CLAUDE.md — one source of truth for every coding agent. Read it and follow it as written; it applies to Codex exactly as it does to Claude Code.

bcanfield/agentic-tech-debt · 118 tokens

zuvo CLAUDE.md

Claude Code instructions for greglas75/zuvo, covering zuvo plugin — project guide, what this repo is, tech stack, how to update after making changes and for yourself (dev testing, no marketplace push).

greglas75/zuvo · 5,647 tokens