# Agent Database

> Operate database tables explicitly bound to the current Agent.

- Skill: `zgiai/agent-database` (Agent Skill)
- Install (CLI): `npx skillmds@latest add zgiai/agent-database`
- Raw SKILL.md: https://api.skillmd.com/api/skills/zgiai/agent-database/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: zgiai (https://skillmd.com/u/zgiai)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/zgiai/agent-database

---


# Agent Database Skill

Use this skill to work only with database tables configured on the current Agent.

## Workflow

1. Call `list_accessible_databases` to see the databases bound to this Agent by the binding editor.
2. Call `list_database_tables` to see the Agent-bound tables in a selected database.
3. Call `describe_database_table` before writing records.
4. Never ask for or invent database IDs or table IDs. The backend rejects resources outside the Agent binding.
5. Use only structured record tools. Do not generate or ask to run SQL.

## Tool Usage

Access is scoped to tables bound on the Agent. Permissions are authorized when the binding is saved by the editor, and runtime access uses that binding authorization. Mutation tools are available only for tables explicitly marked writable in the Agent binding.

