star-wars-research

star-wars-research is a skill for Claude Code, Codex from eldermoraes/swapi.build. It costs 87 tokens per session (1,072 once invoked), scanned A, original, Apache-2.0.

A read-only research helper for a fixed Star Wars data set covering Episodes I–VI. It searches and connects records about people, films, planets, species, starships, and vehicles.

In plain words
What is it for?
It helps answer multi-step questions such as who piloted a ship, where a character was born, or which planets appear in a film.
Why use it?
Questions that require several related lookups can otherwise require repeated manual searches and record linking. It also makes clear that later films, series, books, and games are not included.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps answer multi-step questions such as who piloted a ship, where a character was born, or which planets appear in a film.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/eldermoraes/swapi.build/star-wars-research
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add eldermoraes/swapi.build --skill star-wars-research
Clone the repo
git clone --depth 1 https://github.com/eldermoraes/swapi.build

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for star-wars-research

README.md
[![agentmods](https://agentmods.dev/badge/skills/eldermoraes/swapi.build/star-wars-research/github.svg)](https://agentmods.dev/skills/eldermoraes/swapi.build/star-wars-research)
Your own site
<a href="https://agentmods.dev/skills/eldermoraes/swapi.build/star-wars-research"><img src="https://agentmods.dev/badge/skills/eldermoraes/swapi.build/star-wars-research/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for star-wars-research

Your own site · 80×15
<a href="https://agentmods.dev/skills/eldermoraes/swapi.build/star-wars-research"><img src="https://agentmods.dev/badge/skills/eldermoraes/swapi.build/star-wars-research.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,072 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00087 $0.01072
Opus 5.5 $0.00035 $0.00429
Sonnet 5.5 $0.00017 $0.00214
Haiku 4.5 $0.00009 $0.00107

Measured 5d ago against content hash 477db4947beb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

star-wars-research scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

swapi-app/src/main/resources/mcp/skills/star-wars-research/SKILL.md · 93 lines

How it starts

The opening of the file, as written. The whole thing — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Star Wars research

This server answers from a fixed data set: the people, films, planets, species, starships and vehicles of the films of Episodes I-VI. Nothing from later films, series, books or games is in it. Its four tools only read.

The tools

Every tool takes resource: one of PEOPLE, FILMS, PLANETS, SPECIES, STARSHIPS, VEHICLES.

  • sw_search(resource, query, fields?): finds records whose name (the title, for FILMS) contains query, in any case. Returns an array of records; [] means no match. Start here when the question names something.
  • sw_get(resource, id, expand?): one record by id. An unknown id returns a tool error.
  • sw_list(resource, fields?): every record of one type. Large; pass fields unless you need whole records.
  • sw_random(resource): one random record, for demos and quizzes only.

Ids and relations

Every record has a url. The id sw_get takes is its last segment: the record at .../people/1 is PEOPLE id 1. Relations (homeworld, films, pilots, residents...) are URLs of the same form, so the segment before the id names the type of the related record.

Film ids are record ids, not episode numbers. FILMS id 1 is A New Hope (Episode IV), and The Phantom Menace (Episode I) is not id 1. To find a film by episode, read the episode_id field (for example sw_list FILMS with fields ["title", "episode_id"]), or search its title. Never pass an episode number as an id.

Follow relations in one call

Pass expand to sw_get to embed the related records instead of one call per URL. The record comes back with a final expanded object, one key per relation asked for.

  • Names per type are in references/relations.md; ["*"] alone means every relation of the type.
  • At most 8 names. An unknown name returns a tool error.
  • One level deep: an embedded record keeps its own relations as URLs.
  • homeworld is one record or null. Every other relation is an array in the order of the URLs, with null where a URL matches no record.
  • Ask only for the relations you need: ["*"] on a film is very large.

Read the full file on GitHub · 93 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 93 lines · 87 tokens per session scan A 477db4947beb

Subscribe to this mod's changes

star-wars-research is a skill published in the GitHub repository eldermoraes/swapi.build (4 stars, last pushed 4d ago), licensed Apache-2.0. It adds 87 tokens to every session and 1,072 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-25.

Related

star-wars-research compared with skills from other repositories

star-wars-research next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
star-wars-researcheldermoraes/swapi.buildSkill44d agoApache-2.0A87Claude Code, Codex
event-staffing-orderingTempguru-co/tempguru-agent-skillsSkill12mo agoMITA244Claude Code, Codex
event-staffing-complianceTempguru-co/tempguru-agent-skillsSkill12mo agoMITA102Claude Code, Codex
opik-diagnosecomet-ml/opik-mcpSkill2274d agoApache-2.0A187Claude Code
quantum-groverxi-zhao/OpenQuantumSkill75yesterdayMITA62Claude Code, Codex
guppy-programsxi-zhao/OpenQuantumSkill75yesterdayMITA48Claude Code, Codex
quantum-algorithmsxi-zhao/OpenQuantumSkill75yesterdayMITA34Claude Code, Codex