Borrowing it
Nothing to install: this file belongs to scottlz0310/mcp-resource-subscriber. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/scottlz0310/mcp-resource-subscriber/main/AGENTS.mdgit clone --depth 1 https://github.com/scottlz0310/mcp-resource-subscriberWrote 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/scottlz0310/mcp-resource-subscriber/agents-md)<a href="https://agentmods.dev/instructions/scottlz0310/mcp-resource-subscriber/agents-md"><img src="https://agentmods.dev/badge/instructions/scottlz0310/mcp-resource-subscriber/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/scottlz0310/mcp-resource-subscriber/agents-md"><img src="https://agentmods.dev/badge/instructions/scottlz0310/mcp-resource-subscriber/agents-md.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.01681 | $0.01681 |
| Opus 5.5 | $0.00672 | $0.00672 |
| Sonnet 5.5 | $0.00336 | $0.00336 |
| Haiku 4.5 | $0.00168 | $0.00168 |
Grade A, and why
mcp-resource-subscriber 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 9d 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 — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
プロジェクトの目的
resource-bridge-cli は、MCP resourceを購読して結果を同じLLMセッションへ返すCLIクライアント。公開binは dist/src/client/cli.js。シェルで実行し、MCPサーバーとして登録・探索しない。GitHub repo名は mcp-resource-subscriber を維持する。
- 購読:
subscriptions/listen→ ack/URI受理検証 → 更新通知 → 再read → stream close。既完了raceも扱う。 call: 単発tools/call。enqueueなどに使い、購読と同じ認証を再利用する。- 認証:
--login/--logout、SQLiteキャッシュ、期限切れtokenのrefresh/rotation。 src/server/: 統合テスト用fixture。製品のMCPサーバー機能ではない。
protocolは 2026-07-28 に固定し、legacyへフォールバックしない。URIは --uri または MCP_PROBE_URI で明示し、未指定は RESOURCE_URI_REQUIRED。旧手動probeスクリプトは廃止した。
必須コマンド
現行 package.json とCIを正本とする。Node >=26.10.0、[email protected]。lockfileは pnpm-lock.yaml のみ。
pnpm install --frozen-lockfile
pnpm run check
pnpm run build
pnpm run test:coverage
pnpm run typecheck
pnpm test
pnpm run format
pnpm pack
# fixtureの手動確認
pnpm run dev
pnpm run start
node dist/src/client/cli.js --url http://127.0.0.1:8089/mcp --uri test://review/status --json
docker compose up --build
CI順序は install → check → build → test:coverage → docker build。Publishの検証は install → check → build → typecheck → test → pack/配布CLI検証 → npm公開 → 公開tarball再取得。準備・draft・finalizeと許可の境界は docs/release-automation.md に従う。dist/** はVitestの収集から除外し、build後の二重実行を避ける。既存のpnpm/Biome/tsc/Vitest/lefthookを維持する。
コードと契約
src/client/cli.ts: bin、引数・認証・JSON/行形式・終了コード。subscriptionClient.ts:runResourceSubscription、ResourceSubscriptionOptions/ResourceSubscriptionResult。uriは必須。callClient.ts/callJsonOutput.ts: 単発tool呼び出しと出力。jsonOutput.ts/networkErrorClassification.ts: 購読出力と通信エラー分類。protocolNegotiation.ts: protocol固定、negotiation失敗の正規化。auth/tokenStore.ts/oauthClient.ts/gatewayAuth.ts: キャッシュ・OAuth・refresh制御。
相対importは .js 拡張子。moduleResolution: NodeNext、rootDir: . で、src/testを同じ構造のままdistへ出力する。配布はclientだけ。runResourceSubscription を利用するプログラムは新module pathと明示URIへ移行する。恒久的な旧名wrapperは追加しない。
JSON、終了コード、認証キャッシュ・環境変数は利用先の契約。購読は成功0/失敗1、callは成功0/toolエラー1/認証2/通信・引数3。call はtransport close後に process.exitCode で自然終了する。強制 process.exit() はWindowsのlibuv終了raceを起こすため使用しない。
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.
- 9d ago Changed · +44 tokens per session 8dfa05905c9f
- 28d ago Changed · -91 lines · -3,489 tokens per session 221c2cc694fc
- 2mo ago First seen · 165 lines · 5,126 tokens per session scan A b74c83d0a3f4
mcp-resource-subscriber AGENTS.md is an instructions file published in the GitHub repository scottlz0310/mcp-resource-subscriber (0 stars, last pushed yesterday), licensed MIT. It adds 1,681 tokens to every session, about $0.0067 per session on Opus 5.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).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
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 copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).
deepseek-harness AGENTS.md
AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.