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.
npx skills add ngerakines/atproto-skills --skill atproto-oauthgit clone --depth 1 https://github.com/ngerakines/atproto-skillsWrote 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.
[](https://agentmods.dev/skills/ngerakines/atproto-skills/atproto-oauth)<a href="https://agentmods.dev/skills/ngerakines/atproto-skills/atproto-oauth"><img src="https://agentmods.dev/badge/skills/ngerakines/atproto-skills/atproto-oauth/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.
<a href="https://agentmods.dev/skills/ngerakines/atproto-skills/atproto-oauth"><img src="https://agentmods.dev/badge/skills/ngerakines/atproto-skills/atproto-oauth.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00711 | $0.04103 |
| Opus 5.5 | $0.00284 | $0.01641 |
| Sonnet 5.5 | $0.00142 | $0.00821 |
| Haiku 4.5 | $0.00071 | $0.00410 |
Grade A, and why
atproto-oauth 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.
How it starts
The opening of the file, as written. The whole thing — 194 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AT Protocol OAuth
AT Protocol OAuth is an OAuth 2.1 profile with mandatory PKCE (S256), PAR, DPoP, and URL-based dynamic client registration via a published client metadata document. No client_secret — confidential clients authenticate to the token endpoint with a private_key_jwt assertion (ES256). Public / SPA / native clients authenticate by DPoP proof alone.
This skill routes to per-language guides for Rust, TypeScript, and Go, sitting on top of a language-neutral spec in shared/.
Defaults
client_idis a URL. It resolves to a JSON metadata document the AS fetches on demand. The URL path, host, and protocol must match byte-for-byte between registration, PAR, and authorize.- Every access token is DPoP-bound.
dpop_bound_access_tokens: trueis required in client metadata; every resource request carries a fresh DPoP proof withath = SHA-256(access_token)and a per-originnonce. - PAR is required. You push the authorize request to
pushed_authorization_request_endpointand redirect the user to{AS}/oauth/authorize?client_id=...&request_uri=urn:ietf:params:oauth:request_uri:.... Query parameters never hit the user-agent. - Scopes start with
atproto. All flows must requestatprotoas the first scope. Further scopes are layered on:transition:generic,account:email?action=read,rpc:app.bsky.feed.*,include:<permission-set>, etc. - The session belongs to the DID.
subin the token response is a DID. Handles may change; DIDs don't. Persist by DID. - Identity verification is mandatory:
sub→ DID document →#atproto_pds→ matches the PDS you discovered →authorization_servers[0]→ matches the AS you talked to. Skip this step = CSRF window.
Full normative rules: shared/spec.md, shared/flows.md, shared/client-metadata.md, shared/dpop.md, shared/scopes.md, shared/sessions.md, shared/security-requirements.md. Fixtures: shared/test-vectors.md. Common failures: shared/troubleshooting.md. Cross-language differences: shared/divergence-matrix.md.
What ships with it
26 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- go/client-metadata.md 7.9 KB
- go/dpop.md 7.4 KB
- go/flows.md 8.6 KB
- go/README.md 8.5 KB
- go/sessions.md 12 KB
- rust/client-metadata.md 7.9 KB
- rust/dpop.md 8.9 KB
- rust/flows.md 13 KB
- rust/README.md 9.1 KB
- rust/sessions.md 13 KB
- scripts/validate_client_metadata.py 7.6 KB runs code
- shared/client-metadata.md 9.9 KB
- shared/divergence-matrix.md 18 KB
- shared/dpop.md 9.1 KB
- shared/flows.md 12 KB
- shared/scopes.md 8.5 KB
- shared/security-requirements.md 9.9 KB
- shared/sessions.md 12 KB
- shared/spec.md 11 KB
- shared/test-vectors.md 7.5 KB
- shared/troubleshooting.md 9.1 KB
- typescript/client-metadata.md 7.5 KB
- typescript/dpop.md 6.9 KB
- typescript/flows.md 8.6 KB
- typescript/README.md 8.1 KB
- typescript/sessions.md 11 KB
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.
- 2mo ago First seen · 194 lines · 711 tokens per session scan A de0c0545fa49
atproto-oauth is a skill published in the GitHub repository ngerakines/atproto-skills (53 stars, last pushed 6mo ago), licensed MIT. It adds 711 tokens to every session and 4,103 once invoked, about $0.0028 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.
atproto-oauth compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| atproto-oauthngerakines/atproto-skills | Skill | 53 | 6mo ago | MIT | A | 711 | Claude Code |
| litellmmagnus919/agent-skills | Skill | 166 | 2d ago | MIT | A | 173 | Claude Code, Codex |
| emailmagnus919/agent-skills | Skill | 166 | 2d ago | MIT | A | 135 | Claude Code, Codex |
| supabasemagnus919/agent-skills | Skill | 166 | 2d ago | MIT | A | 94 | Claude Code, Codex |
| api-testingpetrkindlmann/qa-skills | Skill | 250 | 15d ago | MIT | A | 129 | Claude Code, Codex |
| vercel-evemagnus919/agent-skills | Skill | 166 | 2d ago | MIT | A | 99 | Claude Code, Codex |
| spring-aimagnus919/agent-skills | Skill | 166 | 2d ago | MIT | A | 80 | Claude Code, Codex |