SQLCipher Encrypted Database Expert

SQLCipher Encrypted Database Expert is a skill for Claude Code, Codex from martinholovsky/claude-skills-generator. It costs 33 tokens per session (4,056 once invoked), scanned A, original, Unlicense.

A specialist guide for SQLCipher, a version of SQLite that encrypts database files, covering keys, migrations, backups, and secure data handling.

In plain words
What is it for?
Use it when setting up encryption, rotating keys, migrating SQLite databases, tuning encrypted databases, planning backups, or assessing risks from a compromised key.
Why use it?
It helps avoid mistakes that could expose encrypted data or make key management and database upgrades unsafe.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: model in frontmatter.

Good fit Use it when setting up encryption, rotating keys, migrating SQLite databases, tuning encrypted databases, planning backups, or assessing risks from a compromised key.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/martinholovsky/claude-skills-generator/sqlcipher
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 martinholovsky/claude-skills-generator --skill sqlcipher
Clone the repo
git clone --depth 1 https://github.com/martinholovsky/claude-skills-generator

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 SQLCipher Encrypted Database Expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/martinholovsky/claude-skills-generator/sqlcipher/github.svg)](https://agentmods.dev/skills/martinholovsky/claude-skills-generator/sqlcipher)
Your own site
<a href="https://agentmods.dev/skills/martinholovsky/claude-skills-generator/sqlcipher"><img src="https://agentmods.dev/badge/skills/martinholovsky/claude-skills-generator/sqlcipher/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 SQLCipher Encrypted Database Expert

Your own site · 80×15
<a href="https://agentmods.dev/skills/martinholovsky/claude-skills-generator/sqlcipher"><img src="https://agentmods.dev/badge/skills/martinholovsky/claude-skills-generator/sqlcipher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,056 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.00033 $0.04056
Opus 5.5 $0.00013 $0.01622
Sonnet 5.5 $0.00007 $0.00811
Haiku 4.5 $0.00003 $0.00406

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

Security

Grade A, and why

SQLCipher Encrypted Database Expert 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 3mo 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/sqlcipher/SKILL.md · 496 lines

How it starts

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

SQLCipher Encrypted Database Expert

0. Mandatory Reading Protocol

CRITICAL: Before implementing encryption operations, read the relevant reference files:

Trigger Reference File
First-time encryption setup, key derivation, memory handling references/security-examples.md
SQLite migration, custom PRAGMAs, performance tuning, backups references/advanced-patterns.md
Security architecture, threat assessment, key compromise planning references/threat-model.md

1. Overview

Risk Level: HIGH

Justification: SQLCipher handles encryption of sensitive data at rest. Improper key management can lead to data exposure, weak key derivation enables brute-force attacks, and cryptographic misconfigurations can completely compromise security guarantees.

You are an expert in SQLCipher encrypted database development, specializing in:

  • Encryption key management with secure derivation and storage
  • Key rotation without data loss or downtime
  • Cryptographic best practices for AES-256 configuration
  • Secure memory handling to prevent key exposure
  • Migration strategies from plain SQLite to encrypted databases

Primary Use Cases

  • Encrypted local storage for sensitive user data
  • HIPAA/GDPR compliant data storage
  • Secure credential and secret management
  • Privacy-focused applications

2. Core Principles

2.1 Development Principles

  1. TDD First - Write tests before implementation for all encryption operations
  2. Performance Aware - Optimize cipher configuration and page sizes for efficiency
  3. Use strong key derivation - PBKDF2 with high iteration counts (256000+)
  4. Never hardcode encryption keys - Derive from user input or secure storage
  5. Secure memory handling - Zero out keys after use
  6. Implement key rotation - Plan for compromised keys
  7. Monitor dependencies - Track OpenSSL and SQLite CVEs

2.2 Data Protection Principles

  1. Encryption at rest with AES-256-CBC
  2. HMAC verification for integrity checking
  3. Secure key storage using OS keychain/credential manager
  4. Backup encryption with independent keys
  5. Secure deletion with PRAGMA secure_delete

Read the full file on GitHub · 496 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3mo ago First seen · 496 lines · 33 tokens per session scan A 0f3fbb7e96a3

Subscribe to this mod's changes

SQLCipher Encrypted Database Expert is a skill published in the GitHub repository martinholovsky/claude-skills-generator (48 stars, last pushed today), licensed Unlicense. It adds 33 tokens to every session and 4,056 once invoked, about $0.0001 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

SQLCipher Encrypted Database Expert compared with skills from other repositories

SQLCipher Encrypted Database Expert next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
SQLCipher Encrypted Database Expertmartinholovsky/claude-skills-generatorSkill48todayUnlicenseA33Claude Code, Codex
implementing-aes-encryption-for-data-at-restxalgorix/xalgorixSkill1.5k2d agoApache-2.0A52Claude Code, Codex
implementing-envelope-encryption-with-aws-kmsxalgorix/xalgorixSkill1.5k2d agoApache-2.0A55Claude Code, Codex
Drizzle ORM TestingPramodDutta/qaskillsSkill25328d agoMITA36Claude Code, Codex
cis-aws-foundations-3.2.1CyberStrikeus/CyberStrikeSkill3.8ktodayAGPL-3.0A23Claude Code, Codex
frontmcp-setupagentfront/frontmcpSkill154todayApache-2.0A176Claude Code, Codex
cis-aws-database-2.2CyberStrikeus/CyberStrikeSkill3.8ktodayAGPL-3.0A17Claude Code, Codex