Azure Screenshot Mask logo

Azure Screenshot Mask

Community
aktsmm
azure-screenshot-mask

Mosaic environment-sensitive areas (tenant name, user avatar, subscription name / ID, resource group, internal hostnames) on Azure Portal screenshots before publishing to blogs, Qiita, Medium, slides, or demos. Use when sanitizing screenshots, masking env info, or preparing portal captures for public sharing. Keywords: Azure Portal, screenshot, mask, mosaic, sanitize, tenant, subscription, public publishing, blur, redact.

Overview

Publisheraktsmm
RepositoryAgent-Skills
Skill nameazure-screenshot-mask
Stars
27
Forks
5
Bundled files
2
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by aktsmm on GitHub. Read the source before you install it.

Installation

Install the Azure Screenshot Mask AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/aktsmm/Agent-Skills/tree/master/azure-screenshot-mask
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/aktsmm/Agent-Skills.git /tmp/Agent-Skills
mkdir -p .claude/skills
cp -r /tmp/Agent-Skills/azure-screenshot-mask .claude/skills/azure-screenshot-mask
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Azure Screenshot Mask in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Azure Screenshot Mask on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Azure Screenshot Mask is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Azure Screenshot Mask

Azure Portal のスクリーンショットに残る環境固有情報を、公開前にまとめてモザイクで消すための skill。

When To Use

  • Azure Portal のスクリーンショットをブログ、Qiita、Medium、note、社外スライド、デモ動画に載せる前
  • 同じテナントや顧客環境で連続して撮ったキャプチャを、一気にサニタイズしたいとき
  • 「本文では伏せたのに画像内に名前が残っていた」を防ぎたいとき

Core Principles

  • 本文を伏せても画像内に残れば公開情報になる。画像を別レビューで必ず目視する
  • 右上のテナント表示はほぼ常に対象。viewport 1912 px の Azure Portal なら右端 (W-320, 0, W, 44) のストリップで覆える
  • 本文中の subscription 名 / ID / RG 名は座標が画面ごとに違う。事前に値の有無を見て、必要な領域だけ追加で渡す
  • モザイクは元データを破壊する。再撮りや再生成に備えて .bak.png を残せる手段を用意する
  • 資源名そのものもマスク対象になりうる。ラボ用に作った短命リソース名でも、ユニークな文字列は特定可能。本文で明示していても、画像内では先頭数文字だけ残してマスクするのが安全

What To Mask (Checklist)

公開前に最低限見るリスト。残っていればモザイクをかけるか撮り直す。

  • 右上のテナント表示 (組織名、user の頭文字アバター)
  • サブスクリプション名 (例: *-sub、顧客名入りの命名)
  • サブスクリプション ID (GUID。Portal の "リソース ID" や "サブスクリプション ID" 欄に出る)
  • テナント ID (GUID。Entra ID 関連画面で見える)
  • リソースグループ名 (内部コードや顧客プロジェクト名を含む場合)
  • 個人ユーザーの UPN / メールアドレス
  • 内部ホスト名 / FQDN / Private IP / Public IP
  • アカウント表示の onmicrosoft ドメイン
  • リソース名(Storage Account 名、task 名、assignment 名など)ユニークな文字列は先頭数文字だけ残してマスクする

Default Workflow

  1. 対象画像を 1 フォルダにまとめる

    • 記事に貼る画像を images/<platform>/<article>/ 配下に集約しておく
    • 同じ Portal 解像度 (viewport 幅) で揃っていると、領域指定を使い回せる
  2. 右上テナント帯だけでよいか確認する

    • フォルダ内の代表 1 枚を開き、右上の組織表示・アバターだけが env-sensitive か確認する
    • 本文側に subscription 名 / ID / RG 名が見えていれば、その行も対象にする
  3. モザイクをかける

    powershell
    # フォルダ内の PNG 全部に対し、右上テナント帯だけ覆う
    python <skill-path>/scripts/mosaic-azure-screenshots.py images/qiita/<article>
    
    # 単一画像 + 追加領域(例: 概要画面のサブスクリプション名 / ID 行)
    python <skill-path>/scripts/mosaic-azure-screenshots.py images/qiita/<article>/overview.png `
      --region 450,277,740,304 `
      --region 450,308,920,335
    
    # 元画像を保険として残したい
    python <skill-path>/scripts/mosaic-azure-screenshots.py images/qiita/<article> --backup
  4. 目視で検証する

    • 上記チェックリスト項目が読めなくなっているか、画像ビューアで確認する
    • 1 枚でも残っていれば、その画面だけ --region を足して再実行する
  5. 記事側のテキストも合わせて整える

    • 本文に <顧客名>-sub のような subscription 名や顧客固有名が出ていたら削除する
    • 「環境固有情報はスクリーンショット上でマスクしています」のような 1 行を入れておくと、読者が画像のモザイクを誤読しない

Script

CLI は scripts/mosaic-azure-screenshots.py を使う。引数、依存関係、OCR fallback、赤枠注釈は Advanced Azure Screenshot Masking を必要時に読む。

OCR Fallback

静的な --region が外れる場合だけOCRで確認済み文字列のbboxを取得し、対象boxをマスクする。実装例は Advanced Azure Screenshot Masking を参照する。

OCR-guided Highlight(赤枠注釈)

before / after比較では、確認済みbboxへ赤枠を付ける。マスク用途と混同せず、1画像2〜3箇所に絞る。実装例は Advanced Azure Screenshot Masking を参照する。

Tips

  • viewportを揃え、代表画像で決めた座標を再利用しても全画像を目視する。
  • 単発の塗りつぶしで済む場合は通常の画像注釈ツールを使う。詳細は Advanced Azure Screenshot Masking を参照する。
  • 対象は Azure Portal キャプチャ。本文のサニタイズや pcap 由来の画像は対象外。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Azure Screenshot Mask AI skill do?

Mosaic environment-sensitive areas (tenant name, user avatar, subscription name / ID, resource group, internal hostnames) on Azure Portal screenshots before publishing to blogs, Qiita, Medium, slides, or demos. Use when sanitizing screenshots, masking env info, or preparing portal captures for public sharing. Keywords: Azure Portal, screenshot, mask, mosaic, sanitize, tenant, subscription, public publishing, blur, redact.

Why use Azure Screenshot Mask on TypingMind?

Because you install it once and use it with any model. Azure Screenshot Mask is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Azure Screenshot Mask in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/aktsmm/Agent-Skills/tree/master/azure-screenshot-mask. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Azure Screenshot Mask?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Azure Screenshot Mask?

As many as you like. As long as a model supports skills, you can use Azure Screenshot Mask with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Azure Screenshot Mask AI skill free?

It is published on GitHub by aktsmm. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇