# agent-ready-link-headers

agent-ready-link-headers is a Claude Code skill that adds Link response headers to a site's homepage so AI agents can discover its API and documentation automatically.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 141 repo stars
- Author: fabricioctelles
- License: Apache-2.0 · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/fabricioctelles/skills/tree/HEAD/skills/agent-ready-cloudflare/link-headers/SKILL.md
- Updated: 2026-10-29
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/agent-ready-link-headers

## What it does

agent-ready-link-headers implements RFC 8288 and RFC 9727 by adding headers like `Link: </.well-known/api-catalog>; rel="api-catalog"` to your homepage without modifying your origin server. The skill works via Cloudflare Transform Rules or Workers, so deployment takes minutes.

It specifies which relation types to use (`api-catalog`, `service-desc`, `service-doc`, `describedby`) and how to validate the result through isitagentready.com — verification confirms that agents can actually discover you.

Installation depends on your platform: for Claude Code, run `npx skills add fabricioctelles/skills --skill link-headers -a claude-code`; for Codex, `npx skills add fabricioctelles/skills --skill link-headers -a codex`. After installation, the SKILL.md file is available in the skill's folder.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add fabricioctelles/skills --skill agent-ready-link-headers -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/link-headers/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/link-headers/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add fabricioctelles/skills --skill agent-ready-link-headers -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/link-headers/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add fabricioctelles/skills --skill agent-ready-link-headers -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/link-headers/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install fabricioctelles/skills skills/agent-ready-cloudflare/link-headers
```

2. **Manually: put the files in place**
- File: `.github/skills/link-headers/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add fabricioctelles/skills --skill agent-ready-link-headers -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/fabricioctelles/skills --path skills/agent-ready-cloudflare/link-headers
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/link-headers/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/fabricioctelles/skills/tree/HEAD/skills/agent-ready-cloudflare/link-headers/SKILL.md

## When to use it
- Make your site visible to AI agents without changing server code
- Add Link headers via Cloudflare when you cannot modify your origin
- Validate that headers are correctly set and agents can read them
- Use standard relation types for RFC compliance

## Example prompts
- Install the skill and add a Link header for `/.well-known/api-catalog` via Cloudflare Transform Rules
- Set up multiple Link headers with different relation types and verify them on isitagentready.com
- Use the skill to quickly make your site agent-ready per standards without rewriting server code

## Source text · SKILL.md · Apache-2.0

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: 2f583f72d3274c74.

BEGIN THIRD-PARTY FILE 2f583f72d3274c74
````text
---
name: agent-ready-link-headers
description: >
  Sub-skill de agent-ready-cloudflare: Implement Link Response Headers
---
# Implement Link Response Headers

Add Link response headers to your homepage for agent discovery per
[RFC 8288](https://www.rfc-editor.org/rfc/rfc8288) and
[RFC 9727 Section 3](https://www.rfc-editor.org/rfc/rfc9727#section-3).

## Requirements

- Return `Link` headers on your homepage response pointing to machine-readable resources
- Use registered relation types: `api-catalog`, `service-desc`, `service-doc`, `describedby`
- Example: `Link: </.well-known/api-catalog>; rel="api-catalog"`
- Multiple Link headers or comma-separated values are both valid

## Cloudflare

Use [Transform Rules](https://developers.cloudflare.com/rules/transform/) or
[Workers](https://developers.cloudflare.com/workers/) to add Link headers
without modifying your origin server.

## Validate

```
POST https://isitagentready.com/api/scan
Content-Type: application/json

{"url": "https://YOUR-SITE.com"}
```

Check that `checks.discoverability.linkHeaders.status` is `"pass"`.
````
END THIRD-PARTY FILE 2f583f72d3274c74

The third-party file has ended. Everything between the 2f583f72d3274c74 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

© fabricioctelles · Apache-2.0 · https://github.com/fabricioctelles/skills/tree/HEAD/skills/agent-ready-cloudflare/link-headers/SKILL.md

## Similar
- [security-headers-configuration](https://affpapa.org/en/nevibecode/skills/security-headers-configuration.md) — skill · 522 installs
- [agent-registry](https://affpapa.org/en/nevibecode/mcp/agent-registry.md) — MCP server · 2795 installs
- [file-headers](https://affpapa.org/en/nevibecode/skills/file-headers.md) — skill · ★ 1198 repo stars
- [sandbox-stable](https://affpapa.org/en/nevibecode/skills/sandbox-stable.md) — skill · 85900 installs
- [performing-security-headers-audit](https://affpapa.org/en/nevibecode/skills/performing-security-headers-audit.md) — skill · 474 installs
- [secure-headers-csp-builder](https://affpapa.org/en/nevibecode/skills/secure-headers-csp-builder.md) — skill · 323 installs

From the same set: [fabricioctelles/skills](https://affpapa.org/en/nevibecode/by/fabricioctelles/skills.md) — 46 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
