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/subodhkc/ai-appsec/agents-mdgit clone --depth 1 https://github.com/subodhkc/ai-appsecWrote 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/subodhkc/ai-appsec/agents-md)<a href="https://agentmods.dev/instructions/subodhkc/ai-appsec/agents-md"><img src="https://agentmods.dev/badge/instructions/subodhkc/ai-appsec/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.02730 | $0.02730 |
| Opus 5 | $0.01365 | $0.01365 |
| Sonnet 5 | $0.00546 | $0.00546 |
| Haiku 4.5 | $0.00273 | $0.00273 |
Grade A, and why
ai-appsec 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 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.
How it starts
The opening of the file, as written. The whole thing — 229 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md — HAIEC Agent Security MCP (Phase -1 → Phase 18)
Scope: These rules apply ONLY to the
haiec-ai-agent-security-free-mcpbuild session (the multi-phase MCP construction project, ~16-18 phases). They do NOT apply to other projects on this machine. They are loaded automatically when this repo (or theHAIEC-workspace/parent) is the active workspace.Persistence: This file is the source of truth for session rules across phases. Do not delete or weaken it mid-project. If a later phase needs to amend a rule, edit this file explicitly and note the change in
PHASES.md.
1. Workspace Layout
HAIEC-workspace/
├── haiec-ai-agent-security-free-mcp/ ← WRITE HERE (primary working repo)
├── haiec-website/ ← READ ONLY (junction to ../Haiec Website)
├── llmverify-npm/ ← READ ONLY (junction to ../llmverify-npm)
└── mcp-tenant-isolation/ ← READ ONLY (junction to ../mcp-tenant-isolation)
- Primary write repo:
haiec-ai-agent-security-free-mcp(public, GitHub:subodhkc/haiec-ai-agent-security-free-mcp, default branchmain). - Read-only repos are Windows directory junctions to existing local clones. They share the working tree with those clones — inspect, do not modify.
- No separate
llmverify/repo exists.llmverify-npmis the only LLMVerify repo in scope (user-confirmed 2026-08-16). Do not invent allmverify/path.
2. Architectural Principles (apply to every phase)
-
Not a wrapper around three scanners. This repo becomes the public Agent Security control surface. LLMVerify and Tenant Isolation remain independent products and independent engines. Compose them ONLY where composition has an actual semantic reason. Never let the architecture drift into "run everything every time."
-
Strict engine independence.
scan_ai_security,scan_tenant_isolation,verify_llm_content, andcheck_deploy_securityNEVER automatically invoke one another. Each is selected on its own semantic merit.
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.
- 4d ago First seen · 229 lines · 2,730 tokens per session scan A 66d7fb43ff6b
ai-appsec AGENTS.md is an instructions file published in the GitHub repository subodhkc/ai-appsec (4 stars, last pushed 14d ago), licensed MIT. It adds 2,730 tokens to every session, about $0.0136 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-31.
Other instructions, from other repositories
arcjet-js AGENTS.md
Instructions for arcjet/arcjet-js, covering agent guidance, examples live in arcjet/examples and integration work: review before a pr.
skilltotal CLAUDE.md
Claude Code instructions for pezhik/skilltotal, covering claude.md, project, commands, install (editable) + dev deps and run one test file / one test.
MCP-Sentinel AGENTS.md
Instructions for BashaarJavaid/MCP-Sentinel, covering agents.md, project, where things live, conventions and commands.
gauntlex AGENTS.md
AGENTS.md instructions for sanjoy1234/gauntlex, covering agents.md, what this project is, setup, running the test suite and key cli commands an agent will typically need.
stride-gpt AGENTS.md
AGENTS.md instructions for mrwadams/stride-gpt, covering agents.md, what this project is, repository layout, how the agentic analysis works and progressive disclosure pattern.
shipproof AGENTS.md
AGENTS.md instructions for kingggg5/shipproof, covering agents.md, what this repository is, non-negotiable rules, verify before declaring done and where things live.