Skip to main content
subagent

nosql-specialist — Claude Code subagent: what it does, how to install

Models schemas, builds aggregation pipelines, and tunes indexing for MongoDB, Redis, Cassandra, and graph stores. Useful when structuring NoSQL data layers.

Install into Claude Code · claude-code-templates All methods and platforms ↓
npx claude-code-templates@latest --agent database/nosql-specialist
Open on GitHub

What nosql-specialist does

The subagent assists with non-relational database architecture across document engines like MongoDB, key-value layers such as Redis or DynamoDB, and graph stores like Neo4j. It designs collection validation schemas with $jsonSchema, determines when to embed or reference entities, and defines compound indexes tailored to query patterns.

Beyond static schema definitions, it handles multi-document transactions with session rollback logic and builds aggregation pipelines evaluated with explain("executionStats"). The agent relies on Read, Write, Edit, and Bash tools, meaning it requires local workspace and terminal execution privileges to modify project files directly.

What it helps with

  • structure MongoDB collection schemas with $jsonSchema validation
  • build analytics aggregation pipelines tested with executionStats
  • implement multi-document transactional updates with error rollback
  • configure compound indexes for frequent query filters

Example prompts for the agent

  • Design a MongoDB user schema with embedded address validation and compound indexes
  • Write an aggregation pipeline to analyze active customers over the past six months
  • Create a Python helper for managing user sessions with expiration in Redis

How to install nosql-specialist

1claude-code-templates

npx claude-code-templates@latest --agent database/nosql-specialist

2Manually: put the files in place

.claude/agents/nosql-specialist.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about nosql-specialist

How do I install nosql-specialist in Claude Code?

Run npx claude-code-templates@latest --agent database/nosql-specialist in your project root or place the agent definition into .claude/agents/nosql-specialist.md.

What databases does nosql-specialist cover?

It covers document databases like MongoDB and CouchDB, key-value and column stores including Redis, DynamoDB, and Cassandra, plus graph engines like Neo4j and Amazon Neptune.

Which tools does the subagent require to run?

Its configuration defines access to Read, Write, Edit, and Bash. It needs these tools to inspect code, apply schema updates, and run terminal commands.

Similar subagents

All subagents for Data and databases →

From the same set495

The whole set →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor