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.
npx agentmods add skills/gipert/dbetto/inspect-textdbnpx skills add gipert/dbetto --skill inspect-textdbgit clone --depth 1 https://github.com/gipert/dbettoWrote 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.
[](https://agentmods.dev/skills/gipert/dbetto/inspect-textdb)<a href="https://agentmods.dev/skills/gipert/dbetto/inspect-textdb"><img src="https://agentmods.dev/badge/skills/gipert/dbetto/inspect-textdb.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00192 | $0.02620 |
| Opus 5 | $0.00096 | $0.01310 |
| Sonnet 5 | $0.00038 | $0.00524 |
| Haiku 4.5 | $0.00019 | $0.00262 |
Grade A, and why
inspect-textdb 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 215 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Inspecting a dbetto text database
dbetto treats a directory of JSON/YAML files as a database. Directories, files,
and the keys inside a file all sit at the same semantic level, so you can walk
from the top folder down to a leaf value with one uniform syntax. In memory
every mapping becomes an AttrsDict (a dict you can also access with dot
notation). This skill is the map of what the API can do and which entry point
fits each question, including how to check that a change to the data behaves.
Orient first
Before writing code, look at the data. The right API call depends on the shape on disk, so check it:
find <dir> -maxdepth 2 -name '*.json' -o -name '*.yaml' -o -name '*.yml'to see the file layout.- Look for a
validity.yaml/validity.json/validity.jsonlin a directory: its presence means the data is time-versioned and you should query it with.on(timestamp)rather than reading a fixed file. - Peek at one file to learn whether the top level is a mapping (
{...}) or a list ([...]), and whether entries carry an inner id worth remapping on (e.g.daq.rawid,name).
Everything is importable from the top package:
from dbetto import TextDB, AttrsDict, Props, load_dict, load_attrs_dict, str_to_datetime
Load a database
from dbetto import TextDB
db = TextDB("/path/to/data") # scans the tree immediately
lazy=Trueskips the initial filesystem scan and caches files as you touch them. Cheap for huge trees, but.map(),.group(), iteration, and.keys()need a populated store, so calldb.scan()first if you use them.lazy="auto"is lazy except in an interactive session.hidden=Trueincludes dot-files/dot-dirs (ignored by default).- To read a single file without a whole database:
load_dict(path)returns a plaindict/list;load_attrs_dict(path)returns anAttrsDict. Both infer JSON vs YAML from the extension.
Access files and values
Directories resolve to nested TextDB objects; files resolve to AttrsDict (or
a list). The extension is optional and path-style keys work:
What ships with it
2 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.
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.
- 4d ago First seen · 215 lines · 192 tokens per session scan A cf27c5b1a83b
inspect-textdb is a skill published in the GitHub repository gipert/dbetto (2 stars, last pushed 3d ago), licensed MIT. It adds 192 tokens to every session and 2,620 once invoked, about $0.0010 per session on Opus 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-31.
Other skills, from other repositories
tika-eval-h2-query
Query the tika-eval H2 database directly for counts and joins the canned reports do not compute — connection gotchas, key tables, example queries. Use when the xlsx/summary.md reports are not enough.
adding-personhog-rpc
Guide for adding a new RPC to personhog-replica and personhog-router. Covers eligibility checks, proto definition, code generation for Python and Node.js clients, Rust implementation (storage trait, postgres queries, service handler, router wiring), and index compatibility validation. Use when adding a new gRPC…
django-models
Design Django ORM models for Sentry following architectural conventions for silos, replication, relocation, and foreign keys. Use when adding a new Django model, designing a model for a feature, deciding where data should live, picking a foreign key type, or refactoring an existing model's silo placement. Trigger on…
anyline
AnyLine数据库操作开发规范,涵盖动态数据源注册切换注销、DDL动态建表改表、DML增删改与事务管理、DQL动态查询与聚合统计、元数据管理、查询结果集的聚合、过滤、格式转换等数学计算,AnyLine方法内部会自动适配100+数据库方言,调用方法时忽略不同数据库差异。.
azure-cosmos-db-py
Build Azure Cosmos DB NoSQL services with Python/FastAPI following production-grade patterns. Use when implementing database client setup with dual auth (DefaultAzureCredential + emulator), service...
azure-cosmos-py
Client library for Azure Cosmos DB NoSQL API — globally distributed, multi-model database.