@pavlokrykh/strip-search
A pi extension for compact DuckDuckGo search results.
Package details
Install @pavlokrykh/strip-search from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@pavlokrykh/strip-search- Package
@pavlokrykh/strip-search- Version
0.1.0- Published
- May 7, 2026
- Downloads
- not available
- Author
- pavlokrykh
- License
- MIT
- Types
- extension
- Size
- 15 KB
- Dependencies
- 2 dependencies · 3 peers
Pi manifest JSON
{
"extensions": [
"./extensions"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
strip-search
strip_search is a simple token-efficient pi extension that adds 3 tools:
search_strip- compact DuckDuckGo results with stripped page text (up to 3000 chars per page)search_strip_full- same thing, but returns the full stripped page textstrip_fetch- fetch one URL directly and return stripped page text
The tools fetch pages, strip HTML/scripts/styles/navigation, and clean up whitespace while keeping normal newlines.
Install
pi install npm:@pavlokrykh/strip-search
or from git:
pi install git:github.com/pavlokrykh/strip-search
Debug from terminal
npm install
npm run search -- "latest model benchmarks"
npm run search -- --full "latest model benchmarks"
npm run search -- --url "https://example.com"
npm run search -- --full --url "https://example.com"
npm run search -- --debug --max 3 "latest model benchmarks"
npm run search -- --json "latest model benchmarks"
The normal CLI output matches search_strip. Add --full to see what search_strip_full returns. Use --url to test strip_fetch behavior.