github-agent-identities

Assigns distinct GitHub usernames and tokens to AI agents for PR comments and commits.

1|Updated Mar 7, 2026
One-click install
npx skills add https://github.com/jimmymalhan/codereview-pilot --skill github-agent-identities
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-agent-identities
Source: https://github.com/jimmymalhan/codereview-pilot/tree/main/.claude/skills/github-agent-identities
Command: npx skills add https://github.com/jimmymalhan/codereview-pilot --skill github-agent-identities

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill ensures that each AI agent interacting with GitHub (e.g., posting comments, making commits) uses a distinct, identifiable GitHub persona, making it clear who or what is performing an action and allowing for agent-specific feedback and accountability.

Core Features & Use Cases

  • Per-Agent GitHub Identity: Assigns unique GitHub usernames and associated tokens to different agents (e.g., CodeReviewer, APIValidator).
  • Visible Multiple Contributors: Ensures PRs display comments and commits from various agent accounts, simulating a team review process.
  • Convince Before Merge: Establishes a workflow where agents must approve changes, and the author must address blocking feedback before merging.
  • Use Case: When an automated code review process runs, the CodeReviewer agent might post a comment, followed by the APIValidator agent identifying an API issue, and the author then addresses these comments, with each agent re-evaluating and commenting from their distinct identity.

Quick Start

Use the github-agent-identities skill to configure agents to post PR comments as distinct GitHub users.

Frequently Asked Questions about github-agent-identities

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I assign distinct GitHub identities to AI agents for code review?

Assign distinct GitHub identities to AI agents by configuring unique machine user accounts and personal access tokens. This allows each agent to post PR comments and make commits as a separate, identifiable persona within the repository.

Can I simulate a team review process using multiple AI agents on a single repository?

Yes, you can simulate a team review process by assigning unique GitHub usernames to different agents. PRs will display comments and commits from various agent accounts, requiring authors to address blocking feedback from each persona before merging.

What do I need to set up for automated agent personas to post PR comments on GitHub?

Setup requires creating machine user accounts, generating personal access tokens for each agent, and configuring environment variables for each token. This ensures actions like posting PR comments are attributed to the correct agent identity.

How does a multi-agent consensus workflow work for GitHub pull requests?

A multi-agent consensus workflow requires various agents, such as a CodeReviewer or APIValidator, to evaluate and approve changes. The author must address blocking feedback from each distinct agent identity until consensus is reached before merging.

Why do my automated GitHub agents all show up as the same contributor on commits?

Automated agents show up as the same contributor when sharing a single token. Assigning distinct machine user accounts and individual personal access tokens to each agent ensures they display as separate visible contributors.