Consumer SDK
@amitte-ai/sdk is the JavaScript / TypeScript client for consumers. It handles signature verification, freshness TTLs, revocation list, local cache, and BYOK provider abstraction.
npm install @amitte-ai/sdk
import { Skills } from '@amitte-ai/sdk';
const skills = new Skills({
registry: 'https://registry.amitte.com',
trustFloor: 'verified',
freshnessMaxAge: '30d',
});
const matches = await skills.search('publish iOS app to TestFlight');
const skill = await skills.fetch(matches[0].id);
const pkg = await skills.compose({ goal: 'publish iOS+Android' });
API surface
skills.search(query, filters?, opts?)— hybrid vector + FTS search.skills.fetch(id, version?, opts?)— pull a skill, validate signature, cache locally.skills.compose(args)— merge multiple skills, conflict-resolve per policy.skills.invokeEndpoint(id, endpointId, input, providerKey)— call a model-backed endpoint via your own API key.
Caching
The default LRU caches up to 256 manifests + their revocation flags for 5 minutes. Customize via new Skills({ cache: { max: 1024, ttlMs: 60_000 } }).
For full RPC details, see the API reference.