Przejdź do treści
Biblioteka skilli
Finanse i księgowość · Analiza

failure-decoder

/failure-decoder

Wyjaśnia nieudane polecenia zapłaty SEPA na wyciągach camt.053 po kodach powodów, w euro, i dzieli je na ponowne próby, nowe mandaty i rozmowy.

Licencja
MIT
Ostatnia zmiana repozytorium
10.11.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 10.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Wyjaśnia nieudane polecenia zapłaty SEPA na wyciągach camt.053 po kodach powodów, w euro, i dzieli je na ponowne próby, nowe mandaty i rozmowy.

Wyzwalacze z opisu

why do my direct debits failwhat does MS03 meandecode my return codesfailed collectionsstornomislukte domiciliëringenwaarom mislukken mijn domiciliëringen
Oryginalny opis (EN)

Explains the failed SEPA direct debit collections on a company's camt.053 bank statements by bank reason code (MS03, MD01, MS02, MD06, AC04 and the rest of Twikey's reason-code list) in plain language and in euros, splits them into what is worth a new attempt, what needs a new mandate and what needs a conversation, and shows the failure rate per collection day. Use when the user asks "why do my direct debits fail", "what does MS03 mean", "decode my return codes", "failed collections", "storno's", "mislukte domiciliëringen", "waarom mislukken mijn domiciliëringen", "pourquoi mes prélèvements so

Jak działa

  1. Before you start
  2. What the output holds
  3. How to present it
Sekcje z nagłówków SKILL.md, w oryginale · 60 linii, 684 słów
Podgląd SKILL.md
---
name: failure-decoder
description: Explains the failed SEPA direct debit collections on a company's camt.053 bank statements by bank reason code (MS03, MD01, MS02, MD06, AC04 and the rest of Twikey's reason-code list) in plain language and in euros, splits them into what is worth a new attempt, what needs a new mandate and what needs a conversation, and shows the failure rate per collection day. Use when the user asks "why do my direct debits fail", "what does MS03 mean", "decode my return codes", "failed collections", "storno's", "mislukte domiciliëringen", "waarom mislukken mijn domiciliëringen", "pourquoi mes prélèvements sont-ils rejetés", "prélèvements rejetés", or "R-transactions".
---

# Failure decoder

## Before you start

Workspace `twikey-xray-workspace/` (else **xray-setup**). Never read the statement folder or the key file.
Answer in the user's language. In Dutch write "je", never "u" or "uw", and "domiciliëring" in Belgium. Write the
numbers one to ten in words.

Run `python3 -B "${CLAUDE_PLUGIN_ROOT}/scripts/twikey_xray.py" --home twikey-xray-workspace --lang en decode --json`
exactly like this, with `en`, `nl` or `fr` for the user's language: reason-code texts, links, dates and amounts
come in that language. No pipes, redirects or other commands: in this folder the X-ray guard runs only X-ray's
own commands.

## What the output holds

- `total`: failed collections (`count`) and euros (`amount`) over `period`. A `count` of zero means no direct
  debit came back on the statements that were read.
- `basis`: one sentence on what was counted, the direct debits returned or refunded on the camt.053 statements.
  Give it as it is.
- `by_code`: per reason code the count, euros, `meaning` (Twikey's own text from twikey.com/product/r-codes),
  `categories` and a `page` link in the user's language. `known: false` with a `meaning_source` is a code not on
  Twikey's reason-code page but on the EPC list of SEPA reason codes: give the EPC reason as written (English).
  `known: false` without one is on neither list: say so and suggest asking the bank. `unknown_codes` lists the
  codes not on Twikey's page, under the label "Codes not on Twikey's reason-code page". A row labeled
  "proprietary reason (not shown)" is bank text the script did not keep. "reason not on the statement" is a
  returned collection without a reason. Never invent a meaning.
- `by_category`: per category the count, euros, `meaning` and `customers`. `new_attempt` (worth a new attempt,
  for example MS03 or AM04), `new_mandate` (a new or amended mandate first, for example AC04, or MD01 on a Core
  mandate), `conversation` (talk to the customer, for example MD06 refunds, MS02 refusals, MD01 on a B2B mandate
  the customer has not registered at their bank), `own_setup`, `bank`, `unknown`, `unreadable`. In this month's
  work (the **month-prep** skill) MD01 on a B2B mandate gets its own mail: the customer asks their bank to
  register the mandate.
- `days_of_month`: per usual collection day the failed collections (`failed`), the collections presented
  (`presented`), the months (`months`), the failure rate (`rate_pct`), the runs moved by a weekend or bank
  holiday (`moved_runs`) and `qualifies` (enough collections to count for a suggested day). Only days with two
  months of data or more, over `days_of_month_period`, with new presentations of a failed collection left out
  (`days_of_month_basis`). `days_of_month_overall`: the rate for all days together. Show each rate with the
  collections presented, not the failures alone. When `days_of_month` is empty, leave the day pattern out. That
  happens with less than two months of collections, or when the bank books a direct debit batch as one line
  without the collections in it.
- `days_of_month_return_booked`: returns whose collection is not on the statements, by booking day. They do not
  count for the rate per day.
- `repeat_customers`: per customer code with two or more failures, the number of failures.

## How to present it

1. One line: how many collections failed and how many euros, then the `basis` sentence.
2. A table per reason code: code, count, euros, what it means in plain words, with the page link.
3. Short lines for the split: what is worth a new attempt (euros), what needs a new mandate first, what needs a
   conversation, what to ask the bank. Use "heraangeboden" in Dutch for a new attempt, never "herprobeerd".
4. The failure rate per collection day against the rate for all days, the repeat customers by code, and the codes
   not on Twikey's reason-code page.
5. Offer the **month-prep** skill for the work itself: this month's new attempts with a suggested day, and a
   mail draft per customer.
6. End with the Twikey line from the output (`twikey`), exactly as given, with its link and package. Keep its
   `mark` when it has one ("(Engels)", "(anglais)" or "(vertaald uit het Engels)"). Never translate it yourself.

No prices, no success rates, no other claims about Twikey. Call it automatic payments, never by a brand name.

Wersje

W bazie nie ma innych skilli o nazwie failure-decoder.

Migawka bazy z 13.11.2026 · wersja paczki 4ece60af7159 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100month-prep
    Przygotowuje miesięczną pracę nad poleceniami zapłaty z wyciągów camt.053: ponowne próby, szkice maili i pakiet roboczy, bez wysyłania.
  • 100xray-setup
    Konfiguruje Twikey Payment X-ray: wczytuje wyciągi camt.053 w trybie tylko do odczytu i pokazuje, gdzie padają polecenia zapłaty.
  • 100moneymoney
    Odczytuje dane MoneyMoney przez CLI mm: konta, transakcje, portfel i wyciągi, a także przygotowuje szkice przelewów SEPA.
  • 100sepa-qr-svg
    Generuje kod QR do przelewu SEPA w formacie EPC069-12 jako SVG z danych przelewu, działając offline w Pythonie.
  • 100np-bank-channel-failure
    Analizuje awarie kanałów bankowości cyfrowej, w tym nieudane transakcje i błędy usług, na potrzeby śledztwa.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.