Agent Skillsnodetool-ai/nodetool › nodetool-browser-agent

nodetool-browser-agent

GitHub

创建基于自然语言的浏览器自动化智能体,支持网页导航、数据提取、表单填写及多步骤交互任务。

.claude/skills/nodetool-browser-agent/SKILL.md nodetool-ai/nodetool

Trigger Scenarios

自动化浏览 AI抓取网站数据 构建Web智能体 复杂浏览器交互

Install

npx skills add nodetool-ai/nodetool --skill nodetool-browser-agent -g -y
More Options

Non-standard path

npx skills add https://github.com/nodetool-ai/nodetool/tree/main/.claude/skills/nodetool-browser-agent -g -y

Use without installing

npx skills use nodetool-ai/nodetool@nodetool-browser-agent

指定 Agent (Claude Code)

npx skills add nodetool-ai/nodetool --skill nodetool-browser-agent -a claude-code -g -y

安装 repo 全部 skill

npx skills add nodetool-ai/nodetool --all -g -y

预览 repo 内 skill

npx skills add nodetool-ai/nodetool --list

SKILL.md

Frontmatter
{
    "name": "nodetool-browser-agent",
    "description": "Create browser automation agents that navigate websites, extract data, fill forms, and perform multi-step web tasks using natural language instructions. Use when user asks to automate browsing, scrape websites with AI, build a web agent, or perform complex browser interactions."
}

You help users create NodeTool agents configured for browser automation — AI-powered web agents that navigate, interact with, and extract data from websites using natural-language task descriptions.

Architecture

Browser automation in NodeTool uses the agent system. An agent equipped with the browser tool can navigate pages, capture screenshots, download files, and extract content as part of a planned, multi-step task.

Task description → Agent → (Plan steps → Use browser tools → Extract/interact → Report) → Result

Available Browser Tools

These are the web-related tools the agent belt offers. Pass them to nodetool agent run --tools to narrow the belt to just these:

Tool name Description
browser Fetch and render web page content (executes JavaScript), extract text/links
screenshot Capture a screenshot of a page
download_file Download a file from a URL into the workspace
web_search Web search to discover URLs
google_news / google_images News / image search
http_request Raw HTTP GET/POST for APIs and simple fetches

There are no dom_examine, dom_search, or dom_extract tools. The browser tool handles rendering and content extraction; instruct the agent in natural language (e.g. "extract every product title and price") and pair it with write_file to save structured results.

CLI Usage

nodetool agent takes arguments only — there is no config file. Put the instructions in the objective, and narrow the toolbelt with --tools.

# Scrape a page
nodetool agent run -p openai -m gpt-5.4 \
  --tools browser,write_file \
  --objective "Go to example.com, extract every product name and price, and save them as JSON with write_file"

# Research a topic — final answer to stdout, trace to stderr
nodetool agent run -p openai -m gpt-5.4 \
  --tools web_search,browser,write_file \
  --objective "Research the latest developments in WebAssembly. Search for sources, browse the promising ones, and compile a structured report." \
  > research-report.md

# Compare prices
nodetool agent run -p openai -m gpt-5.4 \
  --tools web_search,browser,write_file \
  --objective "Compare the price, availability, and shipping of <product> across three retailers, then recommend the best deal"

# Objective via stdin
echo "Screenshot example.com and describe the layout" | \
  nodetool agent run -p openai -m gpt-5.4 --tools browser,screenshot

Omit --tools to give the agent the whole default belt.

Browser Agent as a Workflow Node

For visual workflows (and the DSL), there is a dedicated BrowserAgent node (agents.browserAgent in @nodetool-ai/dsl). It runs a browsing agent inside a graph and returns the extracted text. Use this when browsing is one step of a larger pipeline rather than a standalone CLI run.

Programmatic Usage (TypeScript)

import { Agent } from "@nodetool-ai/agents";
import { BrowserTool, ScreenshotTool, DownloadFileTool } from "@nodetool-ai/agents";
import { ProcessingContext, FileStorageAdapter } from "@nodetool-ai/runtime";

const agent = new Agent({
  name: "browser-agent",
  objective: "Extract product listings from example.com",
  provider: openaiProvider,
  model: "gpt-5.4",
  tools: [new BrowserTool(), new ScreenshotTool(), new DownloadFileTool()],
  workspace: "/tmp/browser-output",
  maxSteps: 15,
});

const ctx = new ProcessingContext({
  jobId: `browser-${Date.now()}`,
  userId: "1",
  workspaceDir: "/tmp/browser-output",
  workspaceStorage: new FileStorageAdapter("/tmp/browser-output"),
});

for await (const message of agent.execute(ctx)) {
  if (message.type === "chunk") process.stdout.write(message.content);
}

Tips

  • Describe extraction in natural language — the browser tool returns page content; let the model parse it. Pair with write_file to persist results.
  • Use screenshot to debug visual state or verify a page loaded.
  • Set max_steps higher (15-20) for multi-page tasks.
  • Combine with google_search when the agent needs to discover URLs first.
  • Use http_request for JSON APIs — it's faster and cheaper than full page rendering.

Version History

  • a6a7e57 Current 2026-08-20 09:50

Same Skill Collection

.claude/skills/ask-matt/SKILL.md
.claude/skills/ast-grep-outline/SKILL.md
.claude/skills/ast-grep/SKILL.md
.claude/skills/codebase-design/SKILL.md
.claude/skills/companion-clis/SKILL.md
.claude/skills/diagnosing-bugs/SKILL.md
.claude/skills/domain-modeling/SKILL.md
.claude/skills/flash/SKILL.md
.claude/skills/implement/SKILL.md
.claude/skills/improve-codebase-architecture/SKILL.md
.claude/skills/nodetool-api-reference/SKILL.md
.claude/skills/nodetool-chat-cli/SKILL.md
.claude/skills/nodetool-custom-node-developer/SKILL.md
.claude/skills/nodetool-deployment/SKILL.md
.claude/skills/nodetool-model-provider-config/SKILL.md
.claude/skills/nodetool-rag-indexing/SKILL.md
.claude/skills/nodetool-troubleshooter/SKILL.md
.claude/skills/nodetool-workflow-builder/SKILL.md
.claude/skills/prototype/SKILL.md
.claude/skills/research/SKILL.md
.claude/skills/resolving-merge-conflicts/SKILL.md
.claude/skills/setup-matt-pocock-skills/SKILL.md
.claude/skills/tdd/SKILL.md
.claude/skills/to-spec/SKILL.md
.claude/skills/to-tickets/SKILL.md
.claude/skills/triage/SKILL.md
.claude/skills/wayfinder/SKILL.md
.claude/skills/wizard/SKILL.md
.claude/skills/yts806379-everything-claude-code-e2e-testing/SKILL.md
packages/sandbox-packs/sandbox-aws/SKILL.md
packages/sandbox-packs/sandbox-chrono/SKILL.md
packages/sandbox-packs/sandbox-color/SKILL.md
packages/sandbox-packs/sandbox-csv/SKILL.md
packages/sandbox-packs/sandbox-dates/SKILL.md
packages/sandbox-packs/sandbox-decimal/SKILL.md
packages/sandbox-packs/sandbox-diff/SKILL.md
packages/sandbox-packs/sandbox-docx/SKILL.md
packages/sandbox-packs/sandbox-dsl/SKILL.md
packages/sandbox-packs/sandbox-epub/SKILL.md
packages/sandbox-packs/sandbox-exif/SKILL.md
packages/sandbox-packs/sandbox-expr/SKILL.md
packages/sandbox-packs/sandbox-fabric/SKILL.md
packages/sandbox-packs/sandbox-flow/SKILL.md
packages/sandbox-packs/sandbox-gif/SKILL.md
packages/sandbox-packs/sandbox-html/SKILL.md
packages/sandbox-packs/sandbox-ics/SKILL.md
packages/sandbox-packs/sandbox-jmespath/SKILL.md
packages/sandbox-packs/sandbox-mammoth/SKILL.md
packages/sandbox-packs/sandbox-markdown/SKILL.md

Metadata

Files
0
Version
a6a7e57
Hash
682b024f
Indexed
2026-08-20 09:50

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-26 09:59
浙ICP备14020137号-1 $방문자$