Skip to content

Commit

Permalink
feat(agent): add webpage read microagent
Browse files Browse the repository at this point in the history
  • Loading branch information
xingyaoww committed Nov 26, 2024
1 parent 71be744 commit 76cae8f
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions openhands/agenthub/codeact_agent/micro/webpage_read.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: webpage_read
agent: CodeActAgent
triggers:
- http://
- https://
---

To read content from a webpage, you can use the `percollate` CLI tool:

1. Install `percollate` with `npm install -g percollate`
2. Once installed, use it to convert a webpage to markdown with the following command:

```bash
percollate md https://example.com --output example.md
```

3. Then, you can read the markdown file `./example.md` using other tools you have access to.
4. If you need to interact further with the webpage, you should not use the `percollate` CLI tool. Instead, you should use the web browser directly provided to you.

0 comments on commit 76cae8f

Please sign in to comment.