Index of every page on this site: llms.txt
All skills
jeremylongshore avatar

/algolia-core-workflow-b

@820dfc8
Run it yourself

Build a reliable Algolia indexing pipeline for full replacements, incremental updates, settings, synonyms, and rules. Use when a source of truth must publish deterministic search state. Trigger with "Algolia indexing workflow", "replace index records", or "sync Algolia".

Use this Skill: https://skilld.dev/gh/jeremylongshore/tons-of-skills-marketplace/algolia-core-workflow-b

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈74 tokens for metadata: the name and description. ≈850 when used: this file. ≈333 more on demand in 1 file.

Description uses 3.7% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈297 characters, or 3.7%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Algolia Indexing Contract

Overview

This skill designs the write path from an authoritative dataset to Algolia. It separates record transformation, validation, transport, task completion, and publication so a failed run cannot silently leave ambiguous search state.

Prerequisites

  • A named repository, environment, and Algolia application or index in scope
  • The local lockfile and installed client types as implementation authority
  • A safe read-only query or explicitly disposable test target
  • Current first-party documentation for any provider behavior that affects the change

Tool Discipline

Use Read, Glob, and Grep to inspect local code, configuration names, tests, and dependency versions. Use WebFetch only for current official Algolia documentation. Use Write or Edit only after identifying the target files, constraints, and verification plan.

Current Contract

  • Generate stable objectID values from source identities and reject duplicates before upload.
  • Choose saveObjects for bounded upserts and replaceAllObjects only for an intentional full-state replacement.
  • Wait for returned task IDs before verification or traffic cutover.
  • Version settings, synonyms, and rules as reviewable inputs; do not infer them from production state during deployment.

Authentication

Run indexing only from a trusted backend with a custom key restricted to the target indices and required write ACLs. Keep search-only keys out of indexing jobs.

Instructions

  1. Identify the source of truth, deletion semantics, index aliases or replicas, and acceptable publication window.
  2. Transform and validate records locally, including size, required fields, stable IDs, and prohibited data.
  3. Select incremental or full replacement based on source deletion guarantees and rollback needs.
  4. Submit bounded batches, retain task IDs, and wait for completion with an overall timeout.
  5. Verify counts, sentinel records, settings hashes, and representative queries.
  6. Record the source snapshot, target index, completed tasks, and rollback or prior-index path.

Approval Boundaries

Do not run a full replacement, delete records, change settings, or swap a production target until the source snapshot and rollback plan are approved.

Output

Return the data contract, operation choice, validation report, task receipts, post-write checks, deletion behavior, and rollback instructions.

Error Handling

Condition Response
Duplicate objectID Fail before upload and report source records.
Partial batch failure Stop publication and preserve successful task IDs.
Task timeout Do not assume failure or success; query task state.
Verification mismatch Keep the prior production target and investigate.

Examples

Use this compact input and expected handoff to calibrate scope and evidence quality.

Input:

source=snapshot-2026-09-10; mode=full-replacement; target=products_next

Expected handoff:

records=48012; tasks=49-complete; sentinel-query=pass; cutover=pending-approval

Resources

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill defines a structured workflow for Algolia indexing with a focus on data validation, task verification, and secure key management. It identifies a potential surface for indirect prompt injection when processing external datasets.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 820dfc8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 2 months ago
What it can do
Reads files Network Edits files
Modelinherit
argument-hint
[repository-path] [source-dataset] [index-name]
version
1.8.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
All 6 allowed tools
ReadGlobGrepWebFetchWriteEdit
Other metadata
tags
[
  "saas",
  "algolia",
  "indexing"
]
model
inherit
effort
medium
compatibility
Designed for Claude Code

README badge

README badge for jeremylongshore/tons-of-skills-marketplace/algolia-core-workflow-b