grok-faf-mcp: Instructions file for Codex

AGENTS.md

grok-faf-mcp AGENTS.md is an instructions file for Codex, OpenCode from Wolfe-Jam/grok-faf-mcp. It costs 713 tokens per session, scanned A, original, MIT.

Project instructions for grok-faf-mcp, a TypeScript MCP service that gives xAI Grok persistent project context. MCP is a standard for connecting AI systems to external tools and services.

In plain words
What is it for?
Use them when developing, deploying, or maintaining grok-faf-mcp, including its Node.js, Cloudflare Workers, TypeScript, MCP, and GitHub Actions setup.
Why use it?
They provide the project's context, technology choices, deployment locations, compatibility details, and current version information so work follows the repository's intended design.

Instructions file for CodexOpenCode

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

This is Wolfe-Jam/grok-faf-mcp's own configuration. It tells Codex and OpenCode how to work on grok-faf-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 grok-faf-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Wolfe-Jam/grok-faf-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/Wolfe-Jam/grok-faf-mcp/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/Wolfe-Jam/grok-faf-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 grok-faf-mcp AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/wolfe-jam/grok-faf-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/wolfe-jam/grok-faf-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 713 This file is loaded in full into every session.
When invoked 713 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.00713 $0.00713
Opus 5.5 $0.00285 $0.00285
Sonnet 5.5 $0.00143 $0.00143
Haiku 4.5 $0.00071 $0.00071

Measured today against content hash ac7015e4e58f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

grok-faf-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 today.

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.

AGENTS.md · 81 lines

How it starts

The opening of the file, as written. The whole thing — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md — grok-faf-mcp

Persistent project context for xAI Grok. The first MCP for Grok — Grok asked for MCP on a URL. — TypeScript · type: mcp · v2.2.0

Authored by faf — do not edit the managed block; refresh with faf export --agents. Hand-written content outside the managed block is preserved.

Setup & build

npm run build    # build
npm run dev    # dev
npm run start    # start

Run the tests

npm run test
npm run lint

Where things live

  • package.json
  • src/index.ts
  • src/index.js
  • src/cli.ts
  • README.md
  • tsconfig.json
  • wrangler.toml
  • vercel.json

Conventions

  • TypeScript strict mode (tsconfig.json)
  • Style enforced by ESLint · Prettier — obey the configs

Guardrails

  • Always OK: read the tree · run the tests (npm run test) · build the project · npm run lint.
  • Ask first: dependency installs, deletions, migrations, schema changes, publish/release.
  • Never: force-push · push straight to main (branch and open a PR) · commit secrets.

Definition of Done

Done when: npm run lint exits 0 · npm run test passes · changes committed with a conventional message.

When stuck

Ask a clarifying question, propose a short plan, or open a draft PR with notes — do not push large speculative changes to main.

Security & secrets

  • Secrets live in .env. Never read or commit them.

Commit & PR

  • Conventional Commits preferred (feat:, fix:, chore:, …).
  • Branch off main and open a PR — never commit to main directly.
  • If build/test scripts or layout change, refresh this file in the same PR (faf export --agents).

Stack

  • Backend: MCP SDK (TS)
  • API: MCP (stdio + Streamable HTTP)
  • Runtime: Node.js
  • Hosting: Cloudflare Workers
  • Build: TypeScript (tsc)
  • CI/CD: GitHub Actions

Read the full file on GitHub · 81 lines

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. today Changed ac7015e4e58f
  2. 16d ago Changed · +6 lines · +149 tokens per session e44f92cb4e6b
  3. 22d ago Changed · -50 tokens per session 609deaea18b9
  4. 1mo ago Changed · +44 lines · +48 tokens per session 31fe61951556
  5. 1mo ago First seen · 31 lines · 566 tokens per session scan A d7117d7b6752

Subscribe to this mod's changes

grok-faf-mcp AGENTS.md is an instructions file published in the GitHub repository Wolfe-Jam/grok-faf-mcp (19 stars, last pushed today), licensed MIT. It adds 713 tokens to every session, about $0.0029 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.

Related

Other instructions, from other repositories