agent-kernel: Skill for Claude Code

.agents/skills/ak-dev-review-pr/SKILL.md

ak-dev-review-pr is a skill for Claude Code, Codex from yaalalabs/agent-kernel. It costs 129 tokens per session (5,676 once invoked), scanned A, original, Apache-2.0.

A guide for reviewing a GitHub pull request against Agent Kernel's architecture, design, code-quality, and testing standards. A pull request is a proposed set of code changes for review before merging.

In plain words
What is it for?
Use it to review another contributor's pull request, inspect its related specifications, and publish findings with inline comments.
Why use it?
It helps produce review comments based on the project's own rules and avoids overlooking relevant design documents or existing feedback.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is yaalalabs/agent-kernel's own configuration. It tells Claude Code and Codex how to work on agent-kernel itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agent-kernel configures →

Reuse

Borrowing it

Nothing to install: this file belongs to yaalalabs/agent-kernel. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/yaalalabs/agent-kernel/develop/.agents/skills/ak-dev-review-pr/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/yaalalabs/agent-kernel

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ak-dev-review-pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/yaalalabs/agent-kernel/ak-dev-review-pr/github.svg)](https://agentmods.dev/skills/yaalalabs/agent-kernel/ak-dev-review-pr)
Your own site
<a href="https://agentmods.dev/skills/yaalalabs/agent-kernel/ak-dev-review-pr"><img src="https://agentmods.dev/badge/skills/yaalalabs/agent-kernel/ak-dev-review-pr/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ak-dev-review-pr

Your own site · 80×15
<a href="https://agentmods.dev/skills/yaalalabs/agent-kernel/ak-dev-review-pr"><img src="https://agentmods.dev/badge/skills/yaalalabs/agent-kernel/ak-dev-review-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 129 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,676 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00129 $0.05676
Opus 5.5 $0.00052 $0.02270
Sonnet 5.5 $0.00026 $0.01135
Haiku 4.5 $0.00013 $0.00568

Measured today against content hash f8afc08630db, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ak-dev-review-pr scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/ak-dev-review-pr/SKILL.md · 269 lines

How it starts

The opening of the file, as written. The whole thing — 269 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Review a Pull Request Against Agent Kernel Practices

Use this skill when asked to review a specific pull request by number or URL. It fetches the PR with the GitHub CLI (gh), reviews the delta against Agent Kernel's documented practices, and pushes the verified findings to the PR as a single review with inline comments.

This skill is for reviewing someone else's PR, not for reviewing your own uncommitted working-tree changes.

Goal

Produce a thorough, low-noise review grounded in Agent Kernel's own standards — architecture, code quality, and testing skills — and publish it on the PR so the author can act on it, without duplicating feedback that is already on the PR.

Inputs

  • PR identifier (required): a number (342), a URL, or owner/repo#number. If only a number is given, resolve the repository from the origin remote of the current checkout.
  • Optional scope hints: the requester may narrow the review ("focus on the session store changes") — honor them, but still flag anything clearly dangerous outside that scope.

If no PR identifier can be determined, stop and ask for one. Do not guess.

Step 1: Fetch the PR Context

Gather everything before forming opinions:

# Metadata: title, body, author, base/head, state, linked issues
gh pr view <N> --json number,title,body,author,baseRefName,headRefName,state,files,additions,deletions,url

# The full diff
gh pr diff <N>

# Existing discussion and review comments — needed for dedupe in Step 5
gh pr view <N> --comments
gh api repos/{owner}/{repo}/pulls/<N>/comments --paginate

# CI status
gh pr checks <N>

Then make the PR head readable locally without touching the developer's working tree:

git fetch origin pull/<N>/head:refs/remotes/pr/<N>
git show pr/<N>:<path>          # read any file at the PR head

Never run gh pr checkout — it would switch the developer's branch.

Read the full content of every changed source file at the PR head, not just the diff hunks. A diff hunk without surrounding context is the main source of false-positive review comments.

Read the full file on GitHub · 269 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed f8afc08630db
  2. 1mo ago Changed 0d23cb4b61db
  3. 1mo ago Changed · +10 lines 7658c7168e81
  4. 1mo ago Changed · +11 lines ab791462f4cd
  5. 2mo ago First seen · 248 lines · 129 tokens per session scan A e7e282be58a0

Subscribe to this mod's changes

ak-dev-review-pr is a skill published in the GitHub repository yaalalabs/agent-kernel (192 stars, last pushed yesterday), licensed Apache-2.0. It adds 129 tokens to every session and 5,676 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

ak-dev-review-pr compared with skills from other repositories

ak-dev-review-pr next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ak-dev-review-pryaalalabs/agent-kernelSkill192yesterdayApache-2.0A129Claude Code, Codex
cloud-native-security-defensivej4flmao/agent-skillsSkill383d agoMITA127Claude Code, Codex
drift-detectelasticdotventures/_b00t_Skill1512d agononeA35Claude Code
reviewerelasticdotventures/_b00t_Skill1512d agononeA54Claude Code
code-qualityelasticdotventures/_b00t_Skill1512d agononeA36Claude Code
go-spec-reviewerinference-gateway/adkSkill272d agoApache-2.0A93Claude Code, Codex
green-prsdiegosouzapw/OmniRouteSkill83k5d agoMITA51Claude Code, Codex