agentleFS
nexoralnexoral/AxioDB/skill/SKILL.md

skill

Skill35 starsChanged 9 days agoMITView on GitHub

Expert operational guide, runbook, and architectural reference for AxioDB (version 25.39.1). Use this skill when developing, querying, installing, configuring, troubleshooting, or automating AxioDB embedded NoSQL, TCP remote access (AxioDBCloud), Docker containers, MCP server integration, Web/Desktop GUI, or CLI operations.

  • Installs packages

62 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ai-slop-cleaner, ralplan and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • Jurel89Skill

    ai-slop-cleaner

    Clean AI-generated code slop with a regression-safe, deletion-first workflow and optional reviewer-only mode

    Also in 5 projects that use this

  • ibahgatSkill

    ralplan

    Create a strict, quality-first execution plan with explicit gates and rollback-ready sequencing.

    Also in 5 projects that use this

  • ibahgatSkill

    hud

    Control omi visual HUD profile and keep status output readable in normal, compact, or hidden mode.

    Also in 5 projects that use this

  • Jurel89Skill

    ultraqa

    QA cycling loop — build/lint/test, fix, retry up to 5 cycles

    Also in 3 projects that use this

  • LucasCooperBeySkill

    visual-verdict

    Structured visual QA verdict for screenshot-to-reference comparisons. Returns JSON scores driving edit iterations. Use after any UI implementation to verify visual fidelity.

    Also in 3 projects that use this

  • Yeachan-HeoSkill

    ultragoal

    Create and execute durable repo-native multi-goal plans over Codex goal mode artifacts.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 1 is distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 45 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When asked to start AxioDB via Docker, use the pre-configured runner:

    line 65
  2. Distinctive:

    When troubleshooting connection errors, port conflicts, or container status:

    line 82
  3. Very specific:

    Singleton Guard: Always instantiate new AxioDB() once and export the instance.

    line 130
  4. Very specific:

    Cache Jitter: Leave minTTL (5m) and maxTTL (15m) active to prevent cache stampedes.

    line 132
  5. Very specific:

    Index Selectivity: Add secondary indexes (newIndex) only on fields used in query filters.

    line 133

“Common” is measured: kept by at least 6 in 10 of the 45 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

AxioDB Operational Skill (v25.39.1)

AxioDB is an embedded NoSQL database for TypeScript & AI agents. Zero-native document database with ACID transactions & in-memory cache — verified on Node.js (>=20) and Bun.

This skill provides step-by-step instructions and references for AI agents to operate AxioDB across all supported environments.


1. Quick Decision Matrix

Choose the appropriate mode based on the user's requirement:

Requirement / GoalRecommended ModeSurface / PortAction / Guide
Local Node.js ServiceEmbedded CoreIn-processRead core-api-and-syntax.md
Remote Node.js / MicroserviceAxioDBCloud TCPPort 27019Read docker-and-tcp.md
Containerized DeploymentDocker Image27018 & 27019Run run_docker.sh
AI Agent Tool CallingMCP ServerPort 27020Core ({ MCP: true }) / Docker (AXIODB_MCP=true)
Browser Database ManagementWeb GUIPort 27018Start with GUI: true or AXIODB_GUI=true
Desktop App (No Browser)Electron GUIDesktop OSDownload from GitHub Releases
Terminal / Scripts / REPLCLI ToolTerminalDownload from GitHub Releases
Unit Testing / CI MockingEphemeral InstanceTemp FolderRead installation-and-setup.md

2. Component Scopes & Surface Boundaries

AxioDB features are strictly partitioned across specific surfaces:

  1. Embedded Core (axiodb npm package):
    • In-process NoSQL engine with file-per-document storage.
    • Singleton pattern: new AxioDB() can only be called once per process.
  2. HTTP API & Web GUI (Port 27018):
    • Fastify control server providing REST API endpoints (/api/*) and serving the Web GUI dashboard.
  3. TCP Remote Access (Port 27019):
    • High-throughput binary protocol used by AxioDBCloud client with connection pooling (maxPoolSize: 10) and RBAC authentication.
  4. MCP Server (Port 27020):
    • Native in core (new AxioDB({ MCP: true })) and Docker (AXIODB_MCP=true). Exposes 45 database management tools over Streamable HTTP for AI agents.
  5. Desktop GUI (Electron):
    • Standalone native desktop viewer connecting over TCP.

For deep architectural details, consult architecture-and-scope.md.


3. Operational Workflows

A. Installing AxioDB

Install the core database library directly into your project via npm:

npm install axiodb

For native Desktop GUI or CLI binaries, download directly from GitHub Releases. For platform matrices and setup options, read installation-and-setup.md.

B. Launching Docker Containers

When asked to start AxioDB via Docker, use the pre-configured runner:

# Standard profile (HTTP 27018 + TCP 27019 with auth)
./skill/scripts/run_docker.sh standard "<ADMIN_PASSWORD>"

# Headless TCP profile (no GUI/HTTP, port 27019 with seeded password)
./skill/scripts/run_docker.sh headless "<ADMIN_PASSWORD>"

# MCP profile for AI agents (Ports 27018, 27019, 27020)
./skill/scripts/run_docker.sh mcp "<ADMIN_PASSWORD>"

# Unauthenticated profile (trusted private network only)
./skill/scripts/run_docker.sh no-auth

For volume mounts, environment variables, and Docker Compose templates, read docker-and-tcp.md.

C. System Diagnostics & Health Checks

When troubleshooting connection errors, port conflicts, or container status:

./skill/scripts/diagnose.sh

4. Legitimate Code Syntax

Embedded Initialization & CRUD

import { AxioDB } from "axiodb";

const db = new AxioDB({ RootName: "AppDB", CustomPath: "./data", Cache: true });
const database = await db.createDB("production");
const users = await database.createCollection("users");

// Insert document
await users.insert({ name: "Alex", role: "developer", active: true });

// Query with operators
const results = await users
  .query({ role: "developer", active: { $ne: false } })
  .Sort({ name: 1 })
  .Limit(20)
  .exec();

Remote TCP Connection (AxioDBCloud)

import { AxioDBCloud } from "axiodb";

const client = new AxioDBCloud("axiodb://admin:<ADMIN_PASSWORD>@localhost:27019", {
  maxPoolSize: 10,
  timeout: 10000,
});
await client.connect();

const db = await client.createDB("production");
const users = await db.createCollection("users");

For complete query operators ($in, $regex, $gt, etc.), aggregation pipelines, index hints, and ACID transactions, refer to core-api-and-syntax.md.


5. Production Rules & Gotchas

  1. Singleton Guard: Always instantiate new AxioDB() once and export the instance. Never call it in request handlers.
  2. First-Login Password Rotation: The default admin/admin credentials reject TCP connections until rotated via the Web GUI (http://localhost:27018) or initialized via AXIODB_ADMIN_PASSWORD.
  3. Cache Jitter: Leave minTTL (5m) and maxTTL (15m) active to prevent cache stampedes.
  4. Index Selectivity: Add secondary indexes (newIndex) only on fields used in query filters. Always use .hint("field") for guaranteed O(1) lookups.

Consult production-best-practices.md and limitations-and-gotchas.md before writing production code.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.