Knowledge

From x-cmd/x-cmd · View interactive version

Knowledge is an AI agent skill from the GitHub repository x-cmd/x-cmd. 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".

How to use this skill

Skill file

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:

Full experience

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

Related

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.