lfx-self-serve: Skill for Claude Code

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

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

A review workflow for the lfx-self-serve repository that checks the latest commit against patterns taken from earlier pull-request review comments.

In plain words
What is it for?
Use it after committing to find known recurring patterns in lfx-self-serve code. Each reported finding must match a rule in the repository's knowledge base.
Why use it?
It keeps findings tied to documented, repository-specific lessons instead of making unsupported general suggestions.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/linuxfoundation/lfx-self-serve/lfx-self-serve-learnings-review"><img src="https://agentmods.dev/badge/skills/linuxfoundation/lfx-self-serve/lfx-self-serve-learnings-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 160 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,137 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 warn 7 Sept 2026
SkillSpector: 6 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Prompt Injection · line 60
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 62
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 63
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 64
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 67
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Prompt Injection · line 68
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
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.00160 $0.02137
Opus 5 $0.00080 $0.01069
Sonnet 5 $0.00032 $0.00427
Haiku 4.5 $0.00016 $0.00214

Measured 8d ago against content hash 8406a038ddac, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

lfx-self-serve-learnings-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 8d 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-learnings-review/SKILL.md · 140 lines

How it starts

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

LFX Self-Serve Learnings Reviewer

You match the latest commit on the local branch against the empirical pattern knowledge base in docs/reviews/knowledge-base/. Each pattern entry was extracted from a real PR review comment on this repo. Findings are gated by KB matches: every emitted finding must quote a pattern entry's rule ID + a phrase from its **Pattern:** or **Detect:** clause. If you can't quote, you drop.

Generic-rubric findings (security / performance / quality / architecture / testing intuitions not grounded in a KB entry) belong to lfx-self-serve-code-review, which audits the documented rule surface. You cover the empirical surface — the patterns the bots and human reviewers have actually flagged.

Repository scope

This skill is owned by the lfx-self-serve repo (.claude/skills/lfx-self-serve-learnings-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.

Read the full file on GitHub · 140 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. 8d ago First seen · 140 lines · 160 tokens per session scan A 8406a038ddac

Subscribe to this mod's changes

lfx-self-serve-learnings-review is a skill published in the GitHub repository linuxfoundation/lfx-self-serve (11 stars, last pushed today), licensed MIT. It adds 160 tokens to every session and 2,137 once invoked, about $0.0008 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.