jpskill.com
📦 その他 コミュニティ

screenshot

最近のスクリーンショットを検索して表示するSkill。

📜 元の英語説明(参考)

Find and display recent screenshots. Triggers: screenshot, check screenshot, show screenshot, recent screenshot, last screenshot.

🇯🇵 日本人クリエイター向け解説

一言でいうと

最近のスクリーンショットを検索して表示するSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o screenshot.zip https://jpskill.com/download/5934.zip && unzip -o screenshot.zip && rm screenshot.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/5934.zip -OutFile "$d\screenshot.zip"; Expand-Archive "$d\screenshot.zip" -DestinationPath $d -Force; ri "$d\screenshot.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して screenshot.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → screenshot フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-17
取得日時
2026-05-17
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

スクリーンショットビューア

一般的なスクリーンショットディレクトリから最近のスクリーンショットを素早く見つけて表示します。

使用方法

/screenshot          # 最新のスクリーンショットを5枚表示します(デフォルト)
/screenshot 1        # 最新の1枚のみを表示します
/screenshot 10       # 最新のスクリーンショットを10枚表示します

仕組み

  1. スクリーンショットの場所を自動検出 - 以下の一般的なディレクトリをこの順序で確認します。

    • Windows: Pictures\Screenshots, ShareX, Greenshot, OneDrive\Screenshots
    • macOS: ~/Desktop, ~/Screenshots
    • Linux: ~/Pictures, ~/Desktop
  2. 最近のスクリーンショットを検索 - Glob を使用して、更新時間でソートされた画像ファイル (png, jpg, jpeg, gif, webp) を検索します。

  3. 視覚的に表示 - Read ツールを使用してスクリーンショットを表示し、分析や議論ができるようにします。

実装

ステップ1: スクリーンショットディレクトリの検出

一般的な場所を確認し、最初に存在する場所を使用します。

Windows:

# 優先順位
1. %USERPROFILE%\Pictures\Screenshots           # Windows 11 ネイティブ
2. %USERPROFILE%\Documents\ShareX\Screenshots   # ShareX
3. %USERPROFILE%\Pictures\Greenshot             # Greenshot
4. %USERPROFILE%\OneDrive\Pictures\Screenshots  # OneDrive 同期
5. %USERPROFILE%\Pictures                       # フォールバック

macOS:

1. ~/Desktop              # デフォルトの macOS の場所
2. ~/Screenshots          # カスタムフォルダ
3. ~/Pictures             # フォールバック

Linux:

1. ~/Pictures/Screenshots # GNOME/KDE
2. ~/Pictures             # フォールバック
3. ~/Desktop              # 代替

ステップ2: 最近のスクリーンショットの検索

Glob を使用して、更新時間でソートされた画像ファイルを検索します。

# スクリーンショットディレクトリ内のすべての画像ファイルを検索
fd -e png -e jpg -e jpeg -e gif -e webp . "$SCREENSHOT_DIR" --max-depth 1 -t f --exec stat --format="%Y %n" {} \; | sort -rn | head -n $COUNT

またはネイティブツールを使用します。

Windows (PowerShell):

Get-ChildItem "$env:USERPROFILE\Pictures\Screenshots" -File |
  Where-Object {$_.Extension -match '\.(png|jpg|jpeg|gif|webp)$'} |
  Sort-Object LastWriteTime -Descending |
  Select-Object -First $COUNT

Unix (Bash):

find "$SCREENSHOT_DIR" -maxdepth 1 -type f \( -iname "*.png" -o -iname "*.jpg" -o -iname "*.jpeg" -o -iname "*.gif" -o -iname "*.webp" \) -printf '%T@ %p\n' | sort -rn | head -n $COUNT | cut -d' ' -f2-

ステップ3: スクリーンショットの表示

見つかった各スクリーンショットについて、Read ツールを使用して視覚的に表示します。

C:\Users\...\Pictures\Screenshots で3つのスクリーンショットが見つかりました

1. Screenshot_2026-01-28_14-32-10.png (45 KB, 2分前)
[Read ツールが画像を視覚的に表示します]

2. Screenshot_2026-01-28_14-15-03.png (128 KB, 19分前)
[Read ツールが画像を視覚的に表示します]

3. Screenshot_2026-01-28_13-58-22.png (67 KB, 36分前)
[Read ツールが画像を視覚的に表示します]

引数

引数 デフォルト 説明
count 5 表示するスクリーンショットの数

例:

  • /screenshot - 最新の5枚を表示
  • /screenshot 1 - 最新の1枚のみを表示
  • /screenshot 10 - 最新の10枚を表示

出力形式

[directory] からのスクリーンショット

## スクリーンショット N枚中1枚目
**ファイル**: [filename]
**サイズ**: [size] KB
**更新日時**: [time ago]

[Read ツールによるスクリーンショットの視覚表示]

## スクリーンショット N枚中2枚目
...

エッジケース

スクリーンショットディレクトリが見つからない場合

スクリーンショットディレクトリが見つかりません。

確認した場所:
  - C:\Users\...\Pictures\Screenshots (見つかりませんでした)
  - C:\Users\...\Documents\ShareX\Screenshots (見つかりませんでした)
  - C:\Users\...\Pictures\Greenshot (見つかりませんでした)

このスキルを使用するには、以下のいずれかを実行してください。
  1. スクリーンショットを撮る (Windows では Win+Shift+S)
  2. カスタムディレクトリを指定する: /screenshot --dir="C:\path\to\screenshots"

スクリーンショットが見つからない場合

C:\Users\...\Pictures\Screenshots にスクリーンショットが見つかりません

ディレクトリは存在しますが、画像ファイル (.png, .jpg, .jpeg, .gif, .webp) が含まれていません

要求数が利用可能な数を超える場合

3つのスクリーンショットが見つかりました (10個要求されました)

すべての3つを表示します:
[利用可能なすべてのスクリーンショットを表示します]

パフォーマンス

  • 高速 - すべてのファイルを読み込む代わりに、ファイルシステムツール (fd またはネイティブ) を使用します。
  • 効率的 - 要求された正確な数のみを読み込みます。
  • トークンを意識 - 大きなスクリーンショットは Read ツールによって自動的にサイズ変更されます。

カスタムディレクトリ (オプション)

非標準のディレクトリを使用するには:

/screenshot 5 --dir="C:\Custom\Path"

または、.claude/screenshot.json にプロジェクト固有の設定を作成します。

{
  "directory": "C:\\Custom\\Screenshots",
  "default_count": 3,
  "file_extensions": ["png", "jpg", "webp"]
}

統合

以下と連携してうまく機能します。

  • /explain - スクリーンショットの内容を説明します。
  • /review - スクリーンショット内のUI/コードをレビューします。
  • ブラウザ自動化ツール - スクリーンショットが期待される状態と一致するか検証します。

注意事項

  • 更新時間 (新しいものから順) を尊重します。
  • サブディレクトリは無視します (トップレベルのみ)。
  • 一般的な画像形式 (png, jpg, jpeg, gif, webp) をサポートします。
  • Windows、macOS、Linux でプラットフォーム固有のパスで動作します。
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Screenshot Viewer

Quickly find and display recent screenshots from common screenshot directories.

Usage

/screenshot          # Show last 5 screenshots (default)
/screenshot 1        # Show only the most recent
/screenshot 10       # Show last 10 screenshots

How It Works

  1. Auto-detect screenshot locations - Checks common directories in this order:

    • Windows: Pictures\Screenshots, ShareX, Greenshot, OneDrive\Screenshots
    • macOS: ~/Desktop, ~/Screenshots
    • Linux: ~/Pictures, ~/Desktop
  2. Find recent screenshots - Uses Glob to find image files (png, jpg, jpeg, gif, webp) sorted by modification time

  3. Display visually - Uses Read tool to show screenshots so you can analyze and discuss them

Implementation

Step 1: Detect Screenshot Directory

Check common locations and use the first one that exists:

Windows:

# Priority order
1. %USERPROFILE%\Pictures\Screenshots           # Windows 11 native
2. %USERPROFILE%\Documents\ShareX\Screenshots   # ShareX
3. %USERPROFILE%\Pictures\Greenshot             # Greenshot
4. %USERPROFILE%\OneDrive\Pictures\Screenshots  # OneDrive sync
5. %USERPROFILE%\Pictures                       # Fallback

macOS:

1. ~/Desktop              # Default macOS location
2. ~/Screenshots          # Custom folder
3. ~/Pictures             # Fallback

Linux:

1. ~/Pictures/Screenshots # GNOME/KDE
2. ~/Pictures             # Fallback
3. ~/Desktop              # Alternative

Step 2: Find Recent Screenshots

Use Glob to find image files, sorted by modification time:

# Find all image files in screenshot directory
fd -e png -e jpg -e jpeg -e gif -e webp . "$SCREENSHOT_DIR" --max-depth 1 -t f --exec stat --format="%Y %n" {} \; | sort -rn | head -n $COUNT

Or using native tools:

Windows (PowerShell):

Get-ChildItem "$env:USERPROFILE\Pictures\Screenshots" -File |
  Where-Object {$_.Extension -match '\.(png|jpg|jpeg|gif|webp)$'} |
  Sort-Object LastWriteTime -Descending |
  Select-Object -First $COUNT

Unix (Bash):

find "$SCREENSHOT_DIR" -maxdepth 1 -type f \( -iname "*.png" -o -iname "*.jpg" -o -iname "*.jpeg" -o -iname "*.gif" -o -iname "*.webp" \) -printf '%T@ %p\n' | sort -rn | head -n $COUNT | cut -d' ' -f2-

Step 3: Display Screenshots

For each screenshot found, use Read tool to display it visually:

Found 3 screenshots in C:\Users\...\Pictures\Screenshots

1. Screenshot_2026-01-28_14-32-10.png (45 KB, 2 minutes ago)
[Read tool displays image visually]

2. Screenshot_2026-01-28_14-15-03.png (128 KB, 19 minutes ago)
[Read tool displays image visually]

3. Screenshot_2026-01-28_13-58-22.png (67 KB, 36 minutes ago)
[Read tool displays image visually]

Arguments

Argument Default Description
count 5 Number of screenshots to show

Examples:

  • /screenshot - Show last 5
  • /screenshot 1 - Show only most recent
  • /screenshot 10 - Show last 10

Output Format

Screenshots from [directory]

## Screenshot 1 of N
**File**: [filename]
**Size**: [size] KB
**Modified**: [time ago]

[Visual display of screenshot via Read tool]

## Screenshot 2 of N
...

Edge Cases

No Screenshot Directory Found

No screenshot directory found.

Checked locations:
  - C:\Users\...\Pictures\Screenshots (not found)
  - C:\Users\...\Documents\ShareX\Screenshots (not found)
  - C:\Users\...\Pictures\Greenshot (not found)

To use this skill, either:
  1. Take a screenshot (Win+Shift+S on Windows)
  2. Specify a custom directory: /screenshot --dir="C:\path\to\screenshots"

No Screenshots Found

No screenshots found in C:\Users\...\Pictures\Screenshots

Directory exists but contains no image files (.png, .jpg, .jpeg, .gif, .webp)

Count Exceeds Available

Found 3 screenshots (requested 10)

Showing all 3:
[displays all available screenshots]

Performance

  • Fast - Uses filesystem tools (fd or native) instead of reading all files
  • Efficient - Only reads the exact number requested
  • Token-conscious - Large screenshots are automatically resized by Read tool

Custom Directory (Optional)

To use a non-standard directory:

/screenshot 5 --dir="C:\Custom\Path"

Or create a project-specific config in .claude/screenshot.json:

{
  "directory": "C:\\Custom\\Screenshots",
  "default_count": 3,
  "file_extensions": ["png", "jpg", "webp"]
}

Integration

Works well with:

  • /explain - Explain what's in the screenshot
  • /review - Review UI/code in screenshot
  • Browser automation tools - Verify screenshot matches expected state

Notes

  • Respects modification time (newest first)
  • Ignores subdirectories (only top-level)
  • Supports common image formats (png, jpg, jpeg, gif, webp)
  • Works across Windows, macOS, Linux with platform-specific paths