Borrowing it
Nothing to install: this file belongs to Scottpedia0/access. 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/Scottpedia0/access/main/AGENTS.mdgit clone --depth 1 https://github.com/Scottpedia0/accessWrote 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/scottpedia0/access/agents-md)<a href="https://agentmods.dev/instructions/scottpedia0/access/agents-md"><img src="https://agentmods.dev/badge/instructions/scottpedia0/access/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/scottpedia0/access/agents-md"><img src="https://agentmods.dev/badge/instructions/scottpedia0/access/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.01144 | $0.01144 |
| Opus 5.5 | $0.00458 | $0.00458 |
| Sonnet 5.5 | $0.00229 | $0.00229 |
| Haiku 4.5 | $0.00114 | $0.00114 |
Grade A, and why
access 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 1mo 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 -H "Authorization: Bearer $GLOBAL_AGENT_TOKEN" \ How it starts
The opening of the file, as written. The whole thing — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Access — Agent Instructions
For agents developing on this codebase
What this is
Access is a self-hosted credential store + API proxy + MCP server for agents and scripts. Next.js App Router + Prisma + PostgreSQL.
Architecture
src/app/api/v1/<service>/route.ts— proxy route handlers (Zod validation, auth, proxy upstream)src/lib/<service>/client.ts— upstream API client functionssrc/lib/access.ts— request authentication (global token, consumer token, session)src/lib/security/encryption.ts— AES-256-GCM encrypt/decrypt with key rotation supportsrc/lib/security/tokens.ts— HMAC-SHA256 consumer token generation and verificationsrc/lib/env.ts— environment variable helpers and encryption key loadingsrc/lib/audit.ts— audit event loggingsrc/middleware.ts— rate limiting and body size enforcementprisma/schema.prisma— data model (Service, Secret, Consumer, AccessGrant, AuditEvent, etc.)mcp-server.mjs— standalone MCP server exposing Google Workspace toolsscripts/rotate-keys.ts— encryption key rotation script
Key patterns
- Every route uses
isValidGlobalAgentToken()orauthenticateRequestActor()for auth - Every route has Zod schemas for input validation
- Every route catches errors with
process.env.NODE_ENV === "development"gating on details export const runtime = "nodejs"on all POST route handlers- Google services use
authenticateGoogleRequest()which handles multi-account resolution
Adding a new service adapter
- Create
src/lib/<service>/client.tswith API functions - Create
src/app/api/v1/<service>/route.tsfollowing the hubspot pattern - Add env vars to
.env.example - Update the Supported Services section in
README.md
Data model
Service— a registered service (name, slug, description, visibility mode)Secret— encrypted credential belonging to a service (envVarName, encryptedValue)Consumer— an agent identity (name, slug, hashed token)AccessGrant— links a consumer to a service or specific secretAuditEvent— log of every access, reveal, copy, login, and API callGoogleToken— OAuth tokens for Google multi-account broker
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.
- 1mo ago First seen · 115 lines · 1,144 tokens per session scan A fd394c8ef163
access AGENTS.md is an instructions file published in the GitHub repository Scottpedia0/access (0 stars, last pushed 6mo ago), licensed MIT. It adds 1,144 tokens to every session, about $0.0046 per session on Opus 5.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
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).
vscode model-prompts.instructions.md
Model-specific prompt authoring and registry guidelines.