add browser automation skill and dev server skill

This commit is contained in:
2026-04-30 23:56:47 +02:00
parent 7e958952bf
commit 7dbdcfbd26
2 changed files with 414 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
---
name: dev-server
description: Instructions on how to run correctly development / preview servers or background processes in new panes in cmux.
---
## When to use
This skill is active when the user asks directly or the agent wants to run a local dev/preview server or any other long running command that ideally needs to run in the background.
The idea is to provide a dedicated cmux pane / split where to execute this task, and skip entirely the background execution in the coding agent.
## How to use
1. Identify what is the task to run. Examples are `npm run dev`, `uv run manage.py runserver`, `python -m http.server` and so on.
2. Create a new split in cmux. By default we want to split right: `cmux new-split right`.
3. After the split is created, it will return some information like so: `OK surface:23 workspace:5`.
4. We want to rename the split to give it a meaningful name, for example "Django dev server" or "npm dev server": `cmux rename-tab --surface surface:23 "npm dev server"`
5. Now we need to send the actual command to the split: `cmux send --surface surface:23 "npm run dev"`.
6. Lastly, we need to send the <enter> key to trigger the command execution: `cmux send-key --surface surface:23 enter`.
The external process now is up and running. It will be up to the user to terminate or close the split.