Toolverse
All skills

opencode-acp-control

by openclaw

Control OpenCode directly via the Agent Client Protocol (ACP). Start sessions, send prompts, resume conversations, and manage OpenCode updates.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
openclaw
Category
Security
Views
1

About this skill

Control OpenCode directly via the Agent Client Protocol (ACP). Start sessions, send prompts, resume conversations, and manage OpenCode updates.

How to use

  1. Zainstaluj umiejętność w swoim środowisku agenta, upewniając się, że OpenCode jest dostępny w ścieżce systemowej.

  2. Uruchom sesję OpenCode, wykonując polecenie bash z parametrem background ustawiony na true. Zapisz zwrócony identyfikator sesji – będzie ci potrzebny do wszystkich kolejnych operacji.

  3. Wyślij inicjalizacyjny komunikat JSON-RPC 2.0 zaraz po uruchomieniu. Komunikat musi zawierać metodę initialize z informacjami o kliencie i obsługiwanymi możliwościami (system plików, terminal). Każdy komunikat musi być zakończony znakiem nowego wiersza.

  4. Wysyłaj prompty do OpenCode, używając funkcji process.write z identyfikatorem sesji i danymi w formacie JSON-RPC. Utrzymuj licznik identyfikatorów komunikatów, zaczynając od 0 i inkrementując go z każdym wysłanym komunikatem.

  5. Odczytuj odpowiedzi, wywołując process.poll z identyfikatorem sesji. Powtarzaj to co 2 sekundy, aż otrzymasz odpowiedź. Wszystkie komunikaty będą w formacie JSON-RPC 2.0.

  6. Aby wznowić poprzednią sesję, najpierw wyświetl listę dostępnych sesji poleceniem opencode session list, a następnie załaduj wybraną sesję za pomocą metody session/load.

Related skills

python-expert

by Shubhamsaboo

Senior Python developer expertise for writing clean, efficient, and well-documented code.\nUse when: writing Python code, optimizing Python scripts, reviewing Python code for best practices,\ndebugging Python issues, implementing type hints, or when user mentions Python, PEP 8,

Security
2777

brand-voice

by anthropics

Apply and enforce brand voice, style guide, and messaging pillars across content. Use when reviewing content for brand consistency, documenting a brand voice, adapting tone for different audiences, or checking terminology and style guide compliance.

Security
48158

backend-security-coder

by sickn33

Expert in secure backend coding practices specializing in input validation, authentication, and API security. Use PROACTIVELY for backend security implementations or security code reviews.

Security
1133

1password

by openclaw

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.

Security
1174

accessibility-compliance

by wshobson

Implement WCAG 2.2 compliant interfaces with mobile accessibility, inclusive design patterns, and assistive technology support. Use when auditing accessibility, implementing ARIA patterns, building for screen readers, or ensuring inclusive user experiences.

Security
2173

software-security

by project-codeguard

A software security skill that integrates with Project CodeGuard to help AI coding agents write secure code and prevent common vulnerabilities. Use this skill when writing, reviewing, or modifying code to ensure secure-by-default practices are followed.

Security
1678