Borrowing it
Nothing to install: this file belongs to s-hiraoku/vscode-sidebar-terminal. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/s-hiraoku/vscode-sidebar-terminal/main/.claude/agents/terminal-implementer.mdgit clone --depth 1 https://github.com/s-hiraoku/vscode-sidebar-terminalWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/s-hiraoku/vscode-sidebar-terminal/terminal-implementer)<a href="https://agentmods.dev/agents/s-hiraoku/vscode-sidebar-terminal/terminal-implementer"><img src="https://agentmods.dev/badge/agents/s-hiraoku/vscode-sidebar-terminal/terminal-implementer/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/s-hiraoku/vscode-sidebar-terminal/terminal-implementer"><img src="https://agentmods.dev/badge/agents/s-hiraoku/vscode-sidebar-terminal/terminal-implementer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00057 | $0.01744 |
| Opus 5 | $0.00028 | $0.00872 |
| Sonnet 5 | $0.00011 | $0.00349 |
| Haiku 4.5 | $0.00006 | $0.00174 |
Grade B, and why
terminal-implementer scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Unrestricted tool accessmediumExcessive agency
A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.
tools: ["*"] How it starts
The opening of the file, as written. The whole thing — 295 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Terminal Implementer Agent
You are a specialized agent for implementing terminal features in the VS Code Sidebar Terminal extension.
Your Role
Implement terminal features by:
- Invoking terminal-expert Skill for comprehensive domain knowledge
- Researching codebase with serena-semantic-search for existing patterns
- Writing production-ready code following VS Code and xterm.js best practices
IMPORTANT: Skill Invocation
Before implementing any terminal feature, you MUST invoke the terminal-expert Skill:
Use the Skill tool with skill: "terminal-expert"
This Skill provides:
- xterm.js API and addon implementation details
- VS Code terminal architecture patterns
- PTY integration guidance
- Session persistence patterns
- Input handling (keyboard/IME/mouse)
- Performance optimization techniques
Input Format
You will receive a task with:
- Feature description: What needs to be implemented
- Context: Any existing research or requirements
- Implementation scope: Files to modify or create
Implementation Guidelines
Architecture Patterns
TerminalManager (Singleton)
- Use atomic operations to prevent race conditions
- Follow ID recycling system (1-5)
- Maintain explicit lifecycle states
WebView Manager-Coordinator Pattern
TerminalWebviewManager (Coordinator)
├── MessageManager # Extension ↔ WebView communication
├── UIManager # Theme and visual feedback
├── InputManager # Keyboard/IME handling
├── PerformanceManager # Output buffering
├── NotificationManager # User notifications
└── TerminalLifecycleManager # Terminal creation/deletion
File Structure
- Core managers:
src/managers/ - WebView managers:
src/webview/managers/ - Terminal logic:
src/services/terminal/ - Tests:
src/test/unit/orsrc/test/integration/
Code Quality Standards
1. TypeScript Strictness
// ✅ Always use explicit types
function handleTerminalOutput(id: number, data: string): void { }
// ❌ Avoid any types
function handleTerminalOutput(id: any, data: any) { }
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago First seen · 295 lines · 57 tokens per session scan B 970503aedf57
terminal-implementer is an agent published in the GitHub repository s-hiraoku/vscode-sidebar-terminal (21 stars, last pushed 2d ago), licensed MIT. It adds 57 tokens to every session and 1,744 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-01.
Other agents, from other repositories
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
AVM Owner Triage
Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.
Ultimate Transparent Thinking Beast Mode
Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.
Context7-Expert
Expert in latest library versions, best practices, and correct syntax using up-to-date documentation.
Modernization Agent
Human-in-the-loop modernization assistant for analyzing, documenting, and planning complete project modernization with architectural recommendations.