hahahxx

Web Search Instant

ナレッジ管理v1.1.0
作者:hahahxx更新日 2026-05-11全 2 バージョン · 最新版の公開日 2026-02-02web-search-instant@clawhub_hahahxx/web-search-instant
情報検索要約#Web Search#Search The Web

AlphaMoatによると、2026-09時点でWeb Search Instantのダウンロード数は3,514、スター数は5で、AIスキル全体5,078件中3,141位、ナレッジ管理では442件中285位です。

インストール数
136
ダウンロード数
3514
スター数
5
総合順位
#3,141
全体の上位 62% · ナレッジ管理の上位 65%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗10433155-
SkillHub ↗13635145—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

このコマンドラインツールはDuckDuckGo Instant Answer APIを使い、APIキーなしで事実、定義、計算、換算をすばやく調べます。完全なウェブ検索結果ではなく即時回答を返すため、クエリによっては結果がなく、内容が不完全または古い場合があります。特に最近のニュースは得られないことがあります。クエリはDuckDuckGoに送信されるので、秘密情報、社内の非公開テキスト、機微な個人情報を入力しないでください。重要な情報や変化の速い情報は、返された検索URLまたは別の情報源で確認してください。

資料公開日 2026-10-29

できること

  • 定義、事実、計算、単位換算を手早く調べる

使う場面

  • 即時回答や関連トピックが役立ち、結果が限定的でもよい場合

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

一般公開の質問をDuckDuckGo Instant Answerで調べ、結果が不十分な場合の確認方法も説明する

月次の推移

ダウンロード数3514
2269293836062026-03 · ダウンロード数 23612026-05 · ダウンロード数 27682026-06 · ダウンロード数 27282026-07 · ダウンロード数 31442026-08 · ダウンロード数 32902026-09 · ダウンロード数 351426-0326-09
スター数5
4562026-03 · スター数 52026-05 · スター数 52026-06 · スター数 52026-07 · スター数 52026-08 · スター数 52026-09 · スター数 526-0326-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-093514—5
2026-083290+4.6%5
2026-073144+15.2%5
2026-062728-1.4%5
2026-052768—5
2026-032361—5

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。

5.6 KB・ClawHub v1.1.0
---
name: web-search
description: Web search using DuckDuckGo Instant Answer API (no API key required). Use when you need to search the web for information, definitions, calculations, conversions, or quick facts. Also use when user mentions "search", "look up", "find information", "what is", "how to", or "google something". The skill provides instant answers, definitions, abstracts, and related topics without requiring external API credentials.
---

# Web Search

Free web search using DuckDuckGo's Instant Answer API. No API key required.

## Quick Start
すべて表示(全 197 行)

```bash
# Basic search
cd /home/hxx/clawd/tools && ./web-search.sh "your query"

# Examples
./web-search.sh "what is artificial intelligence"
./web-search.sh "python programming"
./web-search.sh "define recursion"
./web-search.sh "2+2"
```

## Command-Line Options

### Core Options
- `-h, --help` - Display help message with usage examples
- `--format <format>` - Output format: `text`, `markdown`, `plain` (default: `text`)
  - `text`: Colored terminal output (default)
  - `markdown`: Clean markdown format (no ANSI colors)
  - `plain`: Plain text without colors
- `--no-color` - Disable colored output (same as `--format plain`)
- `--max-related <N>` - Control number of related topics to show (default: 5)
- `--quiet` - Minimal output mode (just results, no headers/footer)

### Output to File
Use shell redirection to save results to file:

```bash
# Save to file
./web-search.sh "query" > output.txt

# With markdown format
./web-search.sh --format markdown "query" > results.md

# With no colors for logs
./web-search.sh --no-color "query" > search.log
```

## What It Returns

The tool provides several result types:

- **Answers** - Direct answers for calculations, conversions, weather, etc.
- **Abstracts** - Wikipedia-style summaries with source and URL
- **Definitions** - Word/term definitions
- **Related Topics** - Additional relevant results (configurable, 5 default)

## Best Practices

1. **Be specific** - More specific queries get better instant answers
2. **Try variations** - If no results, rephrase your query
3. **Use for facts** - Definitions, calculations, quick lookups work best
4. **Check URL** - Always provides DuckDuckGo link for full search
5. **Use appropriate format**:
   - Terminal output: `--format text` (colored, default)
   - Documentation: `--format markdown` > file.md`
   - Logs/piping: `--format plain` or `--no-color`

## Limitations

- No full web search results (only instant answers)
- Some queries return limited results depending on DuckDuckGo's data
- Character encoding issues in some abstracts (known limitation)
- Requires internet access to query DuckDuckGo API
- Not all query types return instant answers (e.g., complex math like `sqrt(144)`)
- Definitions may not always be available for all terms
- Recent news may not appear (DuckDuckGo focuses on evergreen content)

## Usage Examples

### Basic Search
```bash
# Simple query
./web-search.sh "open source AI models"

# Wikipedia-style query
./web-search.sh "what is recursion"
```

### Markdown Format
```bash
# Clean markdown output
./web-search.sh --format markdown "python programming"

# Save to markdown file
./web-search.sh --format markdown "AI research" > research.md
```

### Plain/No Color
```bash
# For logs or piping
./web-search.sh --format plain "search query"

# Disable colors explicitly
./web-search.sh --no-color "search query"
```

### Control Related Topics
```bash
# Show fewer related topics
./web-search.sh --max-related 3 "machine learning"

# Show more related topics
./web-search.sh --max-related 10 "open source"
```

### Quiet Mode
```bash
# Minimal output (just results)
./web-search.sh --quiet "what is 42 + 7"
```

### Combined Options
```bash
# Markdown, no color, saved to file
./web-search.sh --format markdown --no-color "topic" > results.md

# Quiet with custom related count
./web-search.sh --quiet --max-related 2 "definition"
```

## Tested Scenarios

Tested and verified to work:
- ✅ Calculations: `2+2`, `10% of 500`
- ✅ Conversions: `100 miles to km`
- ✅ Wikipedia queries: `what is artificial intelligence`
- ✅ Programming: `what is python`, `how to install docker`
- ✅ People: `who is Elon Musk`
- ✅ Scientific facts: `speed of light`
- ✅ Weather: `weather in Tokyo`
- ✅ Edge cases: empty queries, special characters, no results
- ✅ Output formats: text, markdown, plain
- ✅ Flags: --help, --format, --no-color, --max-related, --quiet

See [test-outputs.md](test-outputs.md) for detailed test results.

## Troubleshooting

### "No direct results found"
Try rephasing your query or using the provided DuckDuckGo URL for full search.

### Network errors
Check internet connection. Tool requires network access.

### Character encoding issues
Some abstracts display garbled characters. This is a known issue with basic parsing (install `jq` for better results).

### "jq not found" warning
The tool works without `jq` using basic text extraction, but installing `jq` improves JSON parsing:
```bash
# Ubuntu/Debian
sudo apt-get install jq

# macOS
brew install jq

# Via package managers
npm install -g jq
```

## Output Format

### Text Format (default)
- **Blue** - Headers and search info
- **Green** - Result markers and content
- **Yellow** - Sources, URLs, and warnings
- **Red** - Errors

Use `--format plain` or `--no-color` to disable colors.

### Markdown Format
Clean markdown with:
- `##` headers for sections
- `**bold**` for emphasis
- `-` bullet lists
- `*italics*` for metadata
- `[links]()` for URLs

### Plain Format
No ANSI codes or markdown formatting - suitable for logs and piping.

## Requirements

- `curl` or `wget` (for HTTP requests)
- Optional: `jq` (for better JSON parsing)

ナレッジ管理の人気スキル

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。