ory-temporal-worker

ory-temporal-worker is a skill for Claude Code, Codex from ory/claude-plugins. It costs 155 tokens per session (2,473 once invoked), scanned A, original, Apache-2.0.

A setup guide for a Temporal worker written in TypeScript. Temporal runs long-running, reliable background processes, while Ory handles user login, permissions, and activity records.

In plain words
What is it for?
Use it to scaffold a worker whose activities are authenticated, permission-checked, and recorded.
Why use it?
It helps prevent unauthorised work by checking the user and permission for every worker action.

Skill for Claude CodeCodex

Part of the ory-agent-plugin plugin — 10 skills, 3 commands, 9 hooks, 1 MCP server shipped together

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.

agentmods
npx agentmods add skills/ory/claude-plugins/ory-temporal-worker
Any agent
npx skills add ory/claude-plugins --skill ory-temporal-worker
Clone the repo
git clone --depth 1 https://github.com/ory/claude-plugins

Made for: Claude Code, Codex.

Or install ory-agent-plugin, the plugin that ships this one along with the rest of its 10 skills, 3 commands, 9 hooks, 1 MCP server.

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 ory-temporal-worker

README.md
[![agentmods](https://agentmods.dev/badge/skills/ory/claude-plugins/ory-temporal-worker.svg)](https://agentmods.dev/skills/ory/claude-plugins/ory-temporal-worker)
Your own site
<a href="https://agentmods.dev/skills/ory/claude-plugins/ory-temporal-worker"><img src="https://agentmods.dev/badge/skills/ory/claude-plugins/ory-temporal-worker.svg" alt="Measured on agentmods" height="20"></a>
Per session 155 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,473 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00155 $0.02473
Opus 5 $0.00077 $0.01236
Sonnet 5 $0.00031 $0.00495
Haiku 4.5 $0.00015 $0.00247

Measured 3d ago against content hash a9fa5b351e8f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ory-temporal-worker 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 3d 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/ory-agent-plugin/skills/ory-temporal-worker/SKILL.md · 282 lines

How it starts

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

Ory-authed Temporal TypeScript worker

You are helping the user scaffold a Temporal TypeScript worker where every Activity execution is gated by Ory: the user is authenticated, the worker's agent identity is resolved via OAuth2 Dynamic Client Registration, each Activity invocation runs an Ory Permission check, and the full lifecycle emits structured activity events. Workflows stay deterministic — only Activities call out to Ory.

This skill carries the workflow. You generate the files in the user's repo; the user runs the Temporal CLI and the worker.

Precondition: Node.js 20+ is installed, and the user has installed (or will install) the Temporal CLI. On macOS: brew install temporal. On Linux/Windows: download from https://temporal.download and put temporal on PATH. If the binary is missing, point the user at the docs and stop — do not fabricate it.

Step 1 — Confirm the target

Before writing files, confirm with the user:

  1. Where the worker should live. Default to temporal-worker/ at the repo root unless the user says otherwise.
  2. Task queue name. Default agent-tools. The worker and the workflow starter must agree on this string.
  3. Ory project URL. For local development point at the local Ory stack (/ory-agent-plugin:local-up) on http://localhost:4000. For Ory Network, the user plumbs their project URL through the worker's env. Either way the worker needs network reachability to the Ory APIs at runtime.

Step 2 — Scaffold the Temporal project

Run the official Temporal scaffold and select the hello-world sample when prompted. Then add the Ory agent client:

npx @temporalio/create@latest temporal-worker
cd temporal-worker
npm install @ory/argus

The scaffold lays down src/{activities.ts, workflows.ts, worker.ts, client.ts} and pre-configures the Worker to connect to the Temporal dev server at localhost:7233. The Web UI lives at http://localhost:8233 once the dev server is running.

Read the full file on GitHub · 282 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. 3d ago First seen · 282 lines · 155 tokens per session scan A a9fa5b351e8f

Subscribe to this mod's changes

ory-temporal-worker is a skill published in the GitHub repository ory/claude-plugins (3 stars, last pushed yesterday), licensed Apache-2.0. It adds 155 tokens to every session and 2,473 once invoked, about $0.0008 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

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens