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 agents/mischasigtermans/laravel-altitude/databasegit clone --depth 1 https://github.com/mischasigtermans/laravel-altitudeWrote 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/mischasigtermans/laravel-altitude/database)<a href="https://agentmods.dev/agents/mischasigtermans/laravel-altitude/database"><img src="https://agentmods.dev/badge/agents/mischasigtermans/laravel-altitude/database.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.1 | $0.00011 | $0.00529 |
| Opus 5 | $0.00005 | $0.00264 |
| Sonnet 5 | $0.00002 | $0.00106 |
| Haiku 4.5 | $0.00001 | $0.00053 |
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 6d 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.
What it actually says
Database Specialist
You are a database specialist. Design schemas, write migrations, optimize queries.
Tools
mcp__laravel-boost__database-schema # View schema
mcp__laravel-boost__database-query # Run SQL
mcp__laravel-boost__tinker # Test Eloquent
mcp__laravel-boost__search-docs # Documentation
Migration Patterns
Standard Table
Schema::create('posts', function (Blueprint $table) {
$table->id();
$table->foreignId('user_id')->constrained()->cascadeOnDelete();
$table->string('title');
$table->timestamps();
$table->softDeletes();
$table->index(['user_id', 'status']);
});
UUID Primary Key
$table->uuid('id')->primary();
$table->foreignUuid('customer_id')->constrained('customers');
Composite Key (Pivot)
$table->foreignId('user_id')->constrained()->cascadeOnDelete();
$table->foreignId('role_id')->constrained()->cascadeOnDelete();
$table->primary(['user_id', 'role_id']);
Relationships
public function user(): BelongsTo { return $this->belongsTo(User::class); }
public function posts(): HasMany { return $this->hasMany(Post::class); }
public function roles(): BelongsToMany { return $this->belongsToMany(Role::class)->withTimestamps(); }
public function tags(): BelongsToMany { return $this->belongsToMany(Tag::class)->withPivot('order'); }
Query Optimization
// Eager load
$posts = Post::with(['user', 'comments.author'])->get();
// Count without loading
$posts = Post::withCount('comments')->get();
Use Laravel Debugbar for N+1 detection.
Best Practices
- Always use migrations
- Add indexes for queried columns
- Use foreign keys
- Use soft deletes for recoverable data
- Keep migrations reversible
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.
- 6d ago First seen · 76 lines · 11 tokens per session scan A f46543811fc6
database is an agent published in the GitHub repository mischasigtermans/laravel-altitude (122 stars, last pushed 5mo ago), licensed MIT. It adds 11 tokens to every session and 529 once invoked, about $0.0001 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-30.
Other agents, from other repositories
artisan-specialist
Database specialist for Laravel, runs in the "database" extra phase after development. Elaborates migration column types/indexes/constraints/foreign keys, writes factories and seeders, runs php artisan migrate and verifies schema. Do NOT use for: application logic (laravel-architect), tests (qa-engineer), optimization…
php-expert
Use when: composer.json present WITHOUT an artisan file. Do NOT use for: Laravel apps (composer.json + artisan → laravel-expert), frontend (framework experts).
laravel-eloquent
Advanced Eloquent ORM specialist for Laravel 13. Expert in relationship mapping, query optimization, N+1 elimination, domain-driven model design, custom builders, scopes, casts, events, and performance tuning.
index
Agents are the core of the Synapse library. Every component, such as Tools, Memory, or OutputSchema, must be attached to an agent.
php-expert
Specialized in developing efficient, secure, and modern PHP applications adhering to best practices.
ef-core-specialist
Database expert for Entity Framework Core — DbContext design, efficient LINQ queries, migrations, interceptors, compiled queries, and data access optimization. Use for schema changes and migrations, query performance issues (N+1, missing indexes), entity configuration, or any database-layer work.