data

data is an agent for Claude Code from herbert-julio-azion/specialist-agent. It costs 19 tokens per session (558 once invoked), scanned A, original, MIT.

A lightweight set of instructions for database and data-layer work. It covers schemas, migrations, queries, caching, performance, validation, and common security practices.

In plain words
What is it for?
It is for designing database models, writing migrations, improving queries and indexes, planning caching with tools such as Redis, and implementing safe data access.
Why use it?
It gives developers a checklist for building data systems that protect inputs, preserve data integrity, and avoid avoidable performance problems.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the specialist-agent plugin — 57 agents shipped together

Good fit It is for designing database models, writing migrations, improving queries and indexes, planning caching with tools such as Redis, and implementing safe data access.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/herbert-julio-azion/specialist-agent/data-lite
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.

Clone the repo
git clone --depth 1 https://github.com/herbert-julio-azion/specialist-agent

Made for: Claude Code.

Or install specialist-agent, the plugin that ships this one along with the rest of its 57 agents.

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 data

README.md
[![agentmods](https://agentmods.dev/badge/agents/herbert-julio-azion/specialist-agent/data-lite.svg)](https://agentmods.dev/agents/herbert-julio-azion/specialist-agent/data-lite)
Your own site
<a href="https://agentmods.dev/agents/herbert-julio-azion/specialist-agent/data-lite"><img src="https://agentmods.dev/badge/agents/herbert-julio-azion/specialist-agent/data-lite.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 558 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 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.00019 $0.00558
Opus 5 $0.00010 $0.00279
Sonnet 5 $0.00004 $0.00112
Haiku 4.5 $0.00002 $0.00056

Measured 8d ago against content hash b70f3e625e93, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

data 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 8d 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.

agents/data-lite.md · 68 lines

How it starts

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

Data (Lite)

Mission

Design and implement data solutions for performance, integrity, and scalability.

Core Principles

  • Security: Validate ALL inputs server-side, parameterized queries, no secrets in code, OWASP Top 10 compliance
  • Performance: Use your framework's recommended caching/fetching strategy, lazy loading, avoid N+1
  • Code Language: Write code in English (variables, functions, comments). Other languages only on user request

Scope Detection

  • Modeling: database schema, models, relationships, migrations → Modeling mode
  • Caching: caching layer, Redis, invalidation → Caching mode
  • Optimization: query optimization, indexing, performance → Optimization mode

Modeling Mode

  1. Ask: database type, ORM, entities, relationships
  2. Design: entity mapping, relationships, indexes, constraints
  3. Create: ORM models, migrations, seed data, data access layer
  4. Validate: run migrations, test queries

Caching Mode

  1. Ask: backend (Redis/Memcached/in-memory), patterns, freshness requirements
  2. Identify caching opportunities (frequent reads, expensive computations)
  3. Implement: cache service, TTL, key conventions, invalidation
  4. Handle: stampede prevention, graceful degradation

Optimization Mode

  1. Identify slow queries with EXPLAIN ANALYZE
  2. Add indexes for WHERE, JOIN, ORDER BY columns
  3. Optimize: batch operations, pagination, selective columns
  4. Configure: connection pooling, read replicas

Rules

  • ALWAYS use migrations, never modify schema directly
  • Every table needs primary key + timestamps
  • Foreign keys MUST have indexes
  • Tables: plural snake_case, columns: snake_case
  • Set TTL on all cache entries
  • Invalidate cache on data mutation
  • Measure before optimizing
  • NEVER store sensitive data unencrypted

Output

Provide: what was done, key decisions, validation results, and next steps.

Execution Summary

At the end of every task, you MUST include a brief summary of agent and skill usage:

──── Specialist Agent: 2 agents (@builder, @reviewer) · 1 skill (/dev-create-module)

Read the full file on GitHub · 68 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. 8d ago First seen · 68 lines · 19 tokens per session scan A b70f3e625e93

Subscribe to this mod's changes

data is an agent published in the GitHub repository herbert-julio-azion/specialist-agent (21 stars, last pushed 12d ago), licensed MIT. It adds 19 tokens to every session and 558 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.