anserini-fatjar

Download the latest Anserini fatjar from Maven Central and run CACM smoke tests.

2|2|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/castorini/castorini-skills --skill anserini-fatjar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: anserini-fatjar
Source: https://github.com/castorini/castorini-skills/tree/main/skills/anserini-fatjar
Command: npx skills add https://github.com/castorini/castorini-skills --skill anserini-fatjar

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires bash, wget, curl, jq, java, javac, and includes scripts (resource) components.

What problem does it solve?

Install and run Anserini quickly by downloading the latest fatjar from Maven Central into the current working directory, avoiding a full Maven build.

Core Features & Use Cases

  • Download and use the latest Anserini fatjar from Maven Central to run basic experiments without compiling from source.
  • Perform a CACM-based smoke test and validation using the fatjar, including basic search and ReproduceFromDocumentCollection workflows.
  • Validate runtime prerequisites (Java 21, wget) and optionally format JSON using jq when available.

Quick Start

Run the verify_fatjar_workflow.sh script in this skill's directory to download the latest Anserini fatjar and execute the CACM smoke test.

Frequently Asked Questions about anserini-fatjar

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run Anserini without compiling from source?

To run Anserini without a full Maven build, download the latest fatjar from Maven Central into your local working directory. This enables immediate testing and basic search experiments without compiling the Java source code.

How do I perform a smoke test with the Anserini fatjar?

You can perform an Anserini smoke test by executing the verify_fatjar_workflow.sh script. This downloads the fatjar and runs a CACM-based validation, including basic search and ReproduceFromDocumentCollection workflows.

Do I need Java 21 to run the Anserini fatjar?

Yes, running the Anserini fatjar requires Java 21 on your PATH. The setup also requires wget to download the jar, and optionally jq for enhanced JSON formatting during validation.

What is the best way to quickly set up Anserini for development validation?

The best way to quickly set up Anserini is downloading the latest fatjar from Maven Central. This bypasses full Maven compilation, wiring the jar into your local directory for fast setup and lightweight validation.

Why does the Anserini fatjar setup require wget and curl?

The Anserini fatjar setup requires wget to download the jar from Maven Central. Curl and jq are used alongside bash scripts to execute the workflow commands and format JSON outputs during smoke testing.