debug-failed-job

debug-failed-job is a skill for Claude Code, Codex from keboola/mcp-server. It costs 48 tokens per session (1,108 once invoked), scanned A, original, MIT.

A troubleshooting guide for failed Keboola jobs, such as data extractors, transformations, writers, and flows. It reads the job's error and logs, explains the cause, and proposes a fix before making changes.

In plain words
What is it for?
Use it to investigate a failed Keboola pipeline, find the relevant project and job, understand the error, and decide how to repair it.
Why use it?
It helps replace guesswork with an explanation based on the failed job's actual logs. It also requires the user to approve a fix before any change is made.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to investigate a failed Keboola pipeline, find the relevant project and job, understand the error, and decide how to repair it.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/keboola/mcp-server/debug-failed-job
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.

Any agent
npx skills add keboola/mcp-server --skill debug-failed-job
Clone the repo
git clone --depth 1 https://github.com/keboola/mcp-server

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 debug-failed-job

README.md
[![agentmods](https://agentmods.dev/badge/skills/keboola/mcp-server/debug-failed-job/github.svg)](https://agentmods.dev/skills/keboola/mcp-server/debug-failed-job)
Your own site
<a href="https://agentmods.dev/skills/keboola/mcp-server/debug-failed-job"><img src="https://agentmods.dev/badge/skills/keboola/mcp-server/debug-failed-job/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for debug-failed-job

Your own site · 80×15
<a href="https://agentmods.dev/skills/keboola/mcp-server/debug-failed-job"><img src="https://agentmods.dev/badge/skills/keboola/mcp-server/debug-failed-job.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,108 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00048 $0.01108
Opus 5.5 $0.00019 $0.00443
Sonnet 5.5 $0.00010 $0.00222
Haiku 4.5 $0.00005 $0.00111

Measured today against content hash 577a08fec152, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

debug-failed-job scanned grade A with 0 findings 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 today.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

integrations/chatgpt-plugin/skills/debug-failed-job/SKILL.md · 63 lines

How it starts

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

Debug a failed job

Find the failed job, read its error and logs, explain the cause, and fix it only after the user agrees.

Input

A job ID, a configuration or flow name, or just "my last job failed". Ask for nothing more until step 4 shows whether it is needed.

Steps

  1. Pick the project. Call get_accessible_projects (with with_llm_instruction=true on the first call in the conversation) and ask the user which project the job ran in. Do not guess. Do this even when the session looks scoped already or a data tool would work without it: this plugin always narrows the session to the projects the user confirms. If get_accessible_projects fails because no programmatic token is present, the login is bound to one project: confirm it with the user and skip step 2.
  2. Scope the session to that project. Call set_project_scope with project_ids=[<the confirmed id>]. This must happen before any write in step 7. If the result carries a non-null scope_token, pass it on every later tool call. Every write in step 7 also passes the confirmed id as project_id: other conversations on the same login share the scope, and a scope they moved makes the write fail instead of landing in another project.
  3. Find the job.
    • Known job ID: go to step 4.
    • Known configuration or flow name: find its ID with search (item_types=["configuration", "transformation", "flow"]), then call get_jobs with job_ids=[], status="error", component_id=... and config_id=....
    • Nothing known: call get_jobs with job_ids=[], status="error" and limit=10, and ask the user which job they mean if more than one is recent.
  4. Read the failure. Call get_jobs with job_ids=["<id>"], include_logs=true and log_event_types=["error", "warn"]. If the error event is not enough, call again with a larger log_tail_lines=... and no event type filter.
  5. Read what ran. Call get_configs with configs=[...] for the job's configuration. For a flow job, call get_flows with flow_ids=[...] and find the failed task, then repeat steps 3 and 4 for that task's job.
  6. Explain. Name the cause in one or two sentences and quote the error line. Typical causes: an SQL error in a transformation (check columns with get_tables and reproduce the failing SELECT with query_data), a missing input table, expired credentials of an extractor or writer, or a schema change in the output table. Use docs_query for component-specific errors. Propose a fix.
  7. Fix, only on request. Ask before changing anything.
    • SQL transformation: update_sql_transformation with project_id=<the confirmed id>, its configuration_id=..., the parameter_updates=[...] and a change_description=....
    • Flow: modify_flow with project_id=<the confirmed id>, its configuration_id=..., the flow_type=... it already has and a change_description=....
    • Another component: get_components for its schema. When the fix belongs in a configuration row, call update_config_row with project_id=<the confirmed id>, component_id=..., configuration_id=..., configuration_row_id=... and a change_description=.... Otherwise call update_config with project_id=<the confirmed id>, component_id=..., configuration_id=... and a change_description=....
    • Expired OAuth credentials need the user: create a link with create_oauth_url, project_id=<the confirmed id>, component_id=... and config_id=..., and ask them to reauthorize.

Read the full file on GitHub · 63 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. today First seen · 63 lines · 48 tokens per session scan A 577a08fec152

Subscribe to this mod's changes

debug-failed-job is a skill published in the GitHub repository keboola/mcp-server (85 stars, last pushed today), licensed MIT. It adds 48 tokens to every session and 1,108 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-23.

Related

Other skills, from other repositories

xcodebuildmcp-cli

Official skill for the XcodeBuildMCP CLI. Use when doing iOS/macOS/watchOS/tvOS/visionOS work (build, test, run, debug, log, UI automation).

getsentry/XcodeBuildMCP · 48 tokens

triage

Diagnose and fix broken MCP servers in mcptoon — doctor, health, per-server probes, and the common failure playbook.

activeing123/mcptoon · 30 tokens

opik-diagnose

Surface the Opik traces worth a developer's attention, ranked by signal — Diagnostics issues first, then errors, failed tool calls, latency, regressions, and low online-eval scores. With the Opik MCP connected it lists the project's agentinsightsissue entities, offers to turn Diagnostics on when the project has it…

comet-ml/opik-mcp · 187 tokens

opik-explain

Root-cause a specific Opik trace, or a pattern across traces, and return a grounded explanation. Uses the hosted Opik MCP when it is connected, and falls back to SDK scripting otherwise. Returns the root cause, the evidence spans as clickable Opik UI links, and one suggested next step. Use for "why did this trace…

comet-ml/opik-mcp · 113 tokens

maintenance

Investigate, adopt, and verify dependency updates. Captures what changed, understands why, cross-references against the codebase, and runs final checks. Supports two entry modes: run the full flow end-to-end, or review updates you already applied.

cyanheads/git-mcp-server · 53 tokens

cortex-debug-memory

Debug and fix memory system issues — validate memories, rate quality, manage protection, forget bad memories, and restore from checkpoints. Use when the user says 'fix memory', 'bad memory', 'wrong memory', 'delete this', 'protect this', 'this memory is wrong', 'memory quality', 'rate this memory', 'restore…

cdeust/Cortex · 87 tokens