claude-cli-runtime

claude-cli-runtime is a skill for Claude Code, Codex from tornikegomareli/claude-plugin-codex. It costs 36 tokens per session (375 once invoked), scanned A, original, MIT.

An internal helper for handing tasks from Codex to a separate Claude command-line process.

In plain words
What is it for?
It is used behind delegation and recovery workflows, rather than as a direct developer-facing add-on.
Why use it?
It provides the rules needed to start, resume, or run delegated Claude jobs consistently.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit It is used behind delegation and recovery workflows, rather than as a direct developer-facing add-on.

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

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 claude-cli-runtime

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tornikegomareli/claude-plugin-codex/claude-cli-runtime"><img src="https://agentmods.dev/badge/skills/tornikegomareli/claude-plugin-codex/claude-cli-runtime.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 375 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.00036 $0.00375
Opus 5.5 $0.00014 $0.00150
Sonnet 5.5 $0.00007 $0.00075
Haiku 4.5 $0.00004 $0.00038

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

Security

Grade A, and why

claude-cli-runtime 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.

plugins/claude/skills/claude-cli-runtime/SKILL.md · 31 lines

What it actually says

Claude companion runtime contract

This skill defines how a delegation flow invokes the Claude companion script. It applies inside the claude-rescue agent and the @claude rescue command.

Invocation

  • The companion script is scripts/claude-companion.mjs inside the claude plugin's root directory. Always use an absolute path.
  • Use exactly one invocation of the task subcommand per handoff:
node "<plugin-root>/scripts/claude-companion.mjs" task [flags] "<task text>"

Rules

  • Never call setup, review, adversarial-review, plan, implement, status, result, or cancel from a rescue handoff. Those belong to their own slash commands.
  • Map routing controls to companion flags and strip them from the task text:
    • --resume → add --resume-last
    • --fresh → no resume flag
    • --background passes through; --wait means omit --background
    • --model <model|fast> and --max-turns <n> pass through
  • Default to --write unless the request is explicitly read-only (review, diagnosis, research without edits).
  • Only pass --full-auto when the user explicitly asked for unrestricted access.
  • Do not invent extra instructions, wrap the task in your own analysis, or restate repository context Claude can discover itself.
  • Return the companion's stdout verbatim. On failure, return nothing and let the caller surface the error.
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 · 31 lines · 36 tokens per session scan A e8b0a1fbf605

Subscribe to this mod's changes

claude-cli-runtime is a skill published in the GitHub repository tornikegomareli/claude-plugin-codex (9 stars, last pushed 4mo ago), licensed MIT. It adds 36 tokens to every session and 375 once invoked, about $0.0001 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-08-31.

Related

claude-cli-runtime compared with skills from other repositories

claude-cli-runtime next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
claude-cli-runtimetornikegomareli/claude-plugin-codexSkill94mo agoMITA36Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill330k2d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill14kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code