grokipedia-search
4
总安装量
4
周安装量
#54373
全站排名
安装命令
npx skills add https://github.com/bdbi/grokipedia-search --skill grokipedia-search
Agent 安装分布
amp
4
github-copilot
4
codex
4
kimi-cli
4
gemini-cli
4
opencode
4
Skill 文档
grokipedia-search
Use grokir to search Grokipedia and retrieve pages.
Quick start
- Ensure
grokiris installed (once per machine):
# From the skill folder:
bash scripts/ensure_grokir.sh
# (installs grokir into ~/.local/bin)
- Search (prefer JSON):
grokir --json search "postgres vacuum" -l 10 -o 0
- Fetch a page by slug:
grokir --json page "JSON"
Important CLI quirks
-
--jsonis a global flag and must come before the command:- â
grokir --json search "..." - â
grokir search "..." --json
- â
-
Pagination:
-l= limit (max results)-o= offset
Workflow: research with citations
- Run a broad search query (JSON).
- Pick 3â8 top results by title/snippet.
- For each promising result, fetch the page by
slug. - Produce:
- short summary
- key takeaways
- (optional) direct quotes/sections from
content - citations as:
Grokipedia:<slug>
Output handling
-
grokir --json search ...returns a JSON array of objects like:slug,title,snippet,relevance_score,view_count
-
grokir --json page <slug>returns a JSON object with:title,slug,description,content
Troubleshooting
- If install fails, check:
- git can reach GitHub:
git ls-remote https://github.com/bdbi/grokir.git HEAD - Go is installed:
go version
- git can reach GitHub:
Resources
scripts/
scripts/ensure_grokir.sh: installs/buildsgrokirinto~/.local/bin/grokirif missing (clones https://github.com/bdbi/grokir viagitand runsgo build).