| name | web-fetch |
| description | Fetches web page content using Gemini CLI when Claude's native WebFetch fails or for explicit URL fetching. Returns clean Markdown. |
| argument-hint | <url> [extraction instruction] |
| disable-model-invocation | true |
| allowed-tools | Bash(gemini *) |
Web Fetch via Gemini CLI
Gemini CLI์ ๋ค์ดํฐ๋ธ ์น ๋ธ๋ผ์ฐ์ง์ผ๋ก URL ์ฝํ
์ธ ๋ฅผ Markdown์ผ๋ก ๊ฐ์ ธ์ต๋๋ค.
Claude์ WebFetch๊ฐ ์คํจํ์ ๋์ ํด๋ฐฑ ๋๋ ๋ช
์์ ์น ์ฝํ
์ธ ์์ฒญ์ ์ฌ์ฉํฉ๋๋ค.
When to Use
- Claude์ WebFetch ๋๊ตฌ๊ฐ ์คํจํ๊ฑฐ๋ ์ ๊ทผ ๋ถ๊ฐํ URL์ผ ๋
- ์น ํ์ด์ง ์ฝํ
์ธ ๋ฅผ ๊น๋ํ Markdown์ผ๋ก ๊ฐ์ ธ์ค๊ณ ์ถ์ ๋
- ๋ฌธ์, ๊ธฐ์ฌ, API ๋ ํผ๋ฐ์ค ๋ฑ URL ๊ธฐ๋ฐ ์ ๋ณด๋ฅผ ์กฐํํ ๋
- ํน์ ํ์ด์ง์์ ์ํ๋ ๋ถ๋ถ๋ง ์ถ์ถํ๊ณ ์ถ์ ๋
Gemini CLI Status
!which gemini 2>/dev/null && echo "available" || echo "NOT INSTALLED โ npm i -g @google/gemini-cli"
Instructions
-
Parse arguments:
$0 = target URL
- ๋๋จธ์ง = optional extraction/focus instruction
-
Execute:
URL="<target URL>"
INSTRUCTION="<optional focus instruction>"
gemini -m gemini-3-flash-preview -p "๋ค์ URL์ ์ฝํ
์ธ ๋ฅผ ๊ฐ์ ธ์์ ๊น๋ํ Markdown์ผ๋ก ๋ณํํด์ค.
URL: $URL
๊ท์น:
- ์ฝ๋ ๋ธ๋ก, ํ
์ด๋ธ, ๋ฆฌ์คํธ, ํค๋ฉ ๋ณด์กด
- ๋ค๋น๊ฒ์ด์
, ๊ด๊ณ , ํธํฐ, ์ฌ์ด๋๋ฐ ์ ๊ฑฐ
- ๋ณธ๋ฌธ ์ฝํ
์ธ ๋ง ๋ฐํ
- ํ์ด์ง ์ ๊ทผ ๋ถ๊ฐ ์ ์๋ฌ ์ค๋ช
์ถ๊ฐ ์ง์: $INSTRUCTION
์ฝํ
์ธ ๋ง ๋ฐํํ๊ณ , ๋ถ๊ฐ ์ค๋ช
์ ์๋ตํด์ค." --sandbox
-
Display:
**Fetched**: <url>
**Model**: gemini-3.1-flash-preview
<content>
Notes
- ์๋ ์ฐ์ ์ผ๋ก
gemini-3.1-flash-preview ์ฌ์ฉ (์น fetch์ ๊ฐ๋ ฅํ ๋ชจ๋ธ ๋ถํ์)
- Timeout: 120์ด
- ์ธ์ฆ ํ์ URL์ ์คํจ โ ์ฌ์ฉ์์๊ฒ ์๋ด
- ์ฌ๋ฌ URL์ ๊ฐ๊ฐ ๋ณ๋ ์คํ
Examples
/web-fetch https://docs.python.org/3/library/asyncio.html
/web-fetch https://react.dev/reference/react/useState API ๋ ํผ๋ฐ์ค ํ
์ด๋ธ๋ง ์ถ์ถ
/web-fetch https://github.com/user/repo/blob/main/README.md