jspecify-skill

jspecify-skill is a skill for Claude Code from sivaprasadreddy/sivalabs-agent-skills. It costs 75 tokens per session (1,101 once invoked), scanned A, original, MIT.

A Java setup for marking which values and variables may be null, using JSpecify annotations and build configuration. Null means that a value is missing rather than an actual object.

In plain words
What is it for?
Use it to add JSpecify to a Java project and configure nullability checking in its build.
Why use it?
It makes nullability expectations explicit and lets a Maven or Gradle build check for possible null-related problems, including problems that can cause NullPointerExceptions.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the java-dev plugin — 22 skills, 1 agent shipped together

Good fit Use it to add JSpecify to a Java project and configure nullability checking in its build.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sivaprasadreddy/sivalabs-agent-skills/jspecify
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 sivaprasadreddy/sivalabs-agent-skills --skill jspecify
Clone the repo
git clone --depth 1 https://github.com/sivaprasadreddy/sivalabs-agent-skills

Made for: Claude Code.

Or install java-dev, the plugin that ships this one along with the rest of its 22 skills, 1 agent.

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 jspecify-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/sivaprasadreddy/sivalabs-agent-skills/jspecify/github.svg)](https://agentmods.dev/skills/sivaprasadreddy/sivalabs-agent-skills/jspecify)
Your own site
<a href="https://agentmods.dev/skills/sivaprasadreddy/sivalabs-agent-skills/jspecify"><img src="https://agentmods.dev/badge/skills/sivaprasadreddy/sivalabs-agent-skills/jspecify/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 jspecify-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/sivaprasadreddy/sivalabs-agent-skills/jspecify"><img src="https://agentmods.dev/badge/skills/sivaprasadreddy/sivalabs-agent-skills/jspecify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,101 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.00075 $0.01101
Opus 5.5 $0.00030 $0.00440
Sonnet 5.5 $0.00015 $0.00220
Haiku 4.5 $0.00007 $0.00110

Measured 3mo ago against content hash 3837aa0f755a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

jspecify-skill 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 3mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/verify_nullmarked.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/jspecify/SKILL.md · 124 lines

How it starts

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

Jspecify provides a set of annotations to explicitly declare the nullness expectations of the Java code.

Add jSpecify support in Maven projects

If you are using Maven, then add the jspecify dependency in pom.xml. In pom.xml, update or add the nullability-maven-plugin, to include the following configuration.

<dependencies>
    <dependency>
        <groupId>org.jspecify</groupId>
        <artifactId>jspecify</artifactId>
        <version>1.0.0</version>
    </dependency>
</dependencies>

<build>
    <plugins>
        <plugin>
            <groupId>am.ik.maven</groupId>
            <artifactId>nullability-maven-plugin</artifactId>
            <version>0.4.2</version>
            <extensions>true</extensions>
            <configuration>
                <checking>tests</checking>
                <outputDirectory>${project.basedir}/src/main/java</outputDirectory>
                <testOutputDirectory>${project.basedir}/src/test/java</testOutputDirectory>
            </configuration>
            <executions>
                <execution>
                    <goals>
                        <goal>configure</goal>
                        <goal>generate-package-info</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
    </plugins>
</build>

Add jSpecify support in Gradle projects

If you are using Gradle, then add the jspecify dependency. In build.gradle or build.gradle.kts, update or add the following jspecify configuration.

plugins {
    id("net.ltgt.errorprone") version "5.1.0"
    id("net.ltgt.nullaway") version "3.1.0"
}

tasks.withType(JavaCompile).configureEach {
    options.errorprone {
        disableAllChecks = true // Other error prone checks are disabled
        error("RequireExplicitNullMarking") // Require @NullMarked or @NullUnmarked on everything
        nullaway {
            error()
        }
    }
    // Keep a JDK 25 baseline
    options.release = 25
}

nullaway {
    onlyNullMarked = true
    jspecifyMode = true
}

dependencies {
    implementation("org.jspecify:jspecify:1.0.0")
    errorprone("com.google.errorprone:error_prone_core:2.50.0")
    errorprone("com.uber.nullaway:nullaway:0.13.7")
}

Read the full file on GitHub · 124 lines

Files

What ships with it

4 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. 3mo ago First seen · 124 lines · 75 tokens per session scan A 3837aa0f755a

Subscribe to this mod's changes

jspecify-skill is a skill published in the GitHub repository sivaprasadreddy/sivalabs-agent-skills (200 stars, last pushed 2d ago), licensed MIT. It adds 75 tokens to every session and 1,101 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.

Related

jspecify-skill compared with skills from other repositories

jspecify-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
jspecify-skillsivaprasadreddy/sivalabs-agent-skillsSkill2002d agoMITA75Claude Code
spring-boot-engineerJeffallan/claude-skillsSkill13k2d agoMITA91Claude Code
java-architectJeffallan/claude-skillsSkill13k2d agoMITA67Claude Code
112-java-maven-pluginsjabrena/plinthSkill4703d agoApache-2.0A149Claude Code, Codex
814-regulations-iso-25010jabrena/plinthSkill4703d agoApache-2.0A83Claude Code, Codex
121-java-object-oriented-designjabrena/plinthSkill4703d agoApache-2.0A107Claude Code, Codex
111-java-maven-dependenciesjabrena/plinthSkill4703d agoApache-2.0A133Claude Code, Codex