oly-subagent

oly-subagent is a skill for Claude Code, Codex from slaveOftime/open-relay. It costs 49 tokens per session (2,001 once invoked), scanned A, original, MIT.

A guide for an authorized coding agent to start and supervise another agent command-line program through oly, a tool for managing durable terminal sessions. It covers scoped tasks, prompts, monitoring, and result checks.

In plain words
What is it for?
Use it to launch a worker agent, assign it a limited area of a repository, handle its prompts, monitor its session, and verify its result.
Why use it?
It helps delegation stay within the user's permission and prevents workers from overwriting unrelated work. It also makes the worker's workspace and completion check explicit.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; runs codex exec; mentions Codex.

Good fit Use it to launch a worker agent, assign it a limited area of a repository, handle its prompts, monitor its session, and verify its result.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/slaveoftime/open-relay/oly-subagent
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 slaveOftime/open-relay --skill oly-subagent
Clone the repo
git clone --depth 1 https://github.com/slaveOftime/open-relay

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 oly-subagent

README.md
[![agentmods](https://agentmods.dev/badge/skills/slaveoftime/open-relay/oly-subagent/github.svg)](https://agentmods.dev/skills/slaveoftime/open-relay/oly-subagent)
Your own site
<a href="https://agentmods.dev/skills/slaveoftime/open-relay/oly-subagent"><img src="https://agentmods.dev/badge/skills/slaveoftime/open-relay/oly-subagent/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 oly-subagent

Your own site · 80×15
<a href="https://agentmods.dev/skills/slaveoftime/open-relay/oly-subagent"><img src="https://agentmods.dev/badge/skills/slaveoftime/open-relay/oly-subagent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,001 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.00049 $0.02001
Opus 5.5 $0.00020 $0.00800
Sonnet 5.5 $0.00010 $0.00400
Haiku 4.5 $0.00005 $0.00200

Measured today against content hash 8b600742e37c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

oly-subagent 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 today.

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.

skills/oly-subagent/SKILL.md · 92 lines

How it starts

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

Orchestrate and supervise sub-agents with oly

oly skill --subagent prints this self-contained guide directly from the oly binary (no local file read, oly skill, or oly start --help is needed for standard workflows).

Use oly as a durable PTY and supervision runtime for user-authorized agent CLIs (pi, codex, claude, etc.). This skill does not authorize delegation, extra agents, approval bypass, or edits outside the user's scope. Use the agent CLI and model already chosen by the user or environment.

Core oly CLI reference:

  • oly daemon status — check daemon health (oly daemon start --detach only if confirmed stopped; never stop/restart a shared daemon).
  • oly start --detach --disable-notifications --title "<name>" --cwd <dir> [--tag <t>] [--node <n>] <cmd> [args...] — launch worker and print <ID> (oly flags go before <cmd>).
  • oly logs <ID> --tail <N> --wait <exit|prompt|output|idle|match> --timeout <dur> — wait for gate (0 met, 2 timeout, 1 error), then print output.
  • oly info <ID> --json — inspect status, exit_code, input_needed, and program_status.

1) Right-size the topology (lower defaults first)

Multi-agent flows consume more tokens than single-agent work. Choose the smallest topology that fits the task:

Topology When to use How to run
Direct (0 workers) Small, immediate, or tightly coupled edits where you would just sit waiting on a single worker. Do the work directly in your own session.
Single worker (1) Offload a noisy investigation, test/build diagnosis, or isolated module change to keep raw logs out of your context. Spawn 1 worker, wait for completion, verify its output artifact.
Fan-out / Map-Reduce $N$ independent modules, files, or hypotheses with disjoint write scopes. Map: launch $N$ workers in one shell call; each writes a compact result/file. Reduce: wait for all in one shell loop, then synthesize/verify.
Staged pipeline Sequential phases with hard gates (Scan -> Implement -> Review/Test). Run Phase 1 workers to produce a compact plan/diff; gate Phase 2 on verified Phase 1 output.
Hierarchical (Lieutenants) Large multi-subsystem work where flat fan-out would bottleneck the lead agent. Delegate each subsystem to a lieutenant worker that coordinates its own sub-workers and returns one verified summary.

Read the full file on GitHub · 92 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. today Changed · +20 lines 8b600742e37c
  2. 3d ago First seen · 72 lines · 49 tokens per session scan A ea8139eb8fb3

Subscribe to this mod's changes

oly-subagent is a skill published in the GitHub repository slaveOftime/open-relay (95 stars, last pushed today), licensed MIT. It adds 49 tokens to every session and 2,001 once invoked, about $0.0002 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-10-14.

Related

Other skills, from other repositories