dsearch

📁 icampana/dsearch 📅 1 day ago
1
总安装量
1
周安装量
#50834
全站排名
安装命令
npx skills add https://github.com/icampana/dsearch --skill dsearch

Agent 安装分布

kilo 1
amp 1
opencode 1
kimi-cli 1
codex 1

Skill 文档

dsearch

dsearch is a CLI tool for searching and reading offline documentation (via DevDocs).

Tools

dsearch

The primary command for interacting with documentation.

Examples

List installed documentation

To see what documentation is available:

dsearch list

Search for a specific term

To search for a term across all installed documentation:

dsearch "query string"

Search within a specific documentation set

To narrow down the search to a specific language or library (e.g., Go):

dsearch "http.Client" --doc go

Read documentation in Markdown format

For LLM consumption, always use --format md to get clean Markdown output, and include --full to ensure the entire page is retrieved without truncation:

dsearch "http.Client" --doc go --format md --full

Install new documentation

If the required documentation is missing:

dsearch install python

Best Practices

  • Always use --format md when valid to get machine-readable output.
  • Use --full to retrieve the complete documentation page, preventing truncation of long articles.
  • Use --doc <name> to reduce noise when you know the context (e.g., searching for Map in go vs javascript).
  • If a search returns too many results, try a more specific query or use the --limit flag.