Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Appwrite CLI

$ appwrite Official High Risk
Appwrite · Workspace & SaaS · BSD-3-Clause · macos / linux / windows

Appwrite CLI (appwrite) exposes Appwrite's server API endpoints and project deployment workflow (init, pull, push) from the terminal. Global --json and --force flags enable structured reads and non-interactive CI runs, while appwrite client allows stateless API-key calls without local project state.

FCRS-1.0 Score
81 /100
Good
Medium Confidence
Zero-Friction Install
npm install -g appwrite-cli
CLI vs MCP Decision CLI Preferred vs MCP

Maps 1:1 to Appwrite REST endpoints with --json output and handles local appwrite.config.json push/pull workflows directly.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 21 / 25

Global --json and --force flags support machine parsing and headless CI execution, though some interactive init flows still expect TTY answers if flags are omitted.

  • Global --json and --force flags
  • Stateless appwrite client configuration mode
Trust & Safety 19 / 25

Supports explicit --project-id scoping and confirmation prompts (bypassed only via --force), but lacks a --dry-run diff for push.

  • Explicit --force opt-in for destructive/push actions
  • No --dry-run preview on appwrite push
Setup & Portability 13 / 15

Available via npm, npx, Homebrew formula/cask, and standalone GitHub release binaries across macOS, Linux, and Windows.

  • Published as appwrite-cli on npm with GitHub release binaries
Utility & Efficiency 13 / 15

Full coverage of Appwrite projects, tables/databases, users, storage, and serverless functions in one CLI.

  • Maps directly to Appwrite server API endpoints and appwrite.config.json sync
Maintenance & Lineage 8 / 10

Officially maintained by Appwrite (appwrite/sdk-for-cli) under BSD-3-Clause.

  • Official appwrite/sdk-for-cli repository
Docs & Verifiability 7 / 10

Good official CLI docs and auto-generated --help per API resource.

  • Built-in --help and Appwrite Docs CLI guide

Security, Auth & Guardrails

Auth Modes
Config File Env API Key
Credential Storage

Stores session cookies and endpoint settings locally via appwrite login, or authenticates headlessly with appwrite client --endpoint ... --project-id ... --key ....

Side Effects
Read-Only Local Write Remote Write Destructive
Cost & Quotas

BSD-3-Clause open-source CLI; Appwrite Cloud offers a free tier alongside self-hosted Docker deployment.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Appwrite CLI Agent Rules
- Always pass `--json` on read and write commands for structured output.
- Confirm target `--project-id` before running `appwrite push --force` or any delete subcommand.

Agent-Ready Command Recipes

Safe Read-Only Queries

List projects in JSON
appwrite projects list --json

Retrieves configured Appwrite projects and IDs as structured JSON.

Query database collections read-only
appwrite databases list --json

Lists databases in the active project without mutating schema or rows.

Controlled Writes & Previews

Deploy functions non-interactively
appwrite push functions --force --json

Pushes local function definitions to Appwrite without interactive confirmation prompts.

Strengths for Agents

  • + Consistent --json output across API-mapped commands and appwrite push.
  • + Supports both project-config sync (appwrite.config.json) and stateless appwrite client calls.

Caveats & Pitfalls

  • ! appwrite push lacks a --dry-run diff preview before deploying.
  • ! --force suppresses all confirmations, so scoping --project-id first is essential.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI