Borrowing it
Nothing to install: this file belongs to chainbase-labs/Agentkey. 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/chainbase-labs/Agentkey/main/AGENTS.mdgit clone --depth 1 https://github.com/chainbase-labs/AgentkeyWrote 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/chainbase-labs/agentkey/agents-md)<a href="https://agentmods.dev/instructions/chainbase-labs/agentkey/agents-md"><img src="https://agentmods.dev/badge/instructions/chainbase-labs/agentkey/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/chainbase-labs/agentkey/agents-md"><img src="https://agentmods.dev/badge/instructions/chainbase-labs/agentkey/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.03953 | $0.03953 |
| Opus 5.5 | $0.01581 | $0.01581 |
| Sonnet 5.5 | $0.00791 | $0.00791 |
| Haiku 4.5 | $0.00395 | $0.00395 |
Grade A, and why
Agentkey 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 2mo 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 — 148 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
This file provides guidance to coding agents (Codex, and any AGENTS.md-aware tool) when working with code in this repository. It mirrors .claude/CLAUDE.md — keep the two in sync.
What This Repo Is
AgentKey Skill ships the agent-side half of AgentKey: a single skill that teaches agents how to call the AgentKey MCP tools correctly.
AgentKey has two pieces and a full end-user install is two commands:
npx skills add chainbase-labs/agentkey— installs this skill. It does NOT register the MCP server.npx -y @agentkey/cli --auth-login— runs the AgentKey CLI (@agentkey/clifrom../AgentKey-Server/cli). It mints an API key via device-code login and writes a remote-HTTP MCP block (pointing athttps://api.agentkey.app/v1/mcp) into agent configs (Claude Code, Codex, Cursor, and 13 more). The hosted MCP server itself lives at/v1/mcpon AgentKey-Server.
The skill is useless without the MCP server; the MCP server works without the skill but the agent won't know to prefer it over built-in web search. Keep this mental model when editing docs — do not let either command drift into claiming it does both.
The same repo also works as:
- a Claude Code plugin (
.claude-plugin/plugin.json+ root.mcp.json) — the remote HTTP entry has no static authentication header, so Claude Code follows the server's 401/RFC 9728 metadata into its native MCP OAuth flow, substituting for step 2. - a Codex plugin (
.codex-plugin/plugin.json+.codex-plugin/mcp.json, distributed through.agents/plugins/marketplace.json; the repo is its own marketplace:codex plugin marketplace add chainbase-labs/agentkey). Codex plugins have nouserConfig/header-interpolation mechanism, so auth uses MCP OAuth via the server's RFC 9728 metadata discovery (type+urlonly in mcp.json), substituting for step 2. - a Cursor plugin (
.cursor-plugin/plugin.json). The Cursor-native manifest bundlesskills/and an inline remote-HTTP MCP entry. Cursor authenticates through the server's MCP OAuth discovery, substituting for step 2. - a Kimi Code plugin (
.kimi-plugin/plugin.json). Kimi requiresmcpServersto be an inline object in the manifest. The remote AgentKey endpoint uses Kimi's native MCP OAuth flow; after install Kimi shows the standard/reloadhint, then the user signs in with/mcp-config login plugin-agentkey:agentkeywhen Kimi reports that OAuth is required. - a Gemini CLI extension (root
gemini-extension.json+skills/). Gemini requires the manifest at the extension root, discovers bundled agent skills automatically, and connects to AgentKey withhttpUrlplus native MCP OAuth discovery.oauth.enabledrequests the browser flow automatically;/mcp auth agentkeyis the manual fallback. Either substitutes for step 2. - an Antigravity 2.0 and Antigravity CLI plugin (root
plugin.json+mcp_config.json+skills/). Both runtimes use the same package, requireserverUrlfor remote MCP, and authenticate through automatic OAuth discovery. - a CLI-managed DeepSeek Harness integration. The installers detect
${DSH_HOME:-~/.dsh}/dsh, install the skill globally through the Skills CLI'suniversaltarget (neverskills add -a dsh), and let@agentkey/cli --auth-login --only dshmaintain one marked@deepseek-ai/dsh-mcp-cliententry in$DSH_HOME/cordis.patch.yml. DSH composes that home layer over current and future profiles; running processes watch it through HMR. DSH rc.7 has no MCP OAuthauthProvider, so this path requires the CLI-written Bearer key. Tool policy may still hide tools.
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.
- 2mo ago First seen · 148 lines · 3,953 tokens per session scan A 99c8cd6a00a6
Agentkey AGENTS.md is an instructions file published in the GitHub repository chainbase-labs/Agentkey (657 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 3,953 tokens to every session, about $0.0158 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-30.
Agentkey AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| Agentkey AGENTS.mdchainbase-labs/Agentkey | Instructions file | 657 | 2mo ago | Apache-2.0 | A | 3,953 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |