• Codex
  • Claude Code
  • VS Code
  • GitHub Copilot
  • Cursor
  • Cline
  • Windsurf
  • Google Anti-gravity
  • OpenCode
  • Pi
  • Gemini CLI
  • Hermes Agent
  • Zed
  • Junie
  • Qwen Code
  • Kiro
  • Kilo Code
  • Factory Droid

Set up GitHits for your agents

Run this command:

<> bash
npx githits@latest init

What happens next:

  1. Opens your browser to authorize GitHits
  2. Asks whether to set up GitHits at the user or project level
  3. Detects your supported AI coding tools
  4. Lets you choose which tools to configure
  5. Configures the selected tools
Back to blogA prompt and coding-agent node guiding a short sequence of checked setup steps

June 22, 2026 · 2 min read

Let Your Agent Set Up GitHits for You

Install the GitHits onboarding skill so your agent can create your account, configure supported tools, and guide setup from one prompt.

GitHits already has a CLI setup flow that can create your account, sign you in, and configure your coding agents. Because that flow runs in the terminal, your agent can help drive it too. The new githits-onboarding skill gives your agent the instructions it needs to walk you through setup from a single prompt.

Install the onboarding skill

Start by running the GitHits init flow:

npx githits@latest init

When the CLI asks what you want to do, choose the option to use agent skills. Then install githits-onboarding for the scope you want. In the walkthrough, the skill is installed at the project level before opening OpenCode.

Ask your agent to configure GitHits

Once the skill is installed, open your coding agent and ask it to set up GitHits:

Create an account and configure my tools to use GitHits.

The agent loads the onboarding skill and starts the same setup path you would normally run yourself. Instead of switching back to the CLI for every choice, the agent asks the setup questions in the agent session.

Let the agent guide the setup questions

The onboarding skill helps the agent explain the choices that matter during setup. It can ask whether you want user-level or project-level configuration, scan for compatible tools, and confirm which detected agents should be configured.

In the video, the agent configures GitHits at the user level and then sets up all detected tools. After confirmation, it writes the local configuration needed for those agents to use GitHits.

Complete sign-in or sign-up

After tool configuration, the agent guides the authentication step. Existing users can sign in and authorize the CLI. New users can create an account in the same browser flow, then return to the agent session.

When auth completes, the agent verifies that GitHits is connected and ready to use.

Start using GitHits

With one installed skill and one prompt to your coding agent, GitHits can scan compatible agents, configure your selected tools, and complete the auth flow. The result is the same source-grounded GitHits setup, but with your agent handling more of the onboarding work for you.

Get started

GitHits in one command

Install GitHits or refresh an existing setup with the same command.

npx -y githits@latest init