Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

xano

БесплатноБез исполняемых скриптовНе проверен

Xano is a no-code/low-code backend platform for building REST APIs, a PostgreSQL database and user authentication without server code. Use when someone asks…

TerminalSkillsот TerminalSkills★ 221 звезда на GitHub

Об этом скилле

Xano — No-Code Backend Builder

Overview

Xano hosts a PostgreSQL database, REST APIs built from step-by-step "function stacks", authentication, background tasks, webhooks and MCP servers. You build in the visual editor, in XanoScript (a text language that every visual object also has), or with an AI agent. Docs: https://docs.xano.com (an index for agents is at https://docs.xano.com/llms.txt).

Two ways an agent can work with Xano:

  • Local files. The Xano CLI (@xano/cli) pulls a workspace down as .xs XanoScript files and pushes changes back; the Developer MCP (@xano/developer-mcp) gives the agent XanoScript docs and syntax validation.
  • Plain HTTP. Every API group has a base URL; any frontend calls it with fetch.

Instructions

Tables

Every table starts with an id field (int or uuid; the primary key type cannot be changed later). Tables are created in the dashboard or as XanoScript. Table and field syntax from the docs:

table "user" {
  auth = true
  schema {
    int id
    timestamp created_at?=now
    text name filters=trim
    email? email filters=trim|lower
    password? password filters=min:8|minAlpha:1|minDigit:1
  }
  index = [
    {type: "primary", field: [{name: "id"}]}
    {type: "btree|unique", field: [{name: "email", op: "asc"}]}
  ]
}

auth = true marks the table as one whose rows can log in. Other field types include text, int, decimal, bool, timestamp, enum, json, uuid, and lists such as text[].

API endpoints

An endpoint (query in XanoScript) has inputs, a stack of functions, and a response. This signup endpoint is from the docs:

query "auth/signup" verb=POST {
  input {
    text name?
    email email? filters=trim|lower
    text password?
  }
  stack {
    db.get user {
      field_name = "email"
      field_value = $input.email
    } as $user

    precondition ($user == null) {
      error_type = "accessdenied"
      error = "This account is already in use."
    }

    db.add user {
      data = {
        created_at: "now"
        name      : $input.name
        email     : $input.email
        password  : $input.password
      }
    } as $user

    security.create_auth_token {
      table = "user"
      extras = {}
      expiration = 86400
      id = $user.id
    } as $authToken
  }
  response = {authToken: $authToken}
}

Listing records: db.query user { return = {type: "list"} } as $users, then response = $users. A list endpoint should take page inputs and return a paginated result.

Authentication

Enable authentication on a table (table menu, Settings), then set an endpoint's authentication to that table so it requires a token. Tokens are JWE tokens. In an API group, "Add API Endpoint" then "Authentication" adds the pre-built login, signup and auth/me endpoints; login and signup return an authToken.

Calling Xano from a frontend

Each API group has its own base URL, shown in the dashboard, such as https://x8ki-letl-twmt.n7.xano.io/api:Qm3vT9aP. The part after api: is generated, so copy the URL rather than guessing it. Keep it in an environment variable.

const AUTH_BASE = process.env.NEXT_PUBLIC_XANO_AUTH_URL!;   // base URL of the auth API group
const APP_BASE = process.env.NEXT_PUBLIC_XANO_APP_URL!;     // base URL of the app API group

export async function login(email: string, password: string): Promise<string> {
  const res = await fetch(`${AUTH_BASE}/auth/login`, {
    method: "POST",
    headers: { "Content-Type": "application/json" },
    body: JSON.stringify({ email, password }),
  });
  if (!res.ok) throw new Error(`Login failed: ${res.status}`);
  const { authToken } = await res.json();
  return authToken;
}

export async function listPosts(token: string, page = 1) {
  const res = await fetch(`${APP_BASE}/posts?page=${page}`, {
    headers: { Authorization: `Bearer ${token}` },
  });
  return res.json();
}

For typed clients, enable combined Swagger/OpenAPI docs in Xano, download the JSON, and have the agent generate the client from it.

Local development with the CLI and MCP

npm install -g @xano/cli
xano auth                       # browser sign-in, saves a profile
xano workspace pull -d ./shop-backend
claude mcp add xano -- npx -y @xano/developer-mcp

Edit the .xs files (the XanoScript Language Server VS Code extension highlights and validates them). Paid plans push through a sandbox first; free plans have no sandbox and push straight to the workspace with xano workspace push -d ./shop-backend --dry-run, then without --dry-run.

xano sandbox push -d ./shop-backend --dry-run   # preview
xano sandbox push -d ./shop-backend
xano sandbox review                              # promote in the browser

Changes made in the visual builder do not appear locally until you pull again. Ephemeral tenants (xano-cli/ephemeral in the docs) give an agent a disposable environment to test in.

Webhooks, tasks and ext

Полный SKILL.md на GitHub

Установить xano в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

_scores.json

FAQ

Что делает скилл xano?

Xano is a no-code/low-code backend platform for building REST APIs, a PostgreSQL database and user authentication without server code. Use when someone asks to "build a backend with Xano", "create a Xano API", "write XanoScript", "add login and signup to Xano", "connect a frontend to Xano", or "manage a Xano workspace from the CLI". Covers tables, API endpoints, auth, background tasks, webhooks, and the Xano CLI and Developer MCP for working with AI agents.

Как установить скилл xano?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл xano запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить xano с