[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75TAR6YESHJ00Q9XFF43KQJ":3,"skill-same:01M75TAR6YESHJ00Q9XFF43KQJ":84},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":28,"updatedAt":29,"install":30,"resources":43},"01M75TAR6YESHJ00Q9XFF43KQJ","image-crawler",null,"Annieawa-Le\u002Fseek-agent","Annieawa-Le","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F230510916?v=4","01M75T9882RR7HYQCQ1YK7V74S","StarryNi","01M75T988NH5XPCQJ9H2VESBCE",1,"MIT","https:\u002F\u002Fgithub.com\u002FAnnieawa-Le\u002Fseek-agent\u002Fblob\u002Fmaster\u002Fsrc\u002Ftools\u002Finner_skills\u002Fimage-crawler\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"## 用途\n\n网页图片资源爬取工具，支持从指定 URL 提取网页中嵌入的所有图片链接及其元信息（alt 文本、文件格式等），按条件筛选过滤图片，以及批量下载图片到本地目录。\n\n### 可用工具\n\n| 工具 | 功能 |\n|------|------|\n| `extract_images` | 从指定网页 URL 中提取所有图片资源，返回图片的完整 URL、alt 文本、文件扩展名等信息。支持设置图片最小尺寸过滤、只爬取特定格式等选项。自动处理懒加载属性（data-src）、srcset 响应式图片和 `\u003Cpicture>` 元素。 |\n| `filter_images` | 对已提取的图片列表进行二次筛选，支持按关键词匹配 alt 文本、按文件名模式过滤、按尺寸范围过滤。 |\n| `download_images` | 将图片 URL 列表批量下载到本地指定目录。支持设置并发数、超时时间，自动生成文件名。返回每个文件的下载状态和本地路径。 |\n\n### 典型使用流程\n\n```\n1. extract_images(url=\"https:\u002F\u002Fexample.com\")  →  获取页面上所有图片\n2. filter_images(images=\"...\", formats=\"jpg,png\", min_width=800)  →  筛选出大尺寸 jpg\u002Fpng 图片\n3. download_images(images=\"...\", output_dir=\".\u002Fdownloads\", concurrency=5)  →  并发下载到本地\n```\n\n### 设计要点\n\n- **extract_images** 会自动处理懒加载图片（data-src、data-original、data-lazy-src）、srcset 响应式图片集和 `\u003Cpicture> \u003Csource>` 标签。\n- 尺寸过滤依赖 HTML 标签中显式标注的 width\u002Fheight 属性，未标注尺寸的图片在过滤时默认保留。\n- **download_images** 支持传入纯 URL 字符串数组（如 `[\"https:\u002F\u002F...\"]`）或带元信息的对象数组（如 `[{\"url\":\"...\",\"alt\":\"...\"}]`）。\n- 下载的文件名自动编号（image_001.jpg、image_002.png...），扩展名优先从 URL 推断，其次从 Content-Type 推断。\n",{},"master","788c24242d568c7259b6664754637bfc71712b7e","src\u002Ftools\u002Finner_skills\u002Fimage-crawler",0,"https:\u002F\u002Fgithub.com\u002FAnnieawa-Le\u002Fseek-agent","https:\u002F\u002Fgithub.com\u002FAnnieawa-Le","'Twinkling shine in the sky,\r\ndimming night at mountain high.'\r\n\r\n—— “繁星缀缀于苍穹，夜色朦朦在山陇”","2026-10-04 22:21:03",{"source":7,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add Annieawa-Le\u002Fseek-agent --skill image-crawler",{"tool":36,"command":37},"bunx","bunx skills add Annieawa-Le\u002Fseek-agent --skill image-crawler",{"tool":39,"command":40},"pnpm","pnpm dlx skills add Annieawa-Le\u002Fseek-agent --skill image-crawler","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAnnieawa-Le\u002Fseek-agent\u002Fblob\u002Fmaster\u002Fsrc\u002Ftools\u002Finner_skills\u002Fimage-crawler\u002FSKILL.md",true,[44,50,56,60,64,68,72,76,80],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"enable.json","REFERENCE","参考文档",290,"https:\u002F\u002Fgithub.com\u002FAnnieawa-Le\u002Fseek-agent\u002Fblob\u002Fmaster\u002Fsrc\u002Ftools\u002Finner_skills\u002Fimage-crawler\u002Fenable.json",{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"index.ts","SCRIPT","脚本",592,"https:\u002F\u002Fgithub.com\u002FAnnieawa-Le\u002Fseek-agent\u002Fblob\u002Fmaster\u002Fsrc\u002Ftools\u002Finner_skills\u002Fimage-crawler\u002Findex.ts",{"path":57,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":58,"sourceHtmlUrl":59},"scripts\u002Fdownload-images.ts",5608,"https:\u002F\u002Fgithub.com\u002FAnnieawa-Le\u002Fseek-agent\u002Fblob\u002Fmaster\u002Fsrc\u002Ftools\u002Finner_skills\u002Fimage-crawler\u002Fscripts\u002Fdownload-images.ts",{"path":61,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":62,"sourceHtmlUrl":63},"scripts\u002Fextract-images.ts",6401,"https:\u002F\u002Fgithub.com\u002FAnnieawa-Le\u002Fseek-agent\u002Fblob\u002Fmaster\u002Fsrc\u002Ftools\u002Finner_skills\u002Fimage-crawler\u002Fscripts\u002Fextract-images.ts",{"path":65,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":66,"sourceHtmlUrl":67},"scripts\u002Ffilter-images.ts",3497,"https:\u002F\u002Fgithub.com\u002FAnnieawa-Le\u002Fseek-agent\u002Fblob\u002Fmaster\u002Fsrc\u002Ftools\u002Finner_skills\u002Fimage-crawler\u002Fscripts\u002Ffilter-images.ts",{"path":69,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":70,"sourceHtmlUrl":71},"scripts\u002Fprompt-get.ts",734,"https:\u002F\u002Fgithub.com\u002FAnnieawa-Le\u002Fseek-agent\u002Fblob\u002Fmaster\u002Fsrc\u002Ftools\u002Finner_skills\u002Fimage-crawler\u002Fscripts\u002Fprompt-get.ts",{"path":73,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":74,"sourceHtmlUrl":75},"scripts\u002Futils.ts",1364,"https:\u002F\u002Fgithub.com\u002FAnnieawa-Le\u002Fseek-agent\u002Fblob\u002Fmaster\u002Fsrc\u002Ftools\u002Finner_skills\u002Fimage-crawler\u002Fscripts\u002Futils.ts",{"path":77,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":78,"sourceHtmlUrl":79},"SYSTEM_INJECTION.md",202,"https:\u002F\u002Fgithub.com\u002FAnnieawa-Le\u002Fseek-agent\u002Fblob\u002Fmaster\u002Fsrc\u002Ftools\u002Finner_skills\u002Fimage-crawler\u002FSYSTEM_INJECTION.md",{"path":81,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":82,"sourceHtmlUrl":83},"translation.ts",1175,"https:\u002F\u002Fgithub.com\u002FAnnieawa-Le\u002Fseek-agent\u002Fblob\u002Fmaster\u002Fsrc\u002Ftools\u002Finner_skills\u002Fimage-crawler\u002Ftranslation.ts",[85,91,97,103,109,115],{"skillNo":86,"name":87,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":18},"01M75TBDZX3WSF0A7HJMVYQRV5","worker-library","https:\u002F\u002Fgithub.com\u002FAnnieawa-Le\u002Fseek-agent\u002Fblob\u002Fmaster\u002Fsrc\u002Ftools\u002Finner_skills\u002Fworker-library\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":18},"01M75TBBYFKMHWR9TPB1957V1M","web-crawler","https:\u002F\u002Fgithub.com\u002FAnnieawa-Le\u002Fseek-agent\u002Fblob\u002Fmaster\u002Fsrc\u002Ftools\u002Finner_skills\u002Fweb-crawler\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":18},"01M75TBA4GCPTP3PW4NM1NAVSN","web-accessor","https:\u002F\u002Fgithub.com\u002FAnnieawa-Le\u002Fseek-agent\u002Fblob\u002Fmaster\u002Fsrc\u002Ftools\u002Finner_skills\u002Fweb-accessor\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":18},"01M75TB8AGWC72H2JDWM1AZVYY","virtual-explorer","https:\u002F\u002Fgithub.com\u002FAnnieawa-Le\u002Fseek-agent\u002Fblob\u002Fmaster\u002Fsrc\u002Ftools\u002Finner_skills\u002Fvirtual-explorer\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":18},"01M75TB769RXREDNM43AKP9YZP","ts-debug","https:\u002F\u002Fgithub.com\u002FAnnieawa-Le\u002Fseek-agent\u002Fblob\u002Fmaster\u002Fsrc\u002Ftools\u002Finner_skills\u002Fts-debug\u002FSKILL.md",[],[],{"skillNo":116,"name":117,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":18},"01M75TB5DJWWE4NCG5J2NXNXFK","todo-manager","https:\u002F\u002Fgithub.com\u002FAnnieawa-Le\u002Fseek-agent\u002Fblob\u002Fmaster\u002Fsrc\u002Ftools\u002Finner_skills\u002Ftodo-manager\u002FSKILL.md",[],[]]