Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
greatsumini avatar

Stackoverflow Search

  • Updated March 13, 2026
  • greatSumini/stackoverflow-cli

stackoverflow-search is a Claude Code skill for ai & agent building. It helps developers move faster with AI-assisted coding.

Key points

  • stackoverflow-search
  • AI & Agent Building
  • AI-coding skill

Stackoverflow Search by the numbers

  • Data as of Jul 7, 2026 (Skillselion catalog sync)
/plugin marketplace add greatSumini/stackoverflow-cli
/plugin install stackoverflow-search@stackoverflow-search

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Last updatedMarch 13, 2026
RepositorygreatSumini/stackoverflow-cli

What it does

Helps with ai & agent building tasks.

README.md

logo

StackOverflow CLI - Search StackOverflow in your terminal.

Claude Code Plugins(Skills)

Stackoverflow CLI provides official plugins for Claude Code that integrate seamlessly with the AI-powered development environment. These plugins make it easy to search StackOverflow directly from Claude Code, fetch question details, and analyze results with AI assistance.

Installation

1. Add the Stackoverflow Plugin Marketplace

First, add the Stackoverflow plugin marketplace to Claude Code:

/plugin marketplace add greatsumini/stackoverflow-cli

2. Install Plugins

Install the plugins using the following commands:

/plugin install stackoverflow-search@stackoverflow-search

Now you and your claude can use the stackoverflow-search skill in Claude Code 😄

Installation

npm install -g sof-cli

Or run directly with npx:

npx sof-cli search "vim exit"

Usage

Search questions

stackoverflow search <query> [options]

Examples:

stackoverflow search "PrismaClientKnownRequestError: Invalid `this.prisma.user.upsert()` invocation in" --json
stackoverflow search "pnpm workspace internal packages typescript" --limit 10
stackoverflow search "python error" --tagged python --accepted
stackoverflow search "react hook" --sort votes --order asc --limit 10
stackoverflow search "sql injection" --title "prevent" --fromdate 2022-01-01

Options:

Option Description Default
-l, --limit <number> Number of results to return 5
--tagged <tags> Filter by tags (semicolon-separated, e.g. "python;django")
--nottagged <tags> Exclude questions with these tags (semicolon-separated)
--title <text> Text that must appear in the question title
--body <text> Text that must appear in the question body
--accepted Only return questions with an accepted answer
--answers <number> Minimum number of answers
--views <number> Minimum number of views
--user <id> Only return questions by this user ID
--sort <sort> Sort order: activity, creation, votes, relevance relevance
--order <order> Sort direction: asc or desc desc
--fromdate <date> Only return questions after this date (YYYY-MM-DD)
--todate <date> Only return questions before this date (YYYY-MM-DD)
--json Output results as JSON (useful for scripting or AI agents)

Get question details

Fetch the full question body and top answers by question ID.

stackoverflow get_question <id> [options]
# Alias:
stackoverflow get <id> [options]

Examples:

stackoverflow get 11828270
stackoverflow get 11828270 --max-answers 5 --json

Options:

Option Description Default
--max-answers <number> Number of answers to fetch 3
--json Output results as JSON

Rate Limits

This tool uses the Stack Exchange API. By default, unauthenticated requests are limited to 300 requests per day per IP address.

Increasing the limit to 10,000 requests/day

Register a Stack Exchange application at stackapps.com to get a free App Key, then configure it:

stackoverflow init --key <YOUR_APP_KEY>

The key is saved to ~/.config/sof-cli/config.json and applied to all subsequent requests automatically.

Without Key With Key
Daily request limit 300 10,000

License

MIT License

Author

Choe Sumin

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.