apify-debug-bundle
Collect Apify debug evidence for support tickets and troubleshooting. Use when an Actor run has failed, is stuck, or produced empty output and you need to gather run metadata, logs, dataset samples, and environment info before opening a support ticket.
Install / Use
npx skills add jeremylongshore/tons-of-skills-marketplace --skill apify-debug-bundleInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Customer SupportSupported Platforms
Our assessment of apify-debug-bundle
apify-debug-bundle scores 87/100 on our quality scale, 154th of 327 Customer Support skills we index (top 48%).
Its SKILL.md is 5.2 KB long, well organised into 12 sections with 1 code example: a solid amount of guidance for an agent.
With 2,785 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated 8 days ago, so apify-debug-bundle is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.
Automated pattern scan on 2026-10-02. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
apify-debug-bundle compared with similar skills
All 4 of these similar skills score higher than apify-debug-bundle; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| apify-debug-bundle (this skill)by jeremylongshore | 87 | 2.8k | 8d ago | SKILL.md |
| Agent-Reachby Panniantong | 100 | 88.1k | 17d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 74.3k | today | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 85.2k | 1d ago | MCP Server |
| crawl4aiby unclecode | 100 | 84.6k | 7d ago | MCP Server |
Frequently asked questions
- How do I install apify-debug-bundle?
- Run
npx skills add jeremylongshore/tons-of-skills-marketplace --skill apify-debug-bundle. The install tabs above show the steps for each supported agent. - Which AI agents does apify-debug-bundle work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is apify-debug-bundle safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is apify-debug-bundle still maintained?
- The repository was last updated 8 days ago, so apify-debug-bundle is actively maintained.
Skill content
View source on GitHubname: apify-debug-bundle description: | Collect Apify debug evidence for support tickets and troubleshooting. Use when an Actor run has failed, is stuck, or produced empty output and you need to gather run metadata, logs, dataset samples, and environment info before opening a support ticket. Trigger with "apify debug", "apify support bundle", "collect apify logs", "apify diagnostic", "apify run failed why". allowed-tools: Read, Bash(curl:), Bash(npm:), Bash(node:), Bash(tar:), Bash(apify:*), Grep version: 1.5.0 license: MIT author: Jeremy Longshore jeremy@intentsolutions.io tags:
- saas
- scraping
- automation
- apify compatibility: Designed for Claude Code
Apify Debug Bundle
Overview
Collect all diagnostic information needed to troubleshoot failed Actor runs and prepare Apify support tickets. Pulls run metadata, logs, dataset samples, and environment info into a single bundle so a support engineer (or you) can diagnose the failure without live access to your account.
Prerequisites
apify-clientinstalledAPIFY_TOKENconfigured- A failed or problematic run ID to investigate
Authentication
All API calls authenticate with the APIFY_TOKEN as a Bearer header
(Authorization: Bearer $APIFY_TOKEN), and the SDK reads the same token from
process.env.APIFY_TOKEN. Get the token from the Apify Console under
Settings → Integrations → Personal API tokens. Never commit it — the bundle
script redacts any local .env before packaging, and the platform auto-redacts
secrets inside run logs.
Instructions
The workflow has four steps. The skeleton below is enough to run it; each step's full implementation lives in implementation.md.
-
Investigate the failed run — pull run summary, dataset stats, and the log tail via the SDK. The core call:
const client = new ApifyClient({ token: process.env.APIFY_TOKEN }); const run = await client.run(runId).get(); const log = await client.run(runId).log().get(); -
Create the debug bundle — run
apify-debug-bundle.sh <RUN_ID>. It collects environment info, run details, log, a 5-item dataset sample, key-value store keys, a redacted.env, and platform health, then packages everything into a timestamped.tar.gz. Full script in implementation.md. -
Compare against a good run (optional) — diff a successful and failed run field-by-field to spot the delta (
compareRuns(successId, failId)). -
Live-tail a running Actor (optional) — stream logs when the final log is not yet available.
For copy-pasteable code for every step, see implementation.md.
Output
A single timestamped tarball, apify-debug-YYYYMMDD-HHMMSS.tar.gz, containing:
| File | Contents |
|------|----------|
| environment.txt | Node/npm versions, installed Apify packages, CLI version |
| run-details.json | Run status, options, stats, usage, cost |
| run-log.txt | Full run log (secrets auto-redacted by the platform) |
| dataset-sample.json | First 5 dataset items |
| kv-store-keys.json | Key-value store key listing |
| env-redacted.txt | Local .env with all values redacted |
| platform-health.json | Apify platform health snapshot |
Attach the tarball directly to an Apify support ticket.
Sensitive Data Handling
Always redact before sharing:
- API tokens (
apify_api_*) - Proxy passwords
- PII (emails, names, IPs)
- Custom environment variables
Safe to include:
- Run IDs, Actor IDs, dataset IDs
- Error messages and stack traces
- Run configuration (memory, timeout)
- Platform health status
Escalation Path
- Check run log for stack trace
- Compare with a successful run
- Check Apify Status for outages
- Create debug bundle
- Submit to Apify Support with bundle attached
Error Handling
| Issue | Cause | Solution |
|-------|-------|----------|
| Run not found | Invalid run ID or expired | Unnamed runs expire after 7 days |
| Log unavailable | Run still in progress | Wait for completion or stream live |
| Empty dataset | Actor produced no output | Check failedRequestHandler in code |
| High CU usage | Memory too high or slow execution | Reduce memory, optimize code |
Examples
Four worked scenarios — a plain FAILED run, an "it worked yesterday"
regression diff, an empty-dataset investigation, and live-tailing a hung run —
are in examples.md. The quickest path:
export APIFY_TOKEN="apify_api_..."
./apify-debug-bundle.sh abc123DEF # → apify-debug-20260717-142530.tar.gz
tar -xzf apify-debug-*.tar.gz && tail -40 apify-debug-*/run-log.txt
See examples.md for the full walkthroughs, including reading the comparison output and interpreting a live tail.
Resources
Next Steps
For rate limit issues, see the apify-rate-limits skill.
Related Skills
Agent-Reach
88.1kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
74.3kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Scrapling
85.2k🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
crawl4ai
84.6kOpen-source web crawler and scraper for LLMs and AI agents: any website into clean, LLM-ready Markdown. Run it yourself, or use Crawl4AI Cloud with one key.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
