Skip to content
Agentmart
Submit a tool

dom-interaction

Skill by Jmsa

IndexedMIT
Write a review

Chalk Labs

Need help deploying dom-interaction?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/jmsa-dom-interaction

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

The publisher has not written a description yet.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions: not checked yet.

What's inside

Skill name
dom-interaction
Description
None
License
MIT
Instructions
73 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • missing YAML frontmatter
  • name: missing
  • description: missing

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Argus DOM Interaction Skill

Use this workflow to interact with and test page UIs using Argus DOM tools.

## Tools Available

| Tool | Purpose |
|---|---|
| `dom_query` | Inspect a single element (tag, text, rect, attributes, visibility) |
| `dom_query_all` | Inspect multiple elements matching a selector |
| `dom_click` | Click an element (scrolls into view first) |
| `dom_input_value` | Type into an input (dispatches React/Vue-compatible events) |
| `dom_get_value` | Read the current value of an input |
| `dom_wait_for` | Poll until an element exists (and optionally is visible) |

## Standard Workflow

### 1. Open and inspect the page

```
tab_open { url: "https://your-app.com" }
→ note the targetId

dom_query { targetId, selector: "h1" }
→ confirms page loaded, shows title text and rect
```

### 2. Fill a form

```
dom_input_value { targetId, selector: "input[name=email]", text: "user@example.com", clear: true }
dom_input_value { targetId, selector: "input[name=password]", text: "secret", clear: true }
dom_click { targetId, selector: "button[type=submit]" }
```

### 3. Wait for async results

After triggering navigation or an API call, wait for the result to appear:

```
dom_wait_for { targetId, selector: ".results-list", timeout: 5000, visible: true }
```

If the wait times out, take a screenshot to diagnose:

```
tab_screenshot { targetId }
```

### 4. Assert content

```
dom_query { targetId, selector: ".success-message" }
→ check info.text matches expected value

dom_query_all { targetId, selector: "table tbody tr" }
→ check returned array length matches expected row count
```

### 5. Interact with dynamic UI

For React/Vue controlled inputs, `dom_input_value` uses the native input value setter and dispatches `input` + `change` events — this correctly triggers framework state updates.

For custom components that don't use native inputs, fall back to `page_evaluate` with custom JS.

## Tips

- Use `dom_query` before `dom_click` to confirm the element exists and is visible
- `dom_query_all` with `limit` keeps results manageable for large lists
- `dom_wait_for { visible: true }` is more reliable than `dom_wait_for` alone after animations
- Combine with `console_start` + `network_start_recording` to capture side effects of interactions
- If `dom_click` doesn't work (e.g. custom event handlers), use `page_evaluate` to dispatch a `MouseEvent`

From Jmsa/argus, MIT.

Signals

Stars
0
Forks
0
Open issues
1
Last commit (this folder)
Mar 10, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Jmsa

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get dom-interaction running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying dom-interaction?

CallGet help
Cite this page

dom-interaction skill. Agent Mart. https://agentmart.dev/skills/jmsa-dom-interaction (last updated 2026-10-24)