Skip to content
Back to skills

Use Cli Scout

ASecurity

scout CLI 経由で Web 検索、ページ取得、GitHub リポジトリ探索を行う。

  • 13 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 24, 2026
ai-agentsbashawsgitapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 18, 2026

npx -y skills add thkt/dotclaude --skill use-cli-scout --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Use Cli Scout?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Use Cli Scout
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thkt-use-cli-scout/badge)](https://www.skillsdirectory.com/skills/thkt-use-cli-scout)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: use-cli-scout
description: scout CLI 経由で Web 検索、ページ取得、GitHub リポジトリ探索を行う。
when_to_use: 入力に URL (web ページ、GitHub、Slack の permalink) がある、または最新のドキュメントやリリースノートなど repo の外の情報が要る。WebFetch と WebSearch の代わりに使う。
allowed-tools: Bash(scout:*) Read
user-invocable: false
---

# use-cli-scout

## 使いどころ

Web 上の情報が要るときは scout を使う。ページの本文がそのまま返るので、一次ソースを直接読んで答えられる。入力に `http://` または `https://` の URL があれば、答える前に取得する。

## コマンド

### URL を渡されたら

`repo-overview` と `repo-read` は完全な URL と `owner/repo` のどちらでも受け付ける。Slack permalink は `fetch` が判別して Slack Web API へ回す。

| URL の形                                      | コマンド                              |
| --------------------------------------------- | ------------------------------------- |
| `github.com/<owner>/<repo>`                   | `scout repo-overview <url>`           |
| `github.com/<owner>/<repo>/blob/<ref>/<path>` | `scout repo-read <owner/repo> <path>` |
| それ以外 (Slack permalink を含む)             | `scout fetch <url>`                   |

### 調べる

`-l ja` と `-l en` で検索言語を固定する (既定は auto)。JS 描画が要るページには `--js`、抽出前のページ全体には `--raw` を付ける。

| 欲しいもの         | コマンド                           | 返るもの                              |
| ------------------ | ---------------------------------- | ------------------------------------- |
| 情報源の候補       | `scout search "query"`             | 1 行 1 URL                            |
| トピックの本文一式 | `scout research "topic" -d <1-10>` | 上位 N 件を取得した Markdown レポート |
| 1 ページの本文     | `scout fetch <url>`                | 本文抽出済みの Markdown               |

### GitHub を辿る

`--ref` で branch、tag、commit SHA を指定する。

| 段階                                             | コマンド                                                     |
| ------------------------------------------------ | ------------------------------------------------------------ |
| repo の全体像 (説明、issue、PR、release、README) | `scout repo-overview <owner/repo>`                           |
| ファイル構成                                     | `scout repo-tree <owner/repo> [-p <dir>] [--pattern '*.rs']` |
| ファイルの中身                                   | `scout repo-read <owner/repo> <path> [-l 1-80]`              |

## 前提

| 環境変数       | 無いとどうなるか                            |
| -------------- | ------------------------------------------- |
| `SLACK_TOKEN`  | Slack permalink の取得が失敗する            |
| `GITHUB_TOKEN` | GitHub のレート上限が下がる。取得自体は通る |

## 落とし穴

`fetch` は本文が取れなくても exit 0 で返る。返った Markdown に次のいずれかが出たら ${CLAUDE_SKILL_DIR}/references/fetch-failures.md を読む。本文が短い。表の区切り行が無い。見出しが本文と混ざる。行番号が合わない。crates.io と builder.aws.com と zenn.dev、GitHub の wiki、GitLab、docs.rs のソースビューア、x.com の迂回路もそこにある。

## 正典は help 出力

環境変数、オプション、`--json` envelope、exit code、stdin 入力は `scout --help` と `scout <subcommand> --help` にある。help と記憶が食い違えば help が正しい。exit 64 の原因は `scout --help` の Environment セクションが答える。

Files in this skill

  • SKILL.md3.9 KB
  • references/fetch-failures.md5.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.