Skip to content
alexandreext-labPublic
forked from oddur/gnosis

About

We've gotten fast at writing code. Reviewing it hasn't kept up.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

55 Commits

Folders and files

Repository files navigation

Gnosis

Gnosis is an ancient Greek word for knowledge — not the surface kind, but the deep, direct understanding of something. The Gnostics used it to mean insight that comes from within, from truly comprehending a thing rather than just observing it from the outside. That's what's missing from most code reviews: you see the diff, but you don't get the understanding. Gnosis tries to close that gap — to give the reviewer not just the changes, but the story behind them.

We've gotten fast at writing code. Reviewing it hasn't kept up.

Pull requests are still reviewed the same way they always have been — scrolling through a list of file diffs in whatever order GitHub decides to show them, with no grouping, no context, and no sense of which changes depend on which. It works, but it's slow and it's easy to miss things.

Gnosis is an experiment in changing that. Paste a PR URL and it reads the diff, groups related changes together, and presents them as an ordered slideshow — foundation changes first, then the features built on top, then tests and config. Each slide has a short explanation of why the change is there, the relevant diff, and optionally a diagram. The goal is to walk the reviewer through the change the way the author understands it, not the way the filesystem happens to order it.

It runs locally and uses Claude Code under the hood. Possibly Codex later.

Requirements

  • Claude Code CLI — installed and authenticated (claude auth)
  • Node.js 20+

Install

brew tap oddur/gnosis
brew install --cask gnosis

Or download manually from GitHub Releases. The app is not code-signed — macOS will block it on first launch. After moving to /Applications, run:

xattr -cr /Applications/Gnosis.app

Update

brew update && brew upgrade --cask gnosis

On first launch, click Connect GitHub to authenticate via OAuth. Alternatively, set GITHUB_TOKEN in your environment — it takes precedence over OAuth.

Usage

  1. Paste a GitHub PR URL
  2. Pick a model (Opus 4.6 or Sonnet 4.6)
  3. Optionally enable Extended thinking for more thorough analysis (slower)
  4. Optionally add custom instructions — e.g. focus on security, explain the auth flow
  5. Hit Generate Review

Navigate slides with ← → or the Prev/Next buttons. Drag the divider between the narrative and diff panels to resize.

Past reviews are saved locally and shown on the home screen — click any to reload without re-generating.

Review comments

While reviewing slides, you can add inline comments on specific diff lines. When you're done, submit the review directly to GitHub as an approval, request for changes, or comment — without leaving the app.

Signal boost

Filters out trivial changes (whitespace, import reordering, boilerplate) and focuses slides on design decisions, complexity, and API surface changes. Toggle it on before generating.

Smart imports

The default neighbor file detection only understands ES6 import statements. Enable Smart imports to use Claude Haiku to identify local file imports across all languages — C#, Rust, Python, Go, and anything else. This gives the reviewer context about files that the changed code depends on, even in non-JS/TS repos.

Stale review detection

If a PR receives new commits after your review was generated, Gnosis shows a banner with what changed and offers to re-generate.

Screenshots

image image image

Development

git clone https://github.com/oddur/gnosis.git
cd gnosis
npm install
npm start

Build

npm run make      # produces a distributable in out/

About

We've gotten fast at writing code. Reviewing it hasn't kept up.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages