skills: Instructions file for Claude Code

AGENTS.md

skills AGENTS.md is an instructions file for Claude Code, Codex, OpenCode from contentful/skills. It costs 1,660 tokens per session, scanned A, original, MIT.

Project instructions for Contentful’s collection of reusable coding-agent skills. They define which files are distributed, how skills are structured, and how they should be named.

In plain words
What is it for?
Use them when adding, organising, naming, or checking skills in the Contentful skills repository.
Why use it?
They prevent contributors from packaging internal files by mistake or creating skills that do not meet the repository’s required format.

Instructions file for Claude CodeCodexOpenCode

Written for Claude Code and Codex and OpenCode: ${CLAUDE_SESSION_ID} variable, but also the file is AGENTS.md. Also seen: reads .claude/ paths; mentions .claude-plugin; mentions subagents.

This is contentful/skills's own configuration. It tells Claude Code, Codex and OpenCode how to work on skills 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 skills configures →

Reuse

Borrowing it

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

Made for: Claude Code, 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 skills AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/contentful/skills/agents-md"><img src="https://agentmods.dev/badge/instructions/contentful/skills/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,660 This file is loaded in full into every session.
When invoked 1,660 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.01660 $0.01660
Opus 5.5 $0.00664 $0.00664
Sonnet 5.5 $0.00332 $0.00332
Haiku 4.5 $0.00166 $0.00166

Measured 2mo ago against content hash 4b98165fddfc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

skills 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 2mo 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.

AGENTS.md · 163 lines

How it starts

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

Contentful Skills

Agent-agnostic project conventions for the contentful/skills repository.

Repository Structure

skills/                    Distributed to customers via `npx skills add contentful/skills`
.agents/skills/            Internal contributor skills — never distributed
.claude/skills             Symlink to .agents/skills/ for Claude Code discovery
.claude-plugin/            Plugin marketplace configuration

skills/ is the distribution boundary. Only its contents are installed to customer environments. Everything outside (AGENTS.md, .agents/, .claude-plugin/) stays in the repo.

The skills CLI discovers skills recursively, so subdirectories work correctly. Most skills are organized in a flat structure directly under skills/ (e.g., skills/contentful-personalization/). Closely related skills can be grouped under a domain folder, such as skills/contentful-apps/.

Skill Requirements

Every skill needs at minimum:

  • SKILL.md with valid YAML frontmatter (name + description)
  • package.json with name and version

Even documentation-only skills require both files.

Naming Conventions

  • Directory names: lowercase, hyphen-separated, prefixed with the domain (e.g., contentful-personalization, contentful-migration)
  • name field in SKILL.md frontmatter: must exactly match the immediate parent directory name
  • package.json name: @contentful/skill-<skill-name> (e.g., @contentful/skill-contentful-personalization)

Name Rules (agentskills.io spec)

  • 1-64 characters
  • Lowercase letters, numbers, and hyphens only
  • Must not start or end with a hyphen
  • Must not contain consecutive hyphens
  • Must match the parent directory name

Creating a New Skill

Use the skill-authoring internal skill for guidance. It covers SKILL.md authoring, directory structure, package.json format, script conventions, naming rules, and review checklists.

For code skills with scripts, see skill-authoring's script conventions section.

Read the full file on GitHub · 163 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. 2mo ago Changed · +44 lines · +515 tokens per session 4b98165fddfc
  2. 2mo ago First seen · 119 lines · 1,145 tokens per session scan A 5cc072a39ade

Subscribe to this mod's changes

skills AGENTS.md is an instructions file published in the GitHub repository contentful/skills (40 stars, last pushed today), licensed MIT. It adds 1,660 tokens to every session, about $0.0066 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

skills AGENTS.md compared with instructions from other repositories

skills AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
skills AGENTS.mdcontentful/skillsInstructions file40todayMITA1,660Claude Code, Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot