General
What is GitSniper?
GitSniper is a browser extension that extracts code review comments from GitHub and GitLab pull/merge requests. It formats the output for AI tools like Claude, ChatGPT, and other LLMs, enabling AI-assisted code review workflows.
Is GitSniper free?
Yes. GitSniper is free to use with no feature limitations.
Which browsers are supported?
GitSniper works on:
- Firefox (via Firefox Add-ons)
- Chrome (via Chrome Web Store)
Does GitSniper work with private repositories?
Yes. GitSniper uses your existing browser session for authentication. If you can view a PR in your browser, GitSniper can extract from it.
Privacy & Security
Does GitSniper send my code to external servers?
No. GitSniper processes everything locally in your browser. The extracted content goes only to your clipboard. No data is sent to GitSniper servers or any third party.
What data does GitSniper store?
GitSniper stores locally in your browser:
- Your preferences (preambles, excluded authors)
- Clipboard history (recent extractions)
- UI state (collapsed sections, selected options)
This data never leaves your device.
Can GitSniper access my GitHub/GitLab credentials?
No. GitSniper reads page content that's already rendered in your browser. It doesn't access tokens, passwords, or API credentials.
Is my clipboard history secure?
Clipboard history is stored in browser local storage, which is sandboxed per-extension and per-origin. Other extensions and websites cannot access GitSniper's stored data.
Usage
Why isn't the GitSniper button appearing?
Common causes:
- Page not fully loaded - Wait for the PR to fully load, then refresh
- Extension disabled - Check that GitSniper is enabled in your browser
- Conflicting extension - Try disabling other extensions that modify GitHub/GitLab
- Cache issue - Clear browser cache and refresh
Why are some comments missing from the extraction?
Make sure all content is visible:
- Expand all collapsed discussions
- Click "Load more" on long threads
- Scroll through the entire PR to trigger lazy-loading
- Check if you have author filtering enabled
Can I extract from multiple PRs at once?
Currently, GitSniper extracts from one PR at a time. For multiple PRs, extract each separately.
Does GitSniper work on mobile?
Mobile browsers don't support desktop extensions. GitSniper requires Firefox or Chrome on desktop.
Features
What's the difference between Global and Local author exclusions?
- Global: Applies to all PRs. Use for bots and CI systems you always want filtered.
- Local: Applies only to the current PR. Use for one-time exclusions.
Can I customise the output format?
The output format is optimised for AI comprehension and isn't currently customisable. Preambles let you add context but don't change the extraction format itself.
Does Expand References work with all links?
Expand References works with:
- GitLab file and line links (full support)
- GitHub file and line links (limited, requires authentication)
- Commit links
External links (Stack Overflow, docs sites) are not expanded.
How many extractions are stored in clipboard history?
History stores your recent extractions until you clear them or storage limits are reached (~5-10MB depending on browser). Old entries are removed automatically when space is needed.
AI Integration
Which AI tools work with GitSniper?
GitSniper's output works with any AI that accepts text input:
- Claude (claude.ai, API)
- ChatGPT (chat.openai.com, API)
- GitHub Copilot Chat
- Cursor
- Other LLMs and AI assistants
How should I prompt the AI with GitSniper output?
A simple approach:
Here's the feedback from my code review:
[paste GitSniper output]
Please help me address each comment.
For better results, use a preamble that includes project context and your preferred response format.
The AI is missing context. What can I do?
Try:
- Enable Expand References to include linked code
- Add project context in your preamble
- Include relevant parts of your codebase in the conversation
- Ask the AI to request specific information it needs
Troubleshooting
GitSniper extracted 0 comments but I see comments on the page
Check:
- Are all authors excluded? Review your exclusion list.
- Are comments in collapsed sections? Expand them first.
- Are comments from a different review system? Some enterprises use third-party review tools.
The extension crashed or froze
Try:
- Refresh the page
- Disable and re-enable the extension
- Clear the extension's stored data (warning: loses preferences)
- Reinstall the extension
If the issue persists, report it with browser version and steps to reproduce.
Extraction takes a long time
Large PRs with many comments take longer to process. This is normal. If extraction consistently hangs:
- Check browser console for errors
- Try extracting with Expand References disabled
- Ensure no infinite redirect loops in linked content
Contributing
How can I report a bug?
Open an issue with:
- Browser and version
- GitHub or GitLab version (if self-hosted)
- Steps to reproduce
- Expected vs actual behaviour
Can I contribute to GitSniper?
Yes. Check the repository for contribution guidelines and open issues.