<!-- Copyright (c) 2026 defconxt. All rights reserved. -->
<!-- Licensed under AGPL-3.0 — see LICENSE file for details. -->
---
name: smart
description: Run a NERF security query with auto-routing (simple→Ollama, complex→Claude API)
disable-model-invocation: true
---

Run the NERF security gateway with smart backend routing. Simple queries go to local Ollama, complex queries go to Claude API. Return the response exactly as received.

```bash
nerf --smart "$ARGUMENTS"
```

If nerf is not found on PATH:

```bash
nerf "$ARGUMENTS"
```

Return the full output without modification.
