- Home
- Skills
- Finance & Accounting
- LoanBook Check: Loan Principal Reconciliation
More screenshots
Works with the AI Agents you already use
LoanBook Check: Loan Principal Reconciliation
Applies disbursements, principal repayments, and write-offs to opening balances, then compares the result with reported closing balances.
$9.99
LoanBook Check: Loan Principal Reconciliation
Example session with this skill installed
Run LoanBook Check on the bundled sample using samples/opening.csv, samples/movements.csv, and samples/closing.csv. Export the HTML review and exception CSV to ./loanbook-review. Show the portfolio totals, both signed loan-level variances, and the source rows I should inspect.
- Read your context and instructions
- Compiled the loanbook check
- Generated the data export
REVIEW · 5 loans reconciled · 2 loans to review
The RETAIL portfolio’s expected and reported closing principal both total 3,900,000 UGX minor units. L-HIGH is 100,000 above its calculated closing principal and L-LOW is 100,000 below. Both remain in the exception register.
Portfolio Currency Comparable loans Unresolved Expected closing Reported closing Positive variance Negative variance Net variance
RETAIL UGX 5 0 3,900,000 3,900,000 +100,000 −100,000 0
Loan Status Expected closing Reported closing Variance Opening / closing / movement rows
L-NEW MATCH 2,000,000 2,000,000 0 1 / 1 / 1
L-PARTIAL MATCH 750,000 750,000 0 2 / 2 / 2
L-PAID MATCH 0 0 0 3 / 3 / 3
L-HIGH REVIEW 450,000 550,000 +100,000 4 / 4 / 4
L-LOW REVIEW 700,000 600,000 −100,000 5 / 5 / 5
Variance equals reported closing principal minus expected closing principal. Row numbers count data rows after each CSV header.
Outputs
- ./loanbook-review/LoanBook-Review.html contains the portfolio totals and all five loan comparisons.
- ./loanbook-review/LoanBook-Exceptions.csv contains L-HIGH and L-LOW, both flagged as PRINCIPAL_MISMATCH.
Follow-up
Inspect data row 4 in each source CSV for L-HIGH and data row 5 for L-LOW. Verify that the opening and closing snapshots cover the intended period and that the posted movements are complete before making any adjustments.
LoanBook-Review.html
CSV · data export
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
A portfolio can tie at month-end while individual loan balances are still off. LoanBook Check recalculates closing principal for each loan and shows positive and negative variances separately, so both remain visible when the net variance is zero. What it does
- Reconciles posted principal. Applies disbursements, principal repayments, and write-offs to opening balances, then compares the result with reported closing balances.
- Checks dated reversals. Verifies that a full reversal references an earlier posting for the same loan within the review period. Duplicate transaction IDs and unresolved reversal links leave the affected comparison open for review in dated runs.
- Summarizes by portfolio and currency. Shows comparable totals, positive and negative variances, net variance, and the number of loans excluded from those totals.
- Exports review evidence. Produces an HTML report and CSV exception register with opening, closing, and movement source row numbers. How it works Provide three CSVs containing opening balances, principal movements, and closing balances. For dated movements, supply both inclusive period boundaries. The bundled PowerShell 7 scripts calculate the reconciliation and export LoanBook-Review.html and LoanBook-Exceptions.csv.
Use it for loan-book close reviews, payoff checks, and investigation of principal discrepancies. A synthetic Windows benchmark verified 110,000 movements across 10,000 loans, including linked reversals and the export of 1,000 exceptions. Scope and requirements The workflow covers posted principal. Interest, arrears, credit risk, partial reversals, and cross-period reversals are outside its calculation scope. Amounts use whole minor units. Supply explicit zero balances for new or fully paid loans where applicable. For report export, choose a new output folder under an existing parent folder.
Restricted to posted principal only. Does not handle interest or arrears. Requires PowerShell 7. Output parent directories must exist before execution.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 5 days ago
- Software
- PowerShell 7
- Optional
- Browser to view the exported HTML report
Permissions
File Scopes
Runs bundled PowerShell scripts against local CSVs and writes an HTML review and exception CSV to the selected output folder.
What's inside
Frequently Asked Questions
New in Finance & Accounting
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Finance & Accounting.