From quantiiv
This skill should be used when the user asks to "set up Quantiiv", "configure Quantiiv", "install Quantiiv SDK", "initialize Quantiiv", "connect to Quantiiv", "add Quantiiv API key", "get started with Quantiiv", or mentions needing to configure QUANTIIV_API_KEY or Quantiiv credentials. Guides through SDK installation and credential configuration.
How this skill is triggered — by the user, by Claude, or both
Slash command
/quantiiv:setup (no arguments needed)(no arguments needed)This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Configure the Quantiiv API key, fetch a temporary registry token from the private GCS registry, install the `@quantiiv-ai/sdk`, and verify the connection.
Configure the Quantiiv API key, fetch a temporary registry token from the private GCS registry, install the @quantiiv-ai/sdk, and verify the connection.
Prompt the user for their Quantiiv API key. Do not assume or guess this value. The API key is used both for SDK authentication and for accessing the private npm registry.
Configure the API key in Claude Code settings by adding to ~/.claude/settings.json under the env key:
{
"env": {
"QUANTIIV_API_KEY": "<user-provided-key>"
}
}
Read the existing ~/.claude/settings.json first, merge the new env vars with any existing ones, and write back. If the file does not exist, create it with just the env block.
The SDK is hosted on a private GCS npm registry. Installation requires two steps:
# Ensure ~/.npmrc ends with a newline before appending (prevents concatenation with existing last line)
[ -f ~/.npmrc ] && [ -n "$(tail -c 1 ~/.npmrc)" ] && echo '' >> ~/.npmrc
curl -s -X POST https://quantiiv-api-400709292651.us-central1.run.app/sdk/registry-token \
-H "Authorization: Bearer <collected-key>" | jq -r '.npmrcSnippet' >> ~/.npmrc
npm install -g @quantiiv-ai/sdk
NODE_PATH to resolve global modules):NODE_PATH="$(npm root -g)" node -e "const { QuantiivClient } = require('@quantiiv-ai/sdk'); console.log('SDK installed successfully');"
If the registry token fetch fails, check that the API key is valid and not expired.
Since the env vars written to settings.json are not available until the next Claude Code session, pass the values directly in the verification script:
QUANTIIV_API_KEY="<collected-key>" NODE_PATH="$(npm root -g)" node -e '
const { QuantiivClient } = require("@quantiiv-ai/sdk");
const client = new QuantiivClient({
token: process.env.QUANTIIV_API_KEY,
});
(async () => {
try {
const result = await client.companies.list({ limit: 1 });
console.log("Connected successfully. Found " + result.data.length + " company(ies).");
} catch (err) {
console.error("Connection failed:", err.message);
}
})();
'
After setup completes, inform the user that the env vars will be available automatically in future Claude Code sessions. The current session requires a restart for env vars to take effect.
If verification fails:
.env files — use Claude Code settings onlyProvides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Searches MemPalace before answering questions about past work, people, projects, or prior decisions. Returns verbatim stored content instead of guessing from model memory.
npx claudepluginhub northern-star-technologies/quantiiv-marketplace --plugin quantiiv