Star Wars Universe Lookup for Openclaw

A CLI tool for AI agents to retrieve data from the Star Wars universe via SWAPI.

jeffaf
v1.0.0
Feb 5, 2026
0
2k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install starwars

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install starwars using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Star Wars Universe Lookup?

The Star Wars Universe Lookup skill is a specialized tool designed to provide AI agents with immediate access to the rich lore of the Star Wars franchise. By integrating this skill from the Openclaw Skills collection, developers can enable their agents to perform real-time searches across characters, planets, films, species, and starships. It relies on the robust SWAPI (Star Wars API), ensuring that the data is accurate and structured for cinematic research.

This skill is particularly useful for developers building entertainment-focused agents or educational tools. Since it requires no authentication or API keys, it is remarkably easy to deploy within any environment supporting bash and basic CLI utilities. It streamlines the process of fetching complex relationships, such as automatically resolving a character's homeworld or species details in a single query.

Star Wars Universe Lookup Use Cases

  • Answering user questions about Star Wars character origins and physical traits.
  • Generating detailed reports on planetary climates and populations for world-building queries.
  • Providing quick reference lists of films and directors from the original and prequel trilogies.
  • Fetching technical starship specs for comparisons or role-playing scenarios.

How Star Wars Universe Lookup Works

  1. The AI agent detects a Star Wars-related query from the human user.
  2. The agent executes the appropriate CLI command via the local starwars wrapper script.
  3. The script utilizes curl to fetch JSON data from the Star Wars API (SWAPI).
  4. The raw JSON is filtered and formatted through the jq utility to create a concise output.
  5. The agent interprets the formatted output and delivers the final answer to the user.

Star Wars Universe Lookup Setup

Ensure your environment has bash, curl, and jq installed. This skill is part of the Openclaw Skills ecosystem and can be set up by placing the script in your agent's path.

# Check for dependencies
which curl jq bash

# Example usage for character lookup
./starwars people "Luke Skywalker"

Star Wars Universe Lookup Data Schema & Taxonomy

The skill organizes data into five primary categories. Each query returns a structured string designed for easy parsing by LLMs.

Entity Key Attributes
People Name, Species, Homeworld, Height
Planets Population, Climate, Terrain
Films Title, Release Date, Director
Species Classification, Language, Lifespan
Starships Model, Class, Crew Count

Star Wars Universe Lookup Advanced Features

  • Automatic name resolution: Character lookups automatically fetch and display names for species and homeworlds instead of raw URLs.
  • Zero-auth architecture: No account creation or API keys are needed to access the full database.
  • Multi-category search: Supports specific sub-commands for nuanced data retrieval across five distinct Star Wars databases.
  • LLM-optimized output: The CLI returns data in a compact, descriptive format ideal for token-efficient agent processing.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*