Agent skill

Add OAuth Provider

by superdesigndev in superdesigndev/treg

Add a provider to treg's OAuth registry (the ones treg holds its own approved app for).

Custom licenceAuto-check passedBackend & APIs

Install Add OAuth Provider

skills CLI
$ npx skills add superdesigndev/treg --skill add-oauth-provider -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install superdesigndev/treg add-oauth-provider --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/superdesigndev/treg.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/add-oauth-provider .claude/skills/add-oauth-provider && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
add-oauth-provider
GitHub stars
4.9k
Token cost
~2.5k tokens
SKILL.md length
1,289 words
Files
1
Skills in repo
12
Repo updated
First seen
Licence
Custom licence

At a glance

Add a provider to treg's OAuth registry (the ones treg holds its own approved app for).

  • Works in 6 steps: Credentials → src/treg/config.py → The provider → src/treg/oauth_providers.py → Discovery — "which account does this… → …
  • Asked to add YouTube/Notion/Meta OAuth
  • SKILL.md covers The code changes, The platform side (the actual…, Pitfalls and Verify before calling it done
  • Calls uv

What it does

Add OAuth Provider is an agent skill from superdesigndev/treg. Add a provider to treg's OAuth registry (the ones treg holds its own approved app for). Use when asked to "add YouTube/Notion/Meta OAuth", "support connecting X", "add a new OAuth provider", or when a connect flow, capability picker, channel/account picker, or provider health probe needs building. Covers the code changes, the platform-side approval steps, and the pitfalls that don't announce themselves.

Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Backend & APIs, covering OAuth and OpenID Connect. It works with YouTube and Notion. The repository describes itself as: OpenRouter for agent tools. Join community here: https://discord.gg/6mQYYfFMAn.

When your agent uses it

  • Asked to add YouTube/Notion/Meta OAuth
  • Support connecting X
  • Add a new OAuth provider
  • Capability picker

Example prompts

  • “add YouTube/Notion/Meta OAuth”
  • “support connecting X”
  • “add a new OAuth provider”
  • “/add-oauth-provider”

Requirements

  • Python 3
  • Node.js

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Credentials → src/treg/config.py
  2. The provider → src/treg/oauth_providers.py
  3. Discovery — "which account does this connection act on?"
  4. probe_path — health + the Tools "Use" prefill
  5. Dashboard → src/treg/web/index.html
  6. Tests

What it can do on your machine

Read from SKILL.md and the folder at commit 8ded756. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • uv

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Add OAuth Provider loads about 2.5k tokens when it runs. Until then it costs about 106 tokens; SKILL.md has 1,289 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~106
When it runs · the whole SKILL.md, loaded when a task matches
~2.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 1,289 words (~2,497 tokens).

“Two connect modes exist. BYO (POST /oauth/start with a caller-supplied client_id/secret) already works for any OAuth2 provider and needs no code. This skill is the registry path: treg owns the registered app, so the user picks a provider and supplies…”

— opening of SKILL.md by superdesigndev, Custom licence
name
add-oauth-provider
metadata.internal
true

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/add-oauth-provider of superdesigndev/treg.

Open the folder on GitHubat commit 8ded756

Compare with similar skills

Add OAuth Provider next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Add OAuth Provider compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Add OAuth Provider this skillsuperdesigndev/treg4.9k—~2.5kAutomated safety check: PassCustom licence
Notion Worker Third-Party Auth Guidemakenotion/workers-template4391 repos~3.5kAutomated safety check: NotesMIT
Setupdaiki-beppu/youtube-automation169—~1.3kAutomated safety check: PassCustom licence
API GatewayCraftOS-dev/CraftBot3923 repos~7.1kAutomated safety check: PassMIT
Setup Notionai-analyst-lab/ai-analyst304—~883Automated safety check: PassMIT
YoutubeCraftOS-dev/CraftBot3921 repos~3.7kAutomated safety check: PassMIT

Similar skills

  • Notion Worker Third-Party Auth Guide

    makenotion/workers-template

    Official

    Decides whether a Notion Worker should use a brokered credential, a plaintext environment secret, or OAuth to authenticate against a non-Notion service.

    439 GitHub starsUsed in 1 repo~3.5k tokens
    Backend & APIsAuto-check: notes
  • Setup

    daiki-beppu/youtube-automation

    A skill your agent uses when ツール導入と GCP / OAuth の設定、新規 YouTube チャンネル開設、既存チャンネル取り込み、config 再生成、または YouTube 側設定同期を行うとき。「セットアップして」「環境構築」「新チャンネル」「既存チャンネル」「チャンネル取り込み」「config…

    169 GitHub stars~1.3k tokensUpdated 2 days ago
    Backend & APIsAuto-check passed
  • API Gateway

    CraftOS-dev/CraftBot

    Connect to 100+ APIs (Google Workspace, Microsoft 365, Notion, Slack, Airtable, HubSpot, etc.) with managed OAuth.

    392 GitHub starsUsed in 3 repos~7.1k tokens
    Backend & APIsAuto-check passed
  • Setup Notion

    ai-analyst-lab/ai-analyst

    Connect Claude Code to Notion's official hosted MCP, complete OAuth, verify the intended workspace with a read, and stop before any write.

    304 GitHub stars~883 tokensUpdated 9 days ago
    Backend & APIsAuto-check passed
  • Youtube

    CraftOS-dev/CraftBot

    YouTube Data API integration with managed OAuth. An agent skill from CraftOS-dev/CraftBot.

    392 GitHub starsUsed in 1 repo~3.7k tokens
    Backend & APIsAuto-check passed
  • Notion MCP Skill

    holon-run/uxc

    Operate Notion workspace content through Notion MCP using the UXC CLI, including search, fetch, users/teams lookup, page/database creation and updates, and comments.

    116 GitHub stars~1.2k tokensUpdated 25 days ago
    Backend & APIsAuto-check passed

More from superdesigndev/treg

All 12 skills in this repo
  • Dev Local

    superdesigndev/treg

    One-command local dev stack for tools-registry. An agent skill from superdesigndev/treg.

    4.9k GitHub stars~623 tokensUpdated today
    Auto-check passed
  • Google Ads

    superdesigndev/treg

    Traps when running Google Ads through treg — the API requirements and cleanup semantics that cost round-trips or money.

    4.9k GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Google Analytics

    superdesigndev/treg

    Traps to avoid when querying Google Analytics 4 through treg — cases where the GA4 Data API returns a confident wrong answer instead of an error.

    4.9k GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Google Search Console

    superdesigndev/treg

    Traps to avoid when querying Google Search Console through treg — cases where the API returns a confident wrong answer instead of an error, especially around totals and recent-date trends.

    4.9k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Jev Memory

    superdesigndev/treg

    A skill your agent uses when the user wants Claude Code to remember their preferences across sessions, asks for a memory mod or memory harness for Claude Code, mentions the Jev memory classifier or…

    4.9k GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Tools Registry Context

    superdesigndev/treg

    tools-registry context + doc upkeep. An agent skill from superdesigndev/treg.

    4.9k GitHub stars~1k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Add OAuth Provider

What does Add OAuth Provider do?

Add a provider to treg's OAuth registry (the ones treg holds its own approved app for). Add OAuth Provider is an agent skill from superdesigndev/treg. Add a provider to treg's OAuth registry (the ones treg holds its own approved app for).

When should I use Add OAuth Provider?

Add OAuth Provider fits situations like: asked to add YouTube/Notion/Meta OAuth; support connecting X; add a new OAuth provider; capability picker.

How do I install Add OAuth Provider in Claude Code?

Run `npx skills add superdesigndev/treg --skill add-oauth-provider -a claude-code`. Or copy the skill folder (.agents/skills/add-oauth-provider in superdesigndev/treg) into .claude/skills/add-oauth-provider in your project. Claude Code loads it when a task matches its description.

How do I install Add OAuth Provider in Codex?

Run `npx skills add superdesigndev/treg --skill add-oauth-provider -a codex`. Or copy the skill folder (.agents/skills/add-oauth-provider in superdesigndev/treg) into .agents/skills/add-oauth-provider in your project. Codex loads it when a task matches its description.

Can I use Add OAuth Provider in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add superdesigndev/treg --skill add-oauth-provider -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-oauth-provider, .gemini/skills/add-oauth-provider, .github/skills/add-oauth-provider and .opencode/skills/add-oauth-provider in your project.

What does Add OAuth Provider need to run?

Going by SKILL.md and its folder, Add OAuth Provider needs the command-line tools its instructions call (uv). Our summary lists: Python 3; Node.js.

Does Add OAuth Provider access the network?

SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Add OAuth Provider safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Add OAuth Provider use?

Add OAuth Provider has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Add OAuth Provider use?

About 2.5k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Add OAuth Provider?

Skills that share tags, products or a category with Add OAuth Provider: Notion Worker Third-Party Auth Guide (makenotion/workers-template, 439 stars), Setup (daiki-beppu/youtube-automation, 169 stars), API Gateway (CraftOS-dev/CraftBot, 392 stars) and Setup Notion (ai-analyst-lab/ai-analyst, 304 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Add OAuth Provider?

superdesigndev (a GitHub organization) maintains it in superdesigndev/treg, which has 4,948 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 10, 2026.

Source: superdesigndev/treg on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.