smithery/krakend

runtime-detector

Detects the optimal way to run KrakenD (native binary vs Docker) and provides correct execution commands

Installation

$ npx skills add smithery/krakend --skill runtime-detector

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

LicenseApache-2.0
CompatibilityRequires KrakenD MCP Server
More metadata
author
krakend

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,208 B
  • docs SUMMARY.md 128 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

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:

  1. Call detectruntimeenvironment tool with the config file path
  2. Use the recommendations array from the response (ordered by priority)
  3. Use command_template from priority=1 recommendation
  4. If Docker needed, use recommended_image field for the image name

Common hallucinations to avoid:

  • ❌ devopsfaith/krakend (outdated)
  • ❌ krakend:latest without checking
  • ❌ krakend/krakend:version (wrong format)
  • ✅ Use exactly what detectruntimeenvironment returns

What the tool returns

  • hasnativekrakend: Whether native binary is installed
  • has_docker: Whether Docker is available
  • recommended_image: Correct Docker image (e.g., krakend:2.8 or krakend/krakend-ee:2.8)
  • recommendations: Array of execution options with command_template ready to use
  • is_enterprise: Whether config uses EE features

Example Interaction

User: "Run my krakend.json" Response: Call detectruntimeenvironment, then provide the command from command_template. Explain if using native or Docker and why.

Integration

  • After config-validator validates successfully → Offer to run with this skill
  • After config-builder creates config → Offer to test run
  • If user needs to validate first → Hand off to config-validator