couchdb

couchdb is a skill for Claude Code, Codex from G1Joshi/Agent-Skills. It costs 18 tokens per session (402 once invoked), scanned A, original, MIT.

A JSON document database that communicates through HTTP and supports replication between multiple servers. It is especially suited to applications that must work offline and sync later.

In plain words
What is it for?
Use it for offline-first web or mobile apps, peer-to-peer replication, and applications that store data as JSON documents.
Why use it?
It addresses unreliable connectivity by letting local and remote copies of data synchronise, including handling conflicting edits.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for offline-first web or mobile apps, peer-to-peer replication, and applications that store data as JSON documents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/g1joshi/agent-skills/couchdb
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 G1Joshi/Agent-Skills --skill couchdb
Clone the repo
git clone --depth 1 https://github.com/G1Joshi/Agent-Skills

Made for: Claude Code, Codex.

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 couchdb

README.md
[![agentmods](https://agentmods.dev/badge/skills/g1joshi/agent-skills/couchdb.svg)](https://agentmods.dev/skills/g1joshi/agent-skills/couchdb)
Your own site
<a href="https://agentmods.dev/skills/g1joshi/agent-skills/couchdb"><img src="https://agentmods.dev/badge/skills/g1joshi/agent-skills/couchdb.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 402 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found 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.00018 $0.00402
Opus 5 $0.00009 $0.00201
Sonnet 5 $0.00004 $0.00080
Haiku 4.5 $0.00002 $0.00040

Measured 4d ago against content hash 30eb37794173, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

couchdb scanned grade A with 1 finding 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 4d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X PUT http://admin:[email protected]:5984/my_database/doc1 \
skills/databases/couchdb/SKILL.md · 53 lines

What it actually says

Apache CouchDB

CouchDB is a database that completely embraces the web. It speaks JSON and HTTP. It is unique for its multi-master replication protocol, making it ideal for "Offline First" apps.

When to Use

  • Offline First Apps: PouchDB (in browser) + CouchDB (server) is the gold standard for syncing data.
  • Peer-to-Peer: Multiple servers can replicate with each other.
  • Reliability: Crash-resistant architecture (Append-only storage).

Quick Start

# Create a document via REST API
curl -X PUT http://admin:[email protected]:5984/my_database/doc1 \
     -d '{"key": "value"}'

Core Concepts

Multi-Version Concurrency Control (MVCC)

Documents are versioned (_rev). If you update a doc, you must provide the current _rev. If it has changed on server, you get a conflict (409).

CommonJS MapReduce

Views are written in JavaScript functions (Map/Reduce).

Conflict Resolution

Since replication is multi-master, conflicts happen. CouchDB keeps all conflicting revisions and lets the app execute logic to pick a winner.

Best Practices (2025)

Do:

  • Use PouchDB: On the client side. It syncs automatically.
  • Use Mango Queries (Find): Easier than writing MapReduce views for simple lookups.
  • Compact: The append-only file grows forever. Run compaction regularly.

Don't:

  • Don't use as a generic backend: It is specialized for sync. If you don't need sync, Postgres/Mongo is often simpler.

References

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. 4d ago First seen · 53 lines · 18 tokens per session scan A 30eb37794173

Subscribe to this mod's changes

couchdb is a skill published in the GitHub repository G1Joshi/Agent-Skills (12 stars, last pushed 6mo ago), licensed MIT. It adds 18 tokens to every session and 402 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

deprecation-and-migration

Manages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset…

addyosmani/agent-skills · 69 tokens

firebase-database

Use when syncing real-time data, structuring JSON trees, reading/writing, creating listeners, enabling offline persistence, managing presence, sharding, or writing security rules.

evanca/flutter-ai-rules · 38 tokens

react-native-expert

Senior React Native and Expo engineer for building production-ready cross-platform mobile apps. Use when building React Native components, implementing navigation with Expo Router, optimizing list and scroll performance, working with animations via Reanimated, handling platform-specific code (iOS/Android), integrating…

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

backup-restore

PostgreSQL backup and restore with pgBackRest — full/incremental/WAL, PITR, K8s CronJob scheduling, and restore verification.

sawrus/agent-guides · 36 tokens

db-performance

PostgreSQL query performance — EXPLAIN ANALYZE, index design, pgstatstatements, slow query detection, connection pool tuning.

sawrus/agent-guides · 32 tokens

migration-safety

Safe database migrations in production — expand-and-contract, lock-safe DDL, timing estimation, rollback SQL.

sawrus/agent-guides · 25 tokens