ls-mcp AGENTS.md

ls-mcp AGENTS.md is an instructions file for Codex, OpenCode from lirantal/ls-mcp. It costs 357 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for coding agents working on the ls-mcp project. They explain which project documents to read first and where development, testing, architecture, and contribution rules are documented.

In plain words
What is it for?
They help agents start work, understand the project structure, follow contribution and release processes, run the right tests, and keep documentation updated when behavior changes.
Why use it?
They give an agent the project context and local rules before it changes code, reducing the chance of missed tests, incorrect workflows, or outdated documentation.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md.

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/lirantal/ls-mcp/agents-md
Clone the repo
git clone --depth 1 https://github.com/lirantal/ls-mcp

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 ls-mcp AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/lirantal/ls-mcp/agents-md.svg)](https://agentmods.dev/instructions/lirantal/ls-mcp/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/lirantal/ls-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/lirantal/ls-mcp/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 357 This file is loaded in full into every session.
When invoked 357 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.00357 $0.00357
Opus 5 $0.00179 $0.00179
Sonnet 5 $0.00071 $0.00071
Haiku 4.5 $0.00036 $0.00036

Measured 6d ago against content hash ef27705e3cce, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

ls-mcp 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 6d 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

2 near-identical copies found in the catalogue:

AGENTS.md · 36 lines

What it actually says

AGENTS.md

Guidance for AI coding agents working in this repository.

Start Here

Before making changes, read:

  • CONTRIBUTING.md for contribution, PR, testing, commit, and agent-specific expectations.
  • RELEASE.md for release workflow details.
  • README.md for user-facing behavior, install/use examples, and package or app overview.
  • docs/README.md for the project documentation index.
  • docs/development.md for local setup and development workflows.
  • docs/testing.md for test strategy, commands, and verification expectations.
  • docs/architecture.md for project structure, boundaries, and important invariants.
  • docs/conventions.md for project-specific coding, documentation, and maintenance conventions.

Treat those files as the source of truth. Do not duplicate or reinterpret their rules here.

Documentation

  • Keep documentation in sync when changing behavior, public interfaces, workflows, architecture, configuration, or operational assumptions.
  • Put project-specific development details in docs/; keep root files focused on their standard audiences.
  • Prefer linking to the source of truth over duplicating long instructions across files.
  • When adding new docs, link them from docs/README.md and update this file only when they become important entry points for future agents.

PRs and Issues

  • Follow PR, issue, and agent-labeling rules in CONTRIBUTING.md.
  • Use the issue-linking format specified in CONTRIBUTING.md.

Releases

  • Follow RELEASE.md for release workflow and changeset creation steps.
  • If this project uses changesets, treat RELEASE.md and any changeset guidance in CONTRIBUTING.md as authoritative.
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. 6d ago First seen · 36 lines · 357 tokens per session scan A ef27705e3cce

Subscribe to this mod's changes

ls-mcp AGENTS.md is an instructions file published in the GitHub repository lirantal/ls-mcp (84 stars, last pushed 4d ago), licensed Apache-2.0. It adds 357 tokens to every session, about $0.0018 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