---
title: "Use Anserini CLI - Air Market"
description: "You have Anserini either as a downloaded jar or as a source checkout, and you want to actually search with it. This walks the command-line and REST paths for both setups: picking an index, picking to…"
canonical: "https://airmarket.ai/app/anserini-cli"
---

[Air Market](/) / [Research](/category/research) / Use Anserini CLI

Skill by [Castorini](/@castorini)

# Use Anserini CLI

Drive Anserini searches from the command line either way

## What this does

You have Anserini either as a downloaded jar or as a source checkout, and you want to actually search with it. This walks the command-line and REST paths for both setups: picking an index, picking topics, running a one-off or interactive search, choosing how results come out, and trying the REST server examples.

### Top 3 things it does for you

- Run an ad hoc search over a prebuilt index
- Search interactively from a terminal session
- Pick an output format for results

## Information

**Use Anserini CLI at a glance**

|  |  |
| --- | --- |
| Kind | Skill |
| Publisher | [Castorini](/@castorini) |
| Category | [Research](/category/research) |
| Works with | Agent Skills - an open standard supported by 40+ agents |
| Version | v0.2.0 |
| Size | 8 KB |
| Licence | Apache-2.0 |
| Repository | [castorini/anserini](https://github.com/castorini/anserini/tree/deb4c7bbfaba1ae36d8d7b07d2b7da84f5ab662d/.agents/skills/anserini-cli) |
| GitHub stars | 1,191 (as of Nov 2026) |

## Security report

**Verified.** AIR scanned this exact version of Use Anserini CLI and flagged nothing. AIR's verdict: **safe**.

**What Use Anserini CLI's check was run against**

|  |  |
| --- | --- |
| Commit | deb4c7bbfaba1ae36d8d7b07d2b7da84f5ab662d |
| Content hash | a5bf598d9d75926ec39dc9f870cf6389d6dd9d27d09ad38fd02bf5a303ca94fe |
| Files read | [Browse the files at this exact commit](https://github.com/castorini/anserini/blob/deb4c7bbfaba1ae36d8d7b07d2b7da84f5ab662d/.agents/skills/anserini-cli/SKILL.md) |

A scan is named by the exact content it read, not by a version number. A different version is a different artifact, and nothing here applies to a version AIR has not scanned.

[Read the full security report for Use Anserini CLI](/security/anserini-cli)

## About Use Anserini CLI

Anserini can be used from a built fatjar or from a source checkout, and this covers the command-line and REST workflows for both, so you are not stuck relearning the invocation when you switch.

It spans the registries for prebuilt indexes and topics, ad hoc and interactive search, the available output formats, and the RestServer examples.

## What's inside

- SKILL.md - instructions
- agents/openai.yaml - data

## Questions

### Is Use Anserini CLI safe to install?

AIR scanned this exact version of Use Anserini CLI and flagged nothing. AIR's verdict: safe. The verdict is named by the content that was read, at commit deb4c7bbfaba, so it cannot drift onto a version nobody scanned. The full report is at https://airmarket.ai/security/anserini-cli.

### How do I install Use Anserini CLI?

Open https://airmarket.ai/app/anserini-cli on Air Market and use the install action: Air Market hands Claude a prompt naming this exact skill, and Claude sets it up. Source, pinned to the exact commit this listing describes: https://github.com/castorini/anserini/tree/deb4c7bbfaba1ae36d8d7b07d2b7da84f5ab662d/.agents/skills/anserini-cli. Install from that link, not the branch.

## Related on Air Market

- [More Research listings](/category/research)
- [Everything by Castorini](/@castorini)

---

Canonical URL: <https://airmarket.ai/app/anserini-cli>
