@weavetab/skills 2.5.0 → 2.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +108 -108
- package/ROUTER.md +43 -43
- package/bin/cli.js +232 -232
- package/browser/dom-strategy.md +121 -119
- package/browser/form-automation.md +84 -87
- package/browser/interaction-pipeline.md +242 -216
- package/browser/tab-and-window.md +136 -136
- package/desktop/desktop-targeting.md +85 -85
- package/desktop/electron-discovery.md +115 -115
- package/developer/github-forensics.md +89 -74
- package/dist/bundled/weavetab-all.md +1885 -1709
- package/dist/bundled/weavetab-browser.md +526 -501
- package/dist/bundled/weavetab-desktop.md +176 -176
- package/dist/bundled/weavetab-developer.md +84 -67
- package/dist/bundled/weavetab-documents.md +184 -142
- package/dist/bundled/weavetab-memory.md +259 -233
- package/dist/bundled/weavetab-network-and-perf.md +250 -223
- package/dist/bundled/weavetab-plugins.md +88 -83
- package/dist/bundled/weavetab-resilience.md +244 -216
- package/dist/bundled/weavetab-security.md +93 -87
- package/dist/granular/browser_dom-strategy.md +121 -119
- package/dist/granular/browser_form-automation.md +84 -87
- package/dist/granular/browser_interaction-pipeline.md +242 -216
- package/dist/granular/browser_tab-and-window.md +136 -136
- package/dist/granular/desktop_desktop-targeting.md +85 -85
- package/dist/granular/desktop_electron-discovery.md +115 -115
- package/dist/granular/developer_github-forensics.md +89 -74
- package/dist/granular/documents_canvas-and-visual-capture.md +117 -103
- package/dist/granular/documents_office-document-ingestion.md +91 -63
- package/dist/granular/memory_selector-memory-system.md +127 -127
- package/dist/granular/memory_session-trail.md +111 -95
- package/dist/granular/memory_site-learning.md +62 -53
- package/dist/granular/network-and-perf_device-and-environment.md +100 -87
- package/dist/granular/network-and-perf_network-intercept-and-mock.md +97 -84
- package/dist/granular/network-and-perf_performance-and-vitals.md +86 -84
- package/dist/granular/plugins_hooks-and-overrides.md +40 -35
- package/dist/granular/plugins_plugin-runtime.md +63 -63
- package/dist/granular/resilience_loop-breaker.md +72 -67
- package/dist/granular/resilience_session-time-travel.md +146 -131
- package/dist/granular/resilience_stale-ref-recovery.md +61 -53
- package/dist/granular/security_rbac-and-policies.md +50 -47
- package/dist/granular/security_secret-containment-protocol.md +62 -59
- package/documents/canvas-and-visual-capture.md +117 -103
- package/documents/office-document-ingestion.md +91 -63
- package/evals/evaluator.js +146 -146
- package/evals/scenarios.json +239 -239
- package/memory/selector-memory-system.md +127 -127
- package/memory/session-trail.md +111 -95
- package/memory/site-learning.md +61 -52
- package/network-and-perf/device-and-environment.md +100 -87
- package/network-and-perf/network-intercept-and-mock.md +97 -84
- package/network-and-perf/performance-and-vitals.md +86 -84
- package/package.json +74 -73
- package/plugins/hooks-and-overrides.md +40 -35
- package/plugins/plugin-runtime.md +63 -63
- package/resilience/loop-breaker.md +72 -67
- package/resilience/session-time-travel.md +146 -131
- package/resilience/stale-ref-recovery.md +61 -53
- package/security/rbac-and-policies.md +50 -47
- package/security/secret-containment-protocol.md +62 -59
- package/skills.json +425 -426
- package/src/api.js +239 -239
package/README.md
CHANGED
|
@@ -1,108 +1,108 @@
|
|
|
1
|
-
# Weavetab
|
|
2
|
-
|
|
3
|
-
[](https://www.npmjs.com/package/@weavetab/skills)
|
|
4
|
-
[](https://github.com/Weavetab/skills)
|
|
5
|
-
[](https://opensource.org/licenses/MIT)
|
|
6
|
-
|
|
7
|
-
Enterprise domain-driven agent intelligence for `@weavetab/mcp` (v2.5.
|
|
8
|
-
|
|
9
|
-
- **Website:** [weavetab.dev](https://weavetab.dev)
|
|
10
|
-
- **Core MCP Server:** [`@weavetab/mcp`](https://www.npmjs.com/package/@weavetab/mcp)
|
|
11
|
-
- **Plugin SDK:** [`@weavetab/sdk`](https://www.npmjs.com/package/@weavetab/sdk)
|
|
12
|
-
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
## 1. Architectural Philosophy: The Step-0 Router
|
|
16
|
-
|
|
17
|
-
Rather than forcing LLMs to read dozens of flat files or guess between vague difficulty tiers, `@weavetab/skills` provides a deterministic Step-0 decision engine via [`ROUTER.md`](ROUTER.md).
|
|
18
|
-
|
|
19
|
-
Agents classify their immediate intent in one turn and jump directly to the target domain guide:
|
|
20
|
-
|
|
21
|
-
```
|
|
22
|
-
@weavetab/skills/
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
---
|
|
40
|
-
|
|
41
|
-
## 2. The 9 Operational Domains &
|
|
42
|
-
|
|
43
|
-
Every single one of the **
|
|
44
|
-
|
|
45
|
-
| Domain | Primary Tools | Operational Capabilities |
|
|
46
|
-
| :--- | :--- | :--- |
|
|
47
|
-
| **`browser/`** | `browser_map`, `browser_find`, `browser_click`, `browser_type`, `browser_fill`, `browser_key`, `browser_pointer`, `browser_upload`, `browser_tabs`, `browser_scroll`, `browser_dialog`, `browser_burst`, `browser_highlight`, `browser_clipboard` | Token-conserving DOM walks (`lite: true`), volatile `w:NN` handles, atomic multi-field inputs, OS file upload bypass. |
|
|
48
|
-
| **`desktop/`** | `browser_detect`, any tool with `app` argument | Zero-terminal scanning for Slack, Discord, VS Code, Notion, Obsidian; routing actions directly to native Electron windows. |
|
|
49
|
-
| **`memory/`** | `browser_pattern_learn`, `browser_thoughts`, `browser_automation`, `browser_recording` | Cross-session origin selector decay, compiling manual interaction trails into deterministic macros via `browser_burst`. |
|
|
50
|
-
| **`resilience/`**| `browser_checkpoint`, `browser_cookies`, `browser_storage`, `browser_captcha` | Time-travel state snapshots (`save`, `restore`) for instant rollbacks, 4-tier SPA stale ref healing, loop breaker (`browser_map`, `browser_wait`). |
|
|
51
|
-
| **`security/`** | `browser_type_secret`, RBAC tiers | Hardware-grade zero-bleed guarantee (passwords masked in HUD, CDP logs, and conversation transcripts). |
|
|
52
|
-
| **`plugins/`** | `
|
|
53
|
-
| **`network-and-perf/`** | `browser_network_intercept`, `browser_performance`, `browser_wait`, `browser_emulate` | API mocking, TLS certificate
|
|
54
|
-
| **`documents/`**| `browser_office`, `browser_pdf`, `browser_canvas`, `browser_screenshot`, `browser_viewport`, `browser_extract_design` | Ingesting Excel spreadsheets, Word `.docx`, and CSVs into structured JSON; full-page screenshots and canvas inspection. |
|
|
55
|
-
| **`developer/`**| `
|
|
56
|
-
|
|
57
|
-
---
|
|
58
|
-
|
|
59
|
-
## 3. Interactive Installation
|
|
60
|
-
|
|
61
|
-
Inject formatted skills and rules directly into your AI agent environment:
|
|
62
|
-
|
|
63
|
-
```bash
|
|
64
|
-
npx @weavetab/skills
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
The interactive installer prompts you for:
|
|
68
|
-
1. **Domain Scope**: Full Enterprise Suite (All 9 Domains), Web Core, Desktop, Resilience, or Forensics.
|
|
69
|
-
2. **Target Agent Framework**:
|
|
70
|
-
- **Antigravity**: Generates `.agent/skills/weavetab-<domain>/SKILL.md` with standard YAML frontmatter.
|
|
71
|
-
- **Cursor**: Generates `.cursor/rules/weavetab-<domain>.mdc` with MDC frontmatter.
|
|
72
|
-
- **Cline**: Appends formatted sections to `.clinerules`.
|
|
73
|
-
- **Windsurf**: Generates `.windsurf/rules/weavetab-<domain>.md`.
|
|
74
|
-
- **OpenClaw & RooCode**: Generates respective agent rules.
|
|
75
|
-
- **Raw Markdown**: Generates portable `weavetab-skills/`.
|
|
76
|
-
|
|
77
|
-
---
|
|
78
|
-
|
|
79
|
-
## 4. Programmatic API
|
|
80
|
-
|
|
81
|
-
Install skills programmatically from setup scripts or custom CLIs:
|
|
82
|
-
|
|
83
|
-
```javascript
|
|
84
|
-
const { installSkills, getSkills, getSkill, getRouterMatrix } = require('@weavetab/skills');
|
|
85
|
-
|
|
86
|
-
// Install targeted domains into Cursor
|
|
87
|
-
await installSkills({
|
|
88
|
-
targetFramework: '.cursor',
|
|
89
|
-
domains: ['browser', 'resilience', 'security']
|
|
90
|
-
});
|
|
91
|
-
|
|
92
|
-
// Query skills catalog
|
|
93
|
-
const webSkills = getSkillsByDomain('browser');
|
|
94
|
-
```
|
|
95
|
-
|
|
96
|
-
---
|
|
97
|
-
|
|
98
|
-
## 5. Automated Benchmark & Evaluation Suite (`evals/`)
|
|
99
|
-
|
|
100
|
-
Run the automated evaluation harness to verify that all
|
|
101
|
-
|
|
102
|
-
```bash
|
|
103
|
-
npm test
|
|
104
|
-
```
|
|
105
|
-
|
|
106
|
-
---
|
|
107
|
-
|
|
108
|
-
*Built with precision for the Weavetab Ecosystem.*
|
|
1
|
+
# Weavetab Skills (`@weavetab/skills`)
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/@weavetab/skills)
|
|
4
|
+
[](https://github.com/Weavetab/skills)
|
|
5
|
+
[](https://opensource.org/licenses/MIT)
|
|
6
|
+
|
|
7
|
+
Enterprise domain-driven agent intelligence for `@weavetab/mcp` (v2.5.1). Drop-in operational guides, failure recovery heuristics, and protocol rules for **Antigravity**, **Cursor**, **Cline**, **Windsurf**, and **OpenClaw**.
|
|
8
|
+
|
|
9
|
+
- **Website:** [weavetab.dev](https://weavetab.dev)
|
|
10
|
+
- **Core MCP Server:** [`@weavetab/mcp`](https://www.npmjs.com/package/@weavetab/mcp)
|
|
11
|
+
- **Plugin SDK:** [`@weavetab/sdk`](https://www.npmjs.com/package/@weavetab/sdk)
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## 1. Architectural Philosophy: The Step-0 Router
|
|
16
|
+
|
|
17
|
+
Rather than forcing LLMs to read dozens of flat files or guess between vague difficulty tiers, `@weavetab/skills` provides a deterministic Step-0 decision engine via [`ROUTER.md`](ROUTER.md).
|
|
18
|
+
|
|
19
|
+
Agents classify their immediate intent in one turn and jump directly to the target domain guide:
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
@weavetab/skills/
|
|
23
|
+
|-- ROUTER.md # Universal Intent Decision Matrix (Step-0)
|
|
24
|
+
|-- browser/ # Web & Chromium DOM Navigation Engine
|
|
25
|
+
|-- desktop/ # Native Desktop & Electron Application Automation
|
|
26
|
+
|-- memory/ # Cross-Session Adaptive Selector Learning & History
|
|
27
|
+
|-- resilience/ # Time-Travel Checkpoints, Stale Refs, Loops & Captchas
|
|
28
|
+
|-- security/ # Zero-Leak Secret Containment & RBAC Guardrails
|
|
29
|
+
|-- plugins/ # Dynamic Extension Loading, Hooks & Custom Tools
|
|
30
|
+
|-- network-and-perf/ # TLS Telemetry, Interception, Core Web Vitals & Emulation
|
|
31
|
+
|-- documents/ # Word, Excel, CSV, PDF & Canvas Ingestion
|
|
32
|
+
|-- developer/ # GitHub API Repository Forensics
|
|
33
|
+
|-- evals/ # Executable Agent Evaluation & Benchmark Harness
|
|
34
|
+
|-- dist/ # Compiled targets (granular + bundled domain profiles)
|
|
35
|
+
|-- bin/cli.js # Interactive Multi-Agent Installer
|
|
36
|
+
`-- src/api.js # Programmatic Framework Generator & Adapter Engine
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## 2. The 9 Operational Domains & 41-Tool Matrix
|
|
42
|
+
|
|
43
|
+
Every single one of the **41 official tools** in `@weavetab/mcp` is documented with verified parameters and runtime patterns:
|
|
44
|
+
|
|
45
|
+
| Domain | Primary Tools | Operational Capabilities |
|
|
46
|
+
| :--- | :--- | :--- |
|
|
47
|
+
| **`browser/`** | `browser_map`, `browser_find`, `browser_click`, `browser_type`, `browser_fill`, `browser_key`, `browser_pointer`, `browser_upload`, `browser_tabs`, `browser_scroll`, `browser_dialog`, `browser_burst`, `browser_highlight`, `browser_clipboard` | Token-conserving DOM walks (`lite: true`), volatile `w:NN` handles, atomic multi-field inputs, OS file upload bypass. |
|
|
48
|
+
| **`desktop/`** | `browser_detect`, any tool with `app` argument | Zero-terminal scanning for Slack, Discord, VS Code, Notion, Obsidian; routing actions directly to native Electron windows. |
|
|
49
|
+
| **`memory/`** | `browser_pattern_learn`, `browser_thoughts`, `browser_automation`, `browser_recording` | Cross-session origin selector decay, compiling manual interaction trails into deterministic macros via `browser_burst`. |
|
|
50
|
+
| **`resilience/`**| `browser_checkpoint`, `browser_cookies`, `browser_storage`, `browser_captcha` | Time-travel state snapshots (`save`, `restore`) for instant rollbacks, 4-tier SPA stale ref healing, loop breaker (`browser_map`, `browser_wait`). |
|
|
51
|
+
| **`security/`** | `browser_type_secret`, RBAC tiers | Hardware-grade zero-bleed guarantee (passwords masked in HUD, CDP logs, and conversation transcripts). |
|
|
52
|
+
| **`plugins/`** | CLI plugin management (`weavetab plugins`) | Runtime discovery and dynamic loading of verified npm community plugins via the CLI. Plugin lifecycle is not an MCP tool surface. |
|
|
53
|
+
| **`network-and-perf/`** | `browser_network_intercept`, `browser_performance`, `browser_wait`, `browser_emulate` | API mocking, TLS/SSL certificate metadata & timing telemetry, Core Web Vitals (LCP/CLS), device presets & 3G throttling. |
|
|
54
|
+
| **`documents/`**| `browser_office`, `browser_pdf`, `browser_canvas`, `browser_screenshot`, `browser_viewport`, `browser_extract_design` | Ingesting Excel spreadsheets, Word `.docx`, and CSVs into structured JSON; full-page screenshots and canvas inspection. |
|
|
55
|
+
| **`developer/`**| *(plugin: `github`)* | GitHub REST/raw API inspection, PR diffs, and issue triage via `@weavetab/plugin-github` — no browser turns burned. |
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## 3. Interactive Installation
|
|
60
|
+
|
|
61
|
+
Inject formatted skills and rules directly into your AI agent environment:
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
npx @weavetab/skills
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
The interactive installer prompts you for:
|
|
68
|
+
1. **Domain Scope**: Full Enterprise Suite (All 9 Domains), Web Core, Desktop, Resilience, or Forensics.
|
|
69
|
+
2. **Target Agent Framework**:
|
|
70
|
+
- **Antigravity**: Generates `.agent/skills/weavetab-<domain>/SKILL.md` with standard YAML frontmatter.
|
|
71
|
+
- **Cursor**: Generates `.cursor/rules/weavetab-<domain>.mdc` with MDC frontmatter.
|
|
72
|
+
- **Cline**: Appends formatted sections to `.clinerules`.
|
|
73
|
+
- **Windsurf**: Generates `.windsurf/rules/weavetab-<domain>.md`.
|
|
74
|
+
- **OpenClaw & RooCode**: Generates respective agent rules.
|
|
75
|
+
- **Raw Markdown**: Generates portable `weavetab-skills/`.
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## 4. Programmatic API
|
|
80
|
+
|
|
81
|
+
Install skills programmatically from setup scripts or custom CLIs:
|
|
82
|
+
|
|
83
|
+
```javascript
|
|
84
|
+
const { installSkills, getSkills, getSkill, getRouterMatrix } = require('@weavetab/skills');
|
|
85
|
+
|
|
86
|
+
// Install targeted domains into Cursor
|
|
87
|
+
await installSkills({
|
|
88
|
+
targetFramework: '.cursor',
|
|
89
|
+
domains: ['browser', 'resilience', 'security']
|
|
90
|
+
});
|
|
91
|
+
|
|
92
|
+
// Query skills catalog
|
|
93
|
+
const webSkills = getSkillsByDomain('browser');
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
## 5. Automated Benchmark & Evaluation Suite (`evals/`)
|
|
99
|
+
|
|
100
|
+
Run the automated evaluation harness to verify that all 41 tools are covered and that skill guidance strictly passes test scenarios without legacy hallucinations:
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
npm test
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
*Built with precision for the Weavetab Ecosystem.*
|
package/ROUTER.md
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
# Weavetab Agent Intent Decision Matrix (Step-0 Router)
|
|
2
|
-
|
|
3
|
-
Welcome to the **Weavetab MCP Skills Routing Engine**.
|
|
4
|
-
|
|
5
|
-
When executing browser or desktop automation via `@weavetab/mcp`, **do not read the entire skills directory**. Match your immediate intent against the matrix below and jump directly to the target domain guide.
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
## Intent Routing Table
|
|
10
|
-
|
|
11
|
-
| If your objective is... | Read Domain Guide | Primary MCP Tools |
|
|
12
|
-
| :--- | :--- | :--- |
|
|
13
|
-
| **Inspect DOM, extract text, locate elements, save tokens** | [`browser/dom-strategy.md`](
|
|
14
|
-
| **Click, type, press keys, pointer trajectories, file upload** | [`browser/interaction-pipeline.md`](
|
|
15
|
-
| **Fill multi-field forms, select dropdowns, checkboxes** | [`browser/form-automation.md`](
|
|
16
|
-
| **Manage tabs, window creation, tab crash recovery** | [`browser/tab-and-window.md`](
|
|
17
|
-
| **Discover running Electron apps (Slack, Discord, VS Code)** | [`desktop/electron-discovery.md`](
|
|
18
|
-
| **Control native desktop applications with MCP tools** | [`desktop/desktop-targeting.md`](
|
|
19
|
-
| **Bypass DOM walks using learned & cached selectors** | [`memory/selector-memory-system.md`](
|
|
20
|
-
| **Recall multi-step site workflows, quirks & fast-path replay** | [`memory/site-learning.md`](
|
|
21
|
-
| **Compile manual action history into reusable macros** | [`memory/session-trail.md`](
|
|
22
|
-
| **Handle React/Next/Vue detached elements & re-renders** | [`resilience/stale-ref-recovery.md`](
|
|
23
|
-
| **Save/restore checkpoints & rollback failed workflows** | [`resilience/session-time-travel.md`](
|
|
24
|
-
| **Break infinite interaction loops or handle CAPTCHAs** | [`resilience/loop-breaker.md`](
|
|
25
|
-
| **Enter passwords, API keys, or sensitive credentials** | [`security/secret-containment-protocol.md`](
|
|
26
|
-
| **Enforce RBAC boundaries & sandbox viewer agents** | [`security/rbac-and-policies.md`](
|
|
27
|
-
| **Discover & dynamically load community plugins** | [`plugins/plugin-runtime.md`](
|
|
28
|
-
| **Intercept tool execution pipelines via SDK hooks** | [`plugins/hooks-and-overrides.md`](
|
|
29
|
-
| **Mock API endpoints, stub tracking, analyze TLS certs** | [`network-and-perf/network-intercept-and-mock.md`](
|
|
30
|
-
| **Measure Core Web Vitals (LCP, CLS) & wait conditions** | [`network-and-perf/performance-and-vitals.md`](
|
|
31
|
-
| **Emulate mobile devices, CPU throttle, mock location** | [`network-and-perf/device-and-environment.md`](
|
|
32
|
-
| **Ingest Word (.docx), Excel (.xlsx), CSV files** | [`documents/office-document-ingestion.md`](
|
|
33
|
-
| **Capture screenshots, PDF exports, canvas pixels & visual marks** | [`documents/canvas-and-visual-capture.md`](
|
|
34
|
-
| **
|
|
35
|
-
|
|
36
|
-
---
|
|
37
|
-
|
|
38
|
-
## The 4 Golden Operational Rules for Weavetab Agents
|
|
39
|
-
|
|
40
|
-
1. **Environment Handshake First**: Always call `browser_detect` at the start of a session to discover available browsers and configured desktop apps (Discord, Slack, etc.) and check their live connection status (`connected`, `running_no_debug`, `offline`).
|
|
41
|
-
2. **Token Conservation**: NEVER call `browser_map` on large modern web apps without `lite: true` unless you strictly require full hierarchy data. For keyword navigation, always prefer `browser_find`.
|
|
42
|
-
3. **Volatile Handle Discipline**: Always use the returned volatile ref IDs (`w:NN`) directly. Do NOT attempt to construct speculative CSS selectors from scratch.
|
|
43
|
-
4. **Zero Secret Leakage**: Pass all authentication credentials, API keys, and sensitive tokens through `browser_type_secret`. Never use `browser_type` or `browser_fill` for credentials.
|
|
1
|
+
# Weavetab Agent Intent Decision Matrix (Step-0 Router)
|
|
2
|
+
|
|
3
|
+
Welcome to the **Weavetab MCP Skills Routing Engine**.
|
|
4
|
+
|
|
5
|
+
When executing browser or desktop automation via `@weavetab/mcp`, **do not read the entire skills directory**. Match your immediate intent against the matrix below and jump directly to the target domain guide.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Intent Routing Table
|
|
10
|
+
|
|
11
|
+
| If your objective is... | Read Domain Guide | Primary MCP Tools |
|
|
12
|
+
| :--- | :--- | :--- |
|
|
13
|
+
| **Inspect DOM, extract text, locate elements, save tokens** | [`browser/dom-strategy.md`](browser/dom-strategy.md) | `browser_map`, `browser_find`, `browser_scrape`, `browser_snapshot` |
|
|
14
|
+
| **Click, type, press keys, pointer trajectories, file upload** | [`browser/interaction-pipeline.md`](browser/interaction-pipeline.md) | `browser_click`, `browser_type`, `browser_key`, `browser_pointer`, `browser_upload` |
|
|
15
|
+
| **Fill multi-field forms, select dropdowns, checkboxes** | [`browser/form-automation.md`](browser/form-automation.md) | `browser_fill`, `browser_select` |
|
|
16
|
+
| **Manage tabs, window creation, tab crash recovery** | [`browser/tab-and-window.md`](browser/tab-and-window.md) | `browser_tabs` |
|
|
17
|
+
| **Discover running Electron apps (Slack, Discord, VS Code)** | [`desktop/electron-discovery.md`](desktop/electron-discovery.md) | `browser_detect` |
|
|
18
|
+
| **Control native desktop applications with MCP tools** | [`desktop/desktop-targeting.md`](desktop/desktop-targeting.md) | Any tool passing `app: "<name>"` |
|
|
19
|
+
| **Bypass DOM walks using learned & cached selectors** | [`memory/selector-memory-system.md`](memory/selector-memory-system.md) | Telemetry & selector history |
|
|
20
|
+
| **Recall multi-step site workflows, quirks & fast-path replay** | [`memory/site-learning.md`](memory/site-learning.md) | `browser_pattern_learn` |
|
|
21
|
+
| **Compile manual action history into reusable macros** | [`memory/session-trail.md`](memory/session-trail.md) | `browser_burst` (`compile_from_history`) |
|
|
22
|
+
| **Handle React/Next/Vue detached elements & re-renders** | [`resilience/stale-ref-recovery.md`](resilience/stale-ref-recovery.md) | 4-tier auto-recovery heuristic |
|
|
23
|
+
| **Save/restore checkpoints & rollback failed workflows** | [`resilience/session-time-travel.md`](resilience/session-time-travel.md) | `browser_checkpoint` |
|
|
24
|
+
| **Break infinite interaction loops or handle CAPTCHAs** | [`resilience/loop-breaker.md`](resilience/loop-breaker.md) | `browser_map`, `browser_captcha` |
|
|
25
|
+
| **Enter passwords, API keys, or sensitive credentials** | [`security/secret-containment-protocol.md`](security/secret-containment-protocol.md) | `browser_type_secret` |
|
|
26
|
+
| **Enforce RBAC boundaries & sandbox viewer agents** | [`security/rbac-and-policies.md`](security/rbac-and-policies.md) | RBAC security layer |
|
|
27
|
+
| **Discover & dynamically load community plugins** | [`plugins/plugin-runtime.md`](plugins/plugin-runtime.md) | CLI plugin management (no MCP tool) |
|
|
28
|
+
| **Intercept tool execution pipelines via SDK hooks** | [`plugins/hooks-and-overrides.md`](plugins/hooks-and-overrides.md) | SDK Plugin Hooks |
|
|
29
|
+
| **Mock API endpoints, stub tracking, analyze TLS certs** | [`network-and-perf/network-intercept-and-mock.md`](network-and-perf/network-intercept-and-mock.md) | `browser_network_intercept` |
|
|
30
|
+
| **Measure Core Web Vitals (LCP, CLS) & wait conditions** | [`network-and-perf/performance-and-vitals.md`](network-and-perf/performance-and-vitals.md) | `browser_performance`, `browser_wait` |
|
|
31
|
+
| **Emulate mobile devices, CPU throttle, mock location** | [`network-and-perf/device-and-environment.md`](network-and-perf/device-and-environment.md) | `browser_emulate` |
|
|
32
|
+
| **Ingest Word (.docx), Excel (.xlsx), CSV files** | [`documents/office-document-ingestion.md`](documents/office-document-ingestion.md) | `browser_office` |
|
|
33
|
+
| **Capture screenshots, PDF exports, canvas pixels & visual marks** | [`documents/canvas-and-visual-capture.md`](documents/canvas-and-visual-capture.md) | `browser_screenshot`, `browser_canvas`, `browser_pdf`, `browser_map` |
|
|
34
|
+
| **GitHub repository forensics, PR diffs & issue triage** | [`developer/github-forensics.md`](developer/github-forensics.md) | plugin: `github` |
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## The 4 Golden Operational Rules for Weavetab Agents
|
|
39
|
+
|
|
40
|
+
1. **Environment Handshake First**: Always call `browser_detect` at the start of a session to discover available browsers and configured desktop apps (Discord, Slack, etc.) and check their live connection status (`connected`, `running_no_debug`, `offline`).
|
|
41
|
+
2. **Token Conservation**: NEVER call `browser_map` on large modern web apps without `lite: true` unless you strictly require full hierarchy data. For keyword navigation, always prefer `browser_find`.
|
|
42
|
+
3. **Volatile Handle Discipline**: Always use the returned volatile ref IDs (`w:NN`) directly. Do NOT attempt to construct speculative CSS selectors from scratch.
|
|
43
|
+
4. **Zero Secret Leakage**: Pass all authentication credentials, API keys, and sensitive tokens through `browser_type_secret`. Never use `browser_type` or `browser_fill` for credentials.
|