claude-pty-agents

claude-pty-agents is a skill for Claude Code, Codex from coredo-eu/codex-claude-orchestrator. It costs 113 tokens per session (4,406 once invoked), scanned A, original, MIT.

A way to run bounded stages of work in persistent Claude Code processes, with different Claude models assigned to roles and a GPT-5.6 Codex fallback.

In plain words
What is it for?
Use it when Claude is requested or when a repository stage benefits from isolated context. It supports edit-capable workers with explicit outcomes, boundaries, acceptance criteria, and handoffs.
Why use it?
It separates a worker's context from the main conversation while keeping Codex responsible for intent, major decisions, verification, and the final judgment.

Skill for Claude CodeCodex

Written for Claude Code and Codex: PreToolUse hook event, but also agents/openai.yaml present. Also seen: mentions subagents; mentions Claude Code; runs codex exec.

Good fit Use it when Claude is requested or when a repository stage benefits from isolated context. It supports edit-capable workers with explicit outcomes, boundaries, acceptance criteria, and handoffs.

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

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-pty-agents

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/coredo-eu/codex-claude-orchestrator/claude-pty-agents"><img src="https://agentmods.dev/badge/skills/coredo-eu/codex-claude-orchestrator/claude-pty-agents.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,406 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00113 $0.04406
Opus 5.5 $0.00045 $0.01762
Sonnet 5.5 $0.00023 $0.00881
Haiku 4.5 $0.00011 $0.00441

Measured 18d ago against content hash 42df8b3d0a20, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

claude-pty-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 18d ago.

The scan reads SKILL.md. This mod also ships 13 executable files (scripts/assign-worker.zsh, scripts/launch-worker.zsh, scripts/reconcile-orphan.zsh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/codex-claude-orchestrator/skills/claude-pty-agents/SKILL.md · 399 lines

How it starts

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

Claude PTY agents

Use persistent Claude Code processes owned by this Codex thread. Keep Codex as the owner of intent, material architecture or product tradeoffs, authority, conflicts, independent verification, and the final verdict. Treat this skill as transport and custody policy, never as additional authority.

Contract and boundaries

Give an edit-capable worker one compact contract:

  • Outcome: state that must become true.
  • Done when: observable acceptance criteria.
  • Boundaries: exact root, side effects, prohibited actions, and ownership.
  • Authoritative context: applicable source-of-truth material and unknowns.
  • Non-goals: adjacent work not to absorb.
  • Known evidence: concise observed facts and material uncertainty.
  • Required handoff: material evidence, risk, uncertainty, missing authority, deliberate non-actions, and custody needed for Codex to decide.

The worker is permanently local-only. It cannot commit, push, publish, deploy, control services, send external messages, administer the host, operate on credentials, modify Claude/Codex configuration, or perform destructive remediation. These restrictions bind the worker, not the owning Codex session. After custody returns, Codex may perform shared or external actions already authorized by the active goal and its unambiguous scope. Codex asks the user only for a material scope expansion or when the target or intended end state cannot be determined safely. Maintain one edit owner per canonical worktree.

The generated settings, deny rules, prompt, and hook are cooperative controls, not an OS sandbox. Bash or a malicious repository instruction can bypass path rules. Use Codex sandbox/approval policy, source review, and least privilege as the actual containment boundary.

Start or resume

Resolve this skill's directory, then check prerequisites and status:

<skill-dir>/scripts/toggle-agents.zsh status
command -v claude jq zsh git

Read status literally: busy is live active plus live reserved capacity; active and reserved are durable open records; orphaned is a proven-dead active writer; stale_reserved is a proven-dead reservation that ordinary admission may safely tombstone; and blocked_roots includes every open record.

Read the full file on GitHub · 399 lines

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. 18d ago Changed · +4 tokens per session 42df8b3d0a20
  2. 1mo ago Changed · +2 tokens per session 9aa36f8dda19
  3. 1mo ago Changed · +2 tokens per session 12fb58b9820e
  4. 2mo ago First seen · 399 lines · 105 tokens per session scan A efd72abd923c

Subscribe to this mod's changes

claude-pty-agents is a skill published in the GitHub repository coredo-eu/codex-claude-orchestrator (4 stars, last pushed 19d ago), licensed MIT. It adds 113 tokens to every session and 4,406 once invoked, about $0.0005 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-pty-agents compared with skills from other repositories

claude-pty-agents next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
claude-pty-agentscoredo-eu/codex-claude-orchestratorSkill419d agoMITA113Claude Code, Codex
fable-thinkingmrgoonie/fable-thinkingSkill462mo agoMITA198Claude Code
aif-deep-thinkingainative-build/skillsSkill1023d agoMITA43Claude Code
repository-manager-parallel-lane-orchestrationKnuckles-Team/repository-managerSkill3yesterdayMITA191Claude Code, Codex
swarm-advancedruvnet/RuViewSkill104ktodayMITA21Claude Code
orca-emulator-androidstablyai/orcaSkill124ktodayMITA102Claude Code, Codex
foundry-hosted-agent-validationmicrosoft/agent-frameworkSkill15ktodayMITA82Claude Code, Codex