Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Collects Intercom API diagnostics, including auth status, rate-limit headers, and redacted logs, into a tarball for support tickets.
45% 91%+45 ptsof test cases passed
Passed 20 of 22 test cases with the skill, and 10 of 22 without it.
If an application has Intercom log entries at `logs/app.log`, what file should the diagnostic bundle place the sanitized logs into?
Names the redacted log file logs-redacted.txt.
3 of 3 safety checks passed
This reference carries the complete intercom-debug-bundle.sh collector.
SKILL.md shows the lean Step 1 setup and the Step 2 auth check inline; the
full seven-step script that assembles the redacted tarball lives here. Copy the
steps in order into a single script, or run them individually.
#!/bin/bash
# intercom-debug-bundle.sh
set -euo pipefail
BUNDLE_DIR="intercom-debug-$(date +%Y%m%d-%H%M%S)"
mkdir -p "$BUNDLE_DIR"
TOKEN="${INTERCOM_ACCESS_TOKEN:-}"
echo "=== Intercom Debug Bundle ===" | tee "$BUNDLE_DIR/summary.txt"
echo "Generated: $(date -u +%Y-%m-%dT%H:%M:%SZ)" >> "$BUNDLE_DIR/summary.txt"
# Token presence check (never log the actual token)
echo "--- Token Status ---" >> "$BUNDLE_DIR/summary.txt"
if [ -z "$TOKEN" ]; then
echo "ERROR: INTERCOM_ACCESS_TOKEN not set" >> "$BUNDLE_DIR/summary.txt"
echo "Set INTERCOM_ACCESS_TOKEN and re-run" >&2
exit 1
fi
echo "Token: [SET] (${#TOKEN} chars)" >> "$BUNDLE_DIR/summary.txt"
# API authentication test
echo "--- API Auth Test ---" >> "$BUNDLE_DIR/summary.txt"
AUTH_RESPONSE=$(curl -s -w "\n%{http_code}" \
-H "Authorization: Bearer $TOKEN" \
-H "Accept: application/json" \
https://api.intercom.io/me 2>&1)
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.