agentlint copilot-instructions.md

agentlint copilot-instructions.md is an instructions file for GitHub Copilot from samilozturk/agentlint. It costs 544 tokens per session, scanned A, original, MIT.

A set of instructions for keeping coding-agent context files—such as AGENTS.md, CLAUDE.md, rules, and plans—accurate and useful across a workspace.

In plain words
What is it for?
Use it to review or update context files, check changes to directories, dependencies, CI, or configuration, and maintain agent guidance over time.
Why use it?
It helps prevent agents from relying on missing, stale, or inconsistent project guidance after structural or configuration changes.

Instructions file for GitHub Copilot

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/samilozturk/agentlint/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/samilozturk/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/samilozturk/agentlint/copilot-instructions.svg)](https://agentmods.dev/instructions/samilozturk/agentlint/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/samilozturk/agentlint/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/samilozturk/agentlint/copilot-instructions.svg" alt="Measured on agentmods" height="20"></a>
Per session 544 This file is loaded in full into every session.
When invoked 544 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.00544 $0.00544
Opus 5 $0.00272 $0.00272
Sonnet 5 $0.00109 $0.00109
Haiku 4.5 $0.00054 $0.00054

Measured 4d ago against content hash 5c7195bf42f5, 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 4d 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.

.github/copilot-instructions.md · 42 lines

How it starts

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

Agent Lint Context Maintenance

Scope

  • Entire workspace. Apply these instructions when the request mentions AGENTS.md, CLAUDE.md, rules, skills, workflows, or plans, or when structure, config, dependency, or CI changes are involved.

Activation

  • Always active for this workspace or instruction file when the host client loads it.

Do

  • Treat plain-English requests about stale, missing, inconsistent, or low-quality AGENTS.md, CLAUDE.md, rules, skills, workflows, or plans as Agent Lint work even if the user does not name Agent Lint explicitly.
  • Treat structural change signals such as new modules, new directories, dependency changes, CI/config updates, environment/security changes, or repository reorganization as triggers to check context artifacts.
  • For full workspace review or fix requests, start with agentlint_plan_workspace_autofix.
  • For targeted structural changes, call agentlint_quick_check with changed paths and/or a short change description.
  • Before creating or updating any context artifact, call agentlint_get_guidelines for that artifact type.
  • When ongoing upkeep is requested, use agentlint_emit_maintenance_snippet where supported or append equivalent maintenance instructions to the main project context file.
  • Apply recommended context artifact changes directly once Agent Lint has identified what to update, unless the user explicitly asks for a different maintenance outcome.
  • Tell the user when an update was triggered or shaped by Agent Lint maintenance guidance.
  • Keep context artifact files concise and reference docs instead of duplicating them.

Don't

  • Do not edit context artifacts from repo guesses alone; scan the codebase first.
  • Do not duplicate README or package README prose inside AGENTS, rules, skills, workflows, or plans.
  • Do not leave placeholder sections, TODO text, or stale paths in maintained artifacts.
  • Do not expand this maintenance policy to unrelated code or docs outside context artifacts unless the user explicitly asks.
  • Do not wait for confirmation after Agent Lint has identified safe context-file fixes unless the user asked for a different outcome or the host approval model requires a gate.

Read the full file on GitHub · 42 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. 4d ago First seen · 42 lines · 544 tokens per session scan A 5c7195bf42f5

Subscribe to this mod's changes

agentlint copilot-instructions.md is an instructions file published in the GitHub repository samilozturk/agentlint (30 stars, last pushed 4mo ago), licensed MIT. It adds 544 tokens to every session, about $0.0027 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