Skip to main content

Scanner quick start

plugin-scanner is the maintainer and CI-facing quality suite inside hashgraph-online/ai-plugin-scanner.

Use it after a plugin is scaffolded and before release, registry ingestion, or GitHub review.

InstallDirect link to Install

pip install plugin-scanner

For isolated shells:

pipx install plugin-scanner

Optional Cisco-backed MCP analysis is available on supported Python versions:

pip install "plugin-scanner[cisco]"

First passDirect link to First pass

plugin-scanner lint .
plugin-scanner verify .
plugin-scanner scan . --format json

Add online probing when you want runtime endpoint validation:

plugin-scanner verify . --online

Use doctor when you want targeted diagnostics and a bundle you can attach to support or CI output:

plugin-scanner doctor . --component mcp --bundle dist/doctor.zip

Supported ecosystemsDirect link to Supported ecosystems

plugin-scanner --list-ecosystems

Current built-in ecosystem adapters:

  • Codex
  • Claude Code
  • Gemini CLI
  • OpenCode

Detection surfaces:

EcosystemDetection surfaces
Codex.codex-plugin/plugin.json, marketplace.json, .agents/plugins/marketplace.json
Claude Code.claude-plugin/plugin.json, .claude-plugin/marketplace.json
Gemini CLIgemini-extension.json, commands/**/*.toml
OpenCodeopencode.json, opencode.jsonc, .opencode/commands, .opencode/plugins

Core commandsDirect link to Core commands

CommandPurpose
scanweighted repository or plugin scan with policy evaluation
lintrule-level findings, --list-rules, --explain, and safe autofix support
verifyruntime and install-surface readiness checks, with optional --online probing
submitscan + verify + policy gate that emits a plugin-quality artifact
doctortargeted diagnostics and troubleshooting bundles

Repository modeDirect link to Repository mode

If your repository uses a Codex marketplace root like .agents/plugins/marketplace.json, keep plugin_dir: ".". The scanner will discover local ./plugins/... entries automatically, scan each local plugin manifest, and skip remote marketplace entries instead of treating the repository root as one plugin.

What it checksDirect link to What it checks

plugin-scanner currently covers:

  • plugin manifests and marketplace metadata
  • MCP stdio and remote HTTP verification
  • skills, assets, and .app.json surfaces
  • security posture such as secrets, dangerous commands, action pinning, and lockfiles
  • trust provenance for skills, MCP configuration, and top-level plugin packages

Next guidesDirect link to Next guides