Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
sickn33 avatar

Loki Mode

  • 662 installs
  • 44k repo stars
  • Updated July 27, 2026
  • sickn33/antigravity-awesome-skills

loki-mode is a GitHub Actions agent skill that delivers structured Claude code reviews on every pull request for developers who want consistent PR feedback without leaving GitHub.

About

loki-mode packages a Claude Code Review GitHub Actions workflow that runs on pull_request events with types opened and synchronize. The job checks out code on ubuntu-latest with permissions for contents, pull-requests, issues read, and id-token write for Claude authentication. Optional filters can scope reviews to specific path globs such as src/**/*.ts or limit runs to certain PR authors and first-time contributors. Developers reach for loki-mode when they want automated, repeatable PR reviews on every update instead of manual review checklists or inconsistent bot comments. The workflow integrates directly into GitHub so review feedback appears in the PR thread developers already use. Configure path filters when only certain languages need review, or enable author filters for external contributor guardrails. loki-mode suits teams standardizing Claude-assisted review gates in CI.

  • Automates Claude-powered PR reviews on open or synchronize events
  • Checks code quality, bugs, performance, security, and test coverage
  • Respects your CLAUDE.md for project-specific style and conventions
  • Configurable to run only on external or first-time contributors
  • Outputs constructive feedback directly in the GitHub PR

Loki Mode by the numbers

  • 662 all-time installs (skills.sh)
  • +2 installs in the week ending Jul 27, 2026 (Skillselion tracking)
  • Ranked #194 of 1,382 Code Review & Quality skills by installs in the Skillselion catalog
  • Security screen: HIGH risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill loki-mode

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs662
repo stars44k
Security audit0 / 3 scanners passed
Last updatedJuly 27, 2026
Repositorysickn33/antigravity-awesome-skills

How do you automate Claude code reviews on GitHub PRs?

Get structured, consistent code reviews on every pull request using Claude without leaving GitHub.

Who is it for?

Teams wanting consistent Claude PR reviews triggered directly from GitHub Actions on every pull request update.

Skip if: Local-only pre-commit linting, non-GitHub repositories, or security penetration testing unrelated to pull request diffs.

When should I use this skill?

User wants automated Claude code review on GitHub pull requests or needs a PR review GitHub Actions workflow.

What you get

GitHub Actions workflow file, automated PR review comments, and configurable path or author filters for Claude review jobs.

  • GitHub Actions workflow YAML
  • Automated PR review comments

By the numbers

  • Triggers on 2 pull_request types: opened and synchronize
  • Example path filters cover 4 src glob patterns

Files

SKILL.mdMarkdownGitHub ↗

name: Claude Code Review

on: pull_request: types: [opened, synchronize]

Optional: Only run on specific file changes

paths:

- "src/*/.ts"

- "src/*/.tsx"

- "src/*/.js"

- "src/*/.jsx"

jobs: claude-review:

Optional: Filter by PR author

if: |

github.event.pull_request.user.login == 'external-contributor' ||

github.event.pull_request.user.login == 'new-developer' ||

github.event.pull_request.author_association == 'FIRST_TIME_CONTRIBUTOR'

runs-on: ubuntu-latest permissions: contents: read pull-requests: read issues: read id-token: write

steps:

  • name: Checkout repository

uses: actions/checkout@v4 with: fetch-depth: 1

  • name: Run Claude Code Review

id: claude-review uses: anthropics/claude-code-action@v1 with: claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} prompt: | REPO: ${{ github.repository }} PR NUMBER: ${{ github.event.pull_request.number }}

Please review this pull request and provide feedback on:

  • Code quality and best practices
  • Potential bugs or issues
  • Performance considerations
  • Security concerns
  • Test coverage

Use the repository's CLAUDE.md for guidance on style and conventions. Be constructive and helpful in your feedback.

Use gh pr comment with your Bash tool to leave your review as a comment on the PR.

See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md

or https://code.claude.com/docs/en/cli-reference for available options

claude_args: '--allowed-tools "Bash(gh issue view:),Bash(gh search:),Bash(gh issue list:),Bash(gh pr comment:),Bash(gh pr diff:),Bash(gh pr view:),Bash(gh pr list:*)"'

name: Claude Code

on: issue_comment: types: [created] pull_request_review_comment: types: [created] issues: types: [opened, assigned] pull_request_review: types: [submitted]

jobs: claude: if: | (github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) || (github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) || (github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) || (github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude'))) runs-on: ubuntu-latest permissions: contents: read pull-requests: read issues: read id-token: write actions: read # Required for Claude to read CI results on PRs steps:

  • name: Checkout repository

uses: actions/checkout@v4 with: fetch-depth: 1

  • name: Run Claude Code

id: claude uses: anthropics/claude-code-action@v1 with: claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}

This is an optional setting that allows Claude to read CI results on PRs

additional_permissions: | actions: read

Optional: Give a custom prompt to Claude. If this is not specified, Claude will perform the instructions specified in the comment that tagged it.

prompt: 'Update the pull request description to include a summary of changes.'

Optional: Add claude_args to customize behavior and configuration

See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md

or https://code.claude.com/docs/en/cli-reference for available options

claude_args: '--allowed-tools Bash(gh pr:*)'

name: Release

on: push: paths:

  • 'VERSION'

branches:

  • main

jobs: release: runs-on: ubuntu-latest permissions: content

Related skills

How it compares

Pick loki-mode for native GitHub PR review automation instead of local-only review prompts that never post CI feedback.

FAQ

Which GitHub events trigger loki-mode reviews?

loki-mode triggers on pull_request events with types opened and synchronize. The claude-review job runs on ubuntu-latest and can optionally filter by file paths or PR author association.

What permissions does the loki-mode workflow need?

loki-mode requires GitHub Actions permissions for contents read, pull-requests read, issues read, and id-token write. These enable Claude to authenticate and post structured review feedback on pull requests.

Is Loki Mode safe to install?

skills.sh reports 0 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

Code Review & Qualitytestingintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.