***

title: JokeSkill
slug: /reference/typescript/agents/skills/joke
description: Tell jokes from a built-in collection.
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

[add-skill]: /docs/server-sdks/reference/typescript/agents/agent-base/add-skill

[base-parameters]: /docs/server-sdks/reference/typescript/agents/skills#base-parameters

Tell jokes from a built-in collection. Includes general, programming, and dad joke
categories. No external API required.

**Class:** `JokeSkill`

**Tools:** `tell_joke`

**Env vars:** None

No custom parameters. This skill inherits only the [base parameters][base-parameters].

```typescript {5}
import { AgentBase, JokeSkill } from '@signalwire/sdk';

const agent = new AgentBase({ name: 'assistant', route: '/assistant' });
agent.setPromptText('You are a helpful assistant.');
await agent.addSkill(new JokeSkill());

agent.run();
```