# Chutes sign in

> Chutes sign in is an open-source agent skill for developer tools. Adds Sign in with Chutes OAuth and OIDC login to a Next.js App Router app. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/Veightor/chutes-agent-toolkit/tree/main/plugins/chutes-ai/skills/chutes-sign-in
- **Repository:** https://github.com/veightor/chutes-agent-toolkit
- **GitHub stars:** 7
- **License:** MIT
- **Skill name:** chutes-sign-in
- **Collection:** https://github.com/Veightor/chutes-agent-toolkit
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/Veightor/chutes-agent-toolkit/tree/HEAD/plugins/chutes-ai/skills/chutes-sign-in)
- [Network calls found in its scripts](https://github.com/Veightor/chutes-agent-toolkit/tree/HEAD/plugins/chutes-ai/skills/chutes-sign-in)
- [License: MIT](https://github.com/Veightor/chutes-agent-toolkit/tree/HEAD/plugins/chutes-ai/skills/chutes-sign-in)

## Features

- **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

## Install

### Claude Code

This skill ships in the `chutes-ai` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add Veightor/chutes-agent-toolkit
/plugin install chutes-ai@chutes-agent-toolkit
```

Or copy only this skill to `~/.claude/skills/chutes-sign-in`:

```sh
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.

### Codex

Copy the skill folder to `~/.agents/skills/chutes-sign-in` to use it in every repository:

```sh
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.

### Cursor

Copy the skill folder to `~/.cursor/skills/chutes-sign-in` to use it in every project:

```sh
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.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/Veightor/chutes-agent-toolkit.git --path plugins/chutes-ai/skills/chutes-sign-in
```

Or copy the folder to `~/.gemini/skills/chutes-sign-in` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/chutes-sign-in`:

```sh
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.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/Veightor/chutes-agent-toolkit.git
```

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

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

## Alternatives

- [Chutes platform ops](https://ai-powered.com/skills/chutes-platform-ops-veightor): Chutes platform ops is an open-source agent skill for developer tools.
- [Chutes agent registration](https://ai-powered.com/skills/chutes-agent-registration-veightor): Chutes agent registration is an open-source agent skill for developer tools.
- [Chutes MCP portability](https://ai-powered.com/skills/chutes-mcp-portability-veightor): Chutes MCP portability is an open-source agent skill for developer tools.
- [Auth and secure storage](https://ai-powered.com/skills/auth-and-secure-storage): Auth and secure storage is an open-source agent skill for developer tools.
- [Sign in with google web](https://ai-powered.com/skills/sign-in-with-google-web): Sign in with google web is an open-source agent skill for developer tools.
- [Auth and rbac](https://ai-powered.com/skills/auth-and-rbac): Auth and rbac is an open-source agent skill for security.
- [Xquik MCP](https://ai-powered.com/skills/xquik-mcp): Xquik MCP is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/chutes-sign-in-veightor
