runner-selection

runner-selection is a skill for Claude Code from gerard-labs/superpowers-api-platform. It costs 159 tokens per session (803 once invoked), scanned A, original, MIT.

A method for detecting how a Symfony project should run commands: directly on the host, through DDEV, Make, Symfony Docker, or Docker Compose. It chooses the project’s existing command wrapper and environment.

In plain words
What is it for?
Use it before running application, test, console, or CI commands in projects with different local setups.
Why use it?
It avoids commands failing because they were run outside the containers or tools the project expects.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the gerard plugin — 53 skills, 25 commands, 7 agents, 1 hook shipped together

Good fit Use it before running application, test, console, or CI commands in projects with different local setups.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gerard-labs/superpowers-api-platform/runner-selection
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add gerard-labs/superpowers-api-platform --skill runner-selection
Clone the repo
git clone --depth 1 https://github.com/gerard-labs/superpowers-api-platform

Made for: Claude Code.

Or install gerard, the plugin that ships this one along with the rest of its 53 skills, 25 commands, 7 agents, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for runner-selection

README.md
[![agentmods](https://agentmods.dev/badge/skills/gerard-labs/superpowers-api-platform/runner-selection/github.svg)](https://agentmods.dev/skills/gerard-labs/superpowers-api-platform/runner-selection)
Your own site
<a href="https://agentmods.dev/skills/gerard-labs/superpowers-api-platform/runner-selection"><img src="https://agentmods.dev/badge/skills/gerard-labs/superpowers-api-platform/runner-selection/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for runner-selection

Your own site · 80×15
<a href="https://agentmods.dev/skills/gerard-labs/superpowers-api-platform/runner-selection"><img src="https://agentmods.dev/badge/skills/gerard-labs/superpowers-api-platform/runner-selection.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 159 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 803 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00159 $0.00803
Opus 5.5 $0.00064 $0.00321
Sonnet 5.5 $0.00032 $0.00161
Haiku 4.5 $0.00016 $0.00080

Measured 3mo ago against content hash 0b7ff61c0064, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

runner-selection scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/runner-selection/SKILL.md · 49 lines

How it starts

The opening of the file, as written. The whole thing — 49 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Runner Selection (Symfony)

Use when

  • The session-start hook output is unavailable (manual claude invocation, fresh repo).
  • You need to verify which runner the hook picked.
  • A command works locally but fails because the host environment differs from Docker.
  • The project uses a Makefile-driven workflow (make console, make tests) and you need to know which target to call.

Default workflow

  1. From composer.json (the active app), walk up to the orchestration root — the first parent dir with a Makefile, Makefile-solution, compose.yaml, compose.yml, docker-compose.yml, docker-compose.yaml, or .ddev/. Stop at .git/.
  2. At that root, detect in this priority order:
    • .ddev/ → DDEV
    • Makefile with console / tests / ci targets → Make (most common in agency boilerplates)
    • compose.yaml mentioning frankenphp / dunglas/symfony-docker / caddy → Symfony Docker
    • Any other compose file → generic Compose
    • Otherwise → host
  3. Build the prefix from the prefix table in reference.md.
  4. For Make projects, prefer make <target> over the raw Docker invocation — the target already wraps the right docker compose run --rm or exec call with the right COMPOSE_FILE and env files.

Guardrails

  • Always detect before running; never assume host.
  • A compose.yaml present but no service running ≠ host. Suggest make up (if Make), ddev start (if DDEV), or docker compose up -d (otherwise).
  • For multi-service compose (php + database + redis), the relevant service is usually php or app. Inspect docker compose config --services.
  • For Make projects with a Makefile-solution file, never add new targets to Makefile (framework file, regenerated from the boilerplate). Add to Makefile-solution instead — see skill gerard:makefile-discipline.

Progressive disclosure

  • This file covers the detection logic.
  • reference.md covers the full prefix table per runner, Make convention, monorepo walking, and edge cases.

Read the full file on GitHub · 49 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 49 lines · 159 tokens per session scan A 0b7ff61c0064

Subscribe to this mod's changes

runner-selection is a skill published in the GitHub repository gerard-labs/superpowers-api-platform (2 stars, last pushed 6mo ago), licensed MIT. It adds 159 tokens to every session and 803 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

runner-selection compared with skills from other repositories

runner-selection next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
runner-selectiongerard-labs/superpowers-api-platformSkill26mo agoMITA159Claude Code
update-docker-imagestarlepp/symfony-flex-backendSkill286yesterdayMITA33Claude Code, Codex
runner-selectiondev-toolings/superpowers-symfonySkill23622d agoMITA26Claude Code
mirrord-kafkametalbear-co/mirrordSkill5.4ktodayMITA189Claude Code
mirrord-propagation-discoverymetalbear-co/mirrordSkill5.4ktodayMITA273Claude Code
maintain-development-toolingtarlepp/symfony-flex-backendSkill286yesterdayMITA38Claude Code, Codex
maintain-repository-scriptstarlepp/symfony-flex-backendSkill286yesterdayMITA29Claude Code, Codex