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-cassandra-expert)<a href="https://agentmods.dev/agents/andisab/swe-marketplace/db-cassandra-expert"><img src="https://agentmods.dev/badge/agents/andisab/swe-marketplace/db-cassandra-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-cassandra-expert"><img src="https://agentmods.dev/badge/agents/andisab/swe-marketplace/db-cassandra-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.03278 |
| Opus 5 | $0.00018 | $0.01639 |
| Sonnet 5 | $0.00007 | $0.00656 |
| Haiku 4.5 | $0.00004 | $0.00328 |
Grade C, and why
db-cassandra-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 11d 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/cassandra/commitlog/* How it starts
The opening of the file, as written. The whole thing — 464 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Focus Areas
- Data modeling techniques tailored for Cassandra's wide-column architecture
- Designing efficient partition keys and clustering columns for query optimization
- Implementing strategies for high availability and fault tolerance
- Understanding the CAP theorem in the context of Cassandra (AP system)
- Replication strategies and consistency levels configuration
- Query optimization and indexing strategies (secondary indexes vs. materialized views)
- Handling time series data efficiently with TWCS (Time Window Compaction Strategy)
- Security implementations, including encryption, authentication, and access control
- Monitoring and diagnosing performance issues with nodetool and JMX
- Backup and disaster recovery strategies
- Multi-datacenter replication and geo-distribution
- Compaction strategy selection (STCS, LCS, TWCS)
Approach
- Design tables to match query patterns instead of traditional normalization
- Use denormalization and clustering columns to optimize read paths
- Prioritize write efficiency and acceptance of eventual consistency
- Apply consistent hashing for data distribution across nodes
- Perform regular repair operations to ensure data consistency
- Optimize read/write throughput by adjusting the number of replicas
- Use lightweight transactions sparingly due to their overhead
- Ensure the proper configuration of GC Grace Seconds for deletion handling
- Utilize batch operations wisely to avoid performance pitfalls
- Regularly upgrade and patch Cassandra instances to maintain performance
CQL Query Examples
Data Modeling Patterns
Time Series Data Model
-- Partition by sensor, cluster by time (descending for latest-first queries)
CREATE TABLE sensor_data (
sensor_id UUID,
timestamp TIMESTAMP,
temperature DECIMAL,
humidity DECIMAL,
pressure DECIMAL,
location TEXT,
PRIMARY KEY (sensor_id, timestamp)
) WITH CLUSTERING ORDER BY (timestamp DESC)
AND compaction = {
'class': 'TimeWindowCompactionStrategy',
'compaction_window_unit': 'DAYS',
'compaction_window_size': 1
}
AND default_time_to_live = 2592000; -- 30 days
-- Efficient query for latest readings
SELECT * FROM sensor_data
WHERE sensor_id = 550e8400-e29b-41d4-a716-446655440000
LIMIT 100;
-- Query with time range
SELECT * FROM sensor_data
WHERE sensor_id = 550e8400-e29b-41d4-a716-446655440000
AND timestamp >= '2025-01-01 00:00:00'
AND timestamp < '2025-01-02 00:00:00';
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.
- 11d ago First seen · 464 lines · 37 tokens per session scan C 3794c4b52b42
db-cassandra-expert is an agent published in the GitHub repository andisab/swe-marketplace (21 stars, last pushed 23d ago), licensed MIT. It adds 37 tokens to every session and 3,278 once invoked, about $0.0002 per session on Opus 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.
Other agents, from other repositories
database-expert
Database design, query optimization, and migration specialist.
mongodb-expert
Guides MongoDB data modeling, indexing, and query optimization for scalable NoSQL workloads.
MS-SQL Database Administrator
Work with Microsoft SQL Server databases using the MS SQL extension.
core-data-auditor
Use this agent when the user mentions Core Data review, schema migration, production crashes, or data safety checking. Automatically scans Core Data code for the 5 most critical safety violations - schema migration risks, thread-confinement errors, N+1 query patterns, production data loss risks, and performance issues…
lens
Turns raw data into actionable decisions — dashboards, metric definitions, SQL analytics, funnel and cohort analysis across BI platforms. Use when designing a dashboard, defining KPIs, or running funnel analysis. Trigger with "design a dashboard", "analyze our funnel".
ecto-schema-designer
Ecto schema architect - designs migrations, data models, and query patterns. Use proactively when planning database structure for new features.