-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(agent): add webpage read microagent
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |