Knowledge

Search Hacker News, Wikipedia, DuckDuckGo, RFC docs, and Stack Exchange from the command line. Zero barrier — install x-cmd and start searching. Use for "search", "hn", "hacker news", "wikipedia", "ddgo", "duckduckgo", "rfc", "stack overflow".

x-cmd ffffc86 1.3 KB Updated

File contents

knowledge — skill0

Search the internet's knowledge sources from the command line.

Quick Start

# Install x-cmd
eval "$(curl https://get.x-cmd.com)"

# Hacker News top posts
x hn top

# Wikipedia search
x wkp "artificial intelligence"

# DuckDuckGo search
x ddgo "rust programming language"

# RFC documents
x rfc 2616

# Stack Exchange search
x se "how to exit vim"

What's Available

Command Source Example
x hn top Hacker News Top 10 trending posts
x hn new Hacker News Latest submissions
x wkp <query> Wikipedia Search articles
x ddgo <query> DuckDuckGo Web search
x rfc <number> RFC docs Read RFC specifications
x se <query> Stack Exchange Search Q&A

This skill0 grows

Starting with the essentials. Will add:

  • More sources (Project Gutenberg, arxiv)
  • Advanced search patterns
  • Result filtering and formatting tips

Full experience

x knowledge --help for all options after installing x-cmd.

Related

x-cmd/x-cmd/tree/main/mod/skill0/lib/skill0/data/knowledge commit ffffc867fc

Frequently asked questions

npx skillmds@latest add x-cmd/knowledge