Tanguille

8 Ball — AI skill for Claude Code

AI community

A Swiss Army knife that lets AI agents get the most out of decision models, simply.

How to install 8 Ball

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Tanguille/8-ball and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What 8 Ball does

A Swiss Army knife that lets AI agents get the most out of decision models, simply. Typed yes/no, choice and score judgments over MCP, REST and a CLI, to gate and triage agent work. Written in Rust.

Alternatives in AI

  • Guizang Ppt Skill — AI-agent Skill for generating polished HTML slide decks: editorial magazine and Swiss layouts, image prompts 24.9k ★
  • Create Module — Scaffold a fully-typed module with controller, service, router, schema, and model files 325 ★
  • Aar Loop — Run an After Action Review after any AI session and write concrete lessons so your agent stops repeating mista 78 ★

README

8-ball

[!WARNING] 8-ball is in early development. Commands, APIs, configuration, and the database format can change without notice. Use it at your own risk.

8-ball gets cheap typed judgments from small decision models. A question is `noul` (yes or no), `choice` (pick one option), or `score` (pick a level). The verdict is the answer to a question. 8-ball offers REST, HTTP MCP, stdio MCP, and a CLI, with a SQLite answer cache and optional labeled calibration. Use a clear verdict to gate or triage work. If the verdict is `unsure` or an error occurs, do the normal work.

8-ball is a Swiss Army knife that lets agents get the most out of decision models in a simple way. It is a Rust server and CLI. It uses System One decision models and rerankers on llama.cpp servers, and chat models through logprobs on any OpenAI-compatible server that returns them, such as vLLM. AI agents in Claude Code, Codex, Cursor, qwen-code, and OpenCode can connect to it as an MCP server. A decision model then answers simple classification questions before the agent does the expensive work.

Quickstart: local

cargo install --path .
mkdir -p ~/.config/8ball

Write `~/.config/8ball/config.toml`:

default = "d3"

[endpoints.d3]
url = "http://127.0.0.1:9931"

[specs.greeting]
type = "noul"
instructions = "Is this message a greeting?"

Start a compatible model server first. This repository includes four pinned local development models:

dev/models.sh up
dev/models.sh status
8ball serve

In another terminal:

8ball ask noul "Is this a greeting?" --state hi
8ball ask --spec greeting --state "hey there"

The dev stack downloads about 4.5 GB to `~/.cache/8ball-models`. For CPU inference, use `EIGHTBALL_DEV_NGL=0 dev/models.sh up`. To stop the stack, use `dev/models.sh down`. The stack works with Docker and with rootless Podman, also with SELinux enforcing.

Quickstart: shared server

export EIGHTBALL_URL=https://your-8ball-server.example
export