***

title: getSkillNamespace
slug: /reference/typescript/agents/skill-base/get-skill-namespace
description: Get the namespace key used to store this skill's data.
max-toc-depth: 3
---------------------

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

Returns the namespace key used to store this skill's data within the agent's
global data. This key scopes the skill's state to avoid collisions with other skills.

Takes no parameters.

## **Returns**

`string` -- The namespace key for this skill instance.

## **Example**

```typescript {4}
import { SkillBase } from '@signalwire/sdk';

// Inside a skill method
const namespace = this.getSkillNamespace();
console.log(namespace); // e.g., "skill:weather"
```