사용 방법
- 설치 명령을 복사하고 자신의 에이전트 환경에 설치하기 전에 소스 패키지를 확인하세요.
- 필요한 도구, 인증 정보, 지원 환경은 원본 문서에서 확인하세요.
- 입력과 원하는 산출물을 설명하고 출처와 결과를 대조하세요.
npx skills add https://github.com/ogulcancelik/agent-skills --skill web-search시작 전 확인
- 설치에는 모델 구독, API 한도, 파일 접근 권한이 포함되지 않습니다.
- 별점 수와 설치 수는 활동 지표이며 독립적인 품질·보안 검증이 아닙니다.
원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.
Web Search
Use the bundled CLI to search through a local browser, visit results, and extract pages as clean Markdown for agent context. The persistent browser daemon reduces bot-detection failures and avoids repeated browser startup costs.
The entry point is {baseDir}/web-search.js, where {baseDir} is the absolute directory containing this SKILL.md. Always invoke that absolute path. Never run ./web-search.js from the caller's project directory.
Setup
If dependencies are missing, run bun install in the skill directory.
The CLI auto-detects Chromium-family browsers. Override detection with WEB_SEARCH_BROWSER_BIN or --browser-bin <path>.
Search and fetch
{baseDir}/web-search.js "query"
{baseDir}/web-search.js "query" -n 10
{baseDir}/web-search.js --from <result-set-id> --fetch 1,3,5
{baseDir}/web-search.js --url https://example.com
{baseDir}/web-search.js --url https://example.com --fullEach search prints a result-set ID. Always pass that ID with --from when fetching numbered results; result sets expire after ten minutes. Use --full only when the complete page text is needed.
Browser daemon
Direct calls use a local daemon by default for a warm browser session.
{baseDir}/web-search.js --daemon status
{baseDir}/web-search.js --daemon start
{baseDir}/web-search.js --daemon stop
{baseDir}/web-search.js --daemon restart
{baseDir}/web-search.js --no-daemon --url https://example.comTroubleshooting
Treat one blocked page as a normal site-specific failure. Retry once, use another result, or try the direct URL before changing browser state.
For repeated timeouts, daemon errors, or blocks across multiple attempts:
- Check
{baseDir}/web-search.js --daemon status. - Run
{baseDir}/web-search.js --daemon restartand retry. - If blocks persist, inspect
health.profileDirin the status output. Stop the daemon, delete only that hidden skill profile directory, then start the daemon again. This resets stale cookies and browser storage without touching the user's normal browser profile.
Never clear the profile after a single block. Profile reset is a last resort for persistent failures.
Reporting
Use the URLs actually searched or fetched as sources. Cite those URLs when answering from web material.


