Tooluck logoTooluck
SKILL.md

skill-body

Agent skill fromcitrolabs/ego-lite

Call `help()` or `help("page.click")` to print signatures and uncommon options

How to install skill-body

install skill-body
# install the ego-lite pack with the skills CLI
npx skills add citrolabs/ego-lite

# or add only this skill to Claude Code: copy the folder

package/ego-browser/skill-body/

# into

~/.claude/skills/skill-body/ (all projects)

.claude/skills/skill-body/ (one project)

package/ego-browser/skill-body/SKILL.md

MITFull file
1# ego-browser
2
3Call `help()` or `help("page.click")` to print signatures and uncommon options
4of APIs named below; it prints by itself, so do not wrap it in `console.log`.
5For installation or connection problems, read `references/install.md` in the
6ego-browser Skill directory and follow its link for your operating system.
7
8## Run browser scripts
9
10Pass the script to `ego-browser nodejs`.
11
12<!-- platform: windows -->
13
14The form depends on the shell that runs the command: heredoc is Bash/Zsh
15syntax and does not exist in PowerShell or cmd.
16
17### Bash, Zsh, Git Bash
18
19<!-- /platform -->
20
21```bash
22ego-browser nodejs <<'EOF'
23const task = await taskSpace("inspect example page");
24const page = task.page("p1");
25await page.goto("https://example.com");
26
27console.log({ taskSpaceId: task.spaceId, page: page.label });
28console.log(await page.snapshot());
29EOF
30```
31
32When a sandbox blocks heredoc input, use `-e` instead. Use single quotes around
33the code and double quotes for JavaScript strings; single quotes within the code
34require shell quoting.
35
36```bash
37ego-browser nodejs -e '
38const task = await taskSpace("inspect example page");
39await task.page("p1").goto("https://example.com");
40console.log(task.spaceId);
41'
42```
43
44<!-- platform: windows -->
45
46### PowerShell
47
48PowerShell has no heredoc, and Windows PowerShell 5.1 drops the double quotes
49inside an argument when it calls a native program, which splits the script into
50several arguments. Do not pass a script that contains double quotes or spans
51…

Excerpt shown under the repository's MIT license.

More skills in ego-lite

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates