Borrowing it
Nothing to install: this file belongs to ai-cooperation/tapcard-mcp. 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/ai-cooperation/tapcard-mcp/main/AGENTS.mdgit clone --depth 1 https://github.com/ai-cooperation/tapcard-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/ai-cooperation/tapcard-mcp/agents-md)<a href="https://agentmods.dev/instructions/ai-cooperation/tapcard-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/ai-cooperation/tapcard-mcp/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/ai-cooperation/tapcard-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/ai-cooperation/tapcard-mcp/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.01377 | $0.01377 |
| Opus 5 | $0.00688 | $0.00688 |
| Sonnet 5 | $0.00275 | $0.00275 |
| Haiku 4.5 | $0.00138 | $0.00138 |
Grade A, and why
tapcard-mcp AGENTS.md scanned grade A with 1 finding 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 8d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -X PUT "<URL>/api/profile" -H "Authorization: Bearer $ADMIN_TOKEN" \ How it starts
The opening of the file, as written. The whole thing — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md — TapCard MCP 部署引導(跨 CLI)
你是導遊不是裁判:每一關綠燈由機械驗證判定。同一步驟失敗 3 次即停,記錄卡點。使用者確認不超過 3 次。 自主修復邊界照 spec v0.3.0 的 AGT-1/2/3:可補裝缺漏開發依賴、生成型別、對傳播期暫態重試,但每次修復必須記入報告;不得改服務邏輯、放寬驗收或跳過閘門。
本專案為 SmallGreen Path A(原生採用):契約三檔與本引導隨程式碼同 repo,無 adapter 層。
前置
依 .smallgreen/profile.yaml 的 build_requirements:
- node 20+、npm;
CLOUDFLARE_API_TOKEN+CLOUDFLARE_ACCOUNT_ID(Workers+D1+R2+KV Edit 權限) - 帳號需已啟用 R2(未啟用時建 bucket 會 error 10042,僅 dashboard 可開)
- 閘門指令(乾淨環境須全數 exit 0,CON-8):
npx wrangler types→npm run typecheck→npm test。順序不可調換——typecheck 依賴 wrangler types 生成的worker-configuration.d.ts(生成物不入庫)
步驟
1. 說明與同意(確認 1)
讀 .smallgreen/profile.yaml 向使用者說明:這是自架的 NFC/QR 電子名片+私人名片庫。公開面只有 /p/:slug(個人簡介、contact.json、vCard、QR);私人面(收到的名片、縮圖、MCP)全部需要 token。所有資料存在自己帳號的 D1/R2/KV,無第三方後端、無遙測。NFC 卡只寫入穩定網址,資料更新不必重寫卡片。
2. 組裝
git clone <本 repo> tapcard-mcp && cd tapcard-mcp
npm install
wrangler.jsonc 隨 repo 提供零值佔位版(SAP-1 需要可靜態判定的資源宣告);下一步填入真實 ID。填完建議 git update-index --skip-worktree wrangler.jsonc。
3. 建立 Cloudflare 資源並填 ID
npx wrangler d1 create tapcard-mcp
npx wrangler r2 bucket create tapcard-mcp-assets
npx wrangler kv namespace create CARD_KEYS
把 D1 database_id 與 KV id 填入 wrangler.jsonc,並設定 vars 的 PUBLIC_BASE_URL(部署後的 URL)。
4. 閘門、migration 與部署(確認 2)
npx wrangler types && npm run typecheck && npm test # CON-8 閘門,順序固定
npx wrangler d1 migrations apply tapcard-mcp --remote # 三個 migration:contacts/FTS/public_profiles
npx wrangler deploy
printf "%s" "<32+ 字元亂數>" | npx wrangler secret put ADMIN_TOKEN
部署後約 60 秒內可能遇到 1042 傳播期暫態(GET 已通但 POST 尚未),重試即可——這屬 AGT-1 允許的 transient-retry,記入報告即可。
5. 建立公開簡介並驗收(確認 3)
先用 ADMIN_TOKEN 建立自己的公開簡介(slug 規則:小寫英數與連字號,開頭結尾須為英數):
curl -X PUT "<URL>/api/profile" -H "Authorization: Bearer $ADMIN_TOKEN" \
-H "Content-Type: application/json" -d '{"slug":"me","name":"你的名字","headline":"一句話簡介"}'
欄位以 src/core/profile.ts 的 PublicProfileSchema 為準(.strict()——多送未定義欄位會 400):必填 slug+name,其餘如 headline/bio/org/title/emails/phones/links/public_fields 為選填。不是 display_name(A-01 run 實測:送 display_name 回 400 Invalid public profile)。
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.
- 8d ago First seen · 75 lines · 1,377 tokens per session scan A 9fca913e8a35
tapcard-mcp AGENTS.md is an instructions file published in the GitHub repository ai-cooperation/tapcard-mcp (0 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 1,377 tokens to every session, about $0.0069 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
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.
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.
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).
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).
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.
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.