algolia-pulselisted
Install: claude install-skill markbaindesign/bain-studio
# Algolia Pulse
Algolia automatically closes free-tier indices after extended inactivity. **Algolia Pulse** keeps indices alive by performing regular search queries. It's lightweight, cheap (counts toward API quota but not metered), and can be scheduled to run daily or hourly via cron.
---
## Setup
### 1. Create the config file
Create a JSON file with your Algolia app credentials. Suggested location:
```
~/.algolia/pulse-config.json
```
Or keep it in a project-specific location, e.g.:
```
/media/data/dev/bain-studio/studio/algolia-pulse-config.json
```
Config format:
```json
{
"apps": [
{
"name": "example-app-1",
"app_id": "YOUR_APP_ID",
"admin_api_key": "YOUR_ADMIN_API_KEY",
"indices": [
{
"name": "products",
"query": "*"
},
{
"name": "blog",
"query": "a"
}
]
},
{
"name": "example-app-2",
"app_id": "ANOTHER_APP_ID",
"admin_api_key": "ANOTHER_API_KEY",
"indices": [
{
"name": "posts",
"query": "*"
}
]
}
]
}
```
**Fields:**
- `name`: Friendly name for the app (for logging)
- `app_id`: Algolia Application ID
- `admin_api_key`: Algolia Admin API Key (needed for search operations)
- `indices`: Array of indices to query
- `name`: Index name
- `query`: Search query to perform (e.g., `"*"` for any record, `"a"` for a simple letter query)
### 2. Test the config
```bash
/algolia-pulse -