This add-on enhances the PI Coding Agent inside the ddev-pi DDEV addon with support for dynamic web-fetch capabilities.
It provisions the Python scrapling package alongside headless Playwright browsers and registers the official Scrapling Skill with the PI coding agent.
ddev add-on get mxr576/ddev-pi-scrapling
ddev restartAfter installation, make sure to commit the .ddev directory to version control.
The Scrapling capabilities are automatically available inside the pi container. You can interact with the agent or view registered skills:
| Command | Description |
|---|---|
ddev exec -s pi pi list |
View registered skills, including scrapling-official |
ddev logs -s pi |
Check PI agent logs |
The default pinned version of the Scrapling Skill is defined directly in docker-compose.pi-scrapling.yaml as the fallback value in the ${PI_SCRAPLING_VERSION:-<version>} expression.
To override this version locally on your machine (without affecting other developers or tracked files):
- Add the custom version to your
.ddev/.env.pifile (which is gitignored and safe for local-only settings):PI_SCRAPLING_VERSION="<version>"
- Restart the project to apply the change:
ddev restart
All customization options:
| Variable | Default | Description |
|---|---|---|
PI_SCRAPLING_VERSION |
main |
Version / git ref of the Scrapling Skill to register |
Contributed and maintained by @mxr576