live-debug-assistant

live-debug-assistant is a skill for Claude Code, Codex from JAICHANGPARK/workshop-harness. It costs 33 tokens per session (838 once invoked), scanned A, original, MIT.

A troubleshooting skill that reads terminal error logs, removes exposed API keys, identifies listed common causes, and suggests a command to fix them.

In plain words
What is it for?
Use it during workshops or development sessions to diagnose connection, missing-package, missing-model, permission, and disk-space errors.
Why use it?
It turns messy error output into a likely cause and an actionable next step while helping prevent credentials from being shared.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/jaichangpark/workshop-harness/live-debug-assistant
Any agent
npx skills add JAICHANGPARK/workshop-harness --skill live-debug-assistant
Clone the repo
git clone --depth 1 https://github.com/JAICHANGPARK/workshop-harness

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for live-debug-assistant

README.md
[![agentmods](https://agentmods.dev/badge/skills/jaichangpark/workshop-harness/live-debug-assistant.svg)](https://agentmods.dev/skills/jaichangpark/workshop-harness/live-debug-assistant)
Your own site
<a href="https://agentmods.dev/skills/jaichangpark/workshop-harness/live-debug-assistant"><img src="https://agentmods.dev/badge/skills/jaichangpark/workshop-harness/live-debug-assistant.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 838 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00033 $0.00838
Opus 5 $0.00016 $0.00419
Sonnet 5 $0.00007 $0.00168
Haiku 4.5 $0.00003 $0.00084

Measured 5d ago against content hash 49abdb5a4fc2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

live-debug-assistant scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootlowPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

| `docker: Cannot connect to the Docker daemon` | Docker service stopped or missing socket permissions | `sudo systemctl start docker` or `sudo usermod -aG docker $USER` |

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

skills/live-debug-assistant/SKILL.md · 68 lines

How it starts

The opening of the file, as written. The whole thing — 68 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Live Debug Assistant Skill

Purpose

During live workshop sessions, attendees frequently hit unexpected errors and paste unformatted error logs into chat or terminal windows. This skill enables TAs and facilitators to rapidly analyze error tracebacks, redact exposed API keys, identify the root cause, and provide a single copy-paste hotfix command within 10 seconds.


10-Second Diagnostic Triage Workflow

[Raw Stderr Log] -> [Scan & Redact Secrets] -> [Pattern Match Root Cause] -> [Generate Copy-Paste Fix Command]

Common Error Pattern & Resolution Matrix

Error Pattern / Traceback Root Cause Instant Fix Command
ConnectionRefusedError: [Errno 61] Ollama server process not running on port 11434 ollama serve &
ModuleNotFoundError: No module named 'xxx' Missing dependency in active virtualenv uv pip install xxx
Error: model 'gemma4:e4b' not found Model tag not pulled into local runtime ollama pull gemma4:e4b
PermissionError: [Errno 13] Permission denied Script lacks execution bit chmod +x scripts/*.sh
ENOSPC: no space left on device Local disk full from cached models ollama rm <unused-model>
google.api_core.exceptions.InvalidArgument: 400 API key not valid Missing or corrupted GEMINI_API_KEY export GEMINI_API_KEY="AIzaSy..."
docker: Cannot connect to the Docker daemon Docker service stopped or missing socket permissions sudo systemctl start docker or sudo usermod -aG docker $USER
Address already in use: 8080 Port collision on local web server `lsof -i :8080

API Key & Credential Security Protocol

Before displaying or processing any raw log output, the agent must run automated security regex pattern scans and redact exposed secrets:

- Google AI Studio Key:  AIzaSy[A-Za-z0-9_-]{33}      -> [REDACTED_GEMINI_API_KEY]
- OpenAI API Key:       sk-[A-Za-z0-9]{48}           -> [REDACTED_OPENAI_KEY]
- Anthropic API Key:    sk-ant-[A-Za-z0-9_-]{48}     -> [REDACTED_ANTHROPIC_KEY]
- GitHub Token:         ghp_[A-Za-z0-9]{36}          -> [REDACTED_GITHUB_TOKEN]
- AWS Access Key:       AKIA[0-9A-Z]{16}             -> [REDACTED_AWS_KEY]

Read the full file on GitHub · 68 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 68 lines · 33 tokens per session scan A 49abdb5a4fc2

Subscribe to this mod's changes

live-debug-assistant is a skill published in the GitHub repository JAICHANGPARK/workshop-harness (5 stars, last pushed 4d ago), licensed MIT. It adds 33 tokens to every session and 838 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens