Skill / SKILL.md

Claude Agent Sdk Auth

Fei2-Labs/skill-genie

Run Claude Code / the Claude Agent SDK headless or programmatically, and authenticate it with the user's Claude Pro/Max SUBSCRIPTION (no API key) — including on a REMOTE server or in CI. Use when: running `claude -p` / the Agent SDK (`@anthropic-ai/claude-agent-sdk`, `claude-agent-sdk`) non-interactively; making a remote/CI machine or a spawned agent use the local subscription instead of a metered API key; deciding between API key, subscription OAuth, `CLAUDE_CODE_OAUTH_TOKEN`, and a proxy; or wiring `CLAUDE_CODE_OAUTH_TOKEN` / `ANTHROPIC_AUTH_TOKEN` / `apiKeyHelper`. Covers `claude setup-token`, the auth precedence order, headless entry points, and the key fact that the Agent SDK is NOT an HTTP server.
4 views 13 repository stars 0 commentsUpdated Nov 28, 2026
Overview

Run Claude Code / the Claude Agent SDK headless or programmatically, and authenticate it with the user's Claude Pro/Max SUBSCRIPTION (no API key) — including on a REMOTE server or in CI. Use when: running `claude -p` / the Agent SDK (`@anthropic-ai/claude-agent-sdk`, `claude-agent-sdk`) non-interactively; making a remote/CI machine or a spawned agent use the local subscription instead of a metered API key; deciding between API key, subscription OAuth, `CLAUDE_CODE_OAUTH_TOKEN`, and a proxy; or wiring `CLAUDE_CODE_OAUTH_TOKEN` / `ANTHROPIC_AUTH_TOKEN` / `apiKeyHelper`. Covers `claude setup-token`, the auth precedence order, headless entry points, and the key fact that the Agent SDK is NOT an HTTP server.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/Fei2-Labs/skill-genie' skill-source

Use the complete skill-source/skills/claude-agent-sdk-auth directory with your client’s skill installer.

  • skills/claude-agent-sdk-auth

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/claude-agent-sdk-auth

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
Source & validation
Source status
Awaiting source check
Format validation
Needs source review
Checked at
Pending source check
Content SHA-256
ceca05f83b6be268a967a6e8d2c0faa4a6193a5de49745904d95544f549f4a17
Format validation findings
  • Metadata requires string values.
Agent Skills specification
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills