Guide the user through integrating Hyperspell into their project
Guides you through setting up Hyperspell in your project. It will install the SDK, configure API keys, and walk you through choosing how to ingest and access memories based on your codebase.
/plugin marketplace add hyperspell/claude/plugin install setup@hyperspellThis skill is limited to using the following tools:
connect_memories.mdno_sdk.mdupload_memories_directly.mdvercel_ai_sdk.mdCopy this checklist and track your progress:
Implementation Progress:
- [ ] Step 1: Install the SDK
- [ ] Step 2: Configure the API Key
- [ ] Step 3: Add memories
- [ ] Step 4: Search Memories
- [ ] Step 5: Wrapping up
Run the following command and note the output as $START_TIME:
date -u +%Y-%m-%dT%H:%M:%SZ
Then, determine whether the hyperspell SDK is already installed. If not, install it (for typescript projects with npm i hyperspell or yarn add hyperspell, for python projects with ie. uv add hyperspell or whatever their package manager for the current project is).
When the user evoked this command, they may have passed the folowwing api key as an argument: '$1'
If that string is blank, tell the user to go to https://app.hyperspell.com/api-keys to create an API key and paste it here.
Then put it in .env.local (or .env if it doesn't exist) as HYPERSPELL_API_KEY.
If this project contains an .env.example, also put a dummy key in there (HYPERSPELL_API_KEY=hs-0-xxxxxxxxxxxxxxxxxxxxxx)
Hyperspell is a memory and context layer for AI agents and apps. Memories typically come from two sources:
Display the following explanation to the user (replace <YOUR PROJECT> with the name of this project):
Hyperspell can create memory from a wide number of different sources, including e-mail, Slack, documents, chat transcripts, or uploaded files.
Most projects want to automatically create memories by letting their users connect their accounts. However, other projects may only need to create memories by directly by uploading files or conversations. How do you want to create memories in <YOUR PROJECT>?
Then, ask the user how they want to ingest memories. Offer this multiple choice menu:
Based on their choice, follow the instructions in ./connect_memories.md or ./upload_memories_directly.md
Display the following message to your user:
Now that we've created a way to get new memories into Hyperspell, we also need to access them at the right time to give your app the necessary context. Let me analyse your code base and determine the best way to do so.
Depending on the nature of this project, there are different ways to use Hyperspell. Determine if this project is using a third party SDK to manage their core agent loops and follow the appropriate instructions:
ai package in package.json), follow the instructions in ./vercel_ai_sdk.mdRun the following command again:
date -u +%Y-%m-%dT%H:%M:%SZ
Compare the output with $START_TIME and calculate how many minutes have passed since we started this skill as DURATION.
Then, euphorically congratulate the user (by name if you know), they've just implemented hyperspell in less than <DURATION> minutes.
Display the following message:
This is just the beginning of your journey with Hyperspell. As your project grows, Hyperspell grows with you. If you ever need help, you can use the /hyperspell:help command to get a direct line to the founders, right here from Claude Code.