enzyme-sqlite-source

enzyme-sqlite-source is a skill for Codex from byenzyme/enzyme. It costs 83 tokens per session (7,532 once invoked), scanned A, original, Apache-2.0.

A guided process for connecting an unfamiliar SQLite database, a file-based database, to Enzyme without changing its data.

In plain words
What is it for?
Use it with email, message, CRM, archive, or similar data to inspect examples, save a TOML mapping, and verify Enzyme setup and refresh.
Why use it?
It helps determine what each database column means and records the approved mapping instead of relying on guesses.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it with email, message, CRM, archive, or similar data to inspect examples, save a TOML mapping, and verify Enzyme setup and refresh.

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

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 enzyme-sqlite-source

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/byenzyme/enzyme/enzyme-sqlite-source"><img src="https://agentmods.dev/badge/skills/byenzyme/enzyme/enzyme-sqlite-source.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,532 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.00083 $0.07532
Opus 5.5 $0.00033 $0.03013
Sonnet 5.5 $0.00017 $0.01506
Haiku 4.5 $0.00008 $0.00753

Measured 22d ago against content hash 791bd9c8956f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

enzyme-sqlite-source 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 22d 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/enzyme-sqlite-source/SKILL.md · 547 lines

How it starts

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

Enzyme SQLite Source

The main rule:

Inspect the source without changing it. Before writing config, show the user real joined rows and explain the timestamps. After the user confirms the mapping, record it in config so enzyme init and enzyme refresh can repeat the same work without an LLM.

The first job of every user-facing message is revelation, not a report about the engine. Speak in the vocabulary of the archive: its people, dates, messages, mailboxes, threads, folders, and questions. Column names, SQL, NULL rates, source row/bucket counts, embedding counts, entities, and catalysts are evidence for the agent. Translate what they mean before speaking to the user, and keep the raw details in the technical appendix unless the user asks for them.

Follow this order:

  1. Inspect the database read-only.
  2. Identify the person, date, message, folder, and ID columns and choose a workspace name.
  3. Show real examples and ask the user to confirm the mapping.
  4. Write the confirmed source sqlite declaration in $ENZYME_HOME/configs/<name>.enzyme.
  5. Validate it with enzyme scan --workspace <name>.
  6. Build it with enzyme --workspace <name> init, then use refresh.
  7. Verify document and embedding counts.
  8. Test whether searches for a person are actually about that person.

Enzyme needs these parts from each source row:

  • id: a stable value that uniquely identifies the row.
  • who: people, organizations, or other named entities.
  • when: when the record happened.
  • what: the text to index.
  • where: an optional thread, mailbox, folder, or similar group.

Never edit, migrate, vacuum, attach to, or create anything in the source database. Open it read-only. Do not write config or initialize Enzyme until the user has seen and confirmed the proposed mapping.

Choose the source and workspace

Choose a short workspace name such as imessage, mail, or crm. It must be one filesystem component, not a path. Address it only as --workspace <name>. Enzyme owns its index at $ENZYME_HOME/workspaces/<name>/enzyme.db (default ~/.enzyme/workspaces/<name>/enzyme.db); the skill never chooses, creates, or writes that storage path.

Read the full file on GitHub · 547 lines

Files

What ships with it

1 file 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. 22d ago Changed 791bd9c8956f
  2. 1mo ago Changed ebea71bbb6f3
  3. 1mo ago Changed 26bb6ebb93a3
  4. 2mo ago Changed · +5 lines · +3 tokens per session 21d45cf44ab9
  5. 2mo ago Changed cc1a01ff4394
  6. 3mo ago First seen · 542 lines · 80 tokens per session scan A 09a6ee7b5fbb

Subscribe to this mod's changes

enzyme-sqlite-source is a skill published in the GitHub repository byenzyme/enzyme (165 stars, last pushed 23d ago), licensed Apache-2.0. It adds 83 tokens to every session and 7,532 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

enzyme-sqlite-source compared with skills from other repositories

enzyme-sqlite-source next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
enzyme-sqlite-sourcebyenzyme/enzymeSkill16523d agoApache-2.0A83Codex
ai-second-braincharlie947/ai-second-brainSkill2631mo agoMITA174Claude Code, Codex
whatsapp-synctonydzi/second-brain-starter-kitSkill16todayMITA80Claude Code
crm-synctonydzi/second-brain-starter-kitSkill16todayMITA65Claude Code
faaa-synctonydzi/second-brain-starter-kitSkill16todayMITA63Claude Code
wiki-buildzhuzhaoyun/MolioSkill453yesterdaynoneA346Claude Code, Codex
remotionzhuzhaoyun/MolioSkill453yesterdaynoneA0Claude Code, Codex