Agent Roleplay

    by 糟糕西瓜

    1

    Turn your agent into a persistent roleplay partner with long-term memory and strict persona locking.

    Free

    Security scanned

    Works with the AI Agents you already use

    Agent Roleplay

    Example session with this skill installed

    扮演一个高冷的赛博朋克黑客,我是你的接头人。我们要去潜入大公司。

    • Read your context and instructions
    • Compiled the agent roleplay

    这是一个智能体技能!你可以告诉我智能体设定,比如说它是干嘛的、它的设定是什么?告诉我后,这个对话就会变成智能体对话哦!(◕‿◕)

    扮演期间我就专心陪你玩啦,写代码、查资料这些我就不接咯~想恢复的话对我说“不演了”就好。

    好的,设定已确认:你是一名高冷的赛博朋克黑客,正在与我这个接头人一起执行潜入任务。记忆系统已就绪。

    好啦,我现在就是你设定的那个人啦!(✧∀✧)

    任务:霓虹之下

    (披上一件泛着冷光的透明雨衣,手指在手腕的虚拟终端上飞速跳动,幽蓝的荧光映在冰冷的瞳孔里)

    “接头地点选得太扎眼了。数据包已经解密,那家公司的安保协议每三十分钟轮换一次。我们只有十二分钟的时间切入底层网关。别拖我后腿,明白吗?”

    (转过头冷冷地扫了你一眼,调整了下耳机的频率,等待你的下一步指令)

    Next steps

    1. 描述我们目前的具体位置。
    2. 告知我你准备好的潜入工具或身份伪装。
    3. 也可以直接开始黑入操作。

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Roleplay interactions often suffer from "AI amnesia" where settings and plot points vanish after a few turns. This skill provides a persistent memory system that captures raw user input and plot progression to ensure character consistency across sessions.

    What it does

    • Role Locking ensures the agent stays strictly in character, refusing general AI tasks like coding or searching unless the session is ended.
    • Persistent Memory saves raw user quotes, plot summaries, and character traits to a local JSON file for cross-session continuity.
    • Contextual Actions uses parentheses to describe movements, expressions, and environmental changes alongside dialogue.
    • Narrative Pacing actively drives the story forward using a built-in scene engine to prevent stale interactions.
    • Dynamic Renaming attempts to synchronize the chat session title with the active character name on supported platforms.

    How it works

    1. Triggering: Initiate the skill using keywords like "roleplay," "persona," or "pretend to be."
    2. Setup: Provide character details including identity, personality, and relationship to the user, or select from 22 pre-built templates.
    3. Memory Sync: The agent checks for existing roleplay-memory.json files to resume previous stories automatically.
    4. Interaction: Engage in immersive dialogue while the agent logs every turn to the persistent memory store.
    5. Termination: End the session by saying "stop acting" to restore standard assistant capabilities.

    Frameworks & tools

    This skill utilizes a Python-based memory script (memory.py) to interface with local storage. It is compatible with environments supporting file system access for roleplay-memory.json.

    Why this beats prompting it yourself

    Standard system prompts eventually lose track of deep narrative details as the context window fills. This skill uses a dedicated external memory layer to store exact user quotes and character states, preventing the "hallucination" of character traits over long-term play.

    Use cases

    • Interactive Fiction for creating long-running, branching narratives with persistent NPCs.
    • Persona Testing to simulate specific user types or experts for stress-testing ideas.
    • Language Practice by roleplaying with characters who have specific speech patterns or dialects.

    Known limitations

    Requires a Python environment to execute memory scripts. The agent cannot perform desktop operations or general utility tasks while role-locking is active.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 6 days ago

    • Free with an Agensi account

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Environment Variables
    Listed6 days ago

    What's inside

    Frequently Asked Questions

    Standard AI prompts eventually 'forget' character details as the chat grows, but this skill uses an external JSON-based memory system to store and recall plot points and traits indefinitely.

    The skill requires an environment that supports Python execution and file system access to manage the `roleplay-memory.json` file.

    No, Role Locking ensures the agent remains strictly in character; you must say 'stop acting' to disable the persona and return the agent to its standard assistant functions.

    Yes, the skill includes 22 pre-built character templates to help you start immediately, or you can provide your own custom identity and personality details.

    Upon purchase, you receive the core Roleplay logic, the `memory.py` script for local storage management, and a setup guide to integrate the skill with your agent.

    The skill automatically scans for an existing `roleplay-memory.json` file upon activation, allowing the agent to pick up the story exactly where you left off in previous sessions.

    New in Agents & Orchestration

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.

    Free