
Chutes sign in
Adds Sign in with Chutes OAuth and OIDC login to a Next.js App Router app
Chutes sign in is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- Python
- Platforms
- Claude Code
- GitHub stars
- 7
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Chutes sign in
This skill turns a Next.js App Router project into a relying party for Chutes sign-in. It registers an OAuth app through the Chutes identity API, stores the returned client id and secret in the OS keychain, and vendors the upstream Sign-in-with-Chutes Next.js package at a pinned commit into the project. It also writes the OAuth client settings into the local environment file and suggests where to place the sign-in button in the top-level layout, leaving that edit to the user.
The workflow checks the Next.js version and router type first, and stops with a pointer to upstream for Pages Router, Express or FastAPI projects. Python 3.10 or newer runs the helper scripts, and git is needed to fetch the upstream package. A verification script calls the local session route and token introspection, and a rotation script regenerates the client secret and reminds the user to redeploy services that hold the old one.
The skill expects a Chutes account with an API key, plus access to the target project's files and a running dev server for end-to-end checks. Secret handling is routed through the keychain helper so values are not printed into the conversation.
When your agent uses it
Add Sign in with Chutes (OAuth 2.0 + OIDC + PKCE) to a user's application. Use this skill when the user wants to register a Chutes OAuth app, vendor the chutesai/Sign-in-with-Chutes Next.js package into their project, wire up sign-in routes, manage scopes, store client credentials in the OS keychain, or rotate a client secret. Triggers on: sign in with chutes, SIWC, OAuth app, /idp/apps, cid_, csc_, chutes oauth, PKCE chutes, chutes login button, useChutesSession, Next.js chutes auth, rotate oauth secret, chutes oauth scopes, /idp/scopes, chutes:invoke, token introspect, chutes OIDC, openid-configuration.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs Python scripts(see the files on GitHub)
- Network calls found in its scripts(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 12 files (69 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the chutes-ai plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add Veightor/chutes-agent-toolkit
/plugin install chutes-ai@chutes-agent-toolkitOr copy only this skill to ~/.claude/skills/chutes-sign-in:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Veightor/chutes-agent-toolkit.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/chutes-sign-in &&
cp -R "$tmp/plugins/chutes-ai/skills/chutes-sign-in" ~/.claude/skills/chutes-sign-in &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/chutes-sign-in inside it instead.
Copy the skill folder to ~/.agents/skills/chutes-sign-in to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Veightor/chutes-agent-toolkit.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/chutes-sign-in &&
cp -R "$tmp/plugins/chutes-ai/skills/chutes-sign-in" ~/.agents/skills/chutes-sign-in &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/chutes-sign-in inside it instead.
Copy the skill folder to ~/.cursor/skills/chutes-sign-in to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Veightor/chutes-agent-toolkit.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/chutes-sign-in &&
cp -R "$tmp/plugins/chutes-ai/skills/chutes-sign-in" ~/.cursor/skills/chutes-sign-in &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/chutes-sign-in inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/Veightor/chutes-agent-toolkit.git --path plugins/chutes-ai/skills/chutes-sign-inOr copy the folder to ~/.gemini/skills/chutes-sign-in yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/chutes-sign-in:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Veightor/chutes-agent-toolkit.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/chutes-sign-in &&
cp -R "$tmp/plugins/chutes-ai/skills/chutes-sign-in" ~/.copilot/skills/chutes-sign-in &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/chutes-sign-in inside it instead.
Get the folder:
git clone --depth 1 https://github.com/Veightor/chutes-agent-toolkit.gitThen copy chutes-agent-toolkit/plugins/chutes-ai/skills/chutes-sign-in into your agent's skills folder as chutes-sign-in. Agents that support SKILL.md read one folder per skill.
What it does
- OAuth app registration
- Creates a Chutes OAuth app with chosen redirect URIs and scopes, then saves its credentials to the keychain.
- Next.js package vendoring
- Copies the upstream sign-in routes, session hook, server helpers and button component into the project.
- Environment configuration
- Writes client id, client secret and app URL entries to the local environment file without printing the secret.
- Framework detection
- Checks the Next.js version and router layout, and stops early for unsupported frameworks.
- Session verification
- Calls the local session endpoint and token introspection to confirm the sign-in setup works.
- Client secret rotation
- Regenerates the client secret, updates the keychain and reminds the user to redeploy.
Good for
- Add Sign in with Chutes to my Next.js app
- Register a Chutes OAuth app with callback URLs for localhost and production
- Vendor the Sign-in-with-Chutes package into my project
- Rotate the client secret for my Chutes OAuth app
- Check that the Chutes session route and token introspection work
Chutes sign in FAQ
What does the skill need before Chutes sign in runs?
A Chutes account with an API key, a Next.js 14 or newer App Router project, Python 3.10 or newer, and git on the PATH.
Does Chutes sign in edit my layout or source files automatically?
No. It vendors the package into a directory and prints a suggested layout change that the user applies themselves.
Which frameworks are supported?
Next.js App Router is supported. Pages Router, Express and FastAPI projects get a stub path that points to the upstream repository.
Are my client secrets shown in the chat?
The skill is designed to route secret handling through the keychain helper so the secret is not echoed into the conversation.
Which scopes are included by default?
The default scopes are openid, profile and chutes:invoke. Additional scopes such as account:read and billing:read are added only after confirmation.
How do I install Chutes sign in in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/chutes-sign-in to use it in all your projects, or to .claude/skills/chutes-sign-in in one project. Or install the chutes-ai plugin, which includes it: /plugin marketplace add Veightor/chutes-agent-toolkit, then /plugin install chutes-ai@chutes-agent-toolkit.
Does Chutes sign in run scripts?
Yes. It runs Python scripts. Its scripts contain network calls. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Chutes sign in?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Chutes sign in?
The closest alternatives to Chutes sign in are Chutes platform ops, Chutes agent registration, Chutes MCP portability, Auth and secure storage and Sign in with google web.
Where this comes from
- Description: from the skill's own SKILL.md.
More from Veightor/chutes-agent-toolkit

Lets an autonomous agent self-register a Chutes account using a Bittensor hotkey signature
- Open source
- 7 GitHub stars
- Developer tools

Gives an agent access to Chutes.ai open-source model inference via OpenAI-style calls
- Open source
- 7 GitHub stars
- AI models and LLM tooling

Guides an agent through deploying models as chutes on the Chutes.ai GPU network
- Open source
- 7 GitHub stars
- Cloud and infrastructure

Connects Chutes.ai models and management tools to Cursor, Cline, Aider and other agents
- Open source
- 7 GitHub stars
- Developer tools

Audit, rotate and revoke Chutes.ai OAuth apps, tokens and model aliases at fleet scale
- Open source
- 7 GitHub stars
- Developer tools

Build and audit Chutes.ai model failover pools and stable aliases for your agent
- Open source
- 7 GitHub stars
- AI models and LLM tooling


