shogun-screenshot
Skill1.4k starsChanged 6 months agoMITView on GitHub
スクリーンショットの取得・加工を行う。ローカルスクショから最新画像を取得、 PlaywrightでWebページをキャプチャ、画像のトリミング・リサイズ、機微情報を黒塗りマスキング。 記事執筆、レポート作成、UI確認、画像加工時に起動。 「スクショ」「スクリーンショット」「画面キャプチャ」「最新のスクショ」「画像加工」「トリミング」「マスク」「写メ」「写メ撮った」「スクショ撮った」で起動。 Do NOT use for: 画像生成(shogun-imagegenを使え)。
Trending
Quiet since October.about the whole repository
Who's talking about yohey-w/multi-agent-shogun
- A Hacker News story“Show HN: Multi-agent-shogun – tmux and YAML mailbox for parallel AI agents”Hacker News · Feb 10, 2026 · 3 points
- @yukotan.bsky.social“これのコミット履歴みてるだけでご飯三杯いける。 GitHub - yohey-w/multi-agent-shogun: Samurai-inspired multi-agent system for Claude …”Bluesky · Feb 13, 2026 · 1 likes
- sudosubin/agents.nix“agent-skills.github.yohey-w.multi-agent-shogun: init at 5.2.0”GitHub · Oct 3, 2026
- dashi296/shogun“Stop/SessionStart フックによるエージェント自発停止の防止(自律実行の構造的担保)”GitHub · Jun 12, 2026
- dashi296/shogun“[Epic] multi-agent-shogun からの機能取り込み(cmd_004 調査)”GitHub · Jun 11, 2026
The biggest 5 of 16 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 16
Talked about on GitHub, Bluesky and Hacker News (16 times).
On GitHub · 13
- Oct 3, 2026agent-skills.github.yohey-w.multi-agent-shogun: init at 5.2.0 — sudosubin/agents.nix0 reactions
- Jun 12, 2026Stop/SessionStart フックによるエージェント自発停止の防止(自律実行の構造的担保) — dashi296/shogun0 reactions
- Jun 11, 2026[Epic] multi-agent-shogun からの機能取り込み(cmd_004 調査) — dashi296/shogun0 reactions · 1 comment
- Jun 11, 2026プロジェクト管理(projects.yaml)によるコンテキスト分離 — dashi296/shogun0 reactions
- Jun 11, 2026スキルシステム(Bottom-Up Skill Discovery) — dashi296/shogun0 reactions
8 more on GitHub
- Jun 11, 2026Agent Self-Watch(3 段階エスカレーション自動復旧) — dashi296/shogun0 reactions
- Jun 11, 2026Memory MCP 統合(クロスセッション永続記憶) — dashi296/shogun0 reactions
- Jun 11, 2026Bloom's Taxonomy によるタスクルーティング — dashi296/shogun0 reactions
- Jun 11, 2026tmux ペインボーダーへの現在タスク表示 — dashi296/shogun0 reactions
- Jun 11, 2026dashboard.md(リアルタイム進捗ボード)の標準化 — dashi296/shogun0 reactions
- May 23, 2026Add zsh support to setup instructions and shell rc updates — hidetomasuoka/multi-agent-shogun0 reactions
- Apr 28, 2026docs(adr): ADR-0008 通知レイヤを能動 fetch 方式へピボット(ADR-0003 部分 Superseded) — diesel141/multi-agent-team0 reactions
- Feb 11, 2026Agent Teams運用改善:multi-agent-shogunのアーキテクチャを参考にした設計検討 — becky3/ai-assistant0 reactions · 3 comments
On Bluesky · 2
- Feb 13, 2026これのコミット履歴みてるだけでご飯三杯いける。 GitHub - yohey-w/multi-agent-shogun: Samurai-inspired multi-agent system for Claude Code. Orchestrate parallel AI… — @yukotan.bsky.social1 likes and repost · 1 reply
- Feb 5, 2026https://github.com/yohey-w/multi-agent-shogun 雖然我是覺得不太值得再花時間調整... 但反正快要週末了(?),就給大家參考看看。 — @gugod.g0v.social.ap.brid.gy0 likes and reposts · 1 reply
On Hacker News · 1
- Feb 10, 2026Show HN: Multi-agent-shogun – tmux and YAML mailbox for parallel AI agents3 points · 1 comment
In this repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- inbox-writeSkill
- shogun-agent-statusSkill
- shogun-bloom-configSkill
- shogun-model-listSkill
- shogun-model-switchSkill
- shogun-readme-syncSkill
- skill-creatorSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Do NOT use for: 画像生成(shogun-imagegenを使え)。 argument-hint: "[url-or-target e.g.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/shogun-screenshot - スクリーンショット取得・加工スキル
North Star(全判断の最上位基準)
このスキルの北極星は記事・報告書のビジュアル品質向上によるコンテンツ差別化。 高品質な画像(マスク済み・適切にトリミング済み)を記事・レポートに挿入することで、 テキスト単体の競合コンテンツとの差別化を実現する。
Input
$ARGUMENTS = 操作対象の指定(URLまたはモードキーワード)
- URL(
https://...)→ Mode 2: Webキャプチャ latest(省略可)→ Mode 1: ローカルスクショ取得- 引数なし → ユーザーの意図に応じて最適なモードを選択
Overview
スクリーンショットの取得・加工を行う。4つのモードがある:
- ローカル取得: ユーザーのスクショフォルダから最新画像を取得
- Webキャプチャ: URLを指定してPlaywright MCPでページをキャプチャ
- トリミング: 既存画像の一部を切り出し・リサイズ
- マスキング: 機微情報(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: ローカルスクショ取得(複数パスフォールバック)
手順:
- config/settings.yaml から
screenshot.paths配列を読む - 優先順に各パスを探索:
a.
ls <path>でディレクトリ存在を確認(存在しなければ次へ) b. 存在するパスでls -lt <path>/*.png <path>/*.jpg 2>/dev/null | head -5で最新画像を取得 - 最も新しい画像ファイルを Read ツールで表示
- 複数パスに画像がある場合、全パスの最新を比較して最も新しいものを表示
ヘルパースクリプト (全パスを自動探索):
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)
- Playwright MCP の
playwright_navigateでURLに遷移 playwright_screenshotでキャプチャ- fullPage: true(ページ全体)
- selector: 指定(要素のみ)
- savePng: true, downloadsDir: 保存先
- 保存されたPNGのパスを返す
Mode 3: トリミング
- 対象画像のパスを受け取る
- Python (PIL/Pillow) でトリミング実行
- トリミング後の画像を保存
python3 skills/shogun-screenshot/scripts/trim_image.py \
--input /path/to/image.png \
--output /path/to/trimmed.png \
--crop "x1,y1,x2,y2"オプション: --resize "width,height" でリサイズも同時に行える。
Mode 4: 機微情報マスキング
スクショ内のAPIキー、トピック名、個人情報等を矩形で黒塗りする。
# 単一領域
python3 skills/shogun-screenshot/scripts/mask_sensitive.py \
--input /path/to/image.png \
--output /path/to/masked.png \
--regions "100,50,400,80"
# 複数領域
python3 skills/shogun-screenshot/scripts/mask_sensitive.py \
--input /path/to/image.png \
--output /path/to/masked.png \
--regions "100,50,400,80" "500,200,800,230"
# 位置確認(赤枠プレビュー、塗りつぶさない)
python3 skills/shogun-screenshot/scripts/mask_sensitive.py \
--input /path/to/image.png \
--output /path/to/preview.png \
--regions "100,50,400,80" --previewオプション:
--color "R,G,B"— 塗りつぶし色(デフォルト: 黒0,0,0)--preview— 赤枠表示のみ(塗りつぶさない。座標確認用)
手順:
- Read ツールで画像を確認し、マスクすべき領域を特定
--previewで座標が正しいか確認- プレビューOKなら
--previewを外して実行
Guidelines
- APIキーや認証情報を画像に含めないよう注意。公開前に必ず Mode 4 でマスキング
- Playwright MCPが利用不可の場合は、ローカルモードのみで動作
- 大量のスクショを一度に処理する場合は、バッチ処理スクリプトを使用
- トリミング・マスキング座標は左上(0,0)基準のピクセル値
- 保存先のデフォルト: プロジェクトの images/ ディレクトリ
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

