review-psi-vfs-indexing

review-psi-vfs-indexing is a skill for Claude Code, Codex from explyt/spring-plugin. It costs 73 tokens per session (3,743 once invoked), scanned A, original, Apache-2.0.

A code-review checker for IntelliJ plugin code that works with program structure, files, indexes, and code analysis.

In plain words
What is it for?
Use it when reviewing changes involving IntelliJ code analysis, file processing, code completion, inspections, references, or caches.
Why use it?
It helps reviewers spot invalid file or code references, unsafe lifecycle assumptions, indexing mistakes, and slow operations.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: agent in frontmatter.

Good fit Use it when reviewing changes involving IntelliJ code analysis, file processing, code completion, inspections, references, or caches.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/explyt/spring-plugin/review-psi-vfs-indexing
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add explyt/spring-plugin --skill review-psi-vfs-indexing
Clone the repo
git clone --depth 1 https://github.com/explyt/spring-plugin

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 review-psi-vfs-indexing

README.md
[![agentmods](https://agentmods.dev/badge/skills/explyt/spring-plugin/review-psi-vfs-indexing/github.svg)](https://agentmods.dev/skills/explyt/spring-plugin/review-psi-vfs-indexing)
Your own site
<a href="https://agentmods.dev/skills/explyt/spring-plugin/review-psi-vfs-indexing"><img src="https://agentmods.dev/badge/skills/explyt/spring-plugin/review-psi-vfs-indexing/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 review-psi-vfs-indexing

Your own site · 80×15
<a href="https://agentmods.dev/skills/explyt/spring-plugin/review-psi-vfs-indexing"><img src="https://agentmods.dev/badge/skills/explyt/spring-plugin/review-psi-vfs-indexing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,743 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.00073 $0.03743
Opus 5.5 $0.00029 $0.01497
Sonnet 5.5 $0.00015 $0.00749
Haiku 4.5 $0.00007 $0.00374

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

Security

Grade A, and why

review-psi-vfs-indexing 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 18d 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.

.explyt/skills/review-psi-vfs-indexing/SKILL.md · 224 lines

How it starts

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

PSI, VFS and indexing reviewer

You are a specialized reviewer for IntelliJ PSI/VFS/indexing/code-analysis APIs. This is a normative skill. It does not just say what to look at; it defines what is considered correct in this project.

Owned checklist IDs

Use and reference these checklist IDs when applicable:

  • H2, H2a, H2b, H2c, H2d, H2e, H2f, H2g, H2h, H2i
  • H5, H5a, H5b, H5c, H5d
  • PERF2, PERF3, PERF4, PERF5, PERF6, PERF8, PERF13
  • use H16, H23, H28 only when PSI/VFS code also violates threading/lock rules

Non-negotiable review method

  1. Read REVIEW_SCOPE.md and REVIEW_PACKET.md first.
  2. Identify all PSI/VFS/indexing entry points in the target and its surrounding code. In this plugin the dominant entry points are: inspections, line marker providers, completion contributors, PsiReferenceContributors, bean/endpoint resolution services and external-system import.
  3. Check lifecycle assumptions, write/undo discipline, VFS validity assumptions, cache dependencies and indexing contracts.
  4. Check hot paths and loops for PSI performance traps.
  5. Apply the Neighborhood Scan Rule: if one PSI/VFS bug appears, inspect the whole method, class and sibling files. These bugs cluster.

Hard rules

1. PSI element lifecycle

Rule: Never store raw PsiElement in fields or pass across async boundaries. Always use SmartPsiElementPointer. Always check isValid before use.

  • Caching raw PsiElement or PsiMethod[] in maps or service fields → use SmartPointerManager.createPointer().
  • PSI stored across suspension points (in async, launch, after readAction {} boundaries) becomes invalid after suspend — use SmartPsiElementPointer.
  • A DTO such as EndpointInfo that still contains PsiElement is not automatically safe across background-to-UI handoff. Either replace the field with a pointer, or prove that every consumer is a pure precomputed read and revalidate before the UI operation.
  • Filter invalid PSI before returning collections: .filter { it.isValid }.
  • isValid check on a parent (PsiClass) does NOT guarantee validity of cached children (PsiMethod[]).
  • Line marker and gutter data that survives beyond one pass (e.g. navigation targets in the endpoints tool window) must be held via smart pointers, never raw PSI.

Read the full file on GitHub · 224 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. 18d ago Changed · +4 lines 64c1b6edfa5f
  2. 2mo ago First seen · 220 lines · 73 tokens per session scan A 0c67c1b19378

Subscribe to this mod's changes

review-psi-vfs-indexing is a skill published in the GitHub repository explyt/spring-plugin (166 stars, last pushed today), licensed Apache-2.0. It adds 73 tokens to every session and 3,743 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-30.