From githits
Walks new users through GitHits setup: detects supported tools, installs the MCP server, and handles sign-in/signup with auth verification and recovery.
How this skill is triggered — by the user, by Claude, or both
Slash command
/githits:onboardingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill when the user asks to install, connect, set up, sign up for, or start using GitHits. This is a new-user onboarding skill: assume the user wants to create or connect a GitHits account and configure GitHits unless they explicitly say otherwise.
Use this skill when the user asks to install, connect, set up, sign up for, or start using GitHits. This is a new-user onboarding skill: assume the user wants to create or connect a GitHits account and configure GitHits unless they explicitly say otherwise.
npx -y githits@latest ... for every normal onboarding command. This guarantees the latest published GitHits CLI behavior for new users.githits binary for onboarding unless the user explicitly asks to test a local, dev, or pinned CLI build.githits, npx, npm, codex, claude, detection, login, or setup commands to subagents or background agents.npx -y githits@latest init --detect-agents --json as a background task. Wait for the result before continuing.pkill, ps, process inspection, or package-source inspection as part of normal onboarding.npx -y githits@latest ... fails because of network, DNS, or package-fetch errors, stop and report that GitHits CLI is unavailable.Ask: Where should GitHits be configured?
Options:
My user account (Recommended) — configures detected tools globally/user-level on this machine so GitHits is available wherever the user works with those agents.This project only — writes project-local MCP files into this repo; files may be committed.Project-level detection:
npx -y githits@latest init --project --detect-agents --json
User-level detection:
npx -y githits@latest init --detect-agents --json
Run detection inline, not in a background terminal. Wait for JSON before continuing.
Do not offer tools with unsupported_project_config for project-level setup.
installableIds is non-empty, use structured choices for tool selection. Do not ask the user to type comma-separated tool IDs unless no structured choice UI is available.Present Configure all detected tools (Recommended) as the first option, then list individual tools for selective setup. Do not present "configure none" as a normal onboarding choice.
Ask before writing configuration: I recommend configuring all detected tools so GitHits works wherever you use an agent. Proceed with all, or choose specific tools?
Do not run init -y or init --yes unless the user explicitly asks to configure every detected tool.
Guidance is installed by default. It adds the githits-mcp skill and a short instruction pointer for tools with verified guidance paths. Add --no-guidance only when the user explicitly asks for plain MCP without supporting instructions.
Project-level install:
npx -y githits@latest init --project --install-agents <comma-separated-approved-ids> --json
User-level install:
npx -y githits@latest init --install-agents <comma-separated-approved-ids> --json
Check whether login can be skipped because auth is already active:
npx -y githits@latest auth status
If not authenticated or expired, ask before launching browser login, then run:
npx -y githits@latest login
Normal login opens the browser when possible and also prints a fallback sign-in URL. If command output is hidden from the user, relay the URL verbatim.
Use this only when browser launch fails or the environment is headless:
npx -y githits@latest login --no-browser
With --no-browser, surface the printed sign-in URL clearly so the user can open it in a browser. If command output is hidden from the user, relay the URL verbatim. Do not ask them to paste secrets or OAuth codes back into chat.
Project-level verification:
npx -y githits@latest auth status
npx -y githits@latest init --project --detect-agents --json
User-level verification:
npx -y githits@latest auth status
npx -y githits@latest init --detect-agents --json
Report configured tools, auth state, failures, and whether the user should open a new Claude Code session so MCP config changes load.
npx claudepluginhub githits-com/githits-cli --plugin githitsInstalls GitHits MCP configuration, detects coding tools, and walks through account sign-in/signup from an agent session. Use when the user asks to set up or connect GitHits.
Generates .mcp.json and .claude/settings.json to configure MCP servers, tokens, and tool permissions for agent-flow pipeline. Supports CLI flags for tracker type, instance URL, and source control remote.
Interactive wizard configures repositories for Claude Code best practices by creating CLAUDE.md, slash commands, agents, hooks, and permissions. Activates on 'setup claude', 'init claude', or repo setup requests.