用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/KunanonJ/ai-skills-hub --skill aside-google-search命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | aside-google-search |
| description | Use this when you need to search web on Google and websearch tool is not enough |
| metadata | {"version":"0.1.0"} |
Use the googleSearch global in the REPL tool. It fetches Google Search with the browser profile's cookies, then parses the result DOM with stable selectors verified against a live SERP. You do not need to manually inspect the results page unless parsing fails.
const results = await googleSearch.search('openai', { limit: 5 });
console.log(JSON.stringify(results, null, 2));
// → [{ title, url, sourceName, publishedAtText, snippet, sitelinks }]
// Pagination
const page2 = await googleSearch.search('openai', { start: 10 });
const page3 = await googleSearch.search('openai', { start: 20 });
Do not run Google Search queries in parallel. Parallel query bursts can trigger CAPTCHA or bot blocks even when each individual query is valid.
Avoid patterns like:
const queries = ['first query', 'second query', 'third query'];
await Promise.all(queries.map((q) => googleSearch.search(q)));
Also avoid firing multiple searches from loop bodies without waiting for each result before deciding the next query. Keep Google searches sequential and only issue the next query after you have inspected the previous result.
googleSearch.search(query: string, opts?: GoogleSearchOptions): Promise<GoogleSearchResult[]>Search Google web results and return compact structured results.
div[data-rpos]a[href] that wraps an h3jsname hooks.start offset:
start or use start: 0start: 10start: 20interface GoogleSearchOptions {
limit?: number; // max results. default: 10
safeSearch?: 'active' | 'off';
language?: string; // e.g. 'en', 'ko', 'ja'
country?: string; // e.g. 'us', 'kr', 'jp'
start?: number; // pagination offset. e.g. 10 = page 2
time?: 'day' | 'week' | 'month' | 'year';
}
interface GoogleSearchResult {
title: string;
url: string;
sourceName?: string;
publishedAtText?: string; // e.g. '2 hours ago'
snippet?: string;
sitelinks?: Array<{ title: string; url: string }>;
}