miko-setup-claude-auth
Configure Claude Code authentication for Miko — API key, OAuth token, or third-party provider.
Skill by mikoagents
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/mikoagents-miko-setup-claude-auth
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, security, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/miko-setup-claude-auth
What's inside
- Skill name
miko-setup-claude-auth- Description
- Configure Claude Code authentication for Miko — API key, OAuth token, or third-party provider.
- License
- Apache-2.0
- Instructions
- 158 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
**CRITICAL: Never use `Read`, `Edit`, or `Write` tools on `~/.miko/.env` or any file inside `~/.miko/`. Use only `Bash` commands (`grep`, `printf >>`, etc.) to interact with env files — secrets must never be read into the conversation context.** # Setup Claude Auth Configures Claude Code credentials so Miko can run AI sessions. ## Step 1: Check Existing Auth Check if credentials are already configured: ```bash grep -c -E '^(ANTHROPIC_API_KEY|CLAUDE_CODE_OAUTH_TOKEN)=' ~/.miko/.env 2>/dev/null || echo "0" ``` If the count is >= 1, inform the user: > Claude Code authentication is already configured. Skipping this step. > To reconfigure, remove the existing key from `~/.miko/.env` and re-run this skill. Skip to completion. ## Step 2: Choose Auth Method Ask the user: > **How would you like to authenticate Claude Code?** > > 1. **Current account** (easiest) — use the credentials from your active `claude` CLI session > 2. **API Key** — from [console.anthropic.com](https://console.anthropic.com/) > 3. **Separate OAuth token** — run `claude setup-token` to generate a token for a specific account > 4. **Third-Party Provider** — Vertex AI, AWS Bedrock, Azure, etc. ## Step 3: Configure Credentials **CRITICAL: Secrets must NEVER appear in the conversation.** Do not explore `~/.claude/` looking for credential files. Use only the methods below. Detect the OS for the right clipboard command: ```bash uname -s ``` ### Option 1: Current Account Check if `claude` is authenticated on this machine: ```bash claude auth status ``` If authenticated, instruct the user to run `claude setup-token` which will output a token. To capture it safely, **append a placeholder line** to the env file, then open it in a GUI window so the user can paste the token: ```bash grep -q '^CLAUDE_CODE_OAUTH_TOKEN=' ~/.miko/.env || echo 'CLAUDE_CODE_OAUTH_TOKEN=' >> ~/.miko/.env ``` Then open the file in a separate window — use whatever GUI editor is available: ```bash # macOS: VS Code if available, otherwise TextEdit code --new-window ~/.miko/.env 2>/dev/null || open -a TextEdit ~/.miko/.env # Linux code ~/.miko/.env 2>/dev/null || xdg-open ~/.miko/.env ``` Tell the user: > 1. Run `claude setup-token` in a separate terminal > 2. Copy the token it outputs > 3. I've opened `~/.miko/.env` — find the `CLAUDE_CODE_OAUTH_TOKEN=` line > 4. Paste the token right after the `=` (no spaces, no newline) > 5. Save and close the file ### Option 2: API Key Instruct the user to copy their API key from the [Anthropic Console](https://console.anthropic.com/), then provide the appropriate command: **macOS:** ```bash printf 'ANTHROPIC_API_KEY=%s\n' "$(pbpaste)" >> ~/.miko/.env ``` **Linux:** ```bash printf 'ANTHROPIC_API_KEY=%s\n' "$(xclip -selection clipboard -o)" >> ~/.miko/.env ``` **Universal fallback:** ```bash read -s -p "Paste your Anthropic API key: " val && printf 'ANTHROPIC_API_KEY=%s\n' "$val" >> ~/.miko/.env && echo " ✓ Saved" ``` ### Option 3: Separate OAuth Token This is for when the user wants to generate a token for a different account than the one currently logged in (e.g., running `claude setup-token` on another machine). Append the placeholder, then open the file for the user to paste: ```bash grep -q '^CLAUDE_CODE_OAUTH_TOKEN=' ~/.miko/.env || echo 'CLAUDE_CODE_OAUTH_TOKEN=' >> ~/.miko/.env ``` ```bash # macOS code --new-window ~/.miko/.env 2>/dev/null || open -a TextEdit ~/.miko/.env # Linux code ~/.miko/.env 2>/dev/null || xdg-open ~/.miko/.env ``` Tell the user: > 1. On the other machine, run `claude setup-token` > 2. Copy the token it outputs > 3. I've opened `~/.miko/.env` — find `CLAUDE_CODE_OAUTH_TOKEN=` and paste the token after the `=` > 4. Save and close
From mikoagents/miko, Apache-2.0.
More from mikoagents/miko
- 0.591score
miko-setup-github
mikoagents
Configure GitHub for Miko — gh CLI login and git config for PRs, with optional webhook setup to enable @mention responses in Issue and PR comments, automated…
SkillAFreshness: A★ 5Claude Code +9 - 0.581score
miko-setup-prerequisites
mikoagents
Install the mikoagents/miko fork from source, verify its workspace packages and status board, and provide the launcher used by the remaining setup steps.
SkillBFreshness: B★ 5Claude Code +9 - 0.579score
release-core-test
mikoagents
Invoke when dev-testing a Miko change that spans CYPACK (edgeworker + CLI) and CYHOST (Vercel-hosted GUI) and the hosted GUI needs to point at an unreleased…
SkillBFreshness: B★ 5Claude Code +9 - 0.576score
miko-setup-linear
mikoagents
Create a Linear OAuth application and configure Miko to use it — supports agent-browser automation or guided manual setup.
SkillBFreshness: B★ 5Claude Code +9 - 0.576score
miko-setup
mikoagents
Set up Miko end-to-end — install prerequisites, configure authentication, create integrations (Linear, GitHub, Slack), add repositories, and launch.
SkillBFreshness: B★ 5Claude Code +9 - 0.576score
f1-test-drive
mikoagents
Orchestrate F1 test drives to validate the Miko agent system end-to-end across issue-tracker, EdgeWorker, and activity rendering.
SkillBFreshness: B★ 5Claude Code +9 - 0.576score
verify-and-ship
mikoagents
Run all quality checks (tests, lint, typecheck), fix failures, update the changelog, commit, push, and create/update the pull request or merge request.
SkillBFreshness: B★ 5Claude Code +9 - 0.575score
release
mikoagents
Prepare, verify, publish, and finish a coordinated Miko CLI release.
SkillBFreshness: B★ 5Claude Code +9 - 0.573score
miko-setup-repository
mikoagents
Add one or more Git repositories to Miko configuration so it can process issues from those repos.
SkillBFreshness: B★ 5Claude Code +9 - 0.573score
miko-setup-endpoint
mikoagents
Configure the public webhook endpoint for Miko — ngrok, Cloudflare Tunnel, or custom URL.
SkillBFreshness: B★ 5Claude Code +9 - 0.573score
miko-setup-gitlab
mikoagents
Configure GitLab authentication for Miko — glab CLI login and git config for creating merge requests.
SkillBFreshness: B★ 5Claude Code +9 - 0.573score
miko-setup-launch
mikoagents
Print a summary of the Miko setup and offer to start the agent.
SkillBFreshness: B★ 5Claude Code +9
Signals
- Stars
- 5
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 24, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/mikoagents/miko
- Website
- atmiko.com
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from mikoagents
- 0.591score
miko-setup-github
mikoagents
Configure GitHub for Miko — gh CLI login and git config for PRs, with optional webhook setup to enable @mention responses in Issue and PR comments, automated…
SkillAFreshness: A★ 5Claude Code +9 - 0.581score
miko-setup-prerequisites
mikoagents
Install the mikoagents/miko fork from source, verify its workspace packages and status board, and provide the launcher used by the remaining setup steps.
SkillBFreshness: B★ 5Claude Code +9 - 0.579score
release-core-test
mikoagents
Invoke when dev-testing a Miko change that spans CYPACK (edgeworker + CLI) and CYHOST (Vercel-hosted GUI) and the hosted GUI needs to point at an unreleased…
SkillBFreshness: B★ 5Claude Code +9 - 0.576score
f1-test-drive
mikoagents
Orchestrate F1 test drives to validate the Miko agent system end-to-end across issue-tracker, EdgeWorker, and activity rendering.
SkillBFreshness: B★ 5Claude Code +9 - 0.576score
miko-setup
mikoagents
Set up Miko end-to-end — install prerequisites, configure authentication, create integrations (Linear, GitHub, Slack), add repositories, and launch.
SkillBFreshness: B★ 5Claude Code +9 - 0.576score
verify-and-ship
mikoagents
Run all quality checks (tests, lint, typecheck), fix failures, update the changelog, commit, push, and create/update the pull request or merge request.
SkillBFreshness: B★ 5Claude Code +9
Cite this page
miko-setup-claude-auth skill. Agent Mart. https://agentmart.dev/skills/mikoagents-miko-setup-claude-auth (last updated 2026-10-24)