Skip to content

An agentic browser harness: an AI side panel & orb in your own logged-in Chrome, Edge, Arc, Brave or even Firefox run by the agent/subscription you already use (Claude Code, Codex, Antigravity). Free, open source, no API key. Also an MCP server.

docs(tools): document keeping a live tool

Shahriar1c9cf2092710
diff --git a/README.md b/README.md
index 9b8aeb7..10d098b 100644
--- a/README.md
+++ b/README.md
@@ -10,6 +10,7 @@ Hand your real, logged-in browser to the AI agent you already run. Browsentic is
- **Bring Your Own Agent**: Runs on the agent CLI you already pay for and are already signed in to — switch between Claude Code, Codex and Antigravity with one click, and pick the model each one runs
- **49 Page Capabilities**: Reading, clicking, typing, dragging, on-site search, form submission, navigation, screenshots, file upload and download, captchas, theming and accessibility, console and network diagnostics, background progress monitoring, scheduled and repeating jobs, and pointing at an element
- **Live Tools, Off By Default**: For work that repeats twenty times or needs something no tool covers, flip the **Live tool** switch and the agent may write a small script for the page — you read the code in the panel and approve it before a line of it runs
+- **Keep What It Wrote**: A script that worked can be kept as a tool of your own, named after the site it belongs to (`youtube.com:watch:darken-page-except-video-player`) and run later by typing `/`. The code stays in the browser; no MCP client can reach it
- **Voice, Text, or Demonstration**: Dictate in the side panel, type anywhere, or record yourself doing a job once and later say "do it like last time"
- **Point at What You Mean (A-Eye)**: Press the lens, hover the page, click the thing — the element and its content ride along with your next message, and the agent can hand the lens back when *it* needs you to pick
- **Teach It a Site Once**: Point it at a site and it explores and writes reusable notes, so every later session already knows its way around
diff --git a/docs/guide/features/page-actions.md b/docs/guide/features/page-actions.md
index 152fef1..e3c8d2a 100644
--- a/docs/guide/features/page-actions.md
+++ b/docs/guide/features/page-actions.md
@@ -87,6 +87,27 @@ The agent is told to reach for this only when a task repeats three or more times
else can do the job — a one-off click is cheaper as a click. See [Approvals](../approvals.md) and
[reference/tools.md](../../reference/tools.md#scripting).
+### Keeping one
+
+A second after a toolkit installs, the panel asks whether to keep it as a tool of your own. Say yes
+and it gets a name after the place it belongs — `youtube.com:watch:darken-page-except-video-player` —
+and from then on it runs by typing `/` on that site and picking it. No agent, no round trip, and no
+second approval: you already read the code, which is what saving means.
+
+Only a zero-argument function can be kept, because `/` passes nothing. A toolkit whose entry point
+takes arguments stays a one-off, which is the honest answer for something that needs input each time.
+
+Scope is the host plus the first path segment. A tool made on a `/watch` page is offered on every
+`/watch` page and nowhere else on the host, and never on another host.
+
+The two halves are stored apart. The JavaScript lives in the extension's own storage and goes
+nowhere else; the daemon gets a markdown note that the tool exists and what it does, so the agent
+can point you at it instead of writing the same thing again. Nothing about a saved tool is a page
+action, so no MCP client can call one.
+
+Type `/remove-tools` for the list, with a cross beside each. Removing one deletes the code from the
+browser and the note from the daemon together.
+
## Everything else
| Group | Tools | See |