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/physics91/openrouter-mcp/agents-mdgit clone --depth 1 https://github.com/physics91/openrouter-mcpWrote 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/physics91/openrouter-mcp/agents-md)<a href="https://agentmods.dev/instructions/physics91/openrouter-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/physics91/openrouter-mcp/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.01088 | $0.01088 |
| Opus 5 | $0.00544 | $0.00544 |
| Sonnet 5 | $0.00218 | $0.00218 |
| Haiku 4.5 | $0.00109 | $0.00109 |
Grade A, and why
openrouter-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 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 — 40 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS
에이전트 한국어 응답 규칙
- 기본 응답은 한국어로 작성한다.
- 사용자가 명시적으로 다른 언어를 요청하면 해당 언어로 응답한다.
- 코드, 파일 경로, 명령어, 옵션명, 고유명사는 원문 표기를 유지한다.
- 기술 용어는 가능한 한 한국어로 설명하되, 필요 시 괄호로 영문 용어를 병기한다.
- 길고 장황한 표현은 피하고, 간결하고 명확하게 답한다.
커밋 메시지 작성 규칙
- 모든 커밋 메시지는 영어로 작성한다.
- Conventional Commits 형식을 유지한다.
로컬 스킬 트리거
build: 코드 품질 게이트(ruff/black/isort 점검 또는 자동 수정)가 필요할 때 사용한다.test: 테스트 스위트 실행, assurance 게이트 재현, 실패 분석, 커버리지 점검이 필요할 때 사용한다.deploy: npm 배포 준비/실행, 릴리스 확인, 패키지 메타데이터/placeholder 검증이 필요할 때 사용한다.git-worktree: 병렬 작업용 worktree 생성/정리/복구가 필요할 때 사용한다.security-ops: API key 저장/회전/삭제,security-audit, 보안 문서 placeholder 점검이 필요할 때 사용한다.mcp-config-ops: Claude Desktop/Code 설치, MCP 설정 백업/복원, config drift 점검이 필요할 때 사용한다.resilience-policy: 집단지성 계층의 동시성/쿼터/회로차단/cleanup 정책 변경이나 검증이 필요할 때 사용한다.- 상세 절차는 각 스킬 문서(
.agents/skills/{build,test,deploy,git-worktree,security-ops,mcp-config-ops,resilience-policy}/SKILL.md)를 단일 기준으로 따른다.
멀티에이전트 운영 지침
- 기본 원칙: 단일 에이전트+도구 구성을 먼저 극대화한다. 복잡도/성능 이득이 명확할 때만 멀티에이전트로 확장한다.
- 전환 기준 1: 프롬프트의 조건 분기가 많아져 단일 에이전트 유지보수가 어려울 때 분리한다.
- 전환 기준 2: 유사/중복 도구로 오호출이 반복될 때 역할별 에이전트로 분리한다.
- 전환 기준 3: 서로 독립적인 하위 작업을 병렬 실행해 지연 시간을 줄일 수 있을 때 확장한다.
- 패턴 선택: 중앙 통제·최종 합성·공통 guardrail/rate-limit이 필요하면
Manager패턴을 사용하고, 메인 에이전트가spawn_agent/send_input/wait로 서브에이전트를 조율한다. - 패턴 선택: 트리아지 후 담당 전환이 유리하면 handoff를 사용하되, 현재 환경에서는
send_input기반 이관(요약 포함)으로 구현한다. - 역할 설계: 각 서브에이전트는 단일 책임으로 정의하고, 이름/설명에 호출 조건과 비호출 조건을 함께 명시한다.
- 인터페이스 설계: 가능한 경우 JSON 구조 출력으로 고정한다.
spawn_agents_on_csv사용 시output_schema를 필수로 두고, 일반spawn_agent흐름은 호출 측 검증으로 계약을 강제한다. - 컨텍스트 설계: handoff 시 전체 이력을 무조건 전달하지 말고, 요약/필터로 필요한 문맥만 전달한다.
- 규모 설계: 고정 소수 에이전트(권장 3~7, 최대 10)는 명시 열거한다. 필요 이상 동적 증식은 금지하고, 추가 풀은 목적/종료 조건을 함께 선언한다.
- 실행 설계: 의존 작업은 순차(sync), 독립 작업은 병렬(async)로 실행한다. 비동기 작업은
spawn -> wait(timeout_ms) -> 결과 병합/실패 처리순서를 표준으로 한다. - 품질 기준: 멀티에이전트 변경 시 eval을 선행 갱신하고 다회 실행으로 회귀를 확인한 뒤 적용한다.
- 관측 가능성: 모든 tool call/handoff는 trace 가능해야 하며, 실패 원인과 책임 에이전트를 식별할 수 있어야 한다.
- 종료/안전:
wait timeout_ms, 재시도 횟수, 실패 시 human escalation 조건을 명시하지 않은 워크플로는 배포하지 않는다. - 비용 가드: 토론형 다중 에이전트(MAD)는 기본값으로 사용하지 않고, 단순 투표/앙상블 대비 실측 이득이 있을 때만 선택적으로 활성화한다.
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 · 40 lines · 1,088 tokens per session scan A bbef84b5df17
openrouter-mcp AGENTS.md is an instructions file published in the GitHub repository physics91/openrouter-mcp (9 stars, last pushed 21d ago), licensed MIT. It adds 1,088 tokens to every session, about $0.0054 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
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
next.js AGENTS.md
Instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.