starwars
CLI for AI agents to lookup Star Wars universe info for their humans.
Setup & Installation
Install command
clawhub install jeffaf/starwarsIf the CLI is not installed:
Install command
npx clawhub@latest install jeffaf/starwarsOr install with OpenClaw CLI:
Install command
openclaw skills install jeffaf/starwarsor paste the repo link into your assistant's chat
Install command
https://github.com/openclaw/skills/tree/main/skills/jeffaf/starwarsWhat 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
View original SKILL.md file
# Star Wars Lookup
CLI for AI agents to lookup Star Wars universe info for their humans. "Who played Darth Vader?" — now your agent can answer.
Uses [SWAPI](https://swapi.dev) (Star Wars API). No account or API key needed.
## Usage
```
"Look up Luke Skywalker"
"What planet is Tatooine?"
"List all Star Wars films"
"What species is Chewbacca?"
"Tell me about the Millennium Falcon"
```
## Commands
| Action | Command |
|--------|---------|
| Search characters | `starwars people "name"` |
| Search planets | `starwars planets "name"` |
| List films | `starwars films` |
| Search species | `starwars species "name"` |
| Search starships | `starwars starships "name"` |
### Examples
```bash
starwars people "luke" # Find character by name
starwars planets "tatooine" # Find planet by name
starwars films # List all films
starwars species "wookiee" # Find species by name
starwars starships "falcon" # Find starship by name
```
## Output
**People output:**
```
Luke Skywalker — Human, Tatooine, Height: 172cm
```
**Planets output:**
```
Tatooine — Population: 200000, Climate: arid, Terrain: desert
```
**Films output:**
```
Episode 4: A New Hope (1977-05-25) — Director: George Lucas
Episode 5: The Empire Strikes Back (1980-05-17) — Director: Irvin Kershner
```
**Species output:**
```
Wookiee — Classification: mammal, Language: Shyriiwook, Avg Lifespan: 400 years
```
**Starships output:**
```
Millennium Falcon — YT-1300 light freighter, Class: Light freighter, Crew: 4
```
## Notes
- Uses SWAPI (swapi.dev)
- No authentication required
- Covers all 6 original/prequel films
- Character lookups resolve species and homeworld names automatically
---
## Agent Implementation Notes
**Script location:** `{skill_folder}/starwars` (wrapper to `scripts/starwars`)
**When user asks about Star Wars:**
1. Run `./starwars people "name"` to find characters
2. Run `./starwars planets "name"` for planet info
3. Run `./starwars films` for the film list
4. Run `./starwars species "name"` for species details
5. Run `./starwars starships "name"` for ship info
**Don't use for:** Sequel trilogy data (Episodes 7-9 not in SWAPI), extended universe, TV shows.
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Looking up which actor played a specific character
- 1Looking up which actor played a specific character
- 2Checking the homeworld and climate of a Star Wars planet
- 3Getting the full list of films with release dates and directors
- 4Finding species classification and lifespan details
- 5Retrieving starship specs like crew size and freighter class
CLI for AI agents to lookup Star Wars universe info for their humans.
Security Audits
These signals reflect official OpenClaw status values. A Suspicious status means the skill should be used with extra caution.