intelligems-core
Original:🇺🇸 English
Translated
7 scripts
Shared Python library for Intelligems Analytics skills. Sets up the workspace, API client, metric helpers, and configuration. Run this before using any other Intelligems Analytics skill.
7installs
Added on
NPX Install
npx skill4agent add victorpay1/intelligems-analytics intelligems-coreTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →/intelligems-core
Shared library that powers all Intelligems Analytics skills. Sets up your workspace with the API client, metric helpers, and configuration.
You rarely need to run this directly — other skills (like ) automatically check for the workspace and set it up if needed.
/test-verdictWhat's Included
| File | Purpose |
|---|---|
| API client with automatic retry and rate-limit handling |
| Extract values, uplift, confidence, and CI bounds from API responses |
| Formatting, runtime calculation, variation lookup |
| Shared thresholds (80% confidence, 10-day minimum, etc.) |
| Slack Block Kit formatting and webhook delivery |
| Creates |
| Creates macOS LaunchAgent for scheduled Slack delivery |
Step 1: Get API Key
Ask the user for their Intelligems API key.
"What's your Intelligems API key? You can get one by contacting support@intelligems.io"
Never hardcode or assume an API key.
Step 2: Set Up Workspace
Run the setup script to create the workspace:
bash
bash setup_workspace.shThis creates:
- — working directory
~/intelligems-analytics/ - — Python virtual environment
~/intelligems-analytics/venv/ - — API key configuration
~/intelligems-analytics/.env
Then save the user's API key:
bash
echo "INTELLIGEMS_API_KEY=<user's key>" > ~/intelligems-analytics/.envStep 3: Copy Core Libraries
Copy all files from into the workspace:
references/bash
cp references/ig_client.py ~/intelligems-analytics/
cp references/ig_metrics.py ~/intelligems-analytics/
cp references/ig_helpers.py ~/intelligems-analytics/
cp references/ig_config.py ~/intelligems-analytics/Step 4: Verify
Activate the environment and verify the client works:
bash
source ~/intelligems-analytics/venv/bin/activate
python3 -c "
from ig_client import IntelligemsAPI
from dotenv import load_dotenv
import os
load_dotenv()
api = IntelligemsAPI(os.getenv('INTELLIGEMS_API_KEY'))
tests = api.get_active_experiments()
print(f'Connected. Found {len(tests)} active experiment(s).')
"If successful, the workspace is ready for any Intelligems Analytics skill.