runtime-detector
2
总安装量
2
周安装量
#63270
全站排名
安装命令
npx skills add https://github.com/krakend/claude-code-plugin --skill runtime-detector
Agent 安装分布
openclaw
2
gemini-cli
2
github-copilot
2
codex
2
kimi-cli
2
cursor
2
Skill 文档
Runtime Detector
Purpose
Determines the correct way to execute KrakenD commands by detecting available runtimes and providing ready-to-use commands with the appropriate Docker image or native binary.
When to activate
- User asks to run/start/execute KrakenD: “run krakend”, “start the gateway”, “execute krakend”
- User mentions Docker commands for KrakenD: “docker run krakend”, “which docker image”
- User asks how to run their config: “how do I run this”, “start my config”
- User asks about KrakenD versions or images: “which version”, “what image to use”
CRITICAL: Always Use Runtime Detection
NEVER invent Docker images or commands. Always follow this process:
- Call
detect_runtime_environmenttool with the config file path - Use the
recommendationsarray from the response (ordered by priority) - Use
command_templatefrom priority=1 recommendation - If Docker needed, use
recommended_imagefield for the image name
Common hallucinations to avoid:
- â
devopsfaith/krakend(outdated) - â
krakend:latestwithout checking - â
krakend/krakend:version(wrong format) - â
Use exactly what
detect_runtime_environmentreturns
What the tool returns
has_native_krakend: Whether native binary is installedhas_docker: Whether Docker is availablerecommended_image: Correct Docker image (e.g.,krakend:2.8orkrakend/krakend-ee:2.8)recommendations: Array of execution options withcommand_templateready to useis_enterprise: Whether config uses EE features
Example Interaction
User: “Run my krakend.json”
Response: Call detect_runtime_environment, then provide the command from command_template. Explain if using native or Docker and why.
Integration
- After
config-validatorvalidates successfully â Offer to run with this skill - After
config-buildercreates config â Offer to test run - If user needs to validate first â Hand off to
config-validator