agent-ready-auth-md — скилл для Claude Code
Скилл agent-ready-auth-md публикует для сервиса документ auth.md и метаданные OAuth, чтобы агенты находили способ регистрации. Включается, когда сканер отмечает проверку authMd как неуспешную.
Apache-2.0 ★ 141 обновлён 2026-10-29
npx skills add fabricioctelles/skills --skill agent-ready-auth-md -a claude-codeЧто делает agent-ready-auth-md
Скилл раскладывает /auth.md в корне сервиса: Markdown-файл с заголовком H1, где встречается «auth.md». Рядом публикуются метаданные OAuth Protected Resource — поля resource, authorization_servers, scopes_supported и bearer_methods_supported со значением header, а для каждого сервера авторизации из этого списка отдельно описываются его собственные метаданные с полем issuer, совпадающим с тем, что указан в Protected Resource.
Если в PRM есть метаданные сервера авторизации, скилл добавляет блок agent_auth с полями skill, register_uri и хотя бы одним полным методом регистрации. Для сценариев ID-JAG, verified email и anonymous описаны свои наборы полей: типы утверждений, типы credential и claim_uri или revocation_uri в зависимости от случая.
Скилл прямо запрещает дёргать POST /agent/auth во время пассивного сканирования: такой запрос может создать аккаунт, отправить письмо или выдать credential, поэтому источником истины остаются публичные документы discovery.
Какие задачи решает
- опубликовать auth.md с метаданными OAuth для агентов
- пройти проверку authMd в сканере agent-ready
- описать endpoint регистрации агента без живого сервера авторизации
- настроить метаданные Protected Resource и Authorization Server
- добавить блок agent_auth с методом регистрации под ID-JAG или verified email
Примеры запросов агенту
- Добавь auth.md для прохождения проверки authMd
- Опиши в auth.md метаданные OAuth Protected Resource для нашего API
- Настрой блок agent_auth с методом регистрации verified email
Как установить agent-ready-auth-md
1Через Skills CLI (Vercel)
npx skills add fabricioctelles/skills --skill agent-ready-auth-md -a claude-code2Вручную: положить файлы
~/.claude/skills/auth-md/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/auth-md/
1Через Skills CLI (Vercel)
npx skills add fabricioctelles/skills --skill agent-ready-auth-md -a codex2Вручную: положить файлы
.agents/skills/auth-md/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add fabricioctelles/skills --skill agent-ready-auth-md -a cursor2Вручную: положить файлы
.cursor/skills/auth-md/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install fabricioctelles/skills skills/agent-ready-cloudflare/auth-md2Вручную: положить файлы
.github/skills/auth-md/SKILL.md1Через Skills CLI (Vercel)
npx skills add fabricioctelles/skills --skill agent-ready-auth-md -a gemini-cli2Командой платформы
gemini skills install https://github.com/fabricioctelles/skills --path skills/agent-ready-cloudflare/auth-mdВручную: положить файлы
.devin/skills/auth-md/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы об agent-ready-auth-md
Как установить agent-ready-auth-md в Claude Code?
Выполните npx skills add fabricioctelles/skills --skill auth-md -a claude-code, скилл появится в ~/.claude/skills/auth-md/SKILL.md.
Что делает agent-ready-auth-md?
Помогает сервису опубликовать документ auth.md с метаданными OAuth, чтобы агенты могли найти способ регистрации. Используется, когда проверка authMd в сканере не проходит.
Какие данные нужны для метаданных сервера авторизации?
В документе Authorization Server должен быть корректный issuer, совпадающий с тем, что указан в метаданных Protected Resource, иначе проверка не пройдёт.
Исходный текст
SKILL.md · Apache-2.0
---
name: agent-ready-auth-md
description: >
Sub-skill: Implement Auth.md for agent registration discovery. Serve /auth.md with OAuth
metadata at /.well-known/oauth-protected-resource and authorization server endpoints.
---
# Skill: Implement Auth.md Agent Registration Discovery
## What This Skill Does
Helps a service publish Auth.md support for agent registration. Use this when a scanner reports the `authMd` check is failing or when adding the Auth.md standard to an API or application.
## Requirements
- Serve `/auth.md` from the service root as Markdown with an H1 heading that contains `auth.md` (for example, `# auth.md` or `# Example auth.md`).
- Prefer publishing OAuth Protected Resource Metadata at `/.well-known/oauth-protected-resource` for the resource server.
- Include `resource`, `authorization_servers`, `scopes_supported`, and `bearer_methods_supported` with `header` in the PRM document.
- Publish OAuth Authorization Server metadata at each advertised authorization server's `/.well-known/oauth-authorization-server` URL.
- Include a valid `issuer` in Authorization Server metadata and ensure it matches the issuer advertised in PRM.
- Add an `agent_auth` block with `skill`, `register_uri`, and at least one complete registration method when Authorization Server metadata is available.
- If OAuth metadata is not available, keep `/auth.md` self-contained: identify the agent audience, document registration or provisioning endpoint(s), list supported method(s), and explain credential use.
## Flow Metadata
- **ID-JAG**: include `identity_types_supported: ["identity_assertion"]`, `identity_assertion.assertion_types_supported` with `urn:ietf:params:oauth:token-type:id-jag`, and credential types. Include `revocation_uri` and the revocation event in `events_supported` when supported; scanners may warn when they are omitted, but they are not required for detection.
- **Verified email**: include `identity_assertion.assertion_types_supported` with `verified_email`, credential types, and `claim_uri`.
- **Anonymous**: include `identity_types_supported: ["anonymous"]`, `anonymous.credential_types_supported`, and `claim_uri`.
## Notes
Do not probe `POST /agent/auth` during passive scans. Registration can create accounts, send email, or issue credentials. Public discovery documents are the safe source of truth.
## Validate
```http
POST https://isitagentready.com/api/scan
Content-Type: application/json
{"url": "https://YOUR-SITE.com"}
```
Check that `checks.discovery.authMd.status` is `"pass"`.
## References
- [Auth.md Specification](https://auth-md.com)
- [RFC 9728 — OAuth Protected Resource Metadata](https://www.rfc-editor.org/rfc/rfc9728)
- [RFC 8414 — OAuth Authorization Server Metadata](https://www.rfc-editor.org/rfc/rfc8414)
© fabricioctelles · Apache-2.0 · fabricioctelles/skills