return-resolution

return-resolution is a skill for Claude Code, Codex from newline53/newline-mcp-server. It costs 53 tokens per session (798 once invoked), scanned A, original, Apache-2.0.

A workflow for investigating a returned Newline banking transfer, meaning a transfer that was sent back by the payment system. It traces the return to the original transaction and transfer and checks the effect on the account balance.

In plain words
What is it for?
Use it to find a return, inspect its original transaction, identify the originating ACH or wire transfer, review account details, and explain what happened.
Why use it?
It gathers the return reason, related records, status, and balance changes in one investigation so the returned payment can be understood and resolved.

Skill for Claude CodeCodex

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

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/newline53/newline-mcp-server/return-resolution
Any agent
npx skills add newline53/newline-mcp-server --skill return-resolution
Clone the repo
git clone --depth 1 https://github.com/newline53/newline-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 return-resolution

README.md
[![agentmods](https://agentmods.dev/badge/skills/newline53/newline-mcp-server/return-resolution.svg)](https://agentmods.dev/skills/newline53/newline-mcp-server/return-resolution)
Your own site
<a href="https://agentmods.dev/skills/newline53/newline-mcp-server/return-resolution"><img src="https://agentmods.dev/badge/skills/newline53/newline-mcp-server/return-resolution.svg" alt="Measured on agentmods" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 798 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.1 $0.00053 $0.00798
Opus 5 $0.00026 $0.00399
Sonnet 5 $0.00011 $0.00160
Haiku 4.5 $0.00005 $0.00080

Measured 6d ago against content hash 7f42c277900d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

return-resolution 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 6d 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.

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.

skills/return-resolution/SKILL.md · 108 lines

How it starts

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

Return Resolution

Workflow for understanding and resolving a returned transfer on the Newline platform.

Step 1 — Identify the Return

If you have the return UID:

get-return  uid=<return_uid>

If you need to find it:

list-returns

Record from the return:

  • uid
  • original_transaction_uid — the transaction that was returned
  • return_reason — the return reason code or description
  • amount and currency
  • status — e.g. pending, processed
  • processed_at — when the return was settled (null if still pending)

Step 2 — Retrieve the Original Transaction

get-transaction  uid=<original_transaction_uid>

Record:

  • synthetic_account_uid — the account affected
  • transfer_uid — the originating transfer (if applicable)
  • transaction_type, amount, status
  • custodial_account_uid
  • balance_after — the balance after the original transaction posted

Step 3 — Retrieve the Originating Transfer

If the transaction has a transfer_uid:

get-newline-transfer  uid=<transfer_uid>

Record:

  • source_synthetic_account_uid and destination_synthetic_account_uid
  • initiating_customer_uid
  • Transfer type (ach, wire, or instant_payment) and its fields
  • usd_transfer_amount and status

For ACH returns the ach.sec_code and return reason code together identify the specific NACHA return category (e.g. R01 Insufficient Funds, R02 Account Closed, R03 No Account).

Step 4 — Check Transaction Events

list-transaction-events

Look for events where transaction_uid matches the original transaction UID. A return event will typically show event_type containing "return" and the reason in description or metadata.

Step 5 — Check Account Balance Impact

get-synthetic-account  uid=<synthetic_account_uid>

Compare the current net_usd_balance against the balance_after recorded in Step 2. The difference should reflect the return credit/debit.

Also check the synthetic line items for a return credit entry:

Read the full file on GitHub · 108 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. 6d ago First seen · 108 lines · 53 tokens per session scan A 7f42c277900d

Subscribe to this mod's changes

return-resolution is a skill published in the GitHub repository newline53/newline-mcp-server (2 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 53 tokens to every session and 798 once invoked, about $0.0003 per session on Opus 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-08-31.

Related

Other skills, from other repositories

surf

Use when the user wants crypto data — token prices, on-chain SQL, prediction-market positions, CEX order books, wallet labels/net-worth, social mindshare, news, or unified search. 83 endpoints across exchange, on-chain, wallet, social, prediction, news and search — one API, flat $0.0085/call in USDC via x402. Settles…

BlockRunAI/blockrun-mcp · 92 tokens

scanner-pmcc

Scan stocks for Poor Man's Covered Call (PMCC) suitability. Analyzes LEAPS and short call options for delta, liquidity, spread, IV, yield, trend direction, and earnings proximity. Use when user asks about PMCC candidates, diagonal spreads, or LEAPS strategies.

staskh/trading_skills · 63 tokens

ib-collar

Generate tactical collar strategy reports for protecting PMCC positions through earnings or high-risk events. Requires TWS or IB Gateway running locally.

staskh/trading_skills · 30 tokens

ib-portfolio-action-report

Generate a comprehensive portfolio action report with earnings dates and risk assessment. Use when user asks for portfolio review, action items, earnings risk, or position management across IB accounts. Requires TWS or IB Gateway running locally.

staskh/trading_skills · 49 tokens

ib-trades-history

Fetch trade executions from Interactive Brokers filtered by account, date range, or symbol. Supports live API (7 days history) and FlexReport (full history). Use when user asks about their trades, executions, or transaction history. Requires TWS or IB Gateway running locally.

staskh/trading_skills · 59 tokens

report-stock

Generate comprehensive stock analysis report (PDF or markdown) with trend, PMCC, and fundamental analysis.

staskh/trading_skills · 22 tokens