lfx-self-serve: Skill for Claude Code

.claude/skills/lfx-self-serve-code-review/SKILL.md

lfx-self-serve-code-review is a skill for Claude Code from linuxfoundation/lfx-self-serve. It costs 186 tokens per session (2,955 once invoked), scanned A, original, MIT.

A review guide for checking the latest commit in the LFX Self-Serve repository against its documented rules, architecture, checklists, and external API contracts.

In plain words
What is it for?
Use it after committing changes to review the LFX Self-Serve code against project-specific requirements.
Why use it?
It catches changes that conflict with the repository's written conventions or the systems it connects to.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions CLAUDE.md.

This is linuxfoundation/lfx-self-serve's own configuration. It tells Claude Code how to work on lfx-self-serve 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 lfx-self-serve configures →

Reuse

Borrowing it

Nothing to install: this file belongs to linuxfoundation/lfx-self-serve. 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/linuxfoundation/lfx-self-serve/main/.claude/skills/lfx-self-serve-code-review/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/linuxfoundation/lfx-self-serve

Made for: Claude Code.

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 lfx-self-serve-code-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/linuxfoundation/lfx-self-serve/lfx-self-serve-code-review.svg)](https://agentmods.dev/skills/linuxfoundation/lfx-self-serve/lfx-self-serve-code-review)
Your own site
<a href="https://agentmods.dev/skills/linuxfoundation/lfx-self-serve/lfx-self-serve-code-review"><img src="https://agentmods.dev/badge/skills/linuxfoundation/lfx-self-serve/lfx-self-serve-code-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 186 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,955 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.
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.00186 $0.02955
Opus 5 $0.00093 $0.01477
Sonnet 5 $0.00037 $0.00591
Haiku 4.5 $0.00019 $0.00296

Measured 2d ago against content hash 9f39f98c27e6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

lfx-self-serve-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 2d 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.

.claude/skills/lfx-self-serve-code-review/SKILL.md · 182 lines

How it starts

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

LFX Self-Serve Code Reviewer

In LFX, you audit the latest commit on the LFX Self-Serve branch against the repo's documented rule surface and upstream API/data-layer contracts. Load this repo's documented rules (.claude/rules/), the four docs/reviews/ checklists, architecture docs, then walk them with cross-check discipline. Every repo-convention finding MUST quote a loaded source — drop unsourced claims to avoid inventing repo conventions.

Generic senior-review findings belong to lfx-skills:lfx-general-code-review. Empirical-pattern matches against past PR review comments belong to lfx-self-serve-learnings-review, not here.

Repository scope

This skill is owned by the lfx-self-serve repo (.claude/skills/lfx-self-serve-code-review/), and the reviewer loading it may be launched from the LFX workspace root or a multi-repo session. Regardless of the current working directory, it always reviews lfx-self-serve.

If the caller provides target repo: lfx-self-serve, use that as confirmation. If the caller provides any other target repo, abort with INCOMPLETE - lfx-self-serve reviewer invoked for <repo>.

Before diffing, locate the lfx-self-serve repo root:

  • If you are already in lfx-self-serve, you are home. Use that repo root.
  • Otherwise, look for a sibling or child directory named lfx-self-serve.
  • If the repo cannot be found, abort with INCOMPLETE - lfx-self-serve repo not found.

Inputs

Parse the caller's prompt for:

  • branch — OPTIONAL keyword. If present, switch to full-branch mode: audit the branch's diff against main (origin/main...HEAD) instead of just the latest commit. Used by the pre-PR full-branch sweep.
  • extra: <free text> — optional priority hint.

Step 1 — Compute the diff

Run all git commands from the lfx-self-serve repo root.

Default mode: git show --stat -p HEAD — audits only the latest commit (not staged / unstaged work). Use the stat block as the canonical changed-file list; abort if empty.

Read the full file on GitHub · 182 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. 2d ago First seen · 182 lines · 186 tokens per session scan A 9f39f98c27e6

Subscribe to this mod's changes

lfx-self-serve-code-review is a skill published in the GitHub repository linuxfoundation/lfx-self-serve (11 stars, last pushed today), licensed MIT. It adds 186 tokens to every session and 2,955 once invoked, about $0.0009 per session on Opus 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-09-04.

Related

Other skills, from other repositories

review-implement-phase

Implements triaged review actions, commits focused fixes, and posts Done plus resolves threads. Use when the user wants only the implementation phase of the review-framework workflow.

prisma/orm · 38 tokens

github-pr-workflow

Prepare a GitHub pull request from a feature branch — branch hygiene, commit shape, title/body, verification notes, screenshots for UI work, and replies to review comments.

paperclipai/paperclip · 39 tokens

github-automation

GitHub workflow automation, PR management, issue tracking, and code review coordination. Integrates with GitHub Actions and repository management. Use when: PR creation, code review, issue management, release automation, workflow setup. Skip when: local-only changes, non-GitHub repositories.

ruvnet/ruflo · 61 tokens

review-delta

Review only changes since last commit using impact analysis. Token-efficient delta review with automatic blast-radius detection.

tirth8205/code-review-graph · 24 tokens

work-unit-commits

Plan commits as reviewable work units. Trigger: implementation, commit splitting, chained PRs, or keeping tests and docs with code.

Gentleman-Programming/gentle-ai · 33 tokens

github-contributor

End-to-end playbook for shipping high-quality pull requests to open-source projects you don't maintain — discovery, CONTRIBUTING compliance, PR-size check, minimal-diff implementation, PR description with AI-assisted disclosure, conflict resolution, and post-submission maintainer interaction. Use whenever creating…

daymade/claude-code-skills · 133 tokens