Marcel2508

Forgewright — AI skill for Claude Code

AI community

Mention-driven AI coding agent for GitHub and GitLab.

How to install Forgewright

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Marcel2508/forgewright and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Forgewright does

Mention-driven AI coding agent for GitHub and GitLab. Turns @-mentions into Draft PRs/MRs, inline reviews, and threaded replies. Pluggable agents (Claude Code, OpenCode), pluggable platforms.

Alternatives in AI

  • Claude Hub — by Claude Did This - A webhook service that connects Claude Code to GitHub repositories, enabling AI-powered c 393 ★
  • BossConsole — Open-source, multi-platform harness for AI agents — a native, multi-threaded operator's console (JVM, not Elec 227 ★
  • Gh PR Review — GitHub CLI extension that adds full inline PR review comment support — view, navigate, reply to, and resolve r 174 ★

README

forgewright

**A self-hosted, platform- and agent-agnostic coding bot.** Mention `@forgewright` on a GitLab issue or a GitHub pull request, and the bot opens a Draft MR/PR with working code, answers questions inline, or posts a full code review with line-level comments. Runs Claude Code or Hermes Agent (with any OpenAI-compatible model, bring your own key) under the hood, against either GitLab or GitHub — pick your combination in one line of YAML.

platform_type: "github"     # or "gitlab"
agent_type:    "claude"     # or "hermes" (or the deprecated "opencode")
bot_username:  "forgewright"

That's the whole switch. The rest of the system — the webhook server, the polling loop, the worktree isolation, the prompt templates, the threaded reply parsing — is shared across every combination.


Multi-platform: GitLab and GitHub, same code path

Both platforms are first-class. They are not two separate tools glued together — they implement the same 22-method `Platform` abstract base class (`forgewright/platform/base.py`) and plug into the same pipeline.

GitLab GitHub
Issues — react to @mention ✅ ✅
Draft merge/pull requests ✅ ✅
Threaded discussion replies ✅ ✅
Inline code-review comments ✅ ✅
Pipeline / Check run context ✅ ✅
Webhook signature validation X-Gitlab-Token HMAC-SHA256
Self-hosted support Any GitLab instance GHE + github.com

Want to run it against your self-hosted GitLab **and** your public-facing GitHub organization? Run two instances of forgewright with two config files — same binary, same systemd unit template, same logs.

Adding a third platform (Forgejo, Gitea, Bitbucket) is a single-file task: implement `Platform` in `forgewright/platform/.py`, register it in `forgewright/platform/__init__.py:create_platform()`, done. See [docs/contributing.md](docs/contributing.md).

--