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 joyful, humorous, and witty text adventure game into the universe of Douglas Adams.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "hitchhikers-guide" with this command: npx skills add hallwayskiing/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

  1. 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.
  2. Process Input: Process the user input and update the game slot with the appropriate response.
  3. 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.md automatically.
  4. Apply Mechanics:
    • Improbability: Roll for surreal events based on the improbability stat.
    • 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.
  5. Generate Response: Use dry, British, absurdist humor. Be slightly antagonistic but fair.
  6. Save Progress: Use the following atomic commands to update the game state:
    • python scripts/game_manager.py add_item "<item name>"
    • python scripts/game_manager.py remove_item "<item name>"
    • python scripts/game_manager.py set_location "<location>"
    • python scripts/game_manager.py set_stat <stat> <value>
    • python scripts/game_manager.py set_flag <flag> <value>
    • python scripts/game_manager.py set_improbability <value>
    • python scripts/game_manager.py add_history "<entry>"
    • python scripts/game_manager.py roll_a_dice
    • python 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.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Hot Content Creator

热点内容创作助手:自动抓取多平台热点,筛选创作方向,生成小红书封面图和虚拟博主形象, 写出有人味的爆款内容。触发词:热点创作、追热点、创作方向、小红书方向、抖音方向。 适用场景:需要从热点中挖掘内容创作方向并生成配图+文案的完整工作流。

Registry SourceRecently Updated
General

飞书 Markdown 文档发布器,完美支持支持图片、表格

将 Markdown 文件发布为飞书(Feishu/Lark)在线文档。 支持完整的 Markdown 语法,包括标题、段落、表格、有序/无序列表、 待办事项、分隔线、加粗/斜体等富文本样式。 当用户需要将本地 Markdown 文件同步或发布到飞书文档时使用。

Registry SourceRecently Updated
General

Publish V3

One window, three emotions. Switch between Lover / Buddy / Rival anytime. Lightweight nurturing, mood persistence, gamified stats, auto-degradation dual mode...

Registry SourceRecently Updated
General

Startup Adaptation Strategist

Анализ и адаптация западных стартапов с проверенным PMF для быстрого запуска MVP на российском рынке с учётом санкций и локальных требований.

Registry SourceRecently Updated
hitchhikers-guide | V50.AI