Reprice swap transaction legs under ASC 845 (Nonmonetary Transactions) to ensure clearing accounts net to zero.
SkillScore83Maintained
Automatic
◆Finance & Accounting pack
Last verified 9/28/2026
What it changes
Passed 16 of 19 test cases with the skill, and 9 of 19 without it.
Without skill48%
With skill83%
Checks it passed that the model alone missed
Passes newFiatValue as a String parameter type
Skips the transaction when the total outflow fiat value is zero
Relocks the period using createLockedPeriod after mutations finish
and 7 more in the full report
9 fixed10 passed either way3 still failing1 broke
Pass-rate lift
+35 pp
Tokens
+87%
Agent turns
0%
Response time
-51%
Model gemini-3.6-flashMeasured 9/28/2026v119 of 23 cases passed with skill · 19 comparable
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 9 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 9
Prompt
When calling the setManualFiatValue mutation in TRES Finance to update a single subtransaction's inflow value, what JSON data type must be passed for the newFiatValue parameter?
What was checked, without and with the skill
Checked
Without skill
With skill
Passes newFiatValue as a String parameter type
Missed
Passed
case-11 · gemini-3.6-flash · 9/28/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md210 lines3 filesincludes scripts
ASC 845 Swap Repricing Skill
Purpose
Implements equal-value exchange under ASC 845 (Nonmonetary Transactions) for swap transactions
in TRES Finance. In a simultaneous swap, the fair value of the asset surrendered (outflow) is the
best evidence of the fair value of the asset received (inflow). This skill reprices inflow legs to
match outflow legs so that clearing accounts net to zero.
When to Use
A swaps/trade clearing account has a non-zero residual after month-end
User wants to apply ASC 845 to a population of swap transactions
User says "setBatchUseCounterpartyFiatValue" or similar
MCP Server
All GraphQL calls use the user-tres-finance MCP server (execute tool).
Variable keys and nested input fields MUST use camelCase (e.g. timestamp_Gte, not timestamp_gte).
Prerequisites
TRES Finance MCP connection (user-tres-finance)
The user must specify:
Target ERP account — the clearing account to zero out (e.g. "Swaps Clearing Account", NS #818)
Transaction scope — either a date range (timestamp_Gte / timestamp_Lte) or specific tx hashes
Confirmation — user must approve before mutations are executed
Workflow
Step 1: Gather Parameters
Ask the user for:
Target ERP account name or ID (the clearing account)
Date range OR list of transaction hashes
Activity tags (optional) — filter to only transactions with specific classification activities
(e.g. "STAKING LOCKUP", "SWAP"). None, one, or many may be selected. If omitted, all activities
are included. Use tx_Classification_Activity_In on the TRES query.
Guide users through creating ERP accounting rules for crypto organizations on the Tres Finance platform. Maps every transaction type to the correct chart of accounts entries using a layered rule engine. Trigger: user asks to create, review, or fix ERP rules / accounting mappings for an organization.