Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

local-gh-dev

Skill by langchain-ai

Runs the Open SWE dashboard locally against real GitHub data, signed in with the gh CLI instead of a GitHub App. Built for developers testing dashboard changes on real pull requests or reproducing issues from a screenshot.

  • Score 86
  • 11k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install local-gh-dev

Built from the published package, never by AI.

git clone --depth 1 https://github.com/langchain-ai/open-swe /tmp/open-swe && mkdir -p ~/.claude/skills && cp -r /tmp/open-swe/.claude/skills/local-gh-dev ~/.claude/skills/local-gh-dev

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install local-gh-dev in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

local-gh-dev is a skill for running the Open SWE dashboard on a developer's machine against real GitHub data. Instead of a per-machine GitHub App, it uses the gh CLI's existing OAuth token. The /dashboard/api/auth/dev-login endpoint turns those credentials into a session. That endpoint is refused unless langgraph dev is the runtime, and the ALLOWED_GITHUB_USERS allowlist still applies. The skill also says the gh token covers App token paths, such as publishing a review, in local development.

The skill walks through startup: checking gh login status, checking ports 2024 and 3000, setting the required .env keys, starting the backend and Vite, and reusing the Postgres container. It also covers running reviewer agents over HTTP with a session cookie, watching the backend log, and checking review tables. It is aimed at developers testing dashboard changes against real pull requests or reproducing issues shown in screenshots.

Written from the project's SKILL.md and checked against it.

What it can do

  • Local dev loginTurns the gh CLI's credentials into a dashboard session through /dashboard/api/auth/dev-login.
  • Startup guideSteps to check ports, set .env keys, and start the langgraph backend and Vite.
  • Postgres reuseExplains how to reuse the open-swe-postgres container instead of starting another one.
  • Reviewer runs over HTTPPosts a re-review trigger to the dashboard API with a session cookie and matching Origin.
  • Backend log watchingGreps the backend log for sandbox, traceback and publish_review errors during agent runs.
  • Review table checksQueries the pull_request_guidance table directly to see what the reviewer recorded.
  • Local author guidance seedingUses scripts/seed_local_author_guidance.py to write guidance data into a thread and link it to a PR.
  • Page checks in a browserUses the ego-browser skill to inspect dashboard pages with a real session cookie.

What you need

  • GitHub CLI (gh) logged in
  • uv and pnpm
  • Docker for the Postgres container, unless POSTGRES_URI is set
  • ANTHROPIC_API_KEY or OPENAI_API_KEY for real agent runs
  • A public hostname tunnel (make tunnel) for agent runs

Try asking

  • Run the Open SWE dashboard locally against real PRs in my repo
  • Trigger a re-review on PR 42 and check the backend log for errors
  • Check whether my local dashboard shows the reviewer's findings for a PR

Good to know

  • The dev login only works when langgraph dev is the runtime.
  • Agent runs use real models and sandboxes, so they cost money and take minutes.
  • Sandboxes cannot run from a laptop's localhost and need a real hostname.
  • Standalone scripts cannot trigger agent work because the dev token fallback is gated on langgraph dev.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/local-gh-dev/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md7 KB

Alternatives to local-gh-dev

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

local-gh-dev: common questions

Does local-gh-dev need a GitHub App?

No. The skill says local development needs no GitHub App because the gh CLI already holds an OAuth token for the signed-in user.

Why does local login fail with GITHUB_APP_CLIENT_ID not configured?

The skill says that when no App is configured, Continue with GitHub redirects to the gh login instead, so you land signed in.

Why does a review come back with zero findings when run locally?

The skill says sandbox provisioning can fail on localhost before the agent starts, so the review settles with no findings. Exposing the dashboard on a real hostname avoids this.

How do I install local-gh-dev?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is local-gh-dev free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is local-gh-dev safe to use?

It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to local-gh-dev?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

local-gh-dev Install

Add to stack

Loading.