rivetkit-client-swift
rivetkit client swift
What it does
- Prefer fail-fast behavior by default.
- Avoid broad do/catch unless absolutely needed.
- If a catch block is used, handle the error explicitly, at minimum by logging it.
- RIVETNAMESPACE - Namespace (can also be in endpoint URL)
- RIVETTOKEN - Authentication token (can also be in endpoint URL)
- RIVETRUNNER - Runner name (defaults to "default")
- RivetKitClient(config:) - Create a client with a config
Requirements & configuration
- If you need more than 5 arguments, use the raw JSON fallback:
- options: GetOrCreateOptions(params: ConnParams(authToken: "jwt-token-here"))
- Event streams support 0–5 typed arguments. If you need raw values or more than 5 arguments, use JSONValue:
- If you need an untyped response, you can decode to JSONValue:
- RIVETTOKEN - Authentication token (can also be in endpoint URL)
Configuration: RIVET_NAMESPACERIVET_TOKENRIVET_RUNNER
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
rivetkit-client-swift FAQ
What does the rivetkit-client-swift skill do?
RivetKit Swift client guidance. Use for Swift clients that connect to Rivet Actors with RivetKitClient, create actor handles, call actions, or manage connections. Prefer fail-fast behavior by default. Avoid broad do/catch unless absolutely needed.
What does rivetkit-client-swift require?
If you need more than 5 arguments, use the raw JSON fallback: options: GetOrCreateOptions(params: ConnParams(authToken: "jwt-token-here")) Event streams support 0–5 typed arguments. If you need raw values or more than 5 arguments, use JSONValue: If you need an untyped response, you can decode to JSONValue: RIVETTOKEN - Authentication token (can also be in endpoint URL) Configuration keys: RIVET_NAMESPACE, RIVET_TOKEN, RIVET_RUNNER.
How do I install rivetkit-client-swift?
Run: npx -y skills add https://github.com/rivet-dev/skills --skill rivetkit-client-swift --agent claude-code — the source lives at github.com/rivet-dev/skills.
Maintain rivetkit-client-swift?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[](https://getagentictools.com/skills/rivet-dev-skills-rivetkit-client-swift?ref=badge) npx agentictools info skills/rivet-dev-skills-rivetkit-client-swift The second line is the CLI lookup for this page — handy in READMEs and docs.