Skip to content

Reverse Engineering / Authorized Penetration Testing / Security Research Skill Router Pack AI-powered routing + On-demand toolchain bootstrapping + Self-evolving knowledge base Supports Claude Code, Kiro, Cursor, Cline, and other AI coding clients 逆向/渗透/安全技能路由包 - AI 自动路由 + 按需自举工具链 + 自动进化经验库 | 支持 Claude Code / Kiro / Cursor / Cline 等代码 AI 客户端

Shell
985 B
Raw Blame
<#
.SYNOPSIS
Refresh the local reverse-skill tool index.

.DESCRIPTION
Root-level compatibility wrapper. The real implementation lives at:
  skills/scripts/refresh-tool-index.ps1

This wrapper keeps older README commands working while preserving the canonical
script location under skills/scripts/.
#>

[CmdletBinding()]
param(
    [string]$OutputMarkdown,
    [string]$OutputJson
)

$ErrorActionPreference = 'Stop'

$repoRoot = Split-Path -Parent $PSScriptRoot
$target = Join-Path $repoRoot 'skills\scripts\refresh-tool-index.ps1'

if (-not (Test-Path -LiteralPath $target)) {
    throw "Missing canonical refresh script: $target"
}

$argsToForward = @()
if (-not [string]::IsNullOrWhiteSpace($OutputMarkdown)) {
    $argsToForward += @('-OutputMarkdown', $OutputMarkdown)
}
if (-not [string]::IsNullOrWhiteSpace($OutputJson)) {
    $argsToForward += @('-OutputJson', $OutputJson)
}

& powershell.exe -NoProfile -ExecutionPolicy Bypass -File $target @argsToForward
exit $LASTEXITCODE