KyoshinEewViewerIngen: Skill for Claude Code

.claude/skills/kevi-ui-tests/SKILL.md

kevi-ui-tests is a skill for Claude Code from ingen084/KyoshinEewViewerIngen. It costs 133 tokens per session (2,491 once invoked), scanned A, original, MIT.

A procedure for running and maintaining UI tests for the KyoshinEewViewer application. UI tests operate the real screens in a headless Avalonia environment, which runs the interface without displaying a normal window.

In plain words
What is it for?
It helps test setup screens, theme editing, alerts, settings, automatic updates, and recovery from network interruptions or WebSocket disconnections.
Why use it?
It gives developers a consistent way to run these tests and investigate failures, including checks that the test code makes no external network connections.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

This is ingen084/KyoshinEewViewerIngen's own configuration. It tells Claude Code how to work on KyoshinEewViewerIngen itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything KyoshinEewViewerIngen configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash tests/UiTests/run.sh # Linux (.NET 10 SDK・Python 3・iproute2・util-linux が必要).

Reuse

Borrowing it

Nothing to install: this file belongs to ingen084/KyoshinEewViewerIngen. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ingen084/KyoshinEewViewerIngen/develop/.claude/skills/kevi-ui-tests/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ingen084/KyoshinEewViewerIngen

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 kevi-ui-tests

README.md
[![agentmods](https://agentmods.dev/badge/skills/ingen084/kyoshineewvieweringen/kevi-ui-tests/github.svg)](https://agentmods.dev/skills/ingen084/kyoshineewvieweringen/kevi-ui-tests)
Your own site
<a href="https://agentmods.dev/skills/ingen084/kyoshineewvieweringen/kevi-ui-tests"><img src="https://agentmods.dev/badge/skills/ingen084/kyoshineewvieweringen/kevi-ui-tests/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 kevi-ui-tests

Your own site · 80×15
<a href="https://agentmods.dev/skills/ingen084/kyoshineewvieweringen/kevi-ui-tests"><img src="https://agentmods.dev/badge/skills/ingen084/kyoshineewvieweringen/kevi-ui-tests.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 133 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,491 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.
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.00133 $0.02491
Opus 5.5 $0.00053 $0.00996
Sonnet 5.5 $0.00027 $0.00498
Haiku 4.5 $0.00013 $0.00249

Measured today against content hash 739f49944fdf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

kevi-ui-tests 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 today.

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.

.claude/skills/kevi-ui-tests/SKILL.md · 76 lines

How it starts

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

KEViのUIテスト

Instructions

対象

実際のAXAML画面と通常のViewModelをAvalonia Headlessで操作する、小規模な回帰テスト。コンストラクターを省略したりprivateフィールドを書き換えたりしない。対象は初期設定ウィザード、テーマ編集画面、緊急地震速報パネル、災危通報の詳細表示、設定画面からの自動更新、電文の受信 (回線断・dmdataの障害からの復旧)。

自動更新のテストは、更新確認からLinux向けの自己更新処理 (展開・実行権限の付与・旧バージョンの終了を待って置き換え、起動するスクリプト) までを実際に動かす。旧バージョンのプロセスにはsleepを使い、アプリケーションの終了だけを差し替える。単一ファイル形式の実行ファイルでの更新は tests/IntegrationTest の結合テストで確認する。

実行

bash tests/UiTests/run.sh                 # Linux (.NET 10 SDK・Python 3・iproute2・util-linux が必要)
pwsh tests/UiTests/run.ps1                # Windows (WSL の Ubuntu-22.04 で run.sh を動かす)
pwsh tests/UiTests/run.ps1 -Filter 'FullyQualifiedName~TelegramRecovery'   # 一部だけ
  • --filter / -Filter は dotnet test のフィルタ。指定した場合は通信禁止の失敗検査を省くので、仕上げには全体を実行する
  • --skip-build / -SkipBuild はビルド済みの同じソースを再検査するときだけ使う
  • WSL 側の dotnet が .NET 10 でない場合は --dotnet / -DotnetPath で実行ファイルを指定する
  • 結果は tmp/ui-tests/<日時>-<PID>/ の TRX と audit/network-audit.json
  • 通常の dotnet test で直接実行すると隔離の確認で失敗する。条件を満たさないときに黙ってスキップはしない
  • CI は .github/workflows/ui-tests.yml (pull_request で Linux の1ジョブ)。macOS のジョブは追加しない
  • Claude から実行するときは PowerShell ツールで run.ps1 を呼ぶ。Bash ツール (Git Bash) から wsl.exe に /mnt/... などのパスを渡すと C:/Program Files/Git/mnt/... に変換されるため、MSYS_NO_PATHCONV=1 を付ける

通信禁止の要点

  • テスト対象は、ループバックしかない別のLinuxネットワーク名前空間で実行する。UIテストで設定を有効にしても外部へ接続できない
  • 専用のApplicationは共通スタイルと画面だけを初期化する。本番のサービス登録・受信開始・Sentry初期化は呼ばない。HOMEは実行ごとの一時プロファイル
  • HTTPはテスト用のハンドラー (FixtureHttpHandler、電文のテストでは SimulatedTelegramNetwork) が応答を生成する。未登録の要求・DNS解決・IPソケット接続は監査 (OfflineNetworkAttribute) で検出し、アプリが例外を捕捉してもテストを失敗させる。テストの前後に発生した要求もアセンブリ終了時に検査する
  • 全体の実行では、通常のテストのあとに「未登録のテスト用HTTP要求」「直接作成したHttpClient」「DNS」「IPソケット」の4つの失敗検査を各1プロセスで実行し、監査で失敗することを確かめる

仕組みの詳細 (名前空間の作り方、EventSource、子プロセスの扱い) は references/isolation.md。

テストを追加するとき

  • [AvaloniaFact] で実際の画面と通常のViewModelを作る。画面は必ず finally で閉じ、静的なテーマ選択等も復元する
  • 実時間のタイマーやバックグラウンド処理は Ui.WaitUntilAsync で待つ (UIスレッドのジョブとアニメーションを進めながら待つ)。クリックは Ui.Click を使う (ヘッドレス環境では表示が変わった直後のボタンが反応しないことがあり、押されるまで押し直す)
  • 数秒〜数分後に動くタイマーは、本体側で TimeProvider を受け取れるようにし、ManualTimeProvider で進める。タイマーは非同期の処理のあとに予約されることがあるため、まとめて進めずに条件を満たすまで1秒ずつ進める
  • HTTPが必要なサービスには new HttpClient(new FixtureHttpHandler()) を渡して応答を事前登録する。HTTP以外の入力は保存済みデータ・模擬受信・固定時計に差し替える
  • テストデータのURLは名前解決できない改変ホスト (*.fixture.invalid など。CLAUDE.md の「テストデータのURL規則」)
  • 通信設定をOFFにするだけで禁止を実現しない。サービスを追加して要求が漏れると、名前空間で外部接続が止まり、監査でテストが失敗する
  • 原版の観測結果を期待値に使う場合も、維持したい仕様かを確認する。調査時の不具合を正解として固定しない

Read the full file on GitHub · 76 lines

Files

What ships with it

1 file 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. today First seen · 76 lines · 133 tokens per session scan A 739f49944fdf

Subscribe to this mod's changes

kevi-ui-tests is a skill published in the GitHub repository ingen084/KyoshinEewViewerIngen (197 stars, last pushed yesterday), licensed MIT. It adds 133 tokens to every session and 2,491 once invoked, about $0.0005 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-11-06.

Related

kevi-ui-tests compared with skills from other repositories

kevi-ui-tests next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
kevi-ui-testsingen084/KyoshinEewViewerIngenSkill197yesterdayMITA133Claude Code
field-testcyanheads/earthquake-mcp-serverSkill32d agoApache-2.0D106Claude Code
verify-omnigentomnigent-ai/omnigentSkill11kyesterdayApache-2.0A100Claude Code, Codex
test-masterJeffallan/claude-skillsSkill12k7d agoMITA104Claude Code
eval-dataset-designbojieli/ai-agent-bookSkill57k29d agoApache-2.0A138Claude Code, Codex
dogfoodcallstack/agent-deviceSkill5.3kyesterdayMITA55Claude Code
test-warp-uiwarpdotdev/warpSkill66kyesterdayAGPL-3.0A55Claude Code