/install harrypotter
Harry Potter Lookup
CLI for AI agents to search and lookup Harry Potter universe info for their humans. "Who was in Slytherin again?" — now your agent can answer.
Uses HP-API (free Harry Potter API). No account or API key needed.
Usage
"Who are the main Harry Potter characters?"
"List the Hogwarts students"
"Who's in Gryffindor house?"
"What spells are in Harry Potter?"
"Search for Hermione"
Commands
| Action | Command |
|---|---|
| All characters | harrypotter characters [limit] |
| Students only | harrypotter students [limit] |
| Staff only | harrypotter staff [limit] |
| By house | harrypotter house \x3Cname> |
| Spells | harrypotter spells [limit] |
| Search | harrypotter search \x3Cquery> |
Examples
harrypotter characters 10 # First 10 characters
harrypotter students # All Hogwarts students
harrypotter staff # All Hogwarts staff
harrypotter house gryffindor # Gryffindor members
harrypotter house slytherin # Slytherin members
harrypotter spells 15 # First 15 spells
harrypotter search "hermione" # Find character by name
Output
Character output:
🧙 Harry Potter — Gryffindor, Half-blood, Patronus: Stag
🧙 Hermione Granger — Gryffindor, Muggleborn, Patronus: Otter
🧙 Draco Malfoy — Slytherin, Pure-blood
Search output (detailed):
🧙 Hermione Granger — Gryffindor, muggleborn, Patronus: otter
Actor: Emma Watson
Wand: vine, dragon heartstring, 10.75"
Born: 19-09-1979
Spell output:
✨ Expelliarmus — Disarms your opponent
✨ Lumos — Creates a small light at the wand's tip
✨ Avada Kedavra — The Killing Curse
Notes
- Uses HP-API (hp-api.onrender.com)
- No authentication required
- Houses: gryffindor, slytherin, hufflepuff, ravenclaw
- Default limit is 20 items per query
- Search is case-insensitive
Agent Implementation Notes
Script location: {skill_folder}/harrypotter (wrapper to scripts/harrypotter)
When user asks about Harry Potter:
- Run
./harrypotter search "name"for specific characters - Run
./harrypotter house \x3Cname>for house members - Run
./harrypotter spellsfor spell information - Run
./harrypotter studentsor./harrypotter stafffor role-based lists
House names (case-insensitive):
- gryffindor
- slytherin
- hufflepuff
- ravenclaw
Don't use for: Non-HP fantasy content, general trivia not in the API.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install harrypotter - 安装完成后,直接呼叫该 Skill 的名称或使用
/harrypotter触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Harrypotter 是什么?
CLI for AI agents to lookup Harry Potter universe info for their humans. Uses HP-API. No auth required. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1438 次。
如何安装 Harrypotter?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install harrypotter」即可一键安装,无需额外配置。
Harrypotter 是免费的吗?
是的,Harrypotter 完全免费(开源免费),可自由下载、安装和使用。
Harrypotter 支持哪些平台?
Harrypotter 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Harrypotter?
由 jeffaf(@jeffaf)开发并维护,当前版本 v1.0.0。