← Back to Skills Marketplace
ivangdavila

Convex

by Iván · GitHub ↗ · v1.0.0
linuxdarwinwin32 ✓ Security Clean
374
Downloads
0
Stars
3
Active Installs
1
Versions
Install in OpenClaw
/install convex
Description
Build and maintain Convex backends with schema-safe modeling, query and mutation patterns, auth guards, and production rollout checks.
README (SKILL.md)

Setup

On first use, read setup.md for integration guidelines.

When to Use

User is building, debugging, or scaling a Convex backend and needs reliable patterns for data modeling, queries, mutations, actions, auth, and deployments.

This skill focuses on implementation quality and operational safety, not generic framework tutorials.

Architecture

Memory lives in ~/convex/. See memory-template.md for structure and status fields.

~/convex/
|- memory.md               # Durable project context and technical decisions
|- schema-notes.md         # Table design and index rationale
|- rollout-notes.md        # Deploy and incident learnings
`- auth-notes.md           # Auth model and permission edge cases

Quick Reference

Use the smallest relevant file for the current task.

Topic File
Setup flow setup.md
Memory template memory-template.md
Schema and indexes schema-and-indexes.md
Deploy and operations operations-playbook.md

Requirements

  • No API keys or external credentials are required by this skill itself.
  • TOKEN/KEY: Not required by this skill.
  • If a project uses third-party integrations, treat those credentials as user-managed secrets and never persist raw values in memory files.

Data Storage

This skill stores reusable context only under ~/convex/:

  • memory file for durable project context and decisions
  • schema notes for modeling and index rationale
  • rollout notes for deployment and incident lessons
  • auth notes for permission and boundary edge cases

Do not store secrets, access tokens, or personal data unless the user explicitly requests it.

Core Rules

1. Model Access Patterns Before Writing Schema

Define tables and indexes from real read paths first:

  • Which fields are filtered most often
  • Which sort order is needed
  • Which uniqueness guarantees are required

Do not rely on table scans in production paths.

2. Keep Function Boundaries Strict

Use each function type for its intended purpose:

  • Query: read-only and deterministic
  • Mutation: validated state changes
  • Action: external side effects and network calls

Do not mix external calls inside deterministic data paths.

3. Enforce Auth and Authorization at Every Entry Point

Treat every query, mutation, action, and HTTP entrypoint as untrusted input:

  • Resolve identity explicitly
  • Check workspace or tenant boundaries
  • Validate ownership before returning or mutating records

Never trust client-provided identifiers without server checks.

4. Design Indexes for Stability, Not Just Speed

Create indexes that match long-term product workflows:

  • Primary user lookup paths
  • Admin and backoffice paths
  • Background processing queues

Document index intent so future changes do not break critical queries.

5. Make Writes Idempotent for Retries

For webhooks and external callbacks:

  • Use stable idempotency keys
  • Upsert safely when replayed
  • Record processing status

A retry should not create duplicate side effects.

6. Ship with Safe Rollout Discipline

Before deploying schema or logic changes:

  • Verify backward compatibility for current clients
  • Prepare migration steps for renamed fields or tables
  • Confirm failure mode and rollback path

Never deploy unreviewed breaking data changes.

7. Preserve Debuggability in Production

When fixing incidents:

  • Capture a minimal reproduction query
  • Keep structured logs around actor, function, and record ids
  • Record final root cause and preventive rule in memory

Fast diagnosis compounds over time.

Common Traps

  • Building schema from entities only, not query paths -> slow reads and rework.
  • Putting network side effects in deterministic logic -> nondeterministic failures.
  • Treating auth as a UI concern -> cross-tenant data leaks.
  • Adding indexes reactively during outages -> unstable rollout under pressure.
  • Shipping breaking schema changes without migration staging -> runtime failures.
  • Ignoring idempotency for callbacks -> duplicate writes and billing errors.

Security & Privacy

Data that leaves your machine:

  • None by default from this skill itself.

Data that stays local:

  • Convex project context and decisions under ~/convex/.

This skill does NOT:

  • Automatically call external services.
  • Manage or store secrets outside user-approved files.
  • Apply destructive schema changes without explicit confirmation.
  • Modify files outside ~/convex/ for memory.

Related Skills

Install with clawhub install \x3Cslug> if user confirms:

  • backend - Service architecture and operational reliability patterns.
  • typescript - Type-safe design and implementation for app and backend code.
  • javascript - Runtime behavior and language-level debugging workflows.

Feedback

  • If useful: clawhub star convex
  • Stay updated: clawhub sync
Usage Guidance
This skill appears coherent and local-only, but before installing: (1) Confirm you're comfortable with the skill creating and writing files under ~/convex/ (it will store memory.md, notes, and playbooks). (2) Never paste secrets or raw API keys into those memory files; follow the skill's own admonition to treat secrets as user-managed. (3) Add ~/convex/ files to your .gitignore if you store code repositories nearby to avoid accidental commits. (4) Review the created files after first use to verify no sensitive data was stored and to set appropriate file permissions. (5) If you want tighter control, run the skill in an environment (VM/container) where home-directory writes are isolated.
Capability Analysis
Type: OpenClaw Skill Name: convex Version: 1.0.0 The skill bundle is benign. All files, including SKILL.md and setup.md, consistently provide instructions for the AI agent to follow secure development practices for Convex backends. Explicit instructions are given to avoid storing secrets, prevent data exfiltration, and ensure data integrity and authorization checks. There is no evidence of malicious prompt injection, unauthorized file access, external communication, or any other harmful behavior. The skill's scope is clearly defined and limited to local context management within the `~/convex/` directory.
Capability Assessment
Purpose & Capability
Name/description (Convex backend modeling, queries, auth, rollouts) match the instructions and supporting docs. The only declared external footprint is a local config path (~/convex/) used for project memory — this is appropriate for a developer-focused assistant that keeps project notes and checklists.
Instruction Scope
SKILL.md and auxiliary docs limit actions to reading/writing project context under ~/convex/, offering guidance on schema, indexes, auth, and rollouts. Instructions explicitly forbid storing secrets and calling external services by default. There is no instruction to read unrelated files or credentials.
Install Mechanism
Instruction-only skill with no install spec and no code files — nothing is downloaded or installed. This is the lowest-risk pattern and consistent with the described behavior.
Credentials
The skill declares no required env vars, no credentials, and only requires a config path under the user's home. Those requirements are proportional to a memory/ops playbook assistant and match the content of the SKILL.md.
Persistence & Privilege
The skill persists reusable project context to ~/convex/ (memory.md, notes). This is expected for its purpose, and always:false (not force-enabled) reduces risk. Users should be aware these files live on disk and confirm when the skill saves activation preferences or project context.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install convex
  3. After installation, invoke the skill by name or use /convex
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release with schema, auth, indexing, and rollout guidance for Convex projects.
Metadata
Slug convex
Version 1.0.0
License
All-time Installs 3
Active Installs 3
Total Versions 1
Frequently Asked Questions

What is Convex?

Build and maintain Convex backends with schema-safe modeling, query and mutation patterns, auth guards, and production rollout checks. It is an AI Agent Skill for Claude Code / OpenClaw, with 374 downloads so far.

How do I install Convex?

Run "/install convex" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Convex free?

Yes, Convex is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Convex support?

Convex is cross-platform and runs anywhere OpenClaw / Claude Code is available (linux, darwin, win32).

Who created Convex?

It is built and maintained by Iván (@ivangdavila); the current version is v1.0.0.

💬 Comments