okbest2024/openclaw-backup/openclaw-tui-sender
Claude Code and agent skill by okbest2024/openclaw-backup
- community
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-senderSKILL.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:
- Capture screenshot of the terminal window
- Use cnocr to extract text from the screenshot
- Return the extracted text
Prerequisites
Install OCR library:
Usage
Send Message and Read Response (with OCR)
Example:
Send Message Only (without OCR)
Start OpenClaw TUI in Separate Window
Check Gateway status
Files
| File | Purpose | |
|---|---|---|
send_and_read_ocr.py | Send message and read response using OCR | |
send_to_openclaw_tui.py | Send messages only (no OCR) | |
read_openclaw_tui.py | Read 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
- cnocr (Recommended) - Best for Chinese/English mixed text
- easyocr - Good multilingual support
- 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
- SKILL.md in the repositoryCheckingworkspace/skills/openclaw-tui-sender/SKILL.md
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
[](https://verified-skill.com/skills/okbest2024/openclaw-backup/openclaw-tui-sender)