ultracode

ultracode is a skill for Claude Code, Codex from KonghaYao/peri. It costs 58 tokens per session (2,127 once invoked), scanned A, original, Apache-2.0.

A workflow system for coordinating multiple coding agents in parallel or in ordered phases. A workflow is a defined sequence of smaller tasks that agents carry out together.

In plain words
What is it for?
Use it for parallel agent work, multi-stage pipelines, independent investigations, and other complex tasks that benefit from orchestration.
Why use it?
It helps divide complex work into independent parts or stages instead of handling every part one at a time. It can also compare approaches or pass one phase's results to the next.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for parallel agent work, multi-stage pipelines, independent investigations, and other complex tasks that benefit from orchestration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/konghayao/peri/ultracode
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 KonghaYao/peri --skill ultracode
Clone the repo
git clone --depth 1 https://github.com/KonghaYao/peri

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 ultracode

README.md
[![agentmods](https://agentmods.dev/badge/skills/konghayao/peri/ultracode.svg)](https://agentmods.dev/skills/konghayao/peri/ultracode)
Your own site
<a href="https://agentmods.dev/skills/konghayao/peri/ultracode"><img src="https://agentmods.dev/badge/skills/konghayao/peri/ultracode.svg" alt="Measured on agentmods" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,127 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.00058 $0.02127
Opus 5 $0.00029 $0.01064
Sonnet 5 $0.00012 $0.00425
Haiku 4.5 $0.00006 $0.00213

Measured 7d ago against content hash d06e3fa9da49, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

ultracode 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 7d 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.

peri-middlewares/src/skills/builtin/skills/ultracode/SKILL.md · 182 lines

How it starts

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

Ultracode: Multi-Agent Workflow Orchestration

You have access to the Workflow tool (via SearchExtraToolsExecuteExtraTool), which lets you orchestrate multiple agents working in parallel or pipeline phases.

When to Use

Use the Workflow tool when:

  • The task can be decomposed into independent parallel subtasks
  • The task benefits from a pipeline (phased execution where later phases depend on earlier results)
  • You need to explore multiple approaches simultaneously
  • The user explicitly asks for "ultracode", "workflow", or parallel execution

Do NOT use workflows for:

  • Simple single-agent tasks (just do the work directly)
  • Tasks requiring tight sequential conversation (use normal tool calls)
  • Tasks that are faster to do inline than to script

How to Use

1. Discover the Workflow tool

The Workflow tool is a deferred tool. First search for it:

SearchExtraTools("workflow")

Then execute it:

ExecuteExtraTool("Workflow", {
  "script": "...your workflow script...",
  "args": {},
  "maxConcurrency": 3
})

2. Write a workflow script

Workflow scripts are JavaScript ESM modules using these primitives:

  • agent(prompt, options?) — Run a single agent. Returns the agent's output.
  • parallel([...factories]) — Run multiple agents concurrently. 入参为返回 promise 的零参工厂函数(thunks),不是 promise。 Returns array of results.
  • pipeline(items, ...stages) — 数据流水线:对 items 每个元素顺序执行所有 stage,stage=(prev, item, index) => result,stage 的返回值为下一个 stage 的 prev。返回与 items 等长的数组,出错位置为 null。
  • phase(title) — 切换当前阶段标记(发 phase_started/done 事件),后续 agent 自动带该阶段名。不接 fn,返回 undefined。
  • log(message) — Emit a log message visible in the workflow panel.
  • workflow(nameOrScriptPath, args?) — 运行子 workflow(一层嵌套上限)。workflow('sub-name', args) 按名字查找,workflow({ scriptPath: '...' }, args) 按文件路径加载。

3. Example: Parallel Code Review

export const meta = {
  name: 'parallel-review',
  description: 'Review code from multiple perspectives in parallel'
}

const [security, perf, bugs] = await parallel([
  () => agent('Review this code for security vulnerabilities. Focus on injection, auth, and data exposure.', { label: 'security', allowedTools: ['Read', 'Grep'] }),
  () => agent('Review this code for performance issues. Focus on N+1 queries, unnecessary allocations, and hot paths.', { label: 'performance', allowedTools: ['Read', 'Grep'] }),
  () => agent('Review this code for bugs. Focus on edge cases, error handling, and logic errors.', { label: 'bugs', allowedTools: ['Read', 'Grep'] }),
])

return { security, perf, bugs }

Read the full file on GitHub · 182 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. 7d ago First seen · 182 lines · 58 tokens per session scan A d06e3fa9da49

Subscribe to this mod's changes

ultracode is a skill published in the GitHub repository KonghaYao/peri (160 stars, last pushed 2d ago), licensed Apache-2.0. It adds 58 tokens to every session and 2,127 once invoked, about $0.0003 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-30.

Related

Other skills, from other repositories

qa-testing

Verify your work by actually operating the app or website you changed, instead of assuming it works. Strongly recommended whenever you build, modify, or debug a web app, website, or desktop GUI app. Drive real browsers with the agent-browser CLI and native desktop apps with the cua-driver CLI. These are installed on…

openinterpreter/openinterpreter · 77 tokens

plugin-creator

Create and scaffold plugin directories for Codex with a required .codex-plugin/plugin.json, optional plugin folders/files, valid manifest defaults, and personal-marketplace entries by default. Use when Codex needs to create a new personal plugin, add optional plugin structure, generate or update marketplace entries…

openinterpreter/openinterpreter · 86 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openinterpreter/openinterpreter · 113 tokens

babysit-pr

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…

openinterpreter/openinterpreter · 114 tokens

skill-creator

Create or update a Codex skill with appropriately scoped instructions and any needed supporting resources.

openinterpreter/openinterpreter · 21 tokens

codex-pr-body

Update the title and body of one or more pull requests.

openinterpreter/openinterpreter · 17 tokens