スキル一覧に戻る
Nilhan-DeMel

kingsman-inspector

by Nilhan-DeMel

VS Code extension for quick Google keyword searches

0🍴 0📅 2026年1月16日
GitHubで見るManusで実行

SKILL.md


name: kingsman-inspector description: Repository inspection, category classification, risk scanning, and conversion planning

Kingsman Inspector

A backend skill for Kingsman that analyzes repositories for skill compatibility and safety.

Purpose

Inspect any GitHub repository and:

  • Classify as A (already skill), B (convertible), or C (not suitable)
  • Generate confidence score and explanation
  • Scan for security risks (binaries, scripts, suspicious patterns)
  • Create conversion plan for Category B repos

Usage

CLI Interface

node index.js inspect --repo "owner/repo" --pat $GITHUB_PAT

Input Arguments

ArgumentRequiredDescription
--repoYesRepository in "owner/repo" format
--patNoGitHub Personal Access Token

Output (JSON to stdout)

{
  "id": "owner/repo",
  "category": "A|B|C",
  "confidence": 85,
  "explanation": "Repository contains valid SKILL.md at root",
  "skills": [
    {"path": ".", "name": "skill-name", "description": "..."}
  ],
  "conversionPlan": {
    "proposedName": "converted-skill",
    "keep": ["src/", "README.md"],
    "ignore": ["tests/", ".github/"],
    "dependencies": ["node"],
    "skillMdProposal": "---\nname: ...\ndescription: ...\n---"
  },
  "riskReport": {
    "level": "low|medium|high",
    "binaries": ["path/to/file.exe"],
    "scripts": ["install.sh"],
    "suspiciousPatterns": [],
    "npmHooks": ["postinstall"]
  }
}

Classification Rules

Category A: Already a Skill

  • SKILL.md exists at repo root
  • OR SKILL.md exists in .agent/skills/, .claude/skills/, .github/skills/

Category B: Convertible

  • Has clear README with purpose
  • Has permissive license or no license
  • Contains code/scripts that could be wrapped
  • Not binary-only

Category C: Not Suitable

  • Binary-only repository
  • No clear purpose
  • Highly specialized/complex with no documentation

Risk Levels

  • Low: No binaries, no dangerous scripts, no npm hooks
  • Medium: Has scripts or npm hooks
  • High: Binaries present, suspicious patterns, or dangerous commands

Dependencies

  • Node.js 18+
  • GitHub API access

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です