Tools give OpenClaw agents the ability to take actions beyond generating text. Out of the box, agents can browse the web, execute code, run shell commands, interact with APIs, and manage files. You can also define custom tools using SKILL.md files and share them via ClawHub. Tools follow a strict allow/deny model -- each agent can only use the tools explicitly granted to it, enforcing the principle of least privilege.
Master openclaw tools & browser automation
Take the Introduction to OpenClaw course with hands-on lessons and challenges.
The code-reviewer can only read files, search, and run linters -- it cannot write files, execute arbitrary commands, or deploy. The deployer can run shell commands and deploy but cannot modify source files. This follows least privilege: each agent has exactly the tools it needs and nothing more.
The researcher agent has access to browser automation tools. It can navigate to URLs, take screenshots, click elements, fill forms, and extract structured data from pages. The browser runs headlessly with a 30-second timeout to prevent runaway sessions.
A SKILL.md bundles tool usage instructions with safety guidelines into a reusable capability. This skill teaches the agent how to run database migrations safely. When installed, the instructions are added to the agent's system prompt alongside its SOUL.md and other bootstrap files.
ClawHub is the community registry for OpenClaw skills. You can search for skills by keyword, install them to add capabilities to your agents, and publish your own. Skills are versioned and can be updated independently of the Gateway.
Elevated mode is a controlled way for agents to request access to tools they do not normally have. It requires explicit user approval, is time-limited (maxDuration in seconds), and all elevated actions are logged. This provides flexibility while maintaining an audit trail.
Giving all agents access to all tools by leaving the tools.allow list empty or using a wildcard
Explicitly list the tools each agent needs. A code review agent should never have bash or deploy access. A support agent should not have file_write. Follow least privilege rigorously.
Not configuring the browser timeout, causing browser automation tasks to hang indefinitely when a page fails to load
Always set a timeout for browser operations (30 seconds is a good default). Also configure the viewport size so screenshots and element positions are consistent.
Creating overly broad skills that try to cover too many scenarios instead of focused, single-purpose capabilities
Each SKILL.md should cover one capability (e.g., 'database migration', 'deploy to AWS', 'run tests'). Composing multiple focused skills is better than one monolithic skill document.
Disabling the elevation approval requirement for convenience, allowing agents to escalate their own privileges without user consent
Always require approval for elevated access (requireApproval: true). An agent that can grant itself additional tools is a security risk, especially for tools like bash and deploy.
Tools extend OpenClaw agents beyond text generation into actions: browsing, code execution, shell commands, and custom capabilities. Access is controlled per agent via allow/deny lists following least privilege. SKILL.md files bundle tool instructions into reusable capabilities shared via ClawHub. Browser automation requires a headless Chrome instance with timeout configuration. Elevated mode provides controlled, auditable temporary access to restricted tools. Always start with minimal tool access and expand based on demonstrated need.
Interactive lessons and challenges on Stanza, practice in VS Code, Cursor, or the web.
Interactive lessons and challenges, right in your code editor.
Check the free courses. No credit card.