internal/deepseek/ DeepSeek Fetch API client, error mapping, Markdown links
internal/fetch/ local HTTP(S) fetch, redirects, content-type sniffing
internal/extract/ HTML5 → title / readable text / absolute links
internal/url/ relative URL resolution (shared)moonx tonyfettes/skills-web-fetch https://example.com/
moonx tonyfettes/skills-web-fetch --links https://example.com/
moonx tonyfettes/skills-web-fetch --backend local --raw https://example.com/
moonx tonyfettes/skills-web-fetch --backend deepseek https://example.com/
moonx tonyfettes/skills-web-fetch --help| DeepSeek Fetch | Local | |
|---|---|---|
| needs | an API key | nothing |
| cost | $0.75 per 1,000 successful fetches (failures free) | free |
| limits | 25 QPS per account plus a per-domain limit | none imposed by us |
| privacy | the URL is sent to api.deepseek.com | the request goes to the target host |
| JSON / text bodies | Markdown-escaped | byte-exact |
mbtx(filename="<skill-dir>/scripts/fetch.mbtx", args=["https://example.com/"])moon test # unit tests across the internal packages
moon cram test tests/cram # offline CLI contract tests (no network, no key)
moon run --target native . -- https://example.com/
moon build --target wasm # the artifact moonx runsDEEPSEEK=... moon run --target native . -- --backend deepseek https://example.com/