api-search-meilisearch

api-search-meilisearch is a skill for Claude Code, Codex from agents-inc/skills. It costs 33 tokens per session (3,831 once invoked), scanned A, original, MIT.

A guide to Meilisearch, a search engine for applications. It covers indexing documents, searching, filters, sorting, facets, geographic search, and separate tenants.

In plain words
What is it for?
Use it to set up indexes, add documents, run searches, filter and sort results, provide facets, and support location-based search.
Why use it?
It helps avoid incorrect search results caused by missing index settings and by treating background indexing tasks as immediately finished.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to set up indexes, add documents, run searches, filter and sort results, provide facets, and support location-based search.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agents-inc/skills/api-search-meilisearch
Install

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.

Any agent
npx skills add agents-inc/skills --skill api-search-meilisearch
Clone the repo
git clone --depth 1 https://github.com/agents-inc/skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for api-search-meilisearch

README.md
[![agentmods](https://agentmods.dev/badge/skills/agents-inc/skills/api-search-meilisearch/github.svg)](https://agentmods.dev/skills/agents-inc/skills/api-search-meilisearch)
Your own site
<a href="https://agentmods.dev/skills/agents-inc/skills/api-search-meilisearch"><img src="https://agentmods.dev/badge/skills/agents-inc/skills/api-search-meilisearch/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.

agentmods 80×15 button for api-search-meilisearch

Your own site · 80×15
<a href="https://agentmods.dev/skills/agents-inc/skills/api-search-meilisearch"><img src="https://agentmods.dev/badge/skills/agents-inc/skills/api-search-meilisearch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,831 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00033 $0.03831
Opus 5.5 $0.00013 $0.01532
Sonnet 5.5 $0.00007 $0.00766
Haiku 4.5 $0.00003 $0.00383

Measured today against content hash 716ef7329aa0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

api-search-meilisearch 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 today.

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.

src/skills/api-search-meilisearch/SKILL.md · 408 lines

How it starts

The opening of the file, as written. The whole thing — 408 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Meilisearch Patterns

Quick Guide: Use meilisearch (v0.56+) as the TypeScript client for Meilisearch v1.x. All write operations (document adds, setting changes, index creation) are asynchronous -- they return an EnqueuedTaskPromise and are processed in a background queue. You MUST configure filterableAttributes and sortableAttributes on the index before using filter/sort in search queries -- this triggers a full re-index. Use client.index("name") for a lazy reference (no network call) vs client.getIndex("name") which fetches from server. Use .waitTask() on EnqueuedTaskPromise only in scripts/seeds/tests -- never in request handlers.


<critical_requirements>

CRITICAL: Before Using This Skill

(You MUST configure filterableAttributes on the index BEFORE using filter in search queries -- filters silently return no results if the attribute is not in filterableAttributes)

(You MUST configure sortableAttributes on the index BEFORE using sort in search queries -- sort on unconfigured attributes is silently ignored)

(You MUST NOT call .waitTask() in production request handlers -- it blocks the event loop polling Meilisearch until the task completes; use it only in scripts, seeds, and tests)

(You MUST set the primary key explicitly when documents lack an id field -- Meilisearch auto-infers primary key only on first document add, and wrong inference causes indexing failures on subsequent batches)

</critical_requirements>


Examples

  • Core Patterns -- Client setup, document operations, search basics, task management, TypeScript integration
  • Filtering & Facets -- Filter syntax, faceted search, geo search, sortable attributes
  • Index Settings -- Ranking rules, typo tolerance, synonyms, stop words, searchable attributes, pagination
  • Security & Multi-Tenancy -- API keys, tenant tokens, search rules, multi-tenant patterns

Read the full file on GitHub · 408 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. today Changed · -4 lines 716ef7329aa0
  2. 1mo ago First seen · 412 lines · 33 tokens per session scan A 2983f2541d9e

Subscribe to this mod's changes

api-search-meilisearch is a skill published in the GitHub repository agents-inc/skills (24 stars, last pushed today), licensed MIT. It adds 33 tokens to every session and 3,831 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-09-03.

Related

Other skills, from other repositories

moai-ref-api-patterns

REST/GraphQL API design patterns, error handling conventions, and input validation reference for backend development. Agent-extending skill that amplifies backend domain work (spawned via Agent(general-purpose) with backend instructions) with production-grade API patterns. Use when designing APIs, implementing…

modu-ai/moai-adk · 85 tokens

moai-platform-auth

Authentication and authorization specialist covering Auth0, Clerk, and Firebase Auth. Use when implementing authentication, MFA, SSO, passkeys, WebAuthn, social login, or security features.

modu-ai/moai-adk · 43 tokens

moai-ref-owasp-checklist

OWASP Top 10 security checklist, authentication patterns, input validation, and HTTP security headers reference. Agent-extending skill that amplifies backend-implementation and security-audit workflows with production-grade security patterns. NOT for: frontend UI, DevOps deployment, performance optimization, testing…

modu-ai/moai-adk · 66 tokens

api-design

Use this skill when designing, implementing, or reviewing an HTTP API — endpoints, request and response shapes, errors, pagination, versioning, and authorization. Triggers: user says "API", "endpoint", "REST", "route", "status code", "pagination", "request body", "response shape", "OpenAPI", "versioning"…

WrongStack/WrongStack · 82 tokens

nextjs-modern

Build, migrate, and debug Next.js 16 App Router applications with React 19, Server Components, Server Actions, explicit caching, and production deployment. Use when implementing Next.js routes, upgrading to the latest stable Next.js, or fixing rendering and cache behavior.

WrongStack/WrongStack · 57 tokens

authentication-sessions

Implement application sign-in, sessions and identity integration with explicit account/tenant authorization. Use when building OAuth/OIDC, passkeys, password login or session renewal; use security-scanner for a requested defensive review.

WrongStack/WrongStack · 46 tokens