appwrite-ruby

appwrite-ruby is a skill for Cursor from appwrite/cursor-plugin. It costs 45 tokens per session (3,487 once invoked), scanned A, a copy of appwrite-dotnet, BSD-3-Clause.

A Ruby software-development guide for using Appwrite from server applications, including Rails and Sinatra. Appwrite is a backend service with user accounts, databases, file storage, and functions.

In plain words
What is it for?
Use it when building Ruby server applications that manage users, database tables and rows, stored files, or Appwrite functions.
Why use it?
It provides the setup and usage patterns needed to connect Ruby code to Appwrite and avoid relying on outdated database APIs.

Skill for Cursor ✓ vendor

Written for Cursor: shipped in a Cursor plugin.

Part of the appwrite-plugin plugin — 11 skills, 2 commands, 1 MCP server shipped together

Good fit Use it when building Ruby server applications that manage users, database tables and rows, stored files, or Appwrite functions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/appwrite/cursor-plugin/appwrite-ruby
About the project

Appwrite Cursor Plugin is a Cursor editor add-on that provides coding assistance and deployment tools for Appwrite, a backend service offering authentication, databases, file storage, realtime features, and functions. Developers use it to work with Appwrite SDKs and deploy Appwrite sites and functions from Cursor. Its catalogue entries provide Appwrite skills, deployment commands, and connections to the hosted Appwrite MCP server.

appwrite/cursor-plugin · 19 stars · on GitHub · appwrite.io

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add appwrite/cursor-plugin --skill appwrite-ruby
Clone the repo
git clone --depth 1 https://github.com/appwrite/cursor-plugin

Made for: Cursor.

Or install appwrite-plugin, the plugin that ships this one along with the rest of its 11 skills, 2 commands, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for appwrite-ruby

README.md
[![agentmods](https://agentmods.dev/badge/skills/appwrite/cursor-plugin/appwrite-ruby/github.svg)](https://agentmods.dev/skills/appwrite/cursor-plugin/appwrite-ruby)
Your own site
<a href="https://agentmods.dev/skills/appwrite/cursor-plugin/appwrite-ruby"><img src="https://agentmods.dev/badge/skills/appwrite/cursor-plugin/appwrite-ruby/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for appwrite-ruby

Your own site · 80×15
<a href="https://agentmods.dev/skills/appwrite/cursor-plugin/appwrite-ruby"><img src="https://agentmods.dev/badge/skills/appwrite/cursor-plugin/appwrite-ruby.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,487 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 88% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00045 $0.03487
Opus 5.5 $0.00018 $0.01395
Sonnet 5.5 $0.00009 $0.00697
Haiku 4.5 $0.00005 $0.00349

Measured 7d ago against content hash 262ceb5ea5ea, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

appwrite-ruby scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

88% identical to appwrite-dotnet — 561 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/appwrite-ruby/SKILL.md · 455 lines

How it starts

The opening of the file, as written. The whole thing — 455 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Appwrite Ruby SDK

Installation

gem install appwrite

Setting Up the Client

require 'appwrite'

include Appwrite

client = Client.new
    .set_endpoint('https://<REGION>.cloud.appwrite.io/v1')
    .set_project(ENV['APPWRITE_PROJECT_ID'])
    .set_key(ENV['APPWRITE_API_KEY'])

Code Examples

User Management

users = Users.new(client)

# Create user
user = users.create(user_id: ID.unique, email: '[email protected]', password: 'password123', name: 'User Name')

# List users
list = users.list(queries: [Query.limit(25)])

# Get user
fetched = users.get(user_id: '[USER_ID]')

# Delete user
users.delete(user_id: '[USER_ID]')

Database Operations

Note: Use TablesDB (not the deprecated Databases class) for all new code. Only use Databases if the existing codebase already relies on it or the user explicitly requests it.

Tip: Prefer keyword arguments (e.g., database_id: '...') for all SDK method calls. Only use positional arguments if the existing codebase already uses them or the user explicitly requests it.

tables_db = TablesDB.new(client)

# Create database
db = tables_db.create(database_id: ID.unique, name: 'My Database')

# Create row
doc = tables_db.create_row(
    database_id: '[DATABASE_ID]',
    table_id: '[TABLE_ID]',
    row_id: ID.unique,
    data: { title: 'Hello World' }
)

# Query rows
results = tables_db.list_rows(
    database_id: '[DATABASE_ID]',
    table_id: '[TABLE_ID]',
    queries: [Query.equal('title', 'Hello World'), Query.limit(10)]
)

# Get row
row = tables_db.get_row(database_id: '[DATABASE_ID]', table_id: '[TABLE_ID]', row_id: '[ROW_ID]')

# Update row
tables_db.update_row(
    database_id: '[DATABASE_ID]',
    table_id: '[TABLE_ID]',
    row_id: '[ROW_ID]',
    data: { title: 'Updated' }
)

# Delete row
tables_db.delete_row(database_id: '[DATABASE_ID]', table_id: '[TABLE_ID]', row_id: '[ROW_ID]')
String Column Types

Note: The legacy string type is deprecated. Use explicit column types for all new columns.

Read the full file on GitHub · 455 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago Changed · +32 lines 262ceb5ea5ea
  2. 1mo ago First seen · 423 lines · 45 tokens per session scan A e197198d481b

Subscribe to this mod's changes

appwrite-ruby is a skill published in the GitHub repository appwrite/cursor-plugin (19 stars, last pushed 7d ago), licensed BSD-3-Clause. It adds 45 tokens to every session and 3,487 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to appwrite-dotnet, differing in 561 lines, and is treated as a copy.

Related

Other skills, from other repositories

pn-ruby-scaffolding

Scaffolds new Ruby API projects (Rails API-only, Sinatra) or routes. Use when adding a new controller/service; covers Rails conventions, Gemfile hygiene, service objects, and idiomatic Ruby patterns.

perniemann/pnCore · 49 tokens

telnyx-voice-advanced-ruby

Advanced call control features including DTMF sending, SIPREC recording, noise suppression, client state, and supervisor controls. This skill provides Ruby SDK examples.

team-telnyx/ai · 41 tokens

new

Create a new project to start development quickly.

clacky-ai/openclacky · 10 tokens

dhh-rails-style

This skill should be used when writing Ruby and Rails code in DHH's distinctive 37signals style. It applies when writing Ruby code, Rails applications, creating models, controllers, or any Ruby file. Triggers on Ruby/Rails code generation, refactoring requests, code review, or when the user mentions DHH, 37signals…

davekilleen/Dex · 115 tokens

rails-dev

Opinionated Rails conventions: rich models, concerns, CRUD-everything, state-as-records, minimal dependencies, Minitest with fixtures. Load this skill BEFORE any code-level thinking, not only before editing a file. It is required the moment a task touches Rails code in ANY way: designing or even just discussing a data…

tech-leads-club/agent-skills · 199 tokens

ruby-expert

Expert-level Ruby development with Rails, modern features, testing, and best practices. Use when the user mentions Ruby on Rails, RSpec, gem, Sinatra, or metaprogramming, or when the task involves Ruby 3+ Features, Object-Oriented, Functional Features, or Pattern Matching.

personamanagmentlayer/pcl · 64 tokens