anarlog: Skill for Claude Code

.agents/skills/migrate-to-sqlite/SKILL.md

migrate-to-sqlite is a skill for Claude Code, Codex from fastrepl/anarlog. It costs 44 tokens per session (2,257 once invoked), scanned A, original, MIT.

A migration guide for moving data from TinyBase tables into an application's SQLite database. TinyBase is a small in-app data store, while SQLite is a file-based database.

In plain words
What is it for?
Use it when migrating data domains such as calendars, events, sessions, tasks, or notes, while tracking migration phases and out-of-scope settings.
Why use it?
It helps plan the move without overlooking which parts of the application read or write each table.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is fastrepl/anarlog's own configuration. It tells Claude Code and Codex how to work on anarlog itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything anarlog configures →

About the project

anarlog is a local-first AI meeting notetaker that captures device audio, transcribes meetings, and stores notes, transcripts, and recordings on the user's computer. It is for people who want meeting notes without adding a bot to calls or sending conversation data to an external cloud. The catalogue entries provide agent integrations and workflows for the application.

fastrepl/anarlog · 9,621 stars · on GitHub · anarlog.so

Reuse

Borrowing it

Nothing to install: this file belongs to fastrepl/anarlog. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/fastrepl/anarlog/main/.agents/skills/migrate-to-sqlite/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/fastrepl/anarlog

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 migrate-to-sqlite

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/fastrepl/anarlog/migrate-to-sqlite"><img src="https://agentmods.dev/badge/skills/fastrepl/anarlog/migrate-to-sqlite.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,257 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 175
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
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.00044 $0.02257
Opus 5.5 $0.00018 $0.00903
Sonnet 5.5 $0.00009 $0.00451
Haiku 4.5 $0.00004 $0.00226

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

Security

Grade A, and why

migrate-to-sqlite 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 2mo 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/skills/migrate-to-sqlite/SKILL.md · 177 lines

How it starts

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

Status

Keep up to date as each PR lands. Outer box = fully done across both phases. Sub-bullets track sub-states where relevant.

This migration targets the TinyBase main store only. The separate TinyBase settings store is out of scope unless the plan is explicitly expanded to include it.

  • templates — already Drizzle, no Phase 0 needed
  • calendars
    • Phase 0 reads (PR 2: useCalendar, useEnabledCalendars)
    • Phase 0 writes — services/calendar/ctx.ts has a cross-domain calendars+events transaction; lands with events PR
    • Phase 1 — Rust migration + ops exist
  • events
    • Phase 0
    • Phase 1 — Rust migration + ops exist
  • sessions
  • transcripts
  • humans
  • organizations
  • enhanced_notes
    • Phase 0 reads — session/hooks/useEnhancedNotes.ts
    • Phase 0 writes
    • Phase 1
  • mapping_session_participant
  • mapping_tag_session
  • mapping_mention
  • tags
  • chat_groups
  • chat_messages
  • session_key_facts
  • tasks
  • daily_notes
    • Phase 0 writes (partial) — chat/store/*
    • Phase 0 reads
    • Phase 1
  • tasks
  • memories
    • Phase 0 writes — settings/memory/custom-vocabulary.tsx
    • Phase 0 reads
    • Phase 1
  • daily_notes

Strategy

Two-phase, per-domain migration. Each phase is many small PRs.

Phase 0 — Decouple consumers

Before any storage swap, move every TinyBase call behind a domain hook living in apps/desktop/src/<domain>/hooks.ts (or <domain>/hooks/*). Hook return shapes are plain TypeScript; no TinyBase types leak out. Consumer code stops importing ~/store/tinybase/store/main.

Scope note: this applies to consumers of ~/store/tinybase/store/main and the legacy ~/store/tinybase/hooks barrel. Do not start wrapping settings.UI.* usage behind new hooks as part of this effort; ~/store/tinybase/store/settings is intentionally out of scope for this migration.

Read the full file on GitHub · 177 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. 2mo ago First seen · 177 lines · 44 tokens per session scan A 3487f56acbc2

Subscribe to this mod's changes

migrate-to-sqlite is a skill published in the GitHub repository fastrepl/anarlog (9,621 stars, last pushed yesterday), licensed MIT. It adds 44 tokens to every session and 2,257 once invoked, about $0.0002 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

graphify-windows

Turn any folder of files into a navigable knowledge graph with community detection, an honest audit trail, and three outputs: interactive HTML, GraphRAG-ready JSON, and a plain-language GRAPHREPORT.md.

saeedkolivand/ai-job-hunter-app · 75 tokens

lessons

How to propose and query distilled lessons (the experiential memory). Only project-steward persists; every other agent proposes/queries. Use when you discover a durable lesson or need prior experience for the current task.

saeedkolivand/ai-job-hunter-app · 45 tokens

webgl-standards

DORMANT (ADR-0017, 2026-07-20) - the TERMINAL VELOCITY scroll-film was retired and apps/landing is a static site with no GL surface; this skill is preserved for any future WebGL rebuild (conventions, verified version pins, playhead/scroll-rig/VAT/Gerstner/post-chain patterns, budgets, gate + semantic-layer machinery).…

saeedkolivand/ai-job-hunter-app · 108 tokens

agent-cli-standards

Agent-facing CLI standards — the argv-sentinel binary mode, the thin-client-over-the-bridge rule, allowlist projections, prompt-fencing third-party text, the stable machine-readable output contract, exit codes, throttling, and destructive-command operability. Load for changes under extensionbridge/agentcli.rs…

saeedkolivand/ai-job-hunter-app · 83 tokens

webgl-gate-audit

Procedures for auditing apps/landing TERMINAL VELOCITY WebGL phase gates - driving the browser to exact playhead positions across the 9 scenes, screenshot discipline, scrub + VAT determinism (scrub down THEN rewind to the same playhead -> identical frame), FPS sampling at the risk scenes, draw-call + bundle-size…

saeedkolivand/ai-job-hunter-app · 123 tokens

extension-standards

Browser-extension + bridge standards — MV3 (Chrome + Firefox), least-privilege permissions, the loopback pairing-token auth model, the shared TS↔Rust wire protocol, and the Chrome Web Store + Firefox AMO store-policy + pre-submission checklist. Load for changes under apps/extension/, extensionbridge/, and the…

saeedkolivand/ai-job-hunter-app · 75 tokens