angeloszou/dsh-github-router

Read-only GitHub access for DSH that routes around shell TLS and proxy failures across API, gh CLI, git and page HTML.

Five read-only tools — github_probe, github_pr, github_issue, github_file, github_api — plus a github-router skill and a system-prompt guidance section. Each request runs host-side, outside the sandbox's TLS and proxy restrictions, and falls down a route ladder until one works: api.github.com direct then proxied, the gh CLI's read-only subcommands, the git protocol against a plugin-owned fetch cache or a local clone read with log/diff/show only, PR and issue page HTML, then mirrors if you enabled them. github_probe is the diagnostic: one call returns a connectivity matrix of every route with timings and a recommended chain, which is what you run when access fails or is slow instead of guessing. Safety is enforced by construction rather than by policy text — the page-HTML route extracts only the React embedded-data JSON island and runs JSON.parse on it (never evaluates it) with a bounded walk over a whitelisted field set, so CSRF tokens and raw payloads never reach the model, and every gh or git call is an argv array with fixed flags and regex-validated input.

Tools & Capabilities ★ 3
View on GitHub ↗

Install

dsh plugin --profile web add dsh-github-router

The npm line from the README's Install section, with a link:<absolute-path-to-this-repo> form for a local checkout and a github:<owner>/dsh-github-router form documented alongside it. The README is explicit that you must pick the plugin version matching your Harness: it tracks the DSH plugin API, which does not keep backward compatibility between releases, and the mapping is recorded in package.json under dsh.compatibility.dshReleases.

Compatibility

Node.js 22.19 or newer, and a Harness version the compatibility table covers — DSH 0.1.7-rc.2 is documented against dsh-github-router@0.4.0 or later. The package has zero runtime dependencies, because peers resolve from the DSH profile and proxied requests travel through the plugin's own CONNECT tunnel rather than a third-party HTTP stack, so it installs fully offline. Read-only by construction: the README states there is no write, push, comment or mutation capability anywhere in the package, tokens attach only to whitelisted hosts, and mirrors are off by default because they are third parties that see the requested paths.

Details

Alternatives

AngelosZou/dsh-multi-folder · wloops/dsh-git-worktree · zoahdev/dsh-github-intelligence

More plugins in Tools & Capabilities

Browse more in Tools & Capabilities

Guides for Tools & Capabilities plugins