Generate oRPC contracts from OpenAPI with Hey API or adapt a Hey API client.
Scanned 9/12/2026
Install to Claude Code
npx -y skills add ali-master/skills --skill orpc-hey-api --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Orpc Hey Api?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/ali-master-orpc-hey-api)More formats (shields.io, HTML) on the badges page.
---
name: oRPC Hey API Integration
description: Generate oRPC contracts from OpenAPI with Hey API or adapt a Hey API client.
license: MIT
metadata:
author: Ali Torki
homepage: https://github.com/ali-master
version: "1.0.0"
---
# Hey API Integration
[Hey API](https://heyapi.dev/) integrates two ways:
* Generate an oRPC contract from existing OpenAPI specification.
* Convert an existing Hey API client to an oRPC client.
> Integration is still unstable.
## Convert OpenAPI to an oRPC Contract
If you have an OpenAPI spec, use Hey API to generate an oRPC contract. See [OpenAPI to Contract](/docs/openapi/openapi-to-contract).
Use the generated contract to:
* Implement on your own server with [Implement Contract](/docs/contract-first/implement-contract).
* Create a type-safe client with [OpenAPILink](/docs/openapi/client/openapi-link).
* Use as a reference alongside [Define Contract](/docs/contract-first/define-contract).
## Convert a Hey API Client Directly to an oRPC Client
```ts
import { experimental_toORPCClient } from '@orpc/hey-api'
import * as sdk from 'src/client/sdk.gen'
export const client = experimental_toORPCClient(sdk)
const { body } = await client.listPlanets()
```
This client behaves like any standard oRPC server-side/client-side client.
### Error Handling
oRPC passes `throwOnError` to Hey API. If the Hey API client throws an error, oRPC forwards it as is.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Understand the components, mechanics, and constraints of context in agent systems. Use when designing agent architectures, debugging context-related failures, or optimizing context usage.
Draft release notes and changelog entries from git history or merged PRs between two refs (tags/SHAs/branches), including breaking changes, migrations, and upgrade steps. Use when the user asks for release notes, changelog updates, or a GitHub Release draft.
Documentation style guide enforcer by @planetabhi. Applies and reviews the writing style guide when authoring or editing product documentation and tutorials. Use to check prose for voice, tense, word choice, inclusive language, formatting, code block, UI, Markdown, and number/date conventions.
Quick-reference card for all caveman modes, skills, and commands. One-shot display, not a persistent mode. Trigger: /caveman-help, "caveman help", "what caveman commands", "how do I use caveman".
Explain how claude-mem captures observations, when memory injection kicks in, and where data lives. Use when the user asks "how does claude-mem work?" or "what is this thing doing?".