algolia-migration

algolia-migration is a skill for Claude Code, Codex from algolia/skills. It costs 183 tokens per session (1,502 once invoked), scanned A, original, MIT.

A guide for updating Algolia's programming libraries when their older API has changed. Algolia is a hosted search service, and an API is the set of functions code uses to communicate with it.

In plain words
What is it for?
Use it to migrate supported Algolia clients, such as JavaScript, Python, Go, PHP, Java, C#, Ruby, Kotlin, Scala and Swift, to newer major versions.
Why use it?
It helps fix broken search integrations after a major library upgrade, including changed imports, method names and request patterns.

Skill for Claude CodeCodex

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

Good fit Use it to migrate supported Algolia clients, such as JavaScript, Python, Go, PHP, Java, C#, Ruby, Kotlin, Scala and Swift, to newer major versions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/algolia/skills/algolia-migration
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 algolia/skills --skill algolia-migration
Clone the repo
git clone --depth 1 https://github.com/algolia/skills

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin algolia-migration — /plugin install algolia-migration after adding the marketplace above.

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 algolia-migration

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/algolia/skills/algolia-migration"><img src="https://agentmods.dev/badge/skills/algolia/skills/algolia-migration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 183 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,502 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.00183 $0.01502
Opus 5.5 $0.00073 $0.00601
Sonnet 5.5 $0.00037 $0.00300
Haiku 4.5 $0.00018 $0.00150

Measured 1mo ago against content hash 5d2047937b87, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

algolia-migration 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 1mo 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.

skills/algolia-migration/SKILL.md · 114 lines

How it starts

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

Algolia API Client Migration

This skill covers API client upgrades (backend and frontend search-only builds). For frontend search UI, see instantsearch. For index operations, see algolia-cli.

Supported migrations

Language Migration Reference
JavaScript v4 → v5 references/javascript.md
Python v3 → v4 references/python.md
Go v3 → v4 references/go.md
PHP v3 → v4 references/php.md
Java v3 → v4 references/java.md
C# v6 → v7 references/csharp.md
Ruby v2 → v3 references/ruby.md
Kotlin v2 → v3 references/kotlin.md
Scala v1 → v2 references/scala.md
Swift v8 → v9 references/swift.md

Open the matching reference file before writing any migration code.

Universal breaking changes

Every language migration shares the same set of architectural shifts. Understand these first; the reference files add language-specific syntax on top.

1. initIndex is gone

The index object pattern is eliminated in every language. All methods moved to the client with indexName as an explicit parameter.

The fix: remove initIndex / init_index / index(withName:), call the method on the client, pass indexName.

Grep to find all affected call sites:

grep -r "initIndex\|init_index\|InitIndex\|index(withName" .

2. .wait() chaining is gone

Chained .wait() / ! bang methods on task responses are replaced by dedicated wait helpers.

Old New
index.saveObjects(records).wait() client.waitForTask(...) with the index name and task ID
index.save_objects!(objects) (Ruby) client.save_objects(index_name, objects, true)

Read the full file on GitHub · 114 lines

Files

What ships with it

11 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. 1mo ago First seen · 114 lines · 183 tokens per session scan A 5d2047937b87

Subscribe to this mod's changes

algolia-migration is a skill published in the GitHub repository algolia/skills (12 stars, last pushed yesterday), licensed MIT. It adds 183 tokens to every session and 1,502 once invoked, about $0.0007 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.

Related

Other skills, from other repositories

algolia-search-v2

Algolia Search Integration workflow skill. Use this skill when the user needs Expert patterns for Algolia search implementation, indexing and the operator should preserve the upstream workflow, copied support files, and provenance before merging or handing off.

diegosouzapw/awesome-omni-skills · 50 tokens

tlamatini-allowed-hosts-tighten

Tighten Django ALLOWEDHOSTS from the wide-open '' default to a specific list, with a backup of settings.py.

XAIHT/Tlamatini · 36 tokens

spotify

Spotify API integration — playback control, playlists, search, recommendations.

furkangonel/cowrangler · 15 tokens

algolia-search-v3

Algolia Search Integration workflow skill. Use this skill when the user needs Expert patterns for Algolia search implementation, indexing and the operator should preserve the upstream workflow, copied support files, and provenance before merging or handing off.

diegosouzapw/awesome-omni-skills · 50 tokens

algolia-search-v4

Algolia Search Integration workflow skill. Use this skill when the user needs Expert patterns for Algolia search implementation, indexing and the operator should preserve the upstream workflow, copied support files, and provenance before merging or handing off.

diegosouzapw/awesome-omni-skills · 50 tokens

algolia-search

Algolia Search Integration workflow skill. Use this skill when the user needs Expert patterns for Algolia search implementation, indexing and the operator should preserve the upstream workflow, copied support files, and provenance before merging or handing off.

diegosouzapw/awesome-omni-skills · 48 tokens