← 返回 Skills 市场
yayayahei

Terminal In Chrome

作者 yayayahei · GitHub ↗ · v1.1.13 · MIT-0
cross-platform ⚠ suspicious
52
总下载
0
收藏
1
当前安装
7
版本数
在 OpenClaw 中安装
/install terminal-in-chrome
功能描述
Manages the Web Terminal Chrome Extension local backend server. Use this skill to start, stop, or check the status of the local terminal server running on po...
使用说明 (SKILL.md)

Web Terminal Extension Skill

Overview

This skill manages the local backend server for the Web Terminal Chrome Extension, which injects a fully functional, resizable local terminal into any website via xterm.js.

Architecture

  1. Server (/server): A lightweight Node.js backend running locally (ws://localhost:8989) that spawns the actual terminal process (bash or zsh) using node-pty.
  2. Extension (/extension): A Chrome extension that injects xterm.js into websites and connects back to the local server via WebSockets.

Operations

Start the Server

Trigger phrases: "start web terminal", "run terminal server", "start terminal backend"

Action: Navigate to the server directory and start the Node.js server in the background.

cd server
npm start

The server will run on port 8989.

Stop the Server

Trigger phrases: "stop web terminal", "kill terminal server", "stop terminal backend"

Action: Find the process running on port 8989 and kill it.

lsof -i :8989
kill -9 \x3CPID>

Check Status

Trigger phrases: "web terminal status", "is terminal running?", "check terminal server"

Action: Check if port 8989 is in use to determine if the server is running.

lsof -i :8989

User Instructions for Extension

If the user asks how to use the extension, provide these steps:

  1. Open Google Chrome and navigate to chrome://extensions/
  2. Enable Developer mode (toggle in the top right corner).
  3. Click Load unpacked.
  4. Select the extension folder from this project (web-terminal-extension/extension).
  5. Go to any website.
  6. Press Ctrl + \``** or **Cmd + J` to toggle the terminal.
  7. Drag the top border to resize it.
安全使用建议
Install only if you deliberately want a Chrome extension that can open a local shell connected to your machine. Use it only in a controlled environment, restrict it to trusted sites, add authentication and strict origin checks to the localhost server, avoid exposing sensitive environment variables, and make terminal sessions expire when disconnected.
能力标签
crypto
能力评估
Purpose & Capability
The README and SKILL.md disclose a browser-injected local terminal, and the server does spawn an interactive shell as that terminal backend. However, the published package description emphasizes server management while the bundled artifacts provide broad local command execution through a Chrome extension.
Instruction Scope
The extension runs content scripts on all URLs and connects to a localhost WebSocket terminal. The artifacts provide a blocked-sites list, but no default allowlist, authentication, strict origin checks, or per-session consent before shell input is accepted.
Install Mechanism
The package uses ordinary Node and Chrome extension files, with npm start launching server.js. I did not find obfuscated install scripts or hidden install-time behavior; the main risk is the disclosed runtime design.
Credentials
The backend accepts WebSocket messages and writes them directly into a spawned PTY, using the user's shell, home directory, and full inherited process environment. That exposes high-impact local authority and potentially sensitive environment variables.
Persistence & Privilege
Terminal instances are keyed by a client-provided page URL and intentionally persist after clients disconnect, retaining shell state and output history until the server restarts.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install terminal-in-chrome
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /terminal-in-chrome 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.13
- Updated extension/manifest.json (details not provided). - No user-facing changes in documentation or usage instructions.
v1.1.12
- Major cleanup: removed redundant and unused files from the repository. - Added a root-level package.json to centralize package management. - Simplified and minimized the Chrome extension's manifest. - No changes to user-facing features or core functionality.
v1.1.10
Initial release of the "Terminal in Chrome" skill: - Added Node.js backend server to provide a local terminal interface via WebSockets on port 8989. - Introduced a Chrome extension that injects xterm.js into websites and connects to the local server. - Provided start, stop, and status operations to manage the server process. - Included detailed setup instructions and user documentation. - Packaged all components and assets required for extension and server functionality.
v1.1.9
Version 1.1.9 of terminal-in-chrome - No file changes detected in this release. - No updates to features, functionality, or documentation.
v1.1.8
- Updated extension/manifest.json (details not shown). - No user-facing changes to the skill’s description or documentation. - Version incremented to 1.1.8.
v1.1.7
Version 1.1.7 of terminal-in-chrome - No file changes detected in this release. - Documentation and usage instructions remain unchanged. - No new features, bug fixes, or updates since the previous version.
v1.1.6
- Added detailed documentation in SKILL.md, including instructions for starting, stopping, and checking the status of the terminal server. - Clarified trigger phrases for each operation. - Provided step-by-step user instructions for installing and using the Chrome extension.
元数据
Slug terminal-in-chrome
版本 1.1.13
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 7
常见问题

Terminal In Chrome 是什么?

Manages the Web Terminal Chrome Extension local backend server. Use this skill to start, stop, or check the status of the local terminal server running on po... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 52 次。

如何安装 Terminal In Chrome?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install terminal-in-chrome」即可一键安装,无需额外配置。

Terminal In Chrome 是免费的吗?

是的,Terminal In Chrome 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Terminal In Chrome 支持哪些平台?

Terminal In Chrome 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Terminal In Chrome?

由 yayayahei(@yayayahei)开发并维护,当前版本 v1.1.13。

💬 留言讨论