Heap

by Andrejones92

skill

Track user behavior automatically with Heap's auto-capture analytics platform.

Skill Details

Repository Files

2 files in this skill directory


name: heap description: Track user behavior automatically with Heap's auto-capture analytics platform. category: analytics

Heap Skill

Track user behavior automatically with Heap's auto-capture analytics platform.

Quick Install

curl -sSL https://canifi.com/skills/heap/install.sh | bash

Or manually:

cp -r skills/heap ~/.canifi/skills/

Setup

Configure via canifi-env:

# First, ensure canifi-env is installed:
# curl -sSL https://canifi.com/install.sh | bash

canifi-env set HEAP_APP_ID "your_app_id"
canifi-env set HEAP_API_KEY "your_api_key"

Privacy & Authentication

Your credentials, your choice. Canifi LifeOS respects your privacy.

Option 1: Manual Browser Login (Recommended)

If you prefer not to share credentials with Claude Code:

  1. Complete the Browser Automation Setup using CDP mode
  2. Login to the service manually in the Playwright-controlled Chrome window
  3. Claude will use your authenticated session without ever seeing your password

Option 2: Environment Variables

If you're comfortable sharing credentials, you can store them locally:

canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"

Note: Credentials stored in canifi-env are only accessible locally on your machine and are never transmitted.

Capabilities

  1. Auto-capture: Automatically track all user interactions
  2. Retroactive Analysis: Analyze events retroactively without code
  3. Funnel Analysis: Build conversion funnels from captured data
  4. Session Replay: Watch user session recordings
  5. User Segments: Create and analyze user segments

Usage Examples

Define Event

User: "Create a virtual event for button clicks on the pricing page"
Assistant: Creates event definition from auto-captured data

Analyze Funnel

User: "Show conversion from homepage to signup"
Assistant: Returns funnel analysis with drop-off points

View Session

User: "Show me sessions where users abandoned checkout"
Assistant: Returns relevant session recordings

Create Segment

User: "Create a segment of power users"
Assistant: Creates user segment with criteria

Authentication Flow

  1. Get App ID from Heap project settings
  2. Get API key for data access
  3. App ID for tracking script
  4. API key for data queries

Error Handling

Error Cause Solution
401 Unauthorized Invalid API key Verify credentials
403 Forbidden No project access Check permissions
400 Bad Request Invalid query Fix query format
429 Rate Limited Too many requests Implement backoff

Notes

  • Auto-captures all interactions
  • Retroactive event definition
  • No code changes needed
  • Session replay included
  • Free tier available
  • Point-and-click analysis

Related Skills

Attack Tree Construction

Build comprehensive attack trees to visualize threat paths. Use when mapping attack scenarios, identifying defense gaps, or communicating security risks to stakeholders.

skill

Grafana Dashboards

Create and manage production Grafana dashboards for real-time visualization of system and application metrics. Use when building monitoring dashboards, visualizing metrics, or creating operational observability interfaces.

skill

Matplotlib

Foundational plotting library. Create line plots, scatter, bar, histograms, heatmaps, 3D, subplots, export PNG/PDF/SVG, for scientific visualization and publication figures.

skill

Scientific Visualization

Create publication figures with matplotlib/seaborn/plotly. Multi-panel layouts, error bars, significance markers, colorblind-safe, export PDF/EPS/TIFF, for journal-ready scientific plots.

skill

Seaborn

Statistical visualization. Scatter, box, violin, heatmaps, pair plots, regression, correlation matrices, KDE, faceted plots, for exploratory analysis and publication figures.

skill

Shap

Model interpretability and explainability using SHAP (SHapley Additive exPlanations). Use this skill when explaining machine learning model predictions, computing feature importance, generating SHAP plots (waterfall, beeswarm, bar, scatter, force, heatmap), debugging models, analyzing model bias or fairness, comparing models, or implementing explainable AI. Works with tree-based models (XGBoost, LightGBM, Random Forest), deep learning (TensorFlow, PyTorch), linear models, and any black-box model

skill

Pydeseq2

Differential gene expression analysis (Python DESeq2). Identify DE genes from bulk RNA-seq counts, Wald tests, FDR correction, volcano/MA plots, for RNA-seq analysis.

skill

Query Writing

For writing and executing SQL queries - from simple single-table queries to complex multi-table JOINs and aggregations

skill

Pydeseq2

Differential gene expression analysis (Python DESeq2). Identify DE genes from bulk RNA-seq counts, Wald tests, FDR correction, volcano/MA plots, for RNA-seq analysis.

skill

Scientific Visualization

Meta-skill for publication-ready figures. Use when creating journal submission figures requiring multi-panel layouts, significance annotations, error bars, colorblind-safe palettes, and specific journal formatting (Nature, Science, Cell). Orchestrates matplotlib/seaborn/plotly with publication styles. For quick exploration use seaborn or plotly directly.

skill

Skill Information

Category:Skill
Last Updated:1/9/2026