okbest2024/openclaw-backup/openclaw-tui-sender

Claude Code and agent skill by okbest2024/openclaw-backup

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Send messages to OpenClaw TUI terminal. Invoke when user wants to send commands or messages to OpenClaw TUI, not to Trae CN SOLO Coder.

Install

npx vskill@latest install okbest2024/openclaw-backup/openclaw-tui-sender

SKILL.md

The same SKILL.md was published earlier as okbest2024/openclaw-backup/openclaw-tui-sender.

OpenClaw TUI Sender

Send messages to OpenClaw TUI terminal and read responses using OCR.

Purpose

When working in Trae CN, use this skill to send messages to OpenClaw TUI (running in a separate terminal) instead of sending to Trae CN's own SOLO Coder chat.

Solution: OCR-Based Terminal Reading

Since blessed TUI uses full-screen rendering that cannot be captured by normal terminal output, we use OCR (Optical Character Recognition) to read the terminal screen:

  1. Capture screenshot of the terminal window
  2. Use cnocr to extract text from the screenshot
  3. Return the extracted text

Prerequisites

Install OCR library:

bash
pip install cnocr onnxruntime

Usage

Send Message and Read Response (with OCR)
bash
python "F:\ai-trace\定位trace对话框\test\.trae\skills\openclaw-tui-sender\send_and_read_ocr.py" "your message" [wait_seconds]

Example:

bash
python "F:\ai-trace\定位trace对话框\test\.trae\skills\openclaw-tui-sender\send_and_read_ocr.py" "在吗" 10
Send Message Only (without OCR)
bash
python "F:\ai-trace\定位trace对话框\test\.trae\skills\openclaw-tui-sender\send_to_openclaw_tui.py" "your message"
Start OpenClaw TUI in Separate Window
powershell
Start-Process powershell -ArgumentList "-NoExit", "-Command", "chcp 65001; openclaw tui"
Check Gateway status
powershell
openclaw gateway status

Files

FilePurpose
send_and_read_ocr.pySend message and read response using OCR
send_to_openclaw_tui.pySend messages only (no OCR)
read_openclaw_tui.pyRead terminal using OCR only

Technical Details

Why OCR?
  • blessed TUI uses full-screen terminal rendering (like ncurses)
  • Terminal output is not captured by normal stdout/stderr redirection
  • Windows Terminal uses ConPTY which doesn't expose screen buffer API
  • OCR is the most reliable way to read TUI content
OCR Libraries Supported
  1. cnocr (Recommended) - Best for Chinese/English mixed text
  2. easyocr - Good multilingual support
  3. pytesseract - Requires external Tesseract installation

Related Skills

  • trae-trace-sender: Send to Trae CN SOLO Coder (for receiving OpenClaw responses)
  • openclaw-config-fix: Fix OpenClaw config issues

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/okbest2024/openclaw-backup/openclaw-tui-sender/badge)](https://verified-skill.com/skills/okbest2024/openclaw-backup/openclaw-tui-sender)

Something wrong with this skill or its page? Tell us.