anotb

Truenas Skill — AI skill for Claude Code

AI community

AI agent skill for managing TrueNAS SCALE via API.

How to install Truenas Skill

This entry records only its repository, not the path inside it, so there is no exact command to give. Open anotb/truenas-skill and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Truenas Skill does

AI agent skill for managing TrueNAS SCALE via API.

Alternatives in AI

  • CLI 代理 API — English 中文 一个为 CLI 提供 OpenAI/Gemini/Claude/Codex 兼容 API 接口的代理服务器 19k ★
  • AI Dev Tasks — A simple task management system for managing AI dev agents 7.8k ★
  • Deepreasoning — A high-performance LLM inference API and Chat UI that integrates DeepSeek R1's CoT reasoning traces with Anthr 5.4k ★

README

TrueNAS Skill

[![ClawHub](https://img.shields.io/badge/ClawHub-truenas--skill-blue)](https://clawhub.ai/skills/truenas-skill) [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)

An AI agent skill for managing TrueNAS SCALE via its API. Check pool health, manage datasets and snapshots, monitor alerts, control apps, orchestrate Dockge container stacks, and manage bookmarks — all through natural language.

Works with [Claude Code](https://docs.anthropic.com/en/docs/claude-code), [OpenClaw](https://github.com/openclaw/openclaw), [Cursor](https://cursor.com), and any tool supporting the [SKILL.md](https://agentskills.io) standard.

Part of [unsol.dev](https://unsol.dev)

Prerequisites

  • TrueNAS SCALE instance with API access
  • curl and jq installed
  • Node.js 18+ (for WebSocket and Dockge scripts)

Installation

OpenClaw (via ClawHub)

clawhub install truenas-skill

Claude Code

git clone https://github.com/anotb/truenas-skill.git ~/.claude/skills/truenas-skill
cd ~/.claude/skills/truenas-skill && npm install

Cursor / Other

Clone to your agent's skill directory and run `npm install`.

Configuration

  1. Generate an API key in TrueNAS UI > API Keys
  2. Set environment variables (copy .env.example to .env and fill in values):
# Required
export TRUENAS_URL=https://10.0.0.5:444
export TRUENAS_API_KEY=your-api-key

# Optional: Dockge
export DOCKGE_URL=http://10.0.0.5:5001
export DOCKGE_USER=your-username
export DOCKGE_PASS=your-password

See `.env.example` for the full list of optional service API keys.

**Important:** TrueNAS auto-revokes API keys used over HTTP. Always use HTTPS.

**Note:** The REST API (`/api/v2.0/`) is deprecated in TrueNAS 25.04 and fully removed in 26.04. This skill uses the WebSocket API as the primary method for forward compatibility.

What You Can Do

Task How
Check NAS health Pool status, alerts, service state
Manage d