miko-setup-github
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…
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-github
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: devops
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-github
What's inside
- Skill name
miko-setup-github- Description
- 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 rebases and merges, and auto-fixing based on CI failures (coming soon).
- License
- Apache-2.0
- Instructions
- 370 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
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 GitHub Configures GitHub so Miko can create branches, commits, and pull requests. Optionally creates a GitHub App so Miko can receive and respond to @mentions in PR comments and reviews, automate rebases and merges, and auto-fix based on CI failures (coming soon). **Credential preference:** When a GitHub App is configured (`GITHUB_APP_ID` + `~/.miko/github-app.pem`), Miko mints installation tokens for known installs, populates `~/.miko/github-tokens.json`, and uses those tokens for `git fetch`/`push` and `gh` (PR create). Push/PR authorship then appears as **that App's bot** (`<slug>[bot]`). The App name/slug/id is **operator-defined** — not hard-coded to a product bot. If no App is present or minting fails, Miko falls back to local `git` config + `gh auth` (Linear-only setups do not need an App). **Always** add this commit trailer (once per commit; preserve other co-authors; do not change `git user.name`/`user.email` to impersonate mikoagent): ```text Co-authored-by: mikoagent <332957360+mikoagent@users.noreply.github.com> ``` --- ## Part A: GitHub CLI + Git Config (Outbound) ### Step 1: Check Existing Configuration Check if `gh` is already authenticated: ```bash gh auth status 2>&1 ``` If authenticated, check git config: ```bash git config --global user.name git config --global user.email ``` If both `gh` auth and git config are set, inform the user: > GitHub is already configured. Skipping to webhook setup. Skip to Part B. ### Step 2: Authenticate GitHub CLI If `gh` is not authenticated: ```bash gh auth login ``` This opens an interactive browser flow. Let the user complete it. After completion, verify: ```bash gh auth status ``` ### Step 3: Configure Git Identity If git user name or email are not set, ask the user for their preferred values: > **What name should appear on commits made by Miko?** > (e.g., your name, or "Miko Bot") > **What email should appear on commits?** > (e.g., your email, or a noreply address) Then set them: ```bash git config --global user.name "<name>" git config --global user.email "<email>" ``` ### Step 4: Verify ```bash gh auth status git config --global user.name git config --global user.email ``` --- ## Part B: GitHub App + Webhooks (Inbound — Optional) Ask the user: > **Do you want Miko to respond to GitHub @mentions in Issue/PR comments and reviews?** > > - **Yes — enable @mentions**: Creates a GitHub App so Miko can receive Issue/PR comments and reviews via webhooks, respond when @mentioned, and act on "changes requested" reviews. > - **No — PRs only**: Miko will create branches, commits, and PRs but won't respond to comments. If **No** → skip to Completion. ### Step 5: Check Existing Webhook Config ```bash grep -c '^GITHUB_WEBHOOK_SECRET=.' ~/.miko/.env 2>/dev/null grep -c '^GITHUB_APP_ID=.' ~/.miko/.env 2>/dev/null grep -c '^GITHUB_APP_INSTALLATION_ID=.' ~/.miko/.env 2>/dev/null test -f ~/.miko/github-app.pem && echo "PEM exists" || echo "PEM missing" ``` If all four checks pass (1, 1, 1, "PEM exists"), skip to Completion — webhooks are already configured. ### Step 6: Collect Inputs Read the webhook base URL: ```bash grep '^MIKO_BASE_URL=' ~/.miko/.env | cut -d= -f2- ``` If `MIKO_BASE_URL` is not set, stop and tell the user to run the endpoint setup step first. Use the `AGENT_NAME` value from the orchestrator (set in Step 0 of `/miko-setup`). If not available, ask: > **What should the GitHub App be named?** (e.g., "Miko", "My Code Agent") **Important — GitHub @mention autocomplete quirk:** GitHub's autocomplete in PR comments only suggests real GitHub *user accounts*, not App bots. This means `@your-bot` won't appear in the autocomplete dropdown unless a GitHub user with that exact name exists. The mention still *works* if typed manually, but for the best experience:
From mikoagents/miko, Apache-2.0.
More from mikoagents/miko
- 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
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 - 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
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.575score
release
mikoagents
Prepare, verify, publish, and finish a coordinated Miko CLI release.
SkillBFreshness: B★ 5Claude Code +9 - 0.573score
miko-setup-claude-auth
mikoagents
Configure Claude Code authentication for Miko — API key, OAuth token, or third-party provider.
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 25, 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.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
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.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
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
Cite this page
miko-setup-github skill. Agent Mart. https://agentmart.dev/skills/mikoagents-miko-setup-github (last updated 2026-10-24)