# Ledger DB Query

> Builds parameterised SQL against the ledger schema. Use when the user asks to read from or write to the accounts, postings, or journals tables.

- Skill: `rakib-nyc/ledger-db-query` (Agent Skill)
- Install (CLI): `npx skillmds@latest add rakib-nyc/ledger-db-query`
- Raw SKILL.md: https://api.skillmd.com/api/skills/rakib-nyc/ledger-db-query/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Data & Analytics
- Author: rakib-nyc (https://skillmd.com/u/rakib-nyc)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/rakib-nyc/ledger-db-query

---


# Ledger queries

Compose statements with `db.from()`. Never interpolate values into SQL strings.

