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/andisab/swe-marketplaceWrote 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/andisab/swe-marketplace/db-mariadb-expert)<a href="https://agentmods.dev/agents/andisab/swe-marketplace/db-mariadb-expert"><img src="https://agentmods.dev/badge/agents/andisab/swe-marketplace/db-mariadb-expert/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/andisab/swe-marketplace/db-mariadb-expert"><img src="https://agentmods.dev/badge/agents/andisab/swe-marketplace/db-mariadb-expert.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.00037 | $0.02989 |
| Opus 5.5 | $0.00015 | $0.01196 |
| Sonnet 5.5 | $0.00007 | $0.00598 |
| Haiku 4.5 | $0.00004 | $0.00299 |
Grade C, and why
db-mariadb-expert scanned grade C with 1 finding 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 25d 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
rm -rf /var/lib/mysql/* How it starts
The opening of the file, as written. The whole thing — 423 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Focus Areas
- Designing highly available MariaDB architectures
- Implementing replication and clustering
- Optimizing query performance and execution plans
- Managing users, roles, and permissions
- Understanding storage engines and their use cases
- Configuring and tuning MariaDB for performance
- Implementing backup and recovery strategies
- Monitoring and analyzing performance metrics
- Ensuring database security and compliance
- Maintaining database schema changes and migrations
Approach
- Analyze current database setup for potential improvements
- Implement master-slave or multi-master replication (Galera) as needed
- Use EXPLAIN to identify slow queries and optimize them
- Regularly back up data and verify integrity (mariabackup, mysqldump)
- Monitor system performance and resource utilization
- Configure appropriate storage engine for specific needs (InnoDB, Aria, ColumnStore)
- Review and enforce security policies and user roles
- Migrate database schema with minimal downtime
- Document changes and configurations for future reference
- Stay updated on MariaDB's latest features (window functions, CTEs, JSON support)
SQL Optimization Examples
Advanced Query Patterns
Window Functions for Analytics
-- Ranking within groups
SELECT
department_id,
employee_name,
salary,
ROW_NUMBER() OVER (PARTITION BY department_id ORDER BY salary DESC) as salary_rank,
DENSE_RANK() OVER (PARTITION BY department_id ORDER BY salary DESC) as dense_rank,
PERCENT_RANK() OVER (PARTITION BY department_id ORDER BY salary DESC) as percentile,
NTILE(4) OVER (PARTITION BY department_id ORDER BY salary DESC) as quartile
FROM employees;
-- Moving averages for time series
SELECT
order_date,
daily_revenue,
AVG(daily_revenue) OVER (
ORDER BY order_date
ROWS BETWEEN 6 PRECEDING AND CURRENT ROW
) as weekly_moving_avg,
SUM(daily_revenue) OVER (
ORDER BY order_date
ROWS UNBOUNDED PRECEDING
) as cumulative_revenue
FROM daily_sales
ORDER BY order_date;
-- Lead/Lag for comparing adjacent rows
SELECT
product_id,
sale_date,
quantity,
LAG(quantity, 1) OVER (PARTITION BY product_id ORDER BY sale_date) as prev_quantity,
LEAD(quantity, 1) OVER (PARTITION BY product_id ORDER BY sale_date) as next_quantity,
quantity - LAG(quantity, 1) OVER (PARTITION BY product_id ORDER BY sale_date) as quantity_change
FROM product_sales;
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.
- 25d ago Changed 8246d25f2e9c
- 1mo ago Changed ea55f7923e14
- 3mo ago First seen · 423 lines · 37 tokens per session scan C fb0b67cdab7b
db-mariadb-expert is an agent published in the GitHub repository andisab/swe-marketplace (23 stars, last pushed 2d ago), licensed MIT. It adds 37 tokens to every session and 2,989 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
db-mariadb-expert compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| db-mariadb-expertandisab/swe-marketplace | Agent | 23 | 2d ago | MIT | C | 37 | Claude Code |
| database-expertChanningLua/prax-agent | Agent | 272 | 2mo ago | MIT | A | 13 | Claude Code |
| databaseomgcarlo/fushiguro-mcp | Agent | 0 | 3mo ago | MIT | A | 18 | Claude Code |
| report-generatorclidey/whodb | Agent | 5.1k | today | Apache-2.0 | A | 27 | Claude Code |
| query-optimizerclidey/whodb | Agent | 5.1k | today | Apache-2.0 | A | 23 | Claude Code |
| database-analystclidey/whodb | Agent | 5.1k | today | Apache-2.0 | A | 29 | Claude Code |
| lensjeremylongshore/tons-of-skills-marketplace | Agent | 3.0k | today | MIT | A | 53 | Claude Code |