Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/dfradehubs/agentgram/claude-mdgit clone --depth 1 https://github.com/dfradehubs/agentgramWrote 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/dfradehubs/agentgram/claude-md)<a href="https://agentmods.dev/instructions/dfradehubs/agentgram/claude-md"><img src="https://agentmods.dev/badge/instructions/dfradehubs/agentgram/claude-md.svg" alt="Measured on agentmods" 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 | $0.01457 | $0.01457 |
| Opus 5 | $0.00728 | $0.00728 |
| Sonnet 5 | $0.00291 | $0.00291 |
| Haiku 4.5 | $0.00146 | $0.00146 |
Grade A, and why
agentgram CLAUDE.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 4d 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 — 138 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Project Overview
Agentgram is a unified interface for interacting with multiple AI agents. The system consists of:
- API (Go): Multiplexer that connects to remote agents, handles authentication (Keycloak JWT), permissions (Google Workspace groups/users), and emits AG-UI protocol events
- Web (Next.js + SSE/AG-UI): User interface for chatting with agents
Repository Structure
agentgram/
├── api/ # Go API (multiplexer)
│ ├── cmd/server/ # Entry point
│ ├── internal/ # Core packages
│ ├── configs/ # YAML configuration
│ ├── docker/ # Docker compose for dev environment
│ └── test/ # Mock agent and test frontend
├── web/ # Next.js web with SSE/AG-UI
└── Makefile # Root commands
Quick Start
# Full environment with Docker (api + mock agents + test frontend)
make docker-up
# Or run separately:
make api # Terminal 1: Go API on :8080
make web # Terminal 2: Next.js on :3000
Architecture
┌──────────────────────┐ ┌─────────────────────┐ ┌─────────────────┐
│ Web │────>│ API │────>│ Agent (Custom) │
│ (Next.js+SSE/AG-UI)│<────│ (Go Multiplexer) │<────│ SSE or JSON │
└──────────────────────┘ │ │ └─────────────────┘
↑ │ - JWT Auth │ ┌─────────────────┐
AG-UI Events │ - Permissions │────>│ Agent (A2A) │
│ - AG-UI Response │<────│ JSON-RPC │
│ - Session Store │ └─────────────────┘
└─────────────────────┘
Key Design Decisions
- AG-UI Protocol: API emits AG-UI events (
RUN_STARTED,TEXT_MESSAGE_*,RUN_FINISHED) that SSE/AG-UI consumes directly - Protocol Abstraction: Web doesn't know if agent uses REST or A2A - API handles conversion
- Sessions in Redis: The API manages sessions directly via
store.SessionStore(Redis); agents are stateless with respect to sessions - Permission Model: Access controlled by Google Workspace groups + individual users per agent
- Configuration: Bootstrap and secret-bearing configuration lives in YAML with
${ENV:VAR}syntax; operational settings that admins can tune at runtime live in theruntime_configdatabase table - Security Layers: Security headers, body size limits, JWT audience+nonce validation, rate limiting, sanitized error responses
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.
- 4d ago First seen · 138 lines · 1,457 tokens per session scan A 251d169b8557
agentgram CLAUDE.md is an instructions file published in the GitHub repository dfradehubs/agentgram (20 stars, last pushed 13d ago), licensed MIT. It adds 1,457 tokens to every session, about $0.0073 per session on Opus 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.
Other instructions, from other repositories
awaken CLAUDE.md
Claude Code instructions for awakenworks/awaken, covering core rules, pre-implementation checks, implementation cycle (per section), completion notes and planning & discussion rules.
awaken AGENTS.md
AGENTS.md instructions for awakenworks/awaken, a project described as: AI agent runtime for Rust — type-safe state, multi-protocol serving, plugin extensibility.
documentdb-mcp AGENTS.md
Instructions for Knuckles-Team/documentdb-mcp, covering agents.md, tech stack & architecture, architecture diagram, workflow diagram and commands (run these exactly).
jellyfin-mcp AGENTS.md
Instructions for Knuckles-Team/jellyfin-mcp, covering agents.md, tech stack & architecture, architecture diagram, workflow diagram and commands (run these exactly).
nextcloud-agent AGENTS.md
AGENTS.md instructions for Knuckles-Team/nextcloud-agent, covering agents.md, tech stack & architecture, architecture diagram, workflow diagram and commands (run these exactly).
jellyfin-mcp CLAUDE.md
Instructions for Knuckles-Team/jellyfin-mcp: Guidance for Claude Code (claude.ai/code) when working in this repository.