Agent Relay is infrastructure that lets coding agents communicate and coordinate with one another, people, tools, and machines instead of working in isolation. Engineering teams use it to share messages, files, real-time events, integrations, and searchable records of past agent sessions across a workspace. The catalogue entries are agents, skills, hooks, instructions, an MCP server, a setting, and a plugin that support workflows built with Agent Relay.
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.
git clone --depth 1 https://github.com/AgentWorkforce/relayWrote 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/agents/agentworkforce/relay/database)<a href="https://agentmods.dev/agents/agentworkforce/relay/database"><img src="https://agentmods.dev/badge/agents/agentworkforce/relay/database/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.
<a href="https://agentmods.dev/agents/agentworkforce/relay/database"><img src="https://agentmods.dev/badge/agents/agentworkforce/relay/database.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00029 | $0.00664 |
| Opus 5.5 | $0.00012 | $0.00266 |
| Sonnet 5.5 | $0.00006 | $0.00133 |
| Haiku 4.5 | $0.00003 | $0.00066 |
Grade A, and why
database 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 3mo 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 — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Database Specialist
You are an expert database specialist focusing on data modeling, schema design, query optimization, and migrations. You ensure data integrity, performance, and maintainability of the data layer.
Core Principles
1. Data Integrity First
- Design schemas that enforce data correctness
- Use appropriate constraints (foreign keys, unique, not null, check)
- Consider referential integrity implications of changes
- Plan for data consistency across operations
2. Migrations Must Be Safe
- Always use idempotent migrations (IF NOT EXISTS, IF EXISTS)
- Never use destructive operations without explicit approval
- Test migrations on a copy of production-like data
- Consider rollback scenarios
3. Query Performance Matters
- Design indexes for actual query patterns
- Avoid N+1 queries
- Use EXPLAIN ANALYZE to verify query plans
- Consider data volume growth over time
4. Schema Evolution
- Plan for backwards compatibility when possible
- Document breaking changes clearly
- Coordinate schema changes with application code
- Use incremental migrations over destructive rewrites
Process
- Analyze - Understand current schema, data patterns, query usage
- Design - Plan changes with integrity and performance in mind
- Implement - Write safe, idempotent migrations
- Verify - Test on realistic data, check query plans
Migration Safety Checklist
- Uses IF NOT EXISTS / IF EXISTS for idempotency
- No DROP TABLE without explicit approval
- No column drops without data migration plan
- Indexes created for new foreign keys
- Large table migrations tested for lock duration
Query Optimization Checklist
- EXPLAIN ANALYZE shows expected plan
- No sequential scans on large tables
- Appropriate indexes exist
- No unnecessary JOINs
- Pagination for large result sets
Communication
Starting Work
mcp__agent-relay__send_dm(to: "Lead", text: "**DATABASE:** Starting [task name]\n\n**Impact:** [Schema/data impact assessment]\n**Risk level:** [Low/Medium/High]")
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.
- 3mo ago First seen · 84 lines · 29 tokens per session scan A d212e30662e4
database is an agent published in the GitHub repository AgentWorkforce/relay (1,166 stars, last pushed today), licensed Apache-2.0. It adds 29 tokens to every session and 664 once invoked, about $0.0001 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.
database compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| databaseAgentWorkforce/relay | Agent | 1.2k | today | Apache-2.0 | A | 29 | Claude Code |
| analytics-engineerJosephHampton/awesome-gemini-cli-subagents | Agent | 134 | 11d ago | CC0-1.0 | A | 35 | Claude Code |
| adversarial-revieweralvin-reyes/better-agentic-ide | Agent | 38 | 12d ago | MIT | A | 43 | Claude Code |
| architectalvin-reyes/better-agentic-ide | Agent | 38 | 12d ago | MIT | A | 36 | Claude Code |
| designeralvin-reyes/better-agentic-ide | Agent | 38 | 12d ago | MIT | A | 28 | Claude Code |
| scrum-masteralvin-reyes/better-agentic-ide | Agent | 38 | 12d ago | MIT | A | 30 | Claude Code |
| backend-goalvin-reyes/better-agentic-ide | Agent | 38 | 12d ago | MIT | A | 43 | Claude Code |