claude-pty-agents

claude-pty-agents is a skill for Claude Code, Codex from coredo-eu/codex-claude-orchestrator. It costs 105 tokens per session (4,392 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; mentions AGENTS.md.

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 105 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,392 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.00105 $0.04392
Opus 5 $0.00053 $0.02196
Sonnet 5 $0.00021 $0.00878
Haiku 4.5 $0.00011 $0.00439

Measured 11d ago against content hash efd72abd923c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 11d 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. 11d 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 (5 stars, last pushed 5d ago), licensed MIT. It adds 105 tokens to every session and 4,392 once invoked, about $0.0005 per session on Opus 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

Other skills, from other repositories

coding-agents-farm

To orchestrate parallel coding-agent farms (Claude, Codex, Copilot, Gemini, etc.) on isolated git worktrees.

griddynamics/rosetta · 32 tokens

team-mode

A workflow for splitting substantial work into smaller independent tasks handled by specialized subagents. It coordinates exploration, implementation, and review while keeping final decisions in the main session.

oil-oil/codex-team-mode · 79 tokens

allinluna

Compile and execute a goal, existing plan, active run, or Research Routes packet through the vNext Coordinator, Task Lanes, WorkUnits, and Workflow Packs.

zenx0x/allinluna · 38 tokens

squads-cli

Squads CLI — operate your AI workforce through the loop; intent in, reviewed work out. TRIGGER when running squads, dispatching agents, triaging the inbox, reading/writing memory, recording feedback, or checking status/usage.

agents-squads/squads-cli · 53 tokens

fable-thinking

Reasoning protocol distilled from Claude Fable 5.1. Makes any model reason like Fable — evidence-grounded claims, multi-hypothesis diagnosis, concrete simulation, adversarial self-review, calibrated outcome-first delivery. Its never-skipped Floor check catches simple-looking trick questions models answer confidently…

mrgoonie/fable-thinking · 198 tokens

squads-learn

Capture learnings after completing work. Use when finishing a task, fixing a bug, discovering a pattern, or learning something worth remembering for future sessions. Helps build institutional memory.

agents-squads/squads-cli · 41 tokens