Logo van Debugging Broken Jobs

Debugging Broken Jobs

Organisatie
friday-platform
debugging-broken-jobs

Triage entry-point for any "the job ran but something's wrong" situation in a Friday workspace. Loads when a job tool returns `output-error`, `success: false`, `summary: ""`, `artifactIds: []`, or any session with `status: failed`. Routes to the right sibling debug skill. Required reading before declaring "platform bug" / "FSM wiring is broken" / "this is a known issue" — those claims are FORBIDDEN without first walking this triage table.

Add to TypingMind

Overzicht

Uitgeverfriday-platform
Repositoryfriday-studio
Skillnaamdebugging-broken-jobs
Sterren
102
Forks
5
Meegeleverde bestanden
Alleen instructies
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door friday-platform op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Debugging Broken Jobs in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/friday-platform/friday-studio/tree/main/packages/system/skills/debugging-broken-jobs
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/friday-platform/friday-studio.git /tmp/friday-studio
mkdir -p .claude/skills
cp -r /tmp/friday-studio/packages/system/skills/debugging-broken-jobs .claude/skills/debugging-broken-jobs
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Debugging Broken Jobs in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Debugging Broken Jobs automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Debugging Broken Jobs niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Debugging broken jobs

Stop. Before you form a hypothesis, walk this triage. The job tool's return shape and the session's agentBlocks[].toolCalls carry the diagnosis 95% of the time. The remaining 5% is rarely a platform bug and almost always a contract violation by the agent or the FSM.

Diagnostic discipline (non-negotiable)

You may NOT claim "platform bug" / "FSM wiring is broken" / "this is a known issue" until you have:

  1. Called describe_session(sessionId) on the failing session.
  2. Read agentBlocks[].toolCalls to see what tools the agent actually invoked.
  3. Verified the contracted exit (complete for outputTo actions, terminal text otherwise) was attempted.

If you skipped any of those, you don't know enough to claim a bug. Run the steps first.

Run a control before blaming your own change. When something you just created or edited fails, fire an equivalent request at something you have not touched this session. If the untouched thing fails the same way, your edit is not the cause — you're looking at a shared layer (request envelope, auth, a stale cache, the runtime), so stop re-editing your change. If only your edited thing fails, then it is your edit. Either branch halves the search space in one call; the expensive mistake is looping on your change on the assumption it must be the culprit.

Symptom triage table

Match the job tool's return shape OR the session's status, then load the matching sibling skill.

Symptom signatureLoad
success: true, status: completed, summary: "", artifactIds: []debugging-empty-output
success: true, status: completed, summary mentions "Session completed without producing a summarizable document"debugging-empty-output
Session shows many tool calls of the same name, no terminal text, hit stopWhen: stepCountIs(...)debugging-tool-loops
Session status: failed, error contains LLM action with outputTo '...' did not call completedebugging-runtime-errors
Session status: failed, error contains emitted empty output or emitted an empty responsedebugging-runtime-errors
Session status: failed, error contains LLM step failed: ... (agent called failStep)debugging-runtime-errors
Session status: failed, error contains Agent '<id>' output does not match <type> schemadebugging-runtime-errors
Session status: failed, error contains Invalid job config or Invalid signal config (Zod rejection)debugging-runtime-errors
Job tool returned output-error with no meaningful error text (typically called with bare {})debugging-job-invocation
Job tool returned output-error mentioning "tool isn't bound" — this is wrong; you forgot a prompt argdebugging-job-invocation
Model tried to call unavailable tool '<name>' — you created the job this session; it has no bound tool yetdebugging-job-invocation
External MCP tool returned 422 / 401 / 403 with provider-side errorcheck the workspace's MCP server credentials; not a platform bug

If no row matches, gather more evidence — don't escalate.

What "diagnostic discipline" looks like in practice

text
USER: run stale
ASSISTANT [calls workspace job tool]
JOB TOOL: { success: true, status: completed, summary: "", artifactIds: [] }
ASSISTANT [recognizes empty-output signature]
ASSISTANT [load_skill: debugging-empty-output]
ASSISTANT [calls describe_session(sessionId)]
ASSISTANT [reads agentBlocks[0].toolCalls]
ASSISTANT [observes complete was not called; agent emitted text only]
ASSISTANT: The job ran successfully but the agent emitted prose without
calling `complete`. Per the `@friday/agent-action-handshake`
contract, an `outputTo` action requires the agent to call complete
with the final text. Fix the agent's prompt to instruct it explicitly.

What you must NOT do:

text
USER: run stale
ASSISTANT [calls job tool]
JOB TOOL: { summary: "" }
ASSISTANT: This looks like a platform bug. Let me try migrating from
Pattern A to Pattern B FSM…

That's a contract violation by you. Load this skill, walk the table, diagnose properly.

Cross-references

  • @friday/agent-action-handshake — the FSM action ↔ agent prompt contract that most empty-output failures violate.
  • @friday/writing-workspace-jobs — FSM authoring once you know what to fix.
  • @friday/workspace-api — agent CRUD once you know the agent prompt is the broken part.

Veelgestelde vragen

Wat doet de AI-skill Debugging Broken Jobs?

Triage entry-point for any "the job ran but something's wrong" situation in a Friday workspace. Loads when a job tool returns `output-error`, `success: false`, `summary: ""`, `artifactIds: []`, or any session with `status: failed`. Routes to the right sibling debug skill. Required reading before declaring "platform bug" / "FSM wiring is broken" / "this is a known issue" — those claims are FORBIDDEN without first walking this triage table.

Waarom Debugging Broken Jobs gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Debugging Broken Jobs bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Debugging Broken Jobs in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/friday-platform/friday-studio/tree/main/packages/system/skills/debugging-broken-jobs. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Debugging Broken Jobs gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Debugging Broken Jobs gebruiken?

Zoveel als je wilt. Je kunt Debugging Broken Jobs gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Debugging Broken Jobs gratis?

Deze skill is door friday-platform op GitHub gepubliceerd. Bekijk de repository voor de licentievoorwaarden. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇