Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

knowledge

Skill by x-cmd

Knowledge is a skill that searches Hacker News, Wikipedia, DuckDuckGo, RFC documents and Stack Exchange from the command line. It is for users who want quick lookups from a terminal through x-cmd.

  • Score 79
  • 4.8k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install knowledge

Built from the published package, never by AI.

git clone --depth 1 https://github.com/x-cmd/x-cmd /tmp/x-cmd && mkdir -p ~/.claude/skills && cp -r /tmp/x-cmd/mod/skill0/lib/skill0/data/knowledge ~/.claude/skills/knowledge

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install knowledge in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Knowledge is an agent skill for searching knowledge sources from the command line. It uses x-cmd commands: x hn top and x hn new for Hacker News, x wkp for Wikipedia, x ddgo for DuckDuckGo, x rfc for RFC specifications, and x se for Stack Exchange. The listing is version 0.1.0 and is published by x-cmd in the skill0 repository.

The skill suits users who want fast lookups from encyclopedia, web search, forum, and technical standards sources in a terminal. The source says x-cmd must be installed first, and x knowledge --help lists all options. More sources such as Project Gutenberg and arxiv, along with advanced search patterns and result filtering tips, are planned but not yet included.

Written from the project's SKILL.md and checked against it.

What it can do

  • x hn topShows the top Hacker News posts, listed as the top 10 trending posts.
  • x hn newLists the latest Hacker News submissions.
  • x wkp <query>Searches Wikipedia articles for a query.
  • x ddgo <query>Runs a DuckDuckGo web search for a query.
  • x rfc <number>Reads an RFC specification by its number.
  • x se <query>Searches Stack Exchange questions and answers.

What you need

  • x-cmd installed, using the command from get.x-cmd.com

Try asking

  • Show me the top Hacker News posts right now
  • Search Wikipedia for artificial intelligence
  • Read RFC 2616 from the command line

Good to know

  • Lists only the six commands in version 0.1.0
  • More sources and search tips are planned but not yet added

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: mod/skill0/lib/skill0/data/knowledge/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md1 KB

Alternatives to knowledge

All alternatives →

Compare with box, n8n-mcp-tools-expert or citation-management

knowledge: common questions

What sources does the knowledge skill search?

It searches Hacker News, Wikipedia, DuckDuckGo, RFC documents and Stack Exchange. The source says Project Gutenberg and arxiv are planned additions.

How do I see all options for the knowledge commands?

After installing x-cmd, the source says to run x knowledge --help to see all options.

Which command reads an RFC document?

The source lists x rfc <number> for reading RFC specifications, for example x rfc 2616.

How do I install knowledge?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is knowledge free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is knowledge safe to use?

It scores 79 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to knowledge?

Similar skills: box, n8n-mcp-tools-expert, citation-management, exa-search.

knowledge Install

Add to stack

Loading.