# loadHooksConfig

**Kind:** Function

**Source:** [`atloria-monorepo/libs/agent-core/src/session/hook-registry.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/libs/agent-core/src/session/hook-registry.ts#L209)

Load a hooks config from a JSON file.
Returns null if the file doesn't exist or can't be parsed.

## Signature

```ts
function loadHooksConfig(filePath: string): HooksConfig | null
```

## Parameters

| Name | Type |
|---|---|
| `filePath` | `string` |

**Returns:** `HooksConfig | null`
