olaservo/mcp-agent-skills/claude-agent-terminal-ts
Claude Code and agent skill by olaservo/mcp-agent-skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Terminal-style React UI for Claude Agent SDK with keyboard navigation, tool approval, and dark theme
Install
npx vskill@latest install olaservo/mcp-agent-skills/claude-agent-terminal-tsSKILL.md
The same SKILL.md was published earlier as olaservo/mcp-agent-skills/claude-agent-terminal-ts.
Claude Agent Terminal UI
A retro terminal-inspired chat interface for Claude Agent SDK agents.
Features
- Dark monospace theme (VS Code-inspired colors)
- Input history with arrow key navigation
- Collapsible tool call blocks with status badges
- Inline tool approval prompts (Approve/Reject)
- Auto-scroll to latest message
- SQLite persistence for chat history
- SDK session resumption across page reloads
Prerequisites
- Node.js 18+
- Claude Agent SDK (
@anthropic-ai/claude-agent-sdk) - Claude Code authentication (
claude login)
Quick Start
1. Install Dependencies
2. Copy Snippets
Copy these files to your project:
client.tsxandstyles.cssfrom this skillwebsocket-server-sqlite.tsandwebsocket-types.tsfrom claude-agent-sdk-ts skill
3. Configure Server
Edit the server CONFIG section:
4. Start Server
5. Use Component
Architecture
Snippets
| Snippet | Source | Description | |
|---|---|---|---|
client.tsx | This skill | Terminal-styled React component | |
styles.css | This skill | Dark terminal CSS theme | |
websocket-server-sqlite.ts | claude-agent-sdk-ts | Express + WebSocket + SQLite server | |
websocket-types.ts | claude-agent-sdk-ts | Shared TypeScript types |
Keyboard Shortcuts
| Key | Action | |
|---|---|---|
| Enter | Send message | |
| Shift+Enter | New line | |
| Arrow Up | Previous message in history | |
| Arrow Down | Next message in history |
Component Props
TerminalChat
| Prop | Type | Description | |
|---|---|---|---|
wsEndpoint | string | WebSocket server URL (e.g., ws://localhost:3001/ws) |
Flexible Container
The <TerminalChat /> component fills whatever container it's placed in:
WebSocket Protocol
Server to Client
| Message Type | Description | |
|---|---|---|
connected | Initial connection confirmation | |
history | Chat history on connect | |
user_message | Echo of sent message | |
assistant_message | Agent response text | |
tool_use | Tool call initiated | |
tool_approval_request | Awaiting user approval | |
result | Request completed with cost | |
error | Error occurred |
Client to Server
| Message Type | Description | |
|---|---|---|
chat | User message | |
tool_approval_response | Approve/reject tool call |
Customization
Colors (in styles.css)
| Variable | Default | Usage | |
|---|---|---|---|
| Background | #1e1e1e | Main terminal background | |
| Header | #252526 | Header and input area | |
| Text | #d4d4d4 | Default text color | |
| User text | #9cdcfe | User message color | |
| Accent | #569cd6 | Tool blocks, focus states | |
| Success | #6a9955 | Completed status | |
| Error | #f14c4c | Error messages | |
| Warning | #ffcc00 | Approval prompts |
Fonts
The component uses a monospace font stack:
Related Skills
| Skill | Description | |
|---|---|---|
claude-agent-sdk-ts | SDK patterns, API reference, and shared server code | |
claude-agent-ui-ts | Simpler unstyled UI alternative |
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 repositoryCheckingskills/claude-agent-terminal-ts/SKILL.md
Popularity
- 7-day trend score
- 0
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/olaservo/mcp-agent-skills/claude-agent-terminal-ts)