Install any skill in seconds. Free to start, no credit card required.
Get Started Free →jeremylongshore/klaviyo-hello-world
Create a minimal working Klaviyo example with real API calls.
Passed 23 of 23 test cases with the skill, and 14 of 23 without it.
and 6 more in the full report
9 fixed14 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 9 test cases the skill fixed. Same model, same prompt, with and without the skill.
What is the standard environment variable name to store the secret API key for authentication when initializing ApiKeySession in the Klaviyo Node.js SDK?
| Checked | Without skill | With skill |
|---|---|---|
| Names the API key environment variable KLAVIYO_PRIVATE_KEY. | Missed | Passed |
The instructions your model reads when the skill loads.
Minimal working example: create a profile, track an event, and query the result
using the klaviyo-api Node.js SDK against a.klaviyo.com/api/*. This is the
smoke test that proves your API key, SDK install, and network path all work
end-to-end before you build anything real.
klaviyo-install-auth setup so credentials are in place.KLAVIYO_PRIVATE_KEY exported in your environment (a private API key with
Profiles and Events scopes).klaviyo-api installed in the project (npm install klaviyo-api).tsx available to run the TypeScript file (npx tsx …).Write the code into a single hello-klaviyo.ts file, then run it with
npx tsx hello-klaviyo.ts. The full script performs four things in order:
Create a profile — profilesApi.createProfile(...) with a JSON:API
payload. The essential skeleton:
import { ApiKeySession, ProfilesApi, ProfileEnum } from 'klaviyo-api';
const session = new ApiKeySession(process.env.KLAVIYO_PRIVATE_KEY!);
const profilesApi = new ProfilesApi(session);
const profile = await profilesApi.createProfile({
data: {
type: ProfileEnum.Profile,
attributes: { email: '[email protected]', firstName: 'Hello', lastName: 'World' },
},
});
console.log('Profile created:', profile.body.data.id);
test cases passed, vs 14 / 23 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.