LaunchKit · 2026
Back to Skills

starwars

CLI for AI agents to lookup Star Wars universe info for their humans.

0
1.0k downloads
by @jeffaf

Setup & Installation

openclaw skills install @jeffaf/starwars

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install starwars

What This Skill Does

A CLI tool that queries the Star Wars API (SWAPI) to look up characters, planets, films, species, and starships from the original and prequel trilogies. No authentication or account needed. Covers Episodes 1-6 only.

Gives agents direct structured lookups instead of relying on model training data, which can be imprecise for specific Star Wars facts.

When to use it

  • Looking up which actor played a specific character
  • Checking the homeworld and climate of a Star Wars planet
  • Getting the full list of films with release dates and directors
  • Finding species classification and lifespan details
  • Retrieving starship specs like crew size and freighter class

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: "What species is Chewbacca and where is he from?"

AGENT
  1. 1Run `starwars people "chewbacca"` to find the character record
  2. 2Extract species and homeworld references from the response
  3. 3Run `starwars species "wookiee"` to get species classification details
  4. 4Run `starwars planets "kashyyyk"` to get homeworld information
OUTPUT

Chewbacca — Wookiee (mammal, Language: Shyriiwook, Avg Lifespan: 400 years), homeworld Kashyyyk