shogun-screenshot

shogun-screenshot is a skill for Claude Code from yohey-w/multi-agent-shogun. It costs 149 tokens per session (1,819 once invoked), scanned A, original, MIT.

A screenshot tool for getting images from a computer or web page and then cropping, resizing, or masking sensitive information. Playwright is a browser-automation tool used here to capture web pages.

In plain words
What is it for?
Taking local or web screenshots, preparing images for articles and reports, checking user interfaces, cropping or resizing captures, and masking API keys or personal information.
Why use it?
It saves the manual steps of finding the latest screenshot, capturing a page, preparing an image, and hiding private details before sharing it.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Taking local or web screenshots, preparing images for articles and reports, checking user interfaces, cropping or resizing captures, and masking API keys or personal information.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yohey-w/multi-agent-shogun/shogun-screenshot
About the project

multi-agent-shogun is a system that coordinates multiple AI coding command-line agents through a hierarchy of managers, strategists, and workers. Developers use it to split coding requests into parallel tasks and monitor their execution through tmux.

yohey-w/multi-agent-shogun · 1,424 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add yohey-w/multi-agent-shogun --skill shogun-screenshot
Clone the repo
git clone --depth 1 https://github.com/yohey-w/multi-agent-shogun

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for shogun-screenshot

README.md
[![agentmods](https://agentmods.dev/badge/skills/yohey-w/multi-agent-shogun/shogun-screenshot/github.svg)](https://agentmods.dev/skills/yohey-w/multi-agent-shogun/shogun-screenshot)
Your own site
<a href="https://agentmods.dev/skills/yohey-w/multi-agent-shogun/shogun-screenshot"><img src="https://agentmods.dev/badge/skills/yohey-w/multi-agent-shogun/shogun-screenshot/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for shogun-screenshot

Your own site · 80×15
<a href="https://agentmods.dev/skills/yohey-w/multi-agent-shogun/shogun-screenshot"><img src="https://agentmods.dev/badge/skills/yohey-w/multi-agent-shogun/shogun-screenshot.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 149 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,819 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00149 $0.01819
Opus 5.5 $0.00060 $0.00728
Sonnet 5.5 $0.00030 $0.00364
Haiku 4.5 $0.00015 $0.00182

Measured 1mo ago against content hash b83412a3bbd3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

shogun-screenshot scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/capture_local.sh, scripts/mask_sensitive.py, scripts/trim_image.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/shogun-screenshot/SKILL.md · 152 lines

How it starts

The opening of the file, as written. The whole thing — 152 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/shogun-screenshot - スクリーンショット取得・加工スキル

North Star(全判断の最上位基準)

このスキルの北極星は記事・報告書のビジュアル品質向上によるコンテンツ差別化。 高品質な画像(マスク済み・適切にトリミング済み)を記事・レポートに挿入することで、 テキスト単体の競合コンテンツとの差別化を実現する。

Input

$ARGUMENTS = 操作対象の指定(URLまたはモードキーワード)

  • URL(https://...)→ Mode 2: Webキャプチャ
  • latest(省略可)→ Mode 1: ローカルスクショ取得
  • 引数なし → ユーザーの意図に応じて最適なモードを選択

Overview

スクリーンショットの取得・加工を行う。4つのモードがある:

  1. ローカル取得: ユーザーのスクショフォルダから最新画像を取得
  2. Webキャプチャ: URLを指定してPlaywright MCPでページをキャプチャ
  3. トリミング: 既存画像の一部を切り出し・リサイズ
  4. マスキング: 機微情報(APIキー、個人情報等)を黒塗り

When to Use

  • 「最新のスクショを見せて」「スクショ取って」と言われた時
  • 記事やレポートに画像を挿入する時
  • UI画面のキャプチャが必要な時
  • 画像のトリミング・切り出しが必要な時
  • スクショ内の機密情報をマスクする時

Configuration

スクショフォルダのパスは config/settings.yaml で管理(優先順の配列):

screenshot:
  paths:
    - "/path/to/your/Screenshots/"      # OS のスクショ保存先
    - "queue/screenshots/"               # モバイルアプリ等からの受信先
  capture_dir: "images/"                 # Webキャプチャの保存先
  trim_dir: "images/trimmed/"            # トリミング後の保存先

paths 配列を上から順に探索し、ディレクトリが存在+画像ファイルがあるものを使う。 全パスが存在しない場合はエラーを返す。

Instructions

Mode 1: ローカルスクショ取得(複数パスフォールバック)

手順:

  1. config/settings.yaml から screenshot.paths 配列を読む
  2. 優先順に各パスを探索: a. ls <path> でディレクトリ存在を確認(存在しなければ次へ) b. 存在するパスで ls -lt <path>/*.png <path>/*.jpg 2>/dev/null | head -5 で最新画像を取得
  3. 最も新しい画像ファイルを Read ツールで表示
  4. 複数パスに画像がある場合、全パスの最新を比較して最も新しいものを表示

ヘルパースクリプト (全パスを自動探索):

bash skills/shogun-screenshot/scripts/capture_local.sh -n 3

手動で特定パスを指定する場合:

# config/settings.yaml の screenshot.paths に設定されたパスを使用
ls -lt "/path/to/Screenshots/"*.png 2>/dev/null | head -3

注意: ディレクトリ自体が存在しない可能性がある(ドライブ未マウント等)。 2>/dev/null で存在しないパスのエラーを抑制すること。

Mode 2: Webキャプチャ(Playwright MCP)

  1. Playwright MCP の playwright_navigate でURLに遷移
  2. playwright_screenshot でキャプチャ
    • fullPage: true(ページ全体)
    • selector: 指定(要素のみ)
    • savePng: true, downloadsDir: 保存先
  3. 保存されたPNGのパスを返す

Read the full file on GitHub · 152 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 152 lines · 149 tokens per session scan A b83412a3bbd3

Subscribe to this mod's changes

shogun-screenshot is a skill published in the GitHub repository yohey-w/multi-agent-shogun (1,424 stars, last pushed 2mo ago), licensed MIT. It adds 149 tokens to every session and 1,819 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.