AGENT SKILL

doctor

Check whether Trojaino is installed, enabled and able to execute its protection hooks. Use after installing, updating or migrating Trojaino, or when a hook fails.

License 许可
AGPL-3.0
最近更新
2026-10-30
Stars
★ 3
Forks
0

01 前言 Front Matter

name
doctor
description
Check whether Trojaino is installed, enabled and able to execute its protection hooks. Use after installing, updating or migrating Trojaino, or when a hook fails.
disable-model-invocation
true

03 SKILL.md 正文

Run this offline readiness check with the native launcher. On Windows, use PowerShell:

powershell.exe -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Bypass -File "${CLAUDE_PLUGIN_ROOT}/scripts/launch.ps1" doctor

On macOS/Linux (or in Git Bash on Windows):

sh "${CLAUDE_PLUGIN_ROOT}/scripts/launch.sh" doctor

Report its status, then any actions. A registered hook or an enabled plugin alone is not proof of readiness. Do not say Ready unless the command returned Ready. The check scans a harmless synthetic fixture as data, never executes its script, never installs software, and makes no registry request.

The launcher diagnoses missing, outdated or unusable Python before running the Python check. If even the native launcher cannot start, report Needs attention and its error. Link to https://github.com/BlockhouseSoftware/trojaino/blob/main/docs/plugin-installation.md for the OS-specific Python setup, then ask the user to restart Claude Code and repeat this check. Do not install a runtime or change settings automatically.

If legacy hooks or another Trojaino plugin are reported, explain the named migration action. Never delete unrelated hooks or settings. After migration, restart Claude and run this check again.

04 同仓库更多 Skills