runtime-detector
Skill3 starsChanged 11 months agoApache-2.0View on GitHub
Detects the optimal way to run KrakenD (native binary vs Docker) and provides correct execution commands
In this repository4 other files it gives its agents.
- config-builderSkill
- config-validatorSkill
- feature-explorerSkill
- security-auditorSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 1 is distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
NEVER invent Docker images or commands: Always follow this process:
- Very specific: line 25
Call detect_runtime_environment tool with the config file path
- Very specific: line 26
Use the recommendations array from the response (ordered by priority)
- Very specific: line 27
Use command_template from priority=1 recommendation
- Very specific: line 28
If Docker needed, use recommended_image field for the image name
- Very specific: line 45
Response: Call detect_runtime_environment, then provide the command from command_template.
- Very specific: line 48
After config-validator validates successfully → Offer to run with this skill
- Very specific: line 49
After config-builder creates config → Offer to test run
- Very specific: line 50
If user needs to validate first → Hand off to config-validator
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

