data-storage

data-storage is a skill for Codex from d4rkNinja/arcforge. It costs 75 tokens per session (2,917 once invoked), scanned A, original, MIT.

A guide for designing and reviewing how an application stores data, including tables, documents, identifiers, dates, money, files, searches, deletion, and retention.

In plain words
What is it for?
Use it when designing or changing a database or file store, reviewing queries and indexes, planning deletion or retention, checking data provenance, or verifying storage behavior.
Why use it?
It exposes long-term risks that quick schema designs can miss, such as inaccurate values, unsafe constraints, poor indexes, duplicate records, and unclear data ownership.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it when designing or changing a database or file store, reviewing queries and indexes, planning deletion or retention, checking data provenance, or verifying storage behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/d4rkninja/arcforge/data-storage
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 d4rkNinja/arcforge --skill data-storage
Clone the repo
git clone --depth 1 https://github.com/d4rkNinja/arcforge

Made for: 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 data-storage

README.md
[![agentmods](https://agentmods.dev/badge/skills/d4rkninja/arcforge/data-storage/github.svg)](https://agentmods.dev/skills/d4rkninja/arcforge/data-storage)
Your own site
<a href="https://agentmods.dev/skills/d4rkninja/arcforge/data-storage"><img src="https://agentmods.dev/badge/skills/d4rkninja/arcforge/data-storage/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 data-storage

Your own site · 80×15
<a href="https://agentmods.dev/skills/d4rkninja/arcforge/data-storage"><img src="https://agentmods.dev/badge/skills/d4rkninja/arcforge/data-storage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,917 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00075 $0.02917
Opus 5.5 $0.00030 $0.01167
Sonnet 5.5 $0.00015 $0.00583
Haiku 4.5 $0.00007 $0.00292

Measured 1mo ago against content hash 78dddac61c35, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

data-storage 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 1mo 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.

skills/data-storage/SKILL.md · 167 lines

How it starts

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

Think Through Data & Storage

Overview

Production guidance for data modeling and storage. Each reference paper captures the correctness work that schema-first drafts miss: precision hazards, constraint-race conditions, index design from real predicates, soft-delete interactions with uniqueness, file-handling abuse, derived-store rebuilds, and retention obligations.

Core principle: Data outlives code. Every column, identifier, file, and derived index is a durable decision with invariants, an owner, and a lifecycle — not a convenient shape for today's feature.

Domain Law

NO DATA OR STORAGE CHANGE WITHOUT:
1. the minimum required primary paper(s) for the data being modeled selected from the context table;
2. the paper's pre-change questions
   answered, or each open point labeled as an assumption;
3. "Existing-codebase checks" run when changing an existing schema or store;
4. every applicable MUST mapped to a decision (constraint, index, policy),
   a test, or a documented exception — never silently downgraded;
5. whenever money is in scope — even a storage-only field — an explicit money
   contract names exact representation, currency/scale, each rounding or
   no-rounding boundary and mode, and deterministic boundary tests.

When to Use

Use this skill when thinking through, reviewing, changing, or verifying:

  • tables, documents, relationships, denormalization, and metadata modeling;
  • identifier generation, exposure, and migration (auto-increment, UUIDv4/v7, ULID, snowflake);
  • timestamps, timezones, DST, scheduling, and clock-skew handling;
  • money and numeric precision, rounding modes, and serialization fidelity;
  • primary/foreign/unique/check constraints and constraint race conditions;
  • indexes (composite, partial, covering) and query plans, N+1 elimination;
  • soft delete, restore, purging, and unique-constraint interaction;
  • retention, archival, expiration, anonymization, and legal hold;
  • immutable/append-only records, correction records, and tamper evidence;
  • file upload/download, MIME and signature validation, signed URLs, orphan cleanup;
  • image/video processing pipelines and original preservation;
  • full-text/vector search and index synchronization;
  • record versioning, provenance, source-of-truth boundaries, reconciliation, and cleanup jobs.

Read the full file on GitHub · 167 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. 1mo ago Changed · +9 lines 78dddac61c35
  2. 1mo ago First seen · 158 lines · 75 tokens per session scan A 3c71bd334ef7

Subscribe to this mod's changes

data-storage is a skill published in the GitHub repository d4rkNinja/arcforge (17 stars, last pushed 1mo ago), licensed MIT. It adds 75 tokens to every session and 2,917 once invoked, about $0.0003 per session on Opus 5.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.

Related

Other skills, from other repositories

architecture-paradigm-cqrs-es

Applies CQRS and Event Sourcing for read/write separation and audit trails. Use when designing systems with complex domain logic or full state-change history.

athola/claude-night-market · 39 tokens

architecture-paradigm-space-based

Applies data-grid architecture for high-traffic stateful workloads. Use when a single database cannot scale and in-memory partitioning is needed.

athola/claude-night-market · 35 tokens

java-persistence

Use when a Java service reads or writes the database - JPA/Hibernate and Panache/Spring Data mapping, transaction boundaries, pagination and avoiding N+1 and entity-over-the-wire leaks.

makifbaysal/tasktrooper · 42 tokens

cis-aws-database-3.1

Ensure to Choose the Appropriate Database Engine.

CyberStrikeus/CyberStrike · 17 tokens

backend-cqrs-patterns

Use this skill when the user says 'CQRS', 'command query segregation', 'separate read write model', 'command model', 'query model', 'read model', 'write model', 'materialized view', 'command handler', 'query handler'. This skill enforces: strict command/query separation, write model optimized for consistency, read…

j4flmao/agent-skills · 125 tokens

backend-event-sourcing

Use this skill when the user says 'event sourcing', 'event store', 'event stream', 'event sourced', 'rehydrate from events', 'event replay', 'projection rebuild', 'event log', 'append-only log', 'event history'. This skill enforces: events as the single source of truth, current state derived from event replay…

j4flmao/agent-skills · 118 tokens