OpenRoom: Command for Claude Code

.claude/commands/import.md

import is a command for Claude Code from MiniMax-AI/OpenRoom. It costs 0 tokens per session (875 once invoked), scanned A, original, MIT.

A command that imports SillyTavern character cards from PNG, CharX, or ZIP files into VibeApp. It reads the card's character book and can generate VibeApp code and a matching scenario.

In plain words
What is it for?
Use it to extract a card file, review its character and embedded apps, choose which apps to generate, and create VibeApp code from the selected content.
Why use it?
It removes the need to manually extract the card's embedded information and recreate its apps and scenario. It also shows what the card contains before generation, including apps, lore entries, and scripts.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: names the AskUserQuestion tool.

This is MiniMax-AI/OpenRoom's own configuration. It tells Claude Code how to work on OpenRoom itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything OpenRoom configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 .claude/scripts/extract-card.py "{FilePath}".

About the project

OpenRoom is a browser-based desktop environment where an AI agent controls built-in applications through natural-language requests and structured actions. People use it to interact with tools such as music, email, diary, games, and other apps through a desktop-like interface running locally in the browser. Its catalogue add-ons provide commands and instructions for working with this environment.

MiniMax-AI/OpenRoom · 1,272 stars · on GitHub · openroom.ai

Reuse

Borrowing it

Nothing to install: this file belongs to MiniMax-AI/OpenRoom. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/MiniMax-AI/OpenRoom/main/.claude/commands/import.md
Clone the repo
git clone --depth 1 https://github.com/MiniMax-AI/OpenRoom

Made for: Claude Code.

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 import

README.md
[![agentmods](https://agentmods.dev/badge/commands/minimax-ai/openroom/import/github.svg)](https://agentmods.dev/commands/minimax-ai/openroom/import)
Your own site
<a href="https://agentmods.dev/commands/minimax-ai/openroom/import"><img src="https://agentmods.dev/badge/commands/minimax-ai/openroom/import/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 import

Your own site · 80×15
<a href="https://agentmods.dev/commands/minimax-ai/openroom/import"><img src="https://agentmods.dev/badge/commands/minimax-ai/openroom/import.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 875 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.00000 $0.00875
Opus 5.5 $0.00000 $0.00350
Sonnet 5.5 $0.00000 $0.00175
Haiku 4.5 $0.00000 $0.00088

Measured 2mo ago against content hash bcad7e0c0ca7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

import 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 2mo ago.

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.

.claude/commands/import.md · 122 lines

How it starts

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

ST Card Import — CLI Orchestrator

Import SillyTavern character card files (PNG / CharX / ZIP) into the VibeApp system. Extracts apps from the card's character book and generates VibeApp code + mod scenario.

Parameter Parsing

  • $ARGUMENTS format: {FilePath}
  • FilePath: path to a .png, .charx, or .zip file containing a SillyTavern character card

If $ARGUMENTS is empty, ask the user for the file path.

Execution Protocol

1. Extract Card Data

Run the extraction script:

python3 .claude/scripts/extract-card.py "{FilePath}"

Capture the JSON output. If extraction fails, report the error and stop.

2. Analyze & Present Results

Parse the extraction output JSON. Display a structured summary to the user:

Card: {source} ({source_type})
Character: {character.name}
  Description: {first 100 chars of character.description}...

Apps Found ({count}):
  1. [{comment}] — keywords: {keywords} | format: {format} | tags: {tag_names}
  2. ...

Lore Entries: {count}
Regex Scripts: {count}

3. User Selection

Ask the user which apps to generate using AskUserQuestion:

  • Option 1: Generate all apps (recommended)
  • Option 2: Select specific apps
  • Option 3: Skip app generation (mod only)

If the user selects specific apps, present a multi-select list of extracted apps.

4. Generate Apps via Vibe Workflow

For each selected app, derive a VibeApp requirement from the card data:

4.1 App Name Derivation

Convert the app's comment field to PascalCase for the VibeApp name:

  • "live stream" → LiveStream
  • "social-feed" → SocialFeed
  • "music app" → MusicApp
  • Chinese names: translate to English PascalCase
4.2 Requirement Generation

Build a comprehensive requirement description from the extracted data:

A {format}-based app that provides {functional description based on keywords and tags}.

UI Features:
{For each tag: describe the UI element it represents}

Data Resources:
{For each resource list: describe what data it manages}

Content Format: {format type — xml tags / bracket notation / prose}

Regex Scripts (for reference):
{List relevant scripts that transform this app's output}

Read the full file on GitHub · 122 lines

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. 2mo ago First seen · 122 lines · 0 tokens per session scan A bcad7e0c0ca7

Subscribe to this mod's changes

import is a command published in the GitHub repository MiniMax-AI/OpenRoom (1,272 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 875 tokens. 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

import compared with commands from other repositories

import next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
importMiniMax-AI/OpenRoomCommand1.3k5mo agoMITA0Claude Code
BOOTSTRAPhAcKlyc/MyAgentsCommand592yesterdayAGPL-3.0A0Claude Code
checklistgithub/spec-kitCommand148kyesterdayMITA13Claude Code
clarifygithub/spec-kitCommand148kyesterdayMITA27Claude Code
specifygithub/spec-kitCommand148kyesterdayMITA13Claude Code
analyzegithub/spec-kitCommand148kyesterdayMITA26Claude Code
convergegithub/spec-kitCommand148kyesterdayMITA35Claude Code