github-oauth-nango-integration

github-oauth-nango-integration is a skill for Claude Code from AgentWorkforce/relay. It costs 37 tokens per session (3,193 once invoked), scanned A, original, Apache-2.0.

An integration pattern for using GitHub login and GitHub repository access together through Nango, a service that connects applications to external APIs.

In plain words
What is it for?
Use it to add “Sign in with GitHub,” grant access to repositories where a GitHub App is installed, and handle installation and data-sync webhooks.
Why use it?
GitHub login identifies the user but does not provide repository access, while a GitHub App can access selected repositories but does not provide that user identity.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to add “Sign in with GitHub,” grant access to repositories where a GitHub App is installed, and handle installation and data-sync webhooks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agentworkforce/relay/github-oauth-nango-integration
About the project

Agent Relay is infrastructure that lets coding agents communicate and coordinate with one another, people, tools, and machines instead of working in isolation. Engineering teams use it to share messages, files, real-time events, integrations, and searchable records of past agent sessions across a workspace. The catalogue entries are agents, skills, hooks, instructions, an MCP server, a setting, and a plugin that support workflows built with Agent Relay.

AgentWorkforce/relay · 1,166 stars · on GitHub · agentrelay.com

Install

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.

Any agent
npx skills add AgentWorkforce/relay --skill github-oauth-nango-integration
Clone the repo
git clone --depth 1 https://github.com/AgentWorkforce/relay

Made for: Claude Code.

Wrote 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.

agentmods badge for github-oauth-nango-integration

README.md
[![agentmods](https://agentmods.dev/badge/skills/agentworkforce/relay/github-oauth-nango-integration/github.svg)](https://agentmods.dev/skills/agentworkforce/relay/github-oauth-nango-integration)
Your own site
<a href="https://agentmods.dev/skills/agentworkforce/relay/github-oauth-nango-integration"><img src="https://agentmods.dev/badge/skills/agentworkforce/relay/github-oauth-nango-integration/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.

agentmods 80×15 button for github-oauth-nango-integration

Your own site · 80×15
<a href="https://agentmods.dev/skills/agentworkforce/relay/github-oauth-nango-integration"><img src="https://agentmods.dev/badge/skills/agentworkforce/relay/github-oauth-nango-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,193 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.03193
Opus 5.5 $0.00015 $0.01277
Sonnet 5.5 $0.00007 $0.00639
Haiku 4.5 $0.00004 $0.00319

Measured 3mo ago against content hash 837a2f02b54e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

github-oauth-nango-integration 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 3mo 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.

.claude/skills/github-oauth-nango-integration/SKILL.md · 410 lines

How it starts

The opening of the file, as written. The whole thing — 410 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GitHub OAuth + Nango Integration

Overview

Implements dual-connection OAuth pattern: one for user identity (github integration), another for repository access (github-app-oauth integration). This separation enables secure login while maintaining granular repo permissions through GitHub App installations.

When to Use

  • Setting up GitHub OAuth login via Nango
  • Implementing GitHub App installation webhooks
  • Reconciling OAuth users with GitHub App installations
  • Building apps that need both user auth and repo access
  • Handling Nango sync webhooks for GitHub data

Why Two Connections?

GitHub has two different authentication mechanisms that serve different purposes:

GitHub OAuth App (github integration)

  • What it is: Traditional OAuth for user identity
  • What it gives you: User profile (name, email, avatar, GitHub ID)
  • What it DOESN'T give you: Access to repositories
  • Use for: Login, "Sign in with GitHub"

GitHub App (github-app-oauth integration)

  • What it is: Installable app with granular repo permissions
  • What it gives you: Access to specific repos the user installed it on
  • What it DOESN'T give you: User identity (it knows the installation, not who's using it)
  • Use for: Reading PRs, commits, files; posting comments; webhooks

The Reconciliation Problem

OAuth App alone:  "User [email protected] logged in" → but which repos can they access?
GitHub App alone: "Installation #12345 has access to repo X" → but who is the user?

Solution: Two separate OAuth flows linked by user ID:

  1. Login flow → User authenticates → Store user identity + nangoConnectionId
  2. Repo flow → Same user authorizes app → Store repos + link via ownerId

This lets you answer: "User [email protected] can access repos X, Y, Z"

Quick Reference

Connection Type Nango Integration Purpose Stored In
User Login github Authentication, identity users.nangoConnectionId
Repo Access github-app-oauth PR operations, file access repos.nangoConnectionId

Read the full file on GitHub · 410 lines

Changes

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.

  1. 3mo ago First seen · 410 lines · 37 tokens per session scan A 837a2f02b54e

Subscribe to this mod's changes

github-oauth-nango-integration is a skill published in the GitHub repository AgentWorkforce/relay (1,166 stars, last pushed today), licensed Apache-2.0. It adds 37 tokens to every session and 3,193 once invoked, about $0.0001 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.

Related

github-oauth-nango-integration compared with skills from other repositories

github-oauth-nango-integration next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
github-oauth-nango-integrationAgentWorkforce/relaySkill1.2ktodayApache-2.0A37Claude Code
vigilante-issue-implementation-on-phpaliengiraffe/vigilanteSkill4213d agoApache-2.0A39Codex
computer-usekirodotdev/KiroCrewSkill5.2ktodayApache-2.0A67Claude Code, Codex
cost-efficiency-analyzerawslabs/agentcore-samplesSkill3.6ktodayApache-2.0A98Claude Code, Codex
security-conductorkirodotdev/KiroCrewSkill5.2ktodayApache-2.0A57Claude Code, Codex
widgetskirodotdev/KiroCrewSkill5.2ktodayApache-2.0A42Claude Code, Codex
rubber-duckkirodotdev/KiroCrewSkill5.2ktodayApache-2.0A161Claude Code, Codex