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/contentful/contentful.net/agents-mdgit clone --depth 1 https://github.com/contentful/contentful.netWhat 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.00830 | $0.00830 |
| Opus 5 | $0.00415 | $0.00415 |
| Sonnet 5 | $0.00166 | $0.00166 |
| Haiku 4.5 | $0.00083 | $0.00083 |
Grade A, and why
contentful.net 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 2d 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 — 54 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent Guide
Read this file first. It tells you where to find context in this repo.
Quick Reference
| What you need | Where to look |
|---|---|
| How this repo is structured | ARCHITECTURE.md |
| How to build/test/contribute | CONTRIBUTING.md |
| Why decisions were made | docs/ADRs/ |
| What this repo does | README.md |
| PR review rules | .bito/guidelines/ |
| Active specs/work | docs/specs/ |
Sharp Edges & Invariants
- Never remove
netstandard2.0targeting without a breaking-change release — consumers depend on this for cross-platform compatibility. Any target framework change requires a major version bump and a CONTRIBUTING.md update. HttpClientis always injected by the caller, never instantiated internally — this is a deliberate design for testability and to respect ASP.NET Core'sIHttpClientFactorylifecycle. Do not change this pattern.- Serialization is Newtonsoft.Json, not
System.Text.Json— the public API surface (custom converters,[JsonProperty]attributes,JToken/JObjectusage) is deeply tied to Newtonsoft. A migration would be a breaking change. - Two NuGet packages must stay independently publishable —
contentful.csharp(core) andcontentful.aspnetcore(integration). The AspNetCore package references the core package; never create a circular dependency. - Version numbers are bumped manually in
.csprojfiles — there is no automated release pipeline. See CONTRIBUTING.md for the release procedure. - Rate-limit retries are built into the client — do not add external retry middleware without accounting for double-counting retries.
MaxNumberOfRateLimitRetriescontrols the budget. - The
Entry<T>pattern relies on property name matching for deserialization — field IDs in Contentful must match C# property names (case-insensitively). Renaming properties in models can silently break deserialization. - EU region support is configuration-only — pass
DirectApiUrlandManagementBaseUrlpointing toapi.eu.contentful.com. No code changes needed; never hardcode region-specific URLs in library code.
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.
- 2d ago First seen · 54 lines · 830 tokens per session scan A 425f0ddb72e5
contentful.net AGENTS.md is an instructions file published in the GitHub repository contentful/contentful.net (93 stars, last pushed 17d ago), licensed MIT. It adds 830 tokens to every session, about $0.0042 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
contentful.js AGENTS.md
Instructions for contentful/contentful.js, covering agent guide, quick reference, sharp edges & invariants, key conventions and integration points.
contentful.php AGENTS.md
Instructions for contentful/contentful.php, covering agent guide, quick reference, sharp edges & invariants, key conventions and integration points.
contentful-mcp-server AGENTS.md
AGENTS.md instructions for contentful/contentful-mcp-server, covering agent guide, quick reference, sharp edges & invariants, key conventions and integration points.
flowwink CLAUDE.md
Instructions for magnusfroste/flowwink, covering claude.md, commands, development (auto-runs migrations before starting), production build and lint.
contentful-sdk-core AGENTS.md
Instructions for contentful/contentful-sdk-core, covering agent guide, quick reference, sharp edges & invariants, key conventions and integration points.
notebooklm-py AGENTS.md
Instructions for teng-lin/notebooklm-py, covering repository guidelines, project structure & module organization, build, test, and development commands, coding style & naming conventions and testing guidelines.