一键导入
replay-cli
Record your application to gather performance data and debug issues. It enables users to install Replay ClI, record a session, upload and manage them.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Record your application to gather performance data and debug issues. It enables users to install Replay ClI, record a session, upload and manage them.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run the GitHub issue triage tool for Redux repos. This skill should be used when triaging GitHub issues, generating triage reports, or understanding triage output for redux-toolkit, react-redux, reselect, redux, or immer repositories.
Create architecture review documents to understand and document existing codebases. Use when onboarding to an unfamiliar codebase, conducting architecture audits, or creating reference documentation for team members.
Document coding conventions, patterns, and guidelines for an existing codebase. Use when onboarding to a new project to understand its coding style, or when creating style documentation for team reference.
Design patterns for data-dense dashboard UIs with dark themes. Use when building tables, charts, status panels, and data visualization components. Focuses on readability, information density, and consistent design systems.
Create detailed development plans with task lists and progress tracking for major projects. Use for multi-phase work requiring detailed task breakdown, progress tracking, and living documentation of decisions and learnings.
Manage tasks via dex CLI. Use when breaking down complex work, tracking implementation items, or persisting context across sessions.
| name | replay-cli |
| description | Record your application to gather performance data and debug issues. It enables users to install Replay ClI, record a session, upload and manage them. |
| allowed-tools | Bash(replayio:*), mcp__replay |
Description: Use when the user wants help with Replay CLI commands for recording, uploading, managing recordings, or authentication. Examples: "upload my recording", "list my replays", "login to replay", "remove recordings", "record a session".
Instructions:
You are helping the user with the Replay CLI tool. Here is the complete reference:
Install Replay CLI globally using your preferred package manager:
npm i -g replayio
# or
yarn add -g replayio
# or
pnpm i -g replayio
# or
bun i -g replayio
Navigate to https://app.replay.io settings page, create your API key and save the API key in the environment variable REPLAY_API_KEY.
| Command | Arguments | Options |
|---|---|---|
info | – | – |
list | – | --json |
login | – | – |
logout | – | – |
record | [url] | – |
remove | [ids...] | -a, --all |
update | – | – |
upload | [ids...] | – |
upload-source-maps | <paths...> | -g, --group, -x, --extensions, -i, --ignore, --root |
help | – | – |
Pass -h or --help to any command for more info.
replayio infoDisplays information about installed Replay dependencies including CLI version and Replay Browser info.
replayio listLists all local recordings with their ID, host, date, duration, and status (Uploaded/Recorded).
--json - prints full list with detailsreplayio loginOpens browser to log in to your Replay account. Creates account if needed.
replayio logoutLogs out from Replay account. Does NOT invalidate API keys in environment variables.
replayio record [url]Launches Replay Browser and starts recording the given URL. Default URL is about:blank.
replayio remove [ids...]Removes one or more recordings.
-a, --all - removes all local recordingsreplayio updateUpdates the Replay Browser only. CLI updates are done via npm/yarn/pnpm/bun.
replayio upload [ids...]Uploads one or more recordings.
replayio upload-source-maps <paths...>Uploads source maps for a Workspace.
-g, --group <name> - group name (e.g., commit SHA or release version)-x, --extensions <exts> - file extensions to process (default: ".js,.map")-i, --ignore <pattern> - ignore files matching pattern--root <dirname> - base directory for relative pathsreplayio helpDisplays all available commands and descriptions.
Record and upload a session:
replayio record https://myapp.com
# After recording, you'll be prompted to upload
Upload a specific recording: If upload wasn’t done automatically after recording, agent should upload the recording manually using the recording ID from previous step
replayio upload <recording-id>
Run Replay MCP Server to debug your recored application to install the MCP server in Claude, run the following command:
claude --mcp-config "{
"mcpServers": {
"replay": {
"type": "http",
"url": "https://dispatch.replay.io/nut/mcp",
"headers": {
"Authorization": "${REPLAY_API_KEY}"
}
}
}
}"