Code Agent — AI skill for Claude Code
An AI Agent that operates on GitHub Actions.
How to install Code Agent
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open potproject/code-agent and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Code Agent does
An AI Agent that operates on GitHub Actions. By using this action, you can directly invoke Coding Agent CLI from GitHub Issues or Pull Request comments and automate code changes.
Alternatives in AI
- UnrealClaude — Claude Code CLI integration for Unreal Engine 5.7 - Get AI coding assistance with built-in UE5.7 documentation 524 ★
- Claude Hub — by Claude Did This - A webhook service that connects Claude Code to GitHub repositories, enabling AI-powered c 393 ★
- Geminimcp — Gemini-MCP is an MCP server that encapsulates Google's Gemini CLI tool into a standard MCP protocol interface 294 ★
README
Code Agent
An AI Agent that operates [Claude Code](https://github.com/anthropics/claude-code) and [Codex](https://github.com/openai/codex) on GitHub Actions. By using this action, you can directly invoke Claude Code or Codex from GitHub Issues or Pull Request comments and automate code changes.
Features
- Start Claude Code with the
/claudecommand from GitHub Issues or PR comments - Start Codex with the
/codexcommand from GitHub Issues or PR comments - Automatically create a Pull Request or commit changes if the AI modifies code
- Post AI output as a comment if there are no changes
Usage
Project Settings
Settings -> Actions -> General -> Workflow permissions
- Read and write permissions
- ✔ Allow GitHub Actions to create and approve pull requests

Settings -> Secrets and variables -> Actions -> Secrets
- Repository secrets: Set
ANTHROPIC_API_KEY(for Claude Code) orOPENAI_API_KEY(for Codex)

Workflow Configuration
name: Code Agent
permissions:
contents: write
pull-requests: write
issues: write
on:
issues:
types: [opened]
issue_comment:
types: [created]
pull_request_review_comment:
types: [created]
jobs:
code-agent:
runs-on: ubuntu-latest
if: ${{ github.event.sender.type != 'Bot' }}
steps:
- uses: potproject/code-agent@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
# [Claude Code Settings]
anthropic-api-key: ${{ secrets.ANTHROPIC_API_KEY }}
# [Optional Claude Code Settings]
# anthropic-base-url: "https://api.anthropic.com"
# anthropic-model: "claude-3-7-sonnet-20250219"
# anthropic-small-fast-model: "claude-3-5-haiku-20241022"
# claude-code-use-bedrock: "1"
# anthropic-bedrock-base-ur
Related Skills
Seamark
🛡️ Change control for AI coding agents. See what Claude Code, Cursor, Codex and Gemini CLI can do in your rep
Sourceant
Persistent memory for AI coding agents: decisions, rules, API contracts, and system topology served over MCP t
Aigate AI Git Workflow Guard CLI
Pre-push Git safety CLI for AI-assisted coding: catch risky changes, possible secrets, weak PR readiness, and
Claude Software Factory
Automate issue-driven code creation, review, merging, and bug scanning in any GitHub repo using GitHub Actions
Md Redline
Inline review comments for markdown specs. Built-in MCP server hands feedback directly to your AI agent.
ProjectUAI
Project UAI is a universal AI agent that runs directly inside Roblox. It brings a Claude Code–style agent loop
Related Agents
Fagan
External PR review agent. Invoke as a background task to produce a structured findings report for a pull reque
Untrusted Reader
Reads external content that A3 classifies as untrusted, in an isolated context with no write tools. Use proact
PR Fixer
Use to resolve findings on an existing pull request - review comments, CI failures, and self-review findings -