Skip to content
Skill Authoring
Skill

/oauth-protected-resource

Sub-skill de agent-ready-cloudflare: Implement OAuth Protected Resource Metadata

BOOST
From plugin
fabricioctelles-skills
12047 skills
Install
$ npx -y skills add fabricioctelles/skills --skill oauth-protected-resource --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/oauth-protected-resource

Context preview

The summary Claude sees to decide when to auto-load this skill.

Sub-skill de agent-ready-cloudflare: Implement OAuth Protected Resource Metadata

SKILL.md

oauth-protected-resource.SKILL.md
name: agent-ready-oauth-protected-resource
description: >
  Sub-skill de agent-ready-cloudflare: Implement OAuth Protected Resource Metadata

Implement OAuth Protected Resource Metadata

Publish OAuth Protected Resource Metadata so agents can discover how to authenticate per [RFC 9728](https://www.rfc-editor.org/rfc/rfc9728).

Requirements

  • Serve JSON at `/.well-known/oauth-protected-resource` with HTTP 200
  • Include `resource` (your resource identifier URL)
  • Include `authorization_servers` (array of OAuth/OIDC issuer URLs)
  • Optionally include `scopes_supported`
  • Optionally return `WWW-Authenticate` with `resource_metadata` on 401 responses

Cloudflare

Use [Workers](https://developers.cloudflare.com/workers/) to serve the metadata endpoint and [Access](https://developers.cloudflare.com/cloudflare-one/) as the authorization server.

Validate

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

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

Check that `checks.discovery.oauthProtectedResource.status` is `"pass"`.

Ships withfabricioctelles-skills

26 production-ready skills for AI coding agents. Install with one command, use across Claude Code, Cursor, Kiro, Windsurf, and OpenCode.

Get the whole plugin

Other skills on fabricioctelles-skills.