# Chrome

> Google Chrome heuristics for background-computer-use. Use when the user asks you to navigate, scroll, click links, fill forms, or otherwise drive Chrome without stealing focus. Also applies to Chromium-family browsers (Brave, Edge, Arc) that share the same AppleScript JavaScript execution primitive.

- **Type:** Skill
- **Install:** `agentstack add skill-panchangam18-background-computer-use-chrome`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [Panchangam18](https://agentstack.voostack.com/s/panchangam18)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [Panchangam18](https://github.com/Panchangam18)
- **Source:** https://github.com/Panchangam18/background-computer-use/tree/main/skills/chrome
- **Website:** https://github.com/Panchangam18/background-computer-use

## Install

```sh
agentstack add skill-panchangam18-background-computer-use-chrome
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Driving Chrome with background computer use

Chrome is Chromium-based and cooperates well with background automation once
the server enables `AXManualAccessibility` (which happens automatically on
the first `get_app_state`).

1. Call `get_app_state app="Google Chrome"` before interacting. The webpage
   DOM is exposed as accessibility nodes under a single `HTML content`
   element.
2. **URL navigation**: set the `Address and search bar` text field.
   `set_value app="Google Chrome" element_index= value="https://…"` works
   and submits by default.
3. **Clicks on in-page links and buttons**: use `click(element_index=...)`.
   Chrome honors `AXPress` on Chromium AX nodes even when the window isn't
   key, so clicks don't steal focus.
4. **Typing into form fields**: `set_value` auto-falls-back to a typing
   path when the AX write is rejected (which is typical for Chromium
   controls). Focus stays with whichever app you had foremost.
5. **Scrolling**: `scroll app="Google Chrome" element_index=
   direction="down"` works via AppleScript `execute ... javascript`. It
   finds the nearest scrollable ancestor at the viewport center (so it
   picks the right sub-scroller in app-style pages like Gmail, LinkedIn,
   or Notion, not just `window`).

Known limitation:
- `scroll` for Chrome always scrolls a window-level or sub-scroller
  picked by the "viewport-center ancestor" heuristic. If you need to
  scroll a specific sub-region that isn't at the viewport center, click
  into it first to re-center the heuristic, or use `press_key key="PageDown"`
  with the understanding that it will focus Chrome.

Detailed notes live in `server/app-hints/Chrome.md`; they are injected as
`` on every `get_app_state` call for Chrome.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [Panchangam18](https://github.com/Panchangam18)
- **Source:** [Panchangam18/background-computer-use](https://github.com/Panchangam18/background-computer-use)
- **License:** MIT
- **Homepage:** https://github.com/Panchangam18/background-computer-use

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-panchangam18-background-computer-use-chrome
- Seller: https://agentstack.voostack.com/s/panchangam18
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
