Skip to main content

textweb

Use this skill to browse the web textually.

跳到安装

来源信息

仓库
s-kostyaev/.emacs.d
最近来源活动
2026年2月21日 00:13
检测到的 SKILL.md 语言
英语
星标
7
分支
1

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
textweb
description
Use this skill to browse the web textually.
# TextWeb Browser You have access to a text-based web browser via the `textweb_*` tools. Pages are rendered as structured character grids instead of screenshots. ## How It Works - `textweb_navigate(url)` — Opens a page and returns a text grid - `textweb_click(ref)` — Clicks element `[ref]` - `textweb_type(ref, text)` — Types into input `[ref]` - `textweb_select(ref, value)` — Selects dropdown option - `textweb_scroll(direction)` — Scrolls up/down/top - `textweb_snapshot()` — Re-renders current page - `textweb_press(key)` — Presses a key (Enter, Tab, etc.) - `textweb_upload(ref, path)` — Uploads a file to input ## Reading the Grid Interactive elements have reference numbers in brackets: | Element | Appears as | Action | |---------|-----------|--------| | Link | `[3]Click me` | `click(3)` | | Button | `[5 Submit]` | `click(5)` | | Text input | `[7:placeholder___]` | `type(7, "text")` | | Checkbox | `[9:X] Label` / `[9: ] Label` | `click(9)` to toggle | | Radio | `[11:●] Option` / `[11:○] Option` | `click(11)` | | Dropdown | `[13:▼ Selected]` | `select(13, "value")` | | File input | `[15:📎 Choose file]` | `upload(15, "/path/to/file")` | | Heading | `═══ TITLE ═══` | (not interactive) | ## Tips - The grid preserves spatial layout — elements near each other on screen are near each other in text - After clicking a link or submitting a form, you get the new page's grid automatically - Use `snapshot()` if you need to re-read the page after waiting for dynamic content - For multi-step forms, fill fields then click the Next/Submit button - Scroll down if you don't see what you're looking for — the initial view shows only the viewport
在 GitHub 查看