runtime-installer

runtime-installer is a skill for Claude Code, Codex from lfyxhappy/lfcode. It costs 69 tokens per session (368 once invoked), scanned A, original, MIT.

A setup guide for repairing or installing the local runtimes managed by Lfcode, including Python, C++, Java, FFmpeg, and a voice recorder. A runtime is the software environment needed to run a program or tool.

In plain words
What is it for?
Use it when an Lfcode dependency is missing, damaged, or unusable. It can inspect runtime status and logs and handle only the runtime types listed as supported.
Why use it?
It replaces ad-hoc installation steps with the application's supported runtime manager. It first checks the current state, then installs or repairs a supported runtime and retries the original task.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when an Lfcode dependency is missing, damaged, or unusable. It can inspect runtime status and logs and handle only the runtime types listed as supported.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lfyxhappy/lfcode/runtime-installer
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 lfyxhappy/lfcode --skill runtime-installer
Clone the repo
git clone --depth 1 https://github.com/lfyxhappy/lfcode

Made for: Claude Code, Codex.

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 runtime-installer

README.md
[![agentmods](https://agentmods.dev/badge/skills/lfyxhappy/lfcode/runtime-installer/github.svg)](https://agentmods.dev/skills/lfyxhappy/lfcode/runtime-installer)
Your own site
<a href="https://agentmods.dev/skills/lfyxhappy/lfcode/runtime-installer"><img src="https://agentmods.dev/badge/skills/lfyxhappy/lfcode/runtime-installer/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 runtime-installer

Your own site · 80×15
<a href="https://agentmods.dev/skills/lfyxhappy/lfcode/runtime-installer"><img src="https://agentmods.dev/badge/skills/lfyxhappy/lfcode/runtime-installer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 368 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.00069 $0.00368
Opus 5.5 $0.00028 $0.00147
Sonnet 5.5 $0.00014 $0.00074
Haiku 4.5 $0.00007 $0.00037

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

Security

Grade A, and why

runtime-installer 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 1mo 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.

packages/lfcode/src/skill/lfcode/.bundle/runtime-installer/SKILL.md · 35 lines

What it actually says

Lfcode Runtime Installer

Use this skill when the task is about making Lfcode's own local runtimes usable again.

Scope

This skill is for the runtimes Lfcode already manages:

  • python-managed
  • voice-recorder
  • ffmpeg
  • cpp-compiler
  • java-runtime
  • java-sdk

Required workflow

  1. First call runtime_manage with action="list" to inspect the current runtime state.
  2. If the needed runtime is missing and supports managed install, call runtime_manage with action="install" and the matching id.
  3. If the runtime already exists but appears damaged or incomplete, call runtime_manage with action="repair" and the matching id.
  4. After install or repair, retry the original tool or user task.
  5. If you need recent evidence, call runtime_manage with action="logs".

Guardrails

  • Prefer runtime_manage over ad-hoc shell installers or manual PATH editing.
  • Do not download third-party runtime archives through bash when the managed runtime registry already supports the item.
  • If the requested runtime is outside the supported list, say that clearly and do not pretend it is managed.
  • When the user explicitly asks to fix Python/pip/C++/Java/recorder/FFmpeg for Lfcode itself, this skill should be used.
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. 1mo ago First seen · 35 lines · 69 tokens per session scan A b7104fa4666d

Subscribe to this mod's changes

runtime-installer is a skill published in the GitHub repository lfyxhappy/lfcode (2 stars, last pushed 26d ago), licensed MIT. It adds 69 tokens to every session and 368 once invoked, about $0.0003 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-05.