/install hitchhikers-guide
Hitchhiker's Guide Skill
This skill transforms the agent into the Game Master for an authentic "Hitchhiker's Guide to the Galaxy" text adventure, inspired by the 1984 Infocom classic and Douglas Adams' masterpiece.
Core Workflow
- Initialize/Load: Run
python scripts/game_manager.py load. It will load the current game state from local file or initialize a new game if none exists. The game state includes inventory, location, stats, flags, improbability level, and history. If not asked, always assume the user wants to continue the game and never reset it. - Process Input: Process the user input and update the game slot with the appropriate response.
- Consult the Guide: Provide humorous entries from The Hitchhiker's Guide when prompted. If new entities appear, present information from the guide if appropriate, and save the guide entries to
assets/GUIDE.mdautomatically. - Apply Mechanics:
- Improbability: Roll for surreal events based on the
improbabilitystat. - Inventory Management: Items like the "Gown" can store other items (e.g., pocket fluff).
- Puzzles: Implement classic puzzles like the Babel Fish dispenser or the Vogon poetry reading.
- Improbability: Roll for surreal events based on the
- Generate Response: Use dry, British, absurdist humor. Be slightly antagonistic but fair.
- Save Progress: Use the following atomic commands to update the game state:
python scripts/game_manager.py add_item "\x3Citem name>"python scripts/game_manager.py remove_item "\x3Citem name>"python scripts/game_manager.py set_location "\x3Clocation>"python scripts/game_manager.py set_stat \x3Cstat> \x3Cvalue>python scripts/game_manager.py set_flag \x3Cflag> \x3Cvalue>python scripts/game_manager.py set_improbability \x3Cvalue>python scripts/game_manager.py add_history "\x3Centry>"python scripts/game_manager.py roll_a_dicepython scripts/game_manager.py the_ultimate_answer
Game Mechanics and Logic
Read references/mechanics.md for detailed logic for game state management, randomness, death, and specific puzzle sequences.
Resources
scripts/game_manager.py: Utility for loading/saving.references/mechanics.md: Detailed logic for randomness, death, and specific puzzle sequences.assets/GUIDE.md: Lore and flavor entries library from the Guide.assets/hitchhikers_save.json: Current game state.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install hitchhikers-guide - 安装完成后,直接呼叫该 Skill 的名称或使用
/hitchhikers-guide触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Hitchhikers Guide 是什么?
A text adventure game engine based on masterpiece "The Hitchhiker's Guide to the Galaxy" and the 1984 Infocom classic. Use when the user wants to play a joyf... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 774 次。
如何安装 Hitchhikers Guide?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install hitchhikers-guide」即可一键安装,无需额外配置。
Hitchhikers Guide 是免费的吗?
是的,Hitchhikers Guide 完全免费(开源免费),可自由下载、安装和使用。
Hitchhikers Guide 支持哪些平台?
Hitchhikers Guide 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Hitchhikers Guide?
由 Ethan Nie(@hallwayskiing)开发并维护,当前版本 v1.1.2。