socket-mcp: Instructions file for Codex

AGENTS.md

socket-mcp AGENTS.md is an instructions file for Codex, OpenCode from SocketDev/socket-mcp. It costs 180 tokens per session, scanned A, original, MIT.

A repository instruction file for a SocketDev MCP server project, defining rules for shared checkouts, ownership claims, branch handling, and cross-repository changes. An MCP server connects an AI agent to an external tool or service.

In plain words
What is it for?
Use it as operating guidance when making changes in the repository, especially during concurrent work or when creating worktrees and claiming paths.
Why use it?
It helps multiple coding sessions avoid editing the same files or changing shared Git state unexpectedly. It also records project-specific rules that agents must follow.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is SocketDev/socket-mcp's own configuration. It tells Codex and OpenCode how to work on socket-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything socket-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to SocketDev/socket-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.

Copy the file
curl -O https://raw.githubusercontent.com/SocketDev/socket-mcp/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/SocketDev/socket-mcp

Made for: Codex, OpenCode.

Wrote 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.

agentmods badge for socket-mcp AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/socketdev/socket-mcp/agents-md/github.svg)](https://agentmods.dev/instructions/socketdev/socket-mcp/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/socketdev/socket-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/socketdev/socket-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.

agentmods 80×15 button for socket-mcp AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/socketdev/socket-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/socketdev/socket-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 180 This file is loaded in full into every session.
When invoked 180 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00180 $0.00180
Opus 5.5 $0.00072 $0.00072
Sonnet 5.5 $0.00036 $0.00036
Haiku 4.5 $0.00018 $0.00018

Measured 27d ago against content hash 150c63180e02, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

socket-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 27d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

AGENTS.md · 11 lines

What it actually says

Repository instructions

  • Use pnpm from the repository root.
  • Run pnpm run repo:check and pnpm test after code changes.
  • Keep generated build output out of commits.
  • Use Conventional Commit messages.
  • Run pnpm run fmt before pnpm run lint.
  • Run pnpm run check for formatting, lint, type, build, manifest version, and content-scan checks.
  • pnpm install points core.hooksPath at .git-hooks/. pre-commit scans staged files for secrets, personal paths, and private repository names; commit-msg requires a Conventional Commit subject and rejects AI attribution lines; pre-push runs pnpm run repo:type.
  • Use pnpm run fmt <paths...> and pnpm run lint <paths...> for focused work.
Changes

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.

  1. 27d ago Changed · -172 lines · -7,004 tokens per session 150c63180e02
  2. 1mo ago Changed · +11 lines · -36 tokens per session 129d6daa949a
  3. 1mo ago Changed · +1 lines · -8 tokens per session 1a962b718a78
  4. 1mo ago Changed · -1 lines 8442c833eedc
  5. 1mo ago Changed · -7 tokens per session d052b71c7639
  6. 1mo ago Changed · +6 lines · +79 tokens per session 8c573d6679d9
  7. 2mo ago First seen · 166 lines · 7,156 tokens per session scan A 69d2cbcc41f8

Subscribe to this mod's changes

socket-mcp AGENTS.md is an instructions file published in the GitHub repository SocketDev/socket-mcp (142 stars, last pushed yesterday), licensed MIT. It adds 180 tokens to every session, about $0.0007 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-10-02.

Related

socket-mcp AGENTS.md compared with instructions from other repositories

socket-mcp AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
socket-mcp AGENTS.mdSocketDev/socket-mcpInstructions file142yesterdayMITA180Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109kyesterdayMITA3,077GitHub Copilot