story-roleplay

story-roleplay is a skill for Claude Code, Codex from CES-Ltd/TitanX. It costs 45 tokens per session (3,215 once invoked), scanned A, original, Apache-2.0.

A skill for reading character cards and world-information files used by SillyTavern, a roleplay application. It supports PNG, WebP, and JSON formats, keyword-based entries, and changing information during a story.

In plain words
What is it for?
Use it to parse roleplay character cards, load world information, trigger relevant entries by keywords, and update story context.
Why use it?
It lets an agent use structured character and setting information without guessing what is stored inside image files.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is for dir in . .. ../.. ../../.. ../../../.. ../../../../..; do.

Good fit Use it to parse roleplay character cards, load world information, trigger relevant entries by keywords, and update story context.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/CES-Ltd/TitanX
agentmods
npx agentmods add skills/ces-ltd/titanx/story-roleplay

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for story-roleplay

README.md
[![agentmods](https://agentmods.dev/badge/skills/ces-ltd/titanx/story-roleplay/github.svg)](https://agentmods.dev/skills/ces-ltd/titanx/story-roleplay)
Your own site
<a href="https://agentmods.dev/skills/ces-ltd/titanx/story-roleplay"><img src="https://agentmods.dev/badge/skills/ces-ltd/titanx/story-roleplay/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for story-roleplay

Your own site · 80×15
<a href="https://agentmods.dev/skills/ces-ltd/titanx/story-roleplay"><img src="https://agentmods.dev/badge/skills/ces-ltd/titanx/story-roleplay.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,215 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00045 $0.03215
Opus 5 $0.00023 $0.01607
Sonnet 5 $0.00009 $0.00643
Haiku 4.5 $0.00005 $0.00321

Measured 11d ago against content hash 8d8c71615a04, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

story-roleplay scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/parse-character-card.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/process/resources/skills/story-roleplay/SKILL.md · 392 lines

How it starts

The opening of the file, as written. The whole thing — 392 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Story Roleplay Skills

Parse and apply character cards and world info files for immersive story roleplay experiences. Fully compatible with SillyTavern formats.

⚠️ Core Constraints (Must Follow)

  1. 🚫 ABSOLUTELY FORBIDDEN: Guessing PNG/WebP image content, must use parser tool to extract data
  2. ✅ MUST EXECUTE: Prioritize copying preset tool (skills/story-roleplay/scripts/), create only if not found
  3. ⚠️ LAST RESORT: When creating scripts, use complete code at end of file, version must be 1.0.0 (do not use ^)

Common: Parser Tool Usage Workflow

Quick Path (Try First)

Step 1: Copy Preset Tool

Try in the following order until successful:

  • Method 1 (Highest Priority): Relative path (if workspace is under project root):

    cp skills/story-roleplay/scripts/parse-character-card.js . && cp skills/story-roleplay/scripts/package.json .
    
  • Method 2: Search upward for project root (up to 5 levels):

    for dir in . .. ../.. ../../.. ../../../.. ../../../../..; do
      if [ -f "$dir/skills/story-roleplay/scripts/parse-character-card.js" ]; then
        cp "$dir/skills/story-roleplay/scripts/parse-character-card.js" .
        cp "$dir/skills/story-roleplay/scripts/package.json" .
        break
      fi
    done
    
  • Method 3: Global search (exclude temp directories):

    SCRIPT_PATH=$(find ~ -name "parse-character-card.js" -path "*/skills/story-roleplay/scripts/*" ! -path "*/temp*" ! -path "*/*-temp*" ! -path "*/.webpack/*" 2>/dev/null | head -1)
    if [ -n "$SCRIPT_PATH" ]; then
      SCRIPT_DIR=$(dirname "$SCRIPT_PATH")
      cp "$SCRIPT_DIR/parse-character-card.js" .
      cp "$SCRIPT_DIR/package.json" .
    fi
    
  • Verify: Confirm files copied

    ls parse-character-card.js package.json
    
    • If files don't exist, continue to next method or use fallback option

Step 2: Install Dependencies

npm install
  • Wait for completion, check if node_modules was created
  • If fails: Check network/permission/Node.js environment

Read the full file on GitHub · 392 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 392 lines · 45 tokens per session scan A 8d8c71615a04

Subscribe to this mod's changes

story-roleplay is a skill published in the GitHub repository CES-Ltd/TitanX (48 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 45 tokens to every session and 3,215 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

taste-profile

Build a scoped taste profile packet from examples, preferences, and explicit dislikes so downstream agents can make style decisions without inventing the user's taste.

runxhq/runx · 31 tokens

ai-image-generation-master

Expert-level guide to AI image generation across Midjourney, DALL-E, and Stable Diffusion covering prompt engineering for visual output, style control, composition techniques, upscaling workflows, and production pipelines for consistent, high-quality results. Use when the user asks about ai image generation master…

FerroxLabs/wayland · 99 tokens

wayland-build-investor-deck

Build an investor pitch deck end to end: from the narrative story arc through slide-level briefs, full slide content, narrative tightening, and speaker notes. The agent infers the story arc that makes the round credible to the investor archetype, drafts each slide's argument and proof, then tightens the narrative and…

FerroxLabs/wayland · 131 tokens

image-generation

Generate images using structured prompts and optional reference images. Supports character design, scenes, product visualization, and any visual content creation. Use this skill when the user requests to generate, create, imagine, draw, or visualize images, characters, portraits, scenes, products, or any visual…

comisai/comis · 72 tokens

podcast-generation

Convert text content into two-host conversational podcast audio. Transforms articles, reports, documentation, or any written content into natural dialogue between male and female hosts, then synthesizes speech audio. Use this skill when the user requests to generate, create, or produce a podcast from text content -…

comisai/comis · 79 tokens

video-generation

Generate videos using structured prompts and optional reference images. Supports scene generation with camera, dialogue, and audio specifications. Use this skill when the user requests to generate, create, or produce videos, clips, animations, or motion content -- even if they just say "make a video of X" or "animate…

comisai/comis · 66 tokens