xllm: Skill for Claude Code

.agents/skills/code-review/SKILL.md

code-review is a skill for Claude Code, Codex from xLLM-AI/xllm. It costs 71 tokens per session (808 once invoked), scanned A, original, Apache-2.0.

A code-review guide for examining changes for correctness, security, performance, and fit with project rules.

In plain words
What is it for?
Use it to review Git changes in the xLLM repository against its style and engineering standards.
Why use it?
It provides a repeatable way to inspect a branch or pull request and spot defects, design problems, and missing error handling.

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 xLLM-AI/xllm's own configuration. It tells Claude Code and Codex how to work on xllm 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 xllm configures →

About the project

xLLM is an inference engine, meaning software that runs trained AI models to produce outputs from inputs, for large language, vision-language, diffusion, and recommendation models on different AI accelerators. Organizations use it to deploy these models with high-throughput and low-latency inference. The catalogue entries provide skills and instructions for working with xLLM.

xLLM-AI/xllm · 1,604 stars · on GitHub · xllm-ai.com

Reuse

Borrowing it

Nothing to install: this file belongs to xLLM-AI/xllm. 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/xLLM-AI/xllm/main/.agents/skills/code-review/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/xLLM-AI/xllm

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 code-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/xllm-ai/xllm/code-review/github.svg)](https://agentmods.dev/skills/xllm-ai/xllm/code-review)
Your own site
<a href="https://agentmods.dev/skills/xllm-ai/xllm/code-review"><img src="https://agentmods.dev/badge/skills/xllm-ai/xllm/code-review/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 code-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/xllm-ai/xllm/code-review"><img src="https://agentmods.dev/badge/skills/xllm-ai/xllm/code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 808 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.00071 $0.00808
Opus 5.5 $0.00028 $0.00323
Sonnet 5.5 $0.00014 $0.00162
Haiku 4.5 $0.00007 $0.00081

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

Security

Grade A, and why

code-review 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 5d ago.

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/code-review/SKILL.md · 116 lines

How it starts

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

Code Review

Workflow

Step 1: Determine the diff

If the user provides explicit SHAs or a PR link, use those. Otherwise, auto-detect:

# Fetch latest remote state
git fetch origin main --quiet

# Detect current branch
CURRENT_BRANCH=$(git branch --show-current)

# Find the merge base with origin/main
MERGE_BASE=$(git merge-base origin/main HEAD)

# Show what changed
git diff --stat $MERGE_BASE..HEAD
git diff $MERGE_BASE..HEAD

If CURRENT_BRANCH is main, warn the user and ask which commits to review.

Step 2: Read project standards

Read the shared rules in custom-code-style.md and the guide for every language in the diff: C++ or Python.

Step 3: Review against the checklist

Correctness:

  • Logic handles edge cases and boundary conditions
  • Error handling is comprehensive (no silent failures)
  • Type safety maintained (no unsafe casts, proper use of std::optional)
  • Resource lifecycle correct (RAII, no leaks, proper cleanup order)

Architecture:

  • Clean separation of concerns, no layer violations
  • Dependencies flow in the correct direction
  • Changes align with existing patterns in the codebase
  • No unnecessary coupling introduced

Performance & Concurrency:

  • No performance regressions on hot paths
  • Thread safety: proper locking, no data races
  • CUDA/NPU kernels: memory coalescing, occupancy, sync correctness
  • No unnecessary copies of large objects (tensors, vectors)

Testing:

  • Tests verify actual logic, not just mock wiring
  • Edge cases and error paths covered
  • Integration tests for cross-component changes

Production Readiness:

  • Backward compatibility maintained (or breaking changes documented)
  • Migration strategy for schema/config changes
  • No hardcoded values that should be configurable

Step 4: Output findings

Use the format below.

Output Format

Strengths

[Specific things done well, with file:line references]

Read the full file on GitHub · 116 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 5d ago Changed 5a2a0031b777
  2. 1mo ago First seen · 116 lines · 71 tokens per session scan A 000289abb040

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository xLLM-AI/xllm (1,604 stars, last pushed yesterday), licensed Apache-2.0. It adds 71 tokens to every session and 808 once invoked, about $0.0003 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-31.