Logo Terminal Session

Terminal Session

Tổ chức
OpenVulcan
terminal-session

Required operating guide for the terminal_session tool. Use before any terminal_session call to understand named persistent terminals, normalized cross-platform PTY input, child-side platform semantics, bounded output waits, TUI screen output, and safe control of long-running processes.

Tổng quan

Nhà phát hànhOpenVulcan
Kho mãvulcan-code
Tên kỹ năngterminal-session
Sao
134
Bản fork
15
Tệp đi kèm
1
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được OpenVulcan công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Terminal Session trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/OpenVulcan/vulcan-code/tree/main/crates/vulcan-prompt-skills/src/assets/system/terminal-session
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/OpenVulcan/vulcan-code.git /tmp/vulcan-code
mkdir -p .claude/skills
cp -r /tmp/vulcan-code/crates/vulcan-prompt-skills/src/assets/system/terminal-session .claude/skills/terminal-session
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Terminal Session trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Terminal Session ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Terminal Session với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Terminal Session

Before using terminal_session, read this skill and follow it. Do not use terminal_session from memory.

terminal_session manages named persistent host terminals. It is not a one-shot command runner. Use shell_command for isolated commands that do not need inherited shell state.

Core Rules

  • Use shell_command for isolated commands.
  • Use terminal_session when shell state matters: activated environments, changed directories, REPLs, long-running processes, interactive prompts, or TUI screens.
  • Always give start a non-empty, task-oriented name.
  • Use standardized text, paste, key, and chord inputs. Do not hand-write ANSI escapes, platform-specific getch bytes, or control characters.
  • The host sends the input content you provide and does not add shell wrappers or hidden completion commands.
  • Use shell_command when an exact process exit code is required. In a persistent terminal, any completion marker must be part of the visible command you explicitly send.
  • Check backend and input_capabilities on tool responses. Interactive terminal sessions use the same isolated PTY and ANSI/VT host-input contract on Windows, Linux, and macOS. On Windows, ConPTY may translate that host input into Console key events before a console-mode child reads it.
  • Prefer read after append-style output. For TUI or screen-like output, use send with screen_stable or snapshot to inspect screen_text.
  • Before finalizing a task, clean up temporary terminals you started for tests or diagnostics. Do not announce final completion until this cleanup is done.
  • Never dump logs or files of unknown size with cat, type, more, less, or an unbounded Get-Content. Read bounded slices or search instead; see Large Output And Logs.

Large Output And Logs

Log files and generated output can reach many gigabytes. Dumping them floods the terminal, its retained history, and your context without helping the task. These rules apply to both terminal_session and shell_command.

  • Never run cat, type, more, less, or Get-Content without -Tail or -TotalCount on a log or on any file whose size you have not checked.
  • Check the size first: wc -c <file> or ls -lh <file> in POSIX shells, (Get-Item <file>).Length in PowerShell.
  • Read bounded slices: tail -n 200 <file>, head -n 200 <file>, sed -n '1000,1200p' <file>; in PowerShell, Get-Content <file> -Tail 200 or Get-Content <file> -TotalCount 200.
  • Search instead of reading: grep -n -m 50 'ERROR' <file>, rg -n -m 50 'ERROR' <file>, or Select-String -Path <file> -Pattern 'ERROR' | Select-Object -First 50.
  • Follow a live log only through a bounded filter, such as tail -n 50 -f app.log | grep --line-buffered ERROR, and stop it with Ctrl+C when you are done.
  • When a command's output size is unknown, redirect it to a file first (command > out.log 2>&1) and inspect that file in slices.

Output Of shell_command

shell_command writes stdout and stderr, merged in arrival order, to a rolling log of the job and returns only the end: about 32 KiB of whole lines, with lines longer than 2 KiB split. The log keeps the first 64 KiB and the newest output up to 64 MiB; anything between is dropped and shown as a gap. The command is never killed because of output volume.

  • When the result says only the end is shown, read earlier lines or search the log with shell_job (read with start_line, or search with pattern) instead of rerunning the command.
  • A long-running command can run in the background (background: true); follow it with shell_job (status, wait, read, search, stop). You are told when a background job finishes.
  • Bounded commands are still better: a huge dump costs time and pushes useful lines out of the returned end.

Large Output In terminal_session

terminal_session does not kill a process because of output volume, but it retains only bounded recent history. Older output is evicted and replaced by a gap notice, so an unbounded dump loses its beginning and still fills your context. If a foreground command starts flooding the terminal, send Ctrl+C and rerun it with a bounded form.

Backend Capabilities

Every terminal response may include backend and capability metadata:

  • backend: the concrete runtime backend, normally pty for terminal_session and pipe only for command-style sessions.
  • input_capabilities: whether structured key and chord inputs are supported and which encoding the host applies.
  • screen_frame_seq, screen_size, and screen_text: the latest frame reported by a screen-capable backend.

Backend rules:

  • pty: the cross-platform terminal_session backend on Windows, Linux, and macOS. It runs in the isolated terminal host and converts standardized keys/chords into ANSI/VT input. Windows ConPTY can then expose supported special keys as Console key events to console-mode child programs; this child-facing representation does not change the tool contract.
  • pipe: command-style process I/O. It is not a full TUI backend.

Do not infer key support from the operating system alone. Use the response's backend and input_capabilities fields.

Actions

list

Lists terminals owned by the current controller session. Use it when you forgot a terminal id or need to recover after context loss.

json
{
  "action": "list"
}

Choose a terminal by name, terminal_session_id, status, command, and working directory. Do not guess ids.

start

Starts one persistent terminal. name and command must both be non-empty. name is only required for start; it is ignored by other actions.

json
{
  "action": "start",
  "name": "dev shell",
  "command": "pwsh -NoLogo",
  "shell": "auto"
}

cwd only applies at start time. Later send calls inherit the process state; change directories by typing shell commands such as cd.

start uses the same isolated PTY backend on Windows, Linux, and macOS. The operating system changes the PTY implementation, not the tool contract, executable, protocol, or lifecycle.

On Windows, if command directly launches bash, sh, or zsh, do not use shell: "auto". Select the explicit shell so the host can use deterministic interactive newline behavior.

send

Sends ordered inputs to an existing terminal. terminal_session_id is required and inputs must be non-empty.

json
{
  "action": "send",
  "terminal_session_id": "...",
  "inputs": [{ "kind": "text", "text": "npm run dev\n" }],
  "wait_policy": { "mode": "until_pattern", "pattern": "ready", "max_wait_ms": 30000 }
}

If wait_policy is omitted, the call returns immediately after writing input. Use an explicit bounded wait when you need output back from the same call.

read

Reads output for an existing terminal. terminal_session_id is required. By default, read starts from the terminal's AI-facing cursor and advances that cursor after returning chunks.

json
{
  "action": "read",
  "terminal_session_id": "...",
  "wait_policy": { "mode": "until_quiet", "quiet_ms": 300, "max_wait_ms": 3000 }
}

Use read_from_start: true only for explicit history review. Use after_seq only when you have a known sequence number from a prior response. max_chunks caps returned chunks; the default is 128.

snapshot

Returns current terminal metadata and status for an existing terminal. Use it when you need status, backend, input_capabilities, last_seq, byte counts, the eventual terminal-process exit code, or the latest screen frame. It does not advance the AI-facing read cursor.

json
{
  "action": "snapshot",
  "terminal_session_id": "..."
}

For PTY sessions, snapshot can expose the latest screen_text checkpoint without consuming incremental output. Use send or read with screen_stable when you need fresh visible output.

stop

Stops an existing terminal.

json
{
  "action": "stop",
  "terminal_session_id": "..."
}

If preserving the shell matters, try Ctrl+C first and then read to verify the shell is usable. Use stop when the terminal should be terminated or foreground interruption did not work.

Wait Policies

Every wait policy is bounded. Timeouts do not stop the terminal.

  • return_immediately: return after sending input or checking for available output.
  • until_quiet: wait until a real quiet window is observed or the bounded budget expires; inspect quiet_observed.
  • until_prompt: best-effort prompt-oriented bounded wait. A prompt match does not prove a particular exit code.
  • until_pattern: bounded wait intended for readiness output. Treat readiness as true only when pattern_matched is true.
  • screen_stable: bounded screen-oriented wait for TUI or alternate-screen output; inspect quiet_observed.

For readiness-sensitive flows, use a target-specific literal pattern such as a prompt, menu title, or ready line. Do not send navigation keys merely because a timeout elapsed.

Completion And Exit Codes

terminal_session does not infer a per-command exit code. A persistent shell process remains alive after ordinary commands, so the operating system exposes only the eventual shell-process exit code, not the status of each line typed into it.

Use shell_command for an isolated command when you need an exact exit status. Its result includes the process exit status without changing a persistent terminal.

When existing terminal state is required and you need an explicit completion signal, send a shell-native command that visibly prints a unique marker, then wait for that marker with until_pattern. The marker and status expression are part of your real command and remain visible in terminal history and output.

PowerShell external-command example:

json
{
  "action": "send",
  "terminal_session_id": "...",
  "inputs": [{ "kind": "text", "text": "npm test; $code = $LASTEXITCODE; Write-Output \"__AI_DONE_7F3A__:$code\"\n" }],
  "wait_policy": { "mode": "until_pattern", "pattern": "__AI_DONE_7F3A__:", "max_wait_ms": 120000 }
}

POSIX-shell example:

json
{
  "action": "send",
  "terminal_session_id": "...",
  "inputs": [{ "kind": "text", "text": "npm test; code=$?; printf '__AI_DONE_7F3A__:%s\\n' \"$code\"\n" }],
  "wait_policy": { "mode": "until_pattern", "pattern": "__AI_DONE_7F3A__:", "max_wait_ms": 120000 }
}

CMD example:

json
{
  "action": "send",
  "terminal_session_id": "...",
  "inputs": [{ "kind": "text", "text": "npm test & call echo __AI_DONE_7F3A__:^%ERRORLEVEL^%\n" }],
  "wait_policy": { "mode": "until_pattern", "pattern": "__AI_DONE_7F3A__:", "max_wait_ms": 120000 }
}

Choose a fresh marker for each wait. Read and interpret the numeric suffix yourself. Do not use completion-marker commands for REPL steps, interactive prompts, long-running servers, or TUI navigation; use their natural output, until_pattern, until_quiet, or screen_stable instead.

Inputs

inputs are ordered and written in order.

json
{ "kind": "text", "text": "Get-Date\n" }

Use text for typed command lines and REPL input. Use ordinary \n when submitting a logical line. The host normalizes CRLF, standalone CR, and standalone LF to the newline required by the active interactive shell, so the same structured input works on Windows, Linux, and macOS.

json
{ "kind": "paste", "text": "multi-line content" }

Use paste for larger ordered text blocks. Its logical newlines receive the same shell-specific normalization as text. The contract does not imply bracketed-paste mode. If the target REPL or TUI requires an additional confirmation after pasted content, send a structured key input with Enter.

json
{ "kind": "key", "key": "ArrowDown" }

Use key for standardized single-key input.

Supported key names:

text
Enter, Tab, Esc, Escape, Backspace, Delete,
ArrowUp, ArrowDown, ArrowLeft, ArrowRight,
Home, End, PageUp, PageDown, Insert,
F1 ... F12

Enter is encoded for the current backend and interactive shell, but child programs may observe \n or \r depending on how they read input. Programs that read raw characters should treat both as submit keys.

On Windows PTY sessions, the terminal host writes ANSI/VT input to ConPTY. ConPTY may present supported special keys to console-mode child programs as Windows Console key events. For example, Python msvcrt.getch() normally reports an arrow as an extended prefix (b"\xe0" or b"\x00") followed by b"H", b"P", b"K", or b"M" for Up, Down, Left, or Right. A Python Windows-console TUI must use msvcrt.getch() or an equivalent Console-input API for these keys; sys.stdin.read() does not expose the arrow-key Console events as VT bytes. The AI must still send standardized key inputs such as ArrowDown and must never send those scan-code bytes manually.

Generated Enter/key-submit input uses a single carriage return for PowerShell and cmd-style shells on Windows PTY sessions. Structured text and paste input is normalized to that same submission contract. Do not send manual platform newline bytes as a key substitute; use ordinary logical newlines or a standardized Enter key.

json
{ "kind": "chord", "key": "c", "ctrl": true }

Use chord for supported shortcuts:

  • Ctrl with one alphabetic key, such as Ctrl+C, Ctrl+D, Ctrl+Z, Ctrl+L, or Ctrl+R.
  • Shift+Tab.
  • Alt or Meta combined with a supported standard key, such as Alt+ArrowLeft.

Do not assume arbitrary application shortcuts are supported. If a chord is rejected, use a supported key sequence or normal text input instead.

Input Encoding

The terminal host always converts standardized keys and chords to the cross-platform ANSI/VT host-input contract. There is no per-platform key_encoding selector. The reported encoding: "ansi_vt" describes bytes written by the host to the PTY; it does not guarantee that every child-side input API returns those same bytes after the platform terminal driver processes them.

json
{
  "action": "send",
  "terminal_session_id": "...",
  "inputs": [{ "kind": "key", "key": "ArrowDown" }],
  "wait_policy": { "mode": "screen_stable", "quiet_ms": 150, "max_wait_ms": 1000 }
}

Windows ConPTY translates supported terminal keys into Console KEY_EVENT records for console-mode child programs, which supports normal msvcrt.getch() menus. Arbitrary scan-code injection and application-specific raw KEY_EVENT construction remain outside this PTY contract. Prefer standardized key and chord inputs, ANSI/VT-aware application modes, or documented text shortcuts.

Child Input Semantics By Platform

The tool-facing API is identical on every platform, but a child program observes input through its operating system's terminal API:

PlatformPTY pathWhat a Python TUI should useArrow-key behavior
WindowsTerminal host writes ANSI/VT to ConPTY; ConPTY can translate it to Console input eventsmsvcrt.getch() for a Windows console menu, or a cross-platform TUI library that supports ConPTYmsvcrt.getch() commonly returns b"\xe0" or b"\x00", then b"H"/b"P"/b"K"/b"M"
LinuxTerminal host writes ANSI/VT to a POSIX PTY; the terminal line discipline appliescurses, termios plus tty, or another PTY-aware TUI libraryIn raw/cbreak mode, simple arrows are ANSI escape sequences such as ESC [ A through ESC [ D; canonical mode may buffer until newline
macOSTerminal host writes ANSI/VT to a POSIX PTY; the terminal line discipline appliescurses, termios plus tty, or another PTY-aware TUI libraryThe same POSIX raw/cbreak rules apply; escape-sequence bytes may arrive across multiple reads

Do not use plain canonical sys.stdin.read() as a universal cross-platform raw-key reader. On Windows it does not expose msvcrt extended-key events as VT bytes; on Linux and macOS canonical mode can wait for a newline. Use a platform terminal API or a maintained cross-platform TUI library, and let that library decode key sequences.

This distinction is only for code running inside the child terminal. AI callers always use the same structured inputs:

json
{ "kind": "key", "key": "ArrowDown" }

Never branch AI tool calls by operating system and never send \x1b[B, \xe0P, or other platform bytes manually.

Output

Check output_mode on every response.

  • log: append-style output. Treat returned chunks as normal terminal text.
  • screen: screen-like or alternate-screen output. Use screen_text when present and drive with keys/chords.
  • mixed: both log-like and screen-like behavior. Prefer small steps and verify each result.
  • unknown: not enough evidence yet. Use bounded waits and conservative reads.

For screen and mixed responses, prefer [screen_text frame_seq=... confirmed=...], screen_frame_seq, screen_frame_confirmed, screen_size, and [controls_hint] over raw ANSI chunks when they are present. Compare screen_frame_seq across actions before assuming a new frame arrived; screen_frame_confirmed means the returned text, dimensions, and sequence form one atomic backend checkpoint, not that the sequence necessarily advanced since an earlier call.

Inspect pending_input_line after writes; pending_stdin_line reports the same state. When true, the active program still owns an unsubmitted input line; submit it, clear it, or send Ctrl+C before sending an unrelated complete command.

If has_more is true, call read again with the same terminal id before making conclusions from partial output.

TUI Control

TUI output represents a screen, not a plain append-only log.

Control strategy:

  1. Use read or send with screen_stable to get visible output.
  2. Inspect backend, input_capabilities, screen_text, and controls_hint when present.
  3. Send one or two key or chord inputs.
  4. Read again and verify the screen changed as expected.
  5. Use Esc, q, or Ctrl+C only when the screen or program convention indicates they are appropriate.

Do not send ANSI escapes directly. Use standardized keys; the terminal host owns their ANSI/VT encoding on every platform.

If a key does not work, inspect backend and input_capabilities, verify how the target application reads terminal input, and prefer documented text shortcuts where available. In particular, a Windows Python console TUI should use msvcrt.getch() rather than sys.stdin.read() for arrows and other extended keys.

For Linux and macOS Python TUIs, use curses or place stdin in raw/cbreak mode with termios and tty; do not expect canonical sys.stdin.read() to return an arrow immediately or in one read. Cross-platform applications should prefer a library that owns both the Windows Console and POSIX terminal input modes.

Interrupts

Use Ctrl+C to interrupt a stuck foreground process before stop when preserving the shell matters.

json
{
  "action": "send",
  "terminal_session_id": "...",
  "inputs": [{ "kind": "chord", "key": "c", "ctrl": true }],
  "wait_policy": { "mode": "until_quiet", "quiet_ms": 300, "max_wait_ms": 3000 }
}

After Ctrl+C, perform one stabilizing read and verify the shell prompt or expected application state returned before sending the next complete command.

If the response contains a standalone \x03, ^C, or a PowerShell message for that control character, treat it as interrupt cleanup noise when the next command behaves normally. Do not retry destructive commands only because of that cleanup noise.

Ctrl+C may not terminate every foreground process under Windows PowerShell/ConPTY. If the process remains alive, use stop.

Finalization

Before giving the final answer for a task that used terminal_session:

  1. Decide which terminals you created only for this task.
  2. Stop temporary test or diagnostic terminals that are no longer needed.
  3. Keep long-lived user-intended terminals running only when the user explicitly needs them.
  4. If you are unsure which terminals remain, call list and identify them by name, status, command, and working directory.
  5. Only after cleanup, give the final summary.

Avoid saying the work is final, finished, stopped, or ended while you still need to inspect or stop terminals.

Examples

Start PowerShell

json
{
  "action": "start",
  "name": "powershell workspace",
  "command": "pwsh -NoLogo",
  "shell": "auto"
}

Recover An Existing Terminal

json
{
  "action": "list"
}

Run One Isolated Command With An Exit Code

json
{
  "command": "cargo test -p vulcan-agent-runtime"
}

Use this payload with shell_command, not terminal_session.

Read More Output

json
{
  "action": "read",
  "terminal_session_id": "...",
  "wait_policy": { "mode": "until_quiet", "quiet_ms": 300, "max_wait_ms": 3000 }
}

Drive An ANSI TUI

json
{
  "action": "send",
  "terminal_session_id": "...",
  "inputs": [
    { "kind": "key", "key": "ArrowDown" },
    { "kind": "key", "key": "Enter" }
  ],
  "wait_policy": { "mode": "screen_stable", "quiet_ms": 150, "max_wait_ms": 1000 }
}

Drive A Windows Python Getch Menu Through ConPTY

Inside the Python program, read extended keys with msvcrt.getch():

python
first = msvcrt.getch()
if first in (b"\xe0", b"\x00"):
    scan = msvcrt.getch()
    key = {
        b"H": "up",
        b"P": "down",
        b"K": "left",
        b"M": "right",
    }.get(scan)

Continue to drive that program with standardized terminal inputs. ArrowDown reaches the Python program as the corresponding ConPTY Console key event; do not send b"\xe0P" yourself.

json
{
  "action": "send",
  "terminal_session_id": "...",
  "inputs": [
    { "kind": "key", "key": "ArrowDown" },
    { "kind": "key", "key": "Enter" }
  ],
  "wait_policy": { "mode": "screen_stable", "quiet_ms": 150, "max_wait_ms": 1000 }
}

Stop A Terminal

json
{
  "action": "stop",
  "terminal_session_id": "..."
}

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Terminal Session làm được gì?

Required operating guide for the terminal_session tool. Use before any terminal_session call to understand named persistent terminals, normalized cross-platform PTY input, child-side platform semantics, bounded output waits, TUI screen output, and safe control of long-running processes.

Vì sao nên dùng Terminal Session trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Terminal Session là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Terminal Session trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/OpenVulcan/vulcan-code/tree/main/crates/vulcan-prompt-skills/src/assets/system/terminal-session. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Terminal Session?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Terminal Session với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Terminal Session với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Terminal Session có miễn phí không?

Có. Kỹ năng này được OpenVulcan phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇