Skip to content

add cua-cli + cua-agent skills#28

Draft
dprevoznik wants to merge 4 commits into
mainfrom
hypeship/cua-skill
Draft

add cua-cli + cua-agent skills#28
dprevoznik wants to merge 4 commits into
mainfrom
hypeship/cua-skill

Conversation

@dprevoznik

@dprevoznik dprevoznik commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds two cua skills, slotted into the existing audience-based plugins:

  • cua-cli (in kernel-cli plugin) — drive a Kernel browser from shell via the cua binary. One-shot subcommands, named sessions, profile persistence, transcripts, live-view handoff, Playwright escape hatch.
  • cua-agent (in kernel-sdks plugin) — build TS apps that embed Kernel cua's loop with @onkernel/cua-agent (CuaAgent / CuaAgentHarness). Quick start, browser provisioning, extraTools, setModel switching, SDK escape hatch, subscribe()-based debugging.

Audience matches sibling skills: cua-cli sits next to kernel-agent-browser (same shell-driving audience), cua-agent next to kernel-typescript-sdk (same app-authoring audience). No new plugin needed — users who already install kernel-cli / kernel-sdks get the cua skills automatically.

Layout

plugins/kernel-cli/skills/cua-cli/SKILL.md
plugins/kernel-sdks/skills/cua-agent/SKILL.md

Install (unchanged):

/plugin marketplace add kernel/skills
/plugin install kernel-cli       # now also includes cua-cli
/plugin install kernel-sdks      # now also includes cua-agent

Notes

  • All content references only npm-published packages (@onkernel/cua-cli, @onkernel/cua-agent, @onkernel/cua-ai) — no links into the private kernel/cua repo.
  • The in-repo skill at kernel/cua/skills/cua-cli/ stays in place for now; a follow-up will retire it and point at this plugin.

Test plan

  • /plugin install kernel-cli surfaces cua-cli alongside the existing CLI skills
  • /plugin install kernel-sdks surfaces cua-agent alongside the existing SDK skills
  • cua-cli auto-loads on prompts about driving the cua binary; cua-agent auto-loads on prompts about writing TS code on the library
  • CLI quick-start commands work as documented against a real Kernel API key
  • Library quick-start (CuaAgentHarness) runs end-to-end with openai:gpt-5.5

🤖 Generated with Claude Code

dprevoznik and others added 4 commits June 21, 2026 14:33
New `cua` plugin documenting both the `cua` CLI (`@onkernel/cua-cli`) and
the `@onkernel/cua-agent` TS library (`CuaAgent` / `CuaAgentHarness`).
Single skill covers one-shot subcommands, named sessions, transcripts,
model selection across providers, library quick start, live-view handoff
for manual login, and the Playwright escape hatch for deterministic
actions against the underlying Kernel browser.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Browser config: CLI hardcodes stealth-on; library is the opt-out path.
- Adding your own tools: drop unverified `tool()` helper, point at
  pi-agent-core's AgentTool shape instead.
- Cross-origin section: tighten library escape-hatch sentence.
- Quick reference: split the trailing TS example into its own ts fence.
- Named-session relaunch tip: clarify "same profile as before".

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Skills are loaded into coding-agent context, and the two audiences are
distinct: agents driving the cua binary from shell vs humans asking
Claude to write TS apps on @onkernel/cua-agent. Mirrors the repo's
existing CLI-vs-SDK split (kernel-agent-browser vs kernel-typescript-sdk).

- cua-cli: shell-callable subcommands, named sessions, profile
  persistence, live-view handoff, Playwright escape hatch, debugging.
- cua-agent: CuaAgent / CuaAgentHarness quick start, browser
  provisioning, extraTools, setModel switching, SDK escape hatch,
  subscribe-based debugging.

Plugin manifest description and the kernel/skills README list both.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Drop the standalone `cua` plugin. The repo organizes skills by audience
(shell-driving vs SDK-authoring), not by product, so cua-cli sits
alongside kernel-agent-browser in kernel-cli, and cua-agent sits
alongside kernel-typescript-sdk in kernel-sdks. Users who already
install those plugins get the cua skills for free.

- plugins/kernel-cli/skills/cua-cli/SKILL.md (moved)
- plugins/kernel-sdks/skills/cua-agent/SKILL.md (moved)
- plugins/cua/ deleted
- README install snippets and skill tables updated
- cross-skill links in both SKILL.md files updated to reference the
  new plugin locations

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@dprevoznik dprevoznik changed the title add cua skill plugin add cua-cli + cua-agent skills Jun 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant