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

# hasSkill

> Check whether a specific skill is currently loaded on the agent.

Check whether a skill with the given name is currently loaded.

## **Parameters**

**`skillName`** `string` — required

Skill name to check.

---

## **Returns**

`boolean` -- `true` if the skill is loaded, `false` otherwise.

## **Example**

```typescript {6}
import { AgentBase, DateTimeSkill } from '@signalwire/sdk';

const agent = new AgentBase({ name: 'assistant', route: '/assistant' });
await agent.addSkill(new DateTimeSkill());
console.log(agent.hasSkill('datetime'));   // true
console.log(agent.hasSkill('web_search')); // false
```