Loading...
Loading...
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.
npx skill4agent add victorpay1/intelligems-analytics intelligems-core/test-verdict| 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 |
"What's your Intelligems API key? You can get one by contacting support@intelligems.io"
bash setup_workspace.sh~/intelligems-analytics/~/intelligems-analytics/venv/~/intelligems-analytics/.envecho "INTELLIGEMS_API_KEY=<user's key>" > ~/intelligems-analytics/.envreferences/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/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).')
"