---
title: "tRPC -- Client Setup - Air Market"
description: "You have a tRPC server and want to call it from code that does not use a UI framework. This walks you through making the client, choosing how requests are sent, adding headers such as auth, and pulli…"
canonical: "https://airmarket.ai/app/client-setup"
---

[Air Market](/) / [Developer Tools](/category/devtools) / tRPC -- Client Setup

Skill by [tRPC](/@trpc)

# tRPC -- Client Setup

Call your tRPC backend from plain TypeScript with full types

## What this does

You have a tRPC server and want to call it from code that does not use a UI framework. This walks you through making the client, choosing how requests are sent, adding headers such as auth, and pulling out the types of each call. It also covers cancelling requests and typing the errors that come back.

### Top 3 things it does for you

- Set up a client that talks to my tRPC server
- Add auth headers that change per request
- Get the input and output types of my procedures

## Information

**tRPC -- Client Setup at a glance**

|  |  |
| --- | --- |
| Kind | Skill |
| Publisher | [tRPC](/@trpc) |
| Category | [Developer Tools](/category/devtools) |
| Works with | Agent Skills - an open standard supported by 40+ agents |
| Size | 8 KB |
| Licence | MIT |
| Repository | [trpc/trpc](https://github.com/trpc/trpc/tree/23c723cfeaf07da28a52a5c35c3dcccf96a47578/packages/client/skills/client-setup) |
| GitHub stars | 40,541 (as of Nov 2026) |
| Installs | 106, counted by skills.sh (Nov 2026) |

## Security report

**Verified.** AIR scanned this exact version of tRPC -- Client Setup and flagged nothing. AIR's verdict: **safe**.

**What tRPC -- Client Setup's check was run against**

|  |  |
| --- | --- |
| Commit | 23c723cfeaf07da28a52a5c35c3dcccf96a47578 |
| Content hash | ac2a13326129482614692feb40ba67175d7a01d4c3a75d22e45c8a0d5f1e052c |
| Files read | [Browse the files at this exact commit](https://github.com/trpc/trpc/blob/23c723cfeaf07da28a52a5c35c3dcccf96a47578/packages/client/skills/client-setup/SKILL.md) |

A scan is named by the exact content it read, not by a version number. A different version is a different artifact, and nothing here applies to a version AIR has not scanned.

[Read the full security report for tRPC -- Client Setup](/security/client-setup)

## About tRPC -- Client Setup

This sets up a vanilla tRPC client with createTRPCClient<AppRouter>() and configures its link chain with httpBatchLink or httpLink. It covers dynamic headers for auth, and notes that the transformer belongs on the links rather than the client constructor.

It also shows how to infer types with inferRouterInputs and inferRouterOutputs, how to pass an AbortController signal, and how to type TRPCClientError.

## What's inside

- SKILL.md - instructions

## Questions

### Is tRPC -- Client Setup safe to install?

AIR scanned this exact version of tRPC -- Client Setup and flagged nothing. AIR's verdict: safe. The verdict is named by the content that was read, at commit 23c723cfeaf0, so it cannot drift onto a version nobody scanned. The full report is at https://airmarket.ai/security/client-setup.

### How do I install tRPC -- Client Setup?

Open https://airmarket.ai/app/client-setup on Air Market and use the install action: Air Market hands Claude a prompt naming this exact skill, and Claude sets it up. Source, pinned to the exact commit this listing describes: https://github.com/trpc/trpc/tree/23c723cfeaf07da28a52a5c35c3dcccf96a47578/packages/client/skills/client-setup. Install from that link, not the branch.

## Related on Air Market

- [More Developer Tools listings](/category/devtools)
- [Everything by tRPC](/@trpc)

---

Canonical URL: <https://airmarket.ai/app/client-setup>
