skills AGENTS.md

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 CodexOpenCode

Install

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.

agentmods
npx agentmods add instructions/contentful/skills/agents-md
Clone the repo
git clone --depth 1 https://github.com/contentful/skills

Made for: Codex, OpenCode.

Per session 1,145 This file is loaded in full into every session.
When invoked 1,145 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.01145 $0.01145
Opus 5 $0.00573 $0.00573
Sonnet 5 $0.00229 $0.00229
Haiku 4.5 $0.00114 $0.00114

Measured 2d ago against content hash 5cc072a39ade, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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.

AGENTS.md · 119 lines

How it starts

The opening of the file, as written. The whole thing — 119 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 · 119 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. 2d 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 (39 stars, last pushed 3d ago), licensed MIT. It adds 1,145 tokens to every session, about $0.0057 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.