跳到正文
TakoAPI
返回技能列表

agent-rpg

由 xhrisfu 提供

AI & LLMs
616下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

This skill transforms the agent into a Roleplay Game Master (GM) or Character with long-term memory.

描述

该技能的功能

Turns the agent into a text-based RPG Game Master for any genre, from cyberpunk to cosmic horror. Manages campaign state across sessions using local scripts for dice rolls, character stats, inventory, and journal logs. Runs a structured Session Zero to establish setting, protagonist, and game rules before play begins.

Unlike a plain chat-based RPG, game state persists across turns via local scripts, so character stats, inventory, and plot flags survive without manual tracking.

何时使用

  • Running a solo cyberpunk heist with persistent inventory and faction tracking
  • Playing a horror mystery where tension escalates via tracked threat clocks
  • Testing custom stat systems before a tabletop session with friends
  • Creating a branching noir story with a flawed protagonist and rival factions
  • Running a fantasy dungeon crawl with D20 dice rolls and character progression

示例工作流

输入

User asks: I want to play a cyberpunk detective story

智能体
  1. 1

    Asks genre and inciting incident through a step-by-step Session Zero conversation

  2. 2

    Proposes 4-5 custom stats (e.g., Street Smarts, ICE-Breaker, Contacts, Cool) and waits for user approval

  3. 3

    Initializes campaign state with context.py init, setting system to D20 and tone to Gritty

  4. 4

    Narrates the opening scene with sensory detail, introduces the first complication, and ends with a prompt

  5. 5

    Rolls dice with dice.py on player actions and updates the character sheet and journal with context.py

输出

An ongoing campaign with tracked HP, inventory, NPC states, escalation clocks, and a chronological journal of key events

安装

clawhub install xhrisfu/agent-rpg

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接