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/poad/aws-mcp-lambda-server/agents-mdgit clone --depth 1 https://github.com/poad/aws-mcp-lambda-serverWhat 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.00995 | $0.00995 |
| Opus 5 | $0.00498 | $0.00498 |
| Sonnet 5 | $0.00199 | $0.00199 |
| Haiku 4.5 | $0.00100 | $0.00100 |
Grade A, and why
aws-mcp-lambda-server 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 yesterday.
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.
What it actually says
AGENTS.md
このリポジトリでエージェントが守るべきルール・コマンド一覧です。
ビルド・Lint・テストコマンド
- 全体ビルド:
pnpm -r --parallel --if-present build - Lint:
pnpm -r --parallel --if-present lint - Lint自動修正:
pnpm -r --parallel --if-present lint-fix - platformテスト:
pnpm --filter platform test(単一テストはvitest run path/to/test.ts) - client開発:
pnpm --filter client dev
コードスタイル・規約
- インデントはスペース2、LF改行、UTF-8、ファイル末尾に改行
- セミコロン必須、シングルクオート、複数行カンマ必須
- アロー関数は常に括弧
- 型は厳格(noImplicitAny, strict, strictNullChecks)、any/unknown禁止
- ライブラリ提供のクラス以外のクラスは原則禁止(Error継承など必要時のみ)
- importはtypescript/node解決、内部パスは
^~/や@/*を使用 - エラー処理はtry/catch、Promiseはeslint-plugin-promise推奨
- 命名はキャメルケース、型はパスカルケース
- ハードコーディング禁止(必要時のみ)
- コードの自動整形はeslint, editorconfigに従う
- Markdownはmarkdownlint-cli2に従う
- 依存関係の更新はdependabotで行われるが、
pnpm up -rでの更新は可 pnpm auditによる依存パッケージの脆弱性チェック実施は必須- 変数の破壊的再代入は禁止
セキュリティベストプラクティス
- 認証情報のハードコーディング禁止
- APIキー、シークレットキー、パスワード等は環境変数やAWS Secrets Manager、Parameter Store等から取得する。開発環境では
.envファイルを使用可能だが、.gitignoreに含めコミットしない。本番環境では環境変数またはAWSのマネージドサービスを使用する。 - 静的解析ツール(例:
git-secrets,truffleHog)を使用してコミット前に認証情報の漏洩を検出する。
- APIキー、シークレットキー、パスワード等は環境変数やAWS Secrets Manager、Parameter Store等から取得する。開発環境では
- 入力検証
- 外部から受け取る全データは型チェック・バリデーションを行う。
zodやyup等を活用し、数値・文字列・日付の形式・範囲を明示的に検証する。
- 外部から受け取る全データは型チェック・バリデーションを行う。
- 出力エスケープ
- HTML/JSONなどクライアントへ返すデータは適切にエスケープし、XSS攻撃を防止。フロントエンドでもサニタイズライブラリを活用する。
- 最小権限の原則
- IAMロール・ポリシーは必要最低限の権限のみ付与し、過剰な権限付与を避ける。Lambda関数やEC2インスタンスに付与するロールはスコープを絞る。
- 依存関係の安全性
- 定期的に
pnpm auditを実行し、脆弱性が報告されたパッケージは即時更新する。dependabotのプルリクエストを活用する。
- 定期的に
- 秘密情報のロギング回避
- エラーログやデバッグログに認証情報・個人情報を含めない。ログ出力時はマスク処理やフィルタリングを実装する。
- コードレビューと自動テスト
- セキュリティチェック(Static Analysis, SAST)を CI に組み込み、プルリクエスト時に自動的に検証する。ユニットテスト・統合テストで入力検証ロジックを網羅的にテストする。
備考
- ルール追加時は本ファイルを更新してください
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.
- yesterday First seen · 51 lines · 995 tokens per session scan A 5404fad4459a
aws-mcp-lambda-server AGENTS.md is an instructions file published in the GitHub repository poad/aws-mcp-lambda-server (0 stars, last pushed yesterday), licensed MIT. It adds 995 tokens to every session, about $0.0050 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
serverless-full-stack-webapp-starter-kit AGENTS.md
AGENTS.md instructions for aws-samples/serverless-full-stack-webapp-starter-kit, covering agents.md, commands, install all dependencies, webapp and cdk.
vscode design-philosophy.instructions.md
VS Code design philosophy — the shared Values→Principles→Moves vocabulary for reasoning about UI in design terms rather than raw pixels. Use when creating, editing, or reviewing any visual surface (CSS, DOM, theming, icons, motion). Name the value/principle before reaching for a token.
deepagents AGENTS.md
Instructions for langchain-ai/deepagents, covering global development guidelines for the deep agents monorepo, corridor security analysis, development workflow, suppressing ruff rules and pr conventions.
walkerOS CLAUDE.md
Instructions for elbwalker/walkerOS, covering claude.md and important: use agent.md.
huly-mcp CLAUDE.md
Instructions for dearlordylord/huly-mcp, covering project instructions, design principle: llm-first api, project harness (copy to new projects), package manager and verification.
movi-player AGENTS.md
Instructions for MrUjjwalG/movi-player, covering agents.md — movi-player for ai coding assistants, 1. what this is, 2. package entry points, 3. architecture map and 4. the web component .