install-codex-agents

install-codex-agents is a skill for Claude Code, Codex from Heapy/kortex. It costs 26 tokens per session (971 once invoked), scanned A, original, Apache-2.0.

A skill that copies Kotlin code-review agents into a Codex agents directory, because Codex cannot load agents directly from a plugin.

In plain words
What is it for?
Use it to install agents that review Kotlin tests, architecture, and binary compatibility.
Why use it?
It makes the plugin's Kotlin review agents available either across the machine or only in one repository.

Skill for Claude CodeCodex

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also agents/openai.yaml present. Also seen: mentions Claude Code; reads ~/.codex paths; mentions Codex.

Part of the kotlin-quality plugin — 2 skills, 3 agents shipped together

Good fit Use it to install agents that review Kotlin tests, architecture, and binary compatibility.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/heapy/kortex/install-codex-agents
View source ↗ Heapy/kortex
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 Heapy/kortex --skill install-codex-agents
Clone the repo
git clone --depth 1 https://github.com/Heapy/kortex

Made for: Claude Code, Codex.

Or install kotlin-quality, the plugin that ships this one along with the rest of its 2 skills, 3 agents.

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 install-codex-agents

README.md
[![agentmods](https://agentmods.dev/badge/skills/heapy/kortex/install-codex-agents/github.svg)](https://agentmods.dev/skills/heapy/kortex/install-codex-agents)
Your own site
<a href="https://agentmods.dev/skills/heapy/kortex/install-codex-agents"><img src="https://agentmods.dev/badge/skills/heapy/kortex/install-codex-agents/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 install-codex-agents

Your own site · 80×15
<a href="https://agentmods.dev/skills/heapy/kortex/install-codex-agents"><img src="https://agentmods.dev/badge/skills/heapy/kortex/install-codex-agents.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 971 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.00026 $0.00971
Opus 5.5 $0.00010 $0.00388
Sonnet 5.5 $0.00005 $0.00194
Haiku 4.5 $0.00003 $0.00097

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

Security

Grade A, and why

install-codex-agents 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 2mo 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/kotlin-quality/skills/install-codex-agents/SKILL.md · 88 lines

How it starts

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

Install Codex Agents

Codex cannot load agents from a plugin. Its plugin.json has no agents field, so a plugin that ships agents has to copy them into a Codex agents directory. This skill does that copy.

This skill is for Codex only. In Claude Code and Junie the same agents ship with the plugin/extension and are already available — say so and stop.

What gets installed

The assets/ directory next to this SKILL.md holds one .toml file per agent:

File Agent
kotlin-test-review.toml judges whether Kotlin tests prove the code works
kotlin-architecture-review.toml judges module split, dependencies, SOLID, and core purity
kotlin-abi-review.toml judges whether a library release breaks binary compatibility

Read the directory rather than trusting this table; the plugin may ship more.

Ask where

Offer two targets. The default is global.

Target Path Effect
global (default) ~/.codex/agents/ available in every project on this machine
project <repo root>/.codex/agents/ available in this repository only, and can be committed

Ask once, in one line, and take the default if the user does not care.

A global install writes outside the workspace, so Codex asks once to raise the sandbox. That prompt is expected; tell the user before it appears. A project install stays inside the workspace and needs no prompt.

Install

  1. Confirm the target directory, then create it: mkdir -p <target>.
  2. Before writing anything, parse the name from every shipped asset and every existing <target>/*.toml. Build a name -> [paths] map and compare each canonical target file with its asset.
  3. Finish the whole preflight before copying any file. Collect and show:
    • an incoming name already present under another file name;
    • a canonical target file whose content differs from the asset;
    • an existing TOML that cannot be parsed well enough to rule out a conflict.
  4. If preflight found a conflict, make no changes yet. Show every involved path and the diff of each existing file against the incoming asset when comparable. Ask for an explicit action for every path that would be overwritten, renamed, or deleted. A choice of which identity should remain is not by itself permission to delete a locally customized file. Never create two files with the same agent name.
  5. After conflicts are resolved, handle every canonical asset file:
    • Missing and with no name collision: copy it.
    • Present and identical: skip it and say so.
    • Present and different: overwrite only when that exact path was approved.
  6. Copy with cp <assets>/<file> <target>/<file>. Do not rewrite the contents on the way through.
  7. List what was written, skipped, explicitly overwritten or removed, and left unresolved.

Read the full file on GitHub · 88 lines

Files

What ships with it

4 files 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. 2mo ago Changed · +1 lines 88c609d105de
  2. 3mo ago First seen · 87 lines · 26 tokens per session scan A 3f60023d01e6

Subscribe to this mod's changes

install-codex-agents is a skill published in the GitHub repository Heapy/kortex (7 stars, last pushed 10d ago), licensed Apache-2.0. It adds 26 tokens to every session and 971 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

install-codex-agents compared with skills from other repositories

install-codex-agents next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
install-codex-agentsHeapy/kortexSkill710d agoApache-2.0A26Claude Code, Codex
architecture-reviewyugash007/edu-agent-skillsSkill106mo agoMITA29Claude Code, Codex
project-reviewyugash007/edu-agent-skillsSkill106mo agoMITA34Claude Code, Codex
make-pr-easy-to-reviewmichael-denyer/pstack-claudeSkill5.0ktodayMITA57Claude Code
thermo-nuclear-code-quality-reviewmichael-denyer/pstack-claudeSkill5.0ktodayMITA54Claude Code
solid-principlesdecebals/claude-code-javaSkill7801mo agoMITA73Claude Code, Codex
review-rpedrohcgs/claude-code-my-workflowSkill1.7k22d agoMITA102Claude Code