Rikinshah787

Agentpassport Auth0 — AI skill for Claude Code

AI community

Control what each AI agent on your machine can do, from one panel.

How to install Agentpassport Auth0

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Rikinshah787/agentpassport-auth0 and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Agentpassport Auth0 does

Control what each AI agent on your machine can do, from one panel. Auth0 handles login and holds the app credentials, so your agents never see a GitHub or Gmail token.

Alternatives in AI

  • App Rules — Never interact with the Manina AI app (also named ESP32 Agent; this agent itself): not its screens, its saved 5.2k ★
  • TokenTracker — Local-first AI token usage & cost tracker for 31 coding tools incl 1.4k ★
  • Tastecode — Personal Harness - a beautiful, adaptive control panel for AI coding agents 292 ★

README

Agent Passport

Control what each AI agent on your machine can do, from one panel. Auth0 handles login and holds the app credentials, so your agents never see a GitHub or Gmail token.

![The Agent Passport panel, showing one agent's permissions and a live feed of allowed and refused calls](docs/panel.png)

**Status:** a local, single-user prototype. The GitHub flow has been run end to end against real Auth0 and GitHub. The Gmail flow is implemented and covered by tests, but hasn't yet been run against a real Google account.

The problem

When one person runs several agents through one app, Auth0 sees that person and that app. It can't tell the agents apart, so they tend to share the same access.

Agent Passport adds a per-agent layer on top. You log in and connect your apps once. Each agent then gets its own passport, and you can change what it may do at any time, with no code change.

How it works

Claude Code ──┐                                                 ┌─→ GitHub
Claude Desktop┼─→ MCP server ─→ Agent Passport ─→ Auth0 Token ──┤
VS Code ──────┤                 (checks the        Vault        └─→ Gmail
Codex ────────┘                  passport)

For every tool call, the panel:

  1. Identifies the agent from its own key. A caller can't claim to be another agent.
  2. Verifies your Auth0 token: signature, issuer, audience and expiry.
  3. Checks the scope is on that agent's passport and in your Auth0 token.
  4. Fetches an app token from Token Vault and calls the real API, only if everything passed.

A refused call returns a `403` and never contacts the app. The app token stays in the panel and is never sent to the agent.

What it can do

Tool Scope Returns
github_list_repos github:read Your 10 most recently updated repos
gmail_list_messages gmail:read Sender and subject of your 5 latest emails, never the body

**One-click passports:** the panel looks for known MCP clients (Claude Code