Murabaha logo

Murabaha

Organization
panaversity
murabaha

Activate for: murabaha, cost-plus financing, deferred sale, commodity murabaha, tawarruq, FAS 2, murabaha receivable, deferred murabaha income, murabaha portfolio, murabaha schedule, murabaha profit recognition, mark-up financing.

Overview

Publisherpanaversity
Repositoryagentfactory-business-plugins
Skill namemurabaha
Stars
37
Forks
19
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by panaversity on GitHub. Read the source before you install it.

Installation

Install the Murabaha AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/panaversity/agentfactory-business-plugins/tree/main/islamic-finance/skills/murabaha
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/panaversity/agentfactory-business-plugins.git /tmp/agentfactory-business-plugins
mkdir -p .claude/skills
cp -r /tmp/agentfactory-business-plugins/islamic-finance/skills/murabaha .claude/skills/murabaha
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Murabaha in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Murabaha on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Murabaha is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

CORE PRINCIPLE

Murabaha is a SALE transaction, not a LOAN transaction. The bank is a merchant purchasing and reselling — not a lender charging interest.

This principle governs all accounting treatment and terminology. The jurisdiction overlay determines which label system applies in output.


SHARIAH STRUCTURE VERIFICATION

Before any accounting entry, confirm the four Shariah conditions:

  1. The bank (IFI) must have actually purchased the asset from the supplier before selling it to the customer. If the bank never held title, the contract is void.
  2. The selling price (cost + mark-up) must be disclosed to the customer.
  3. There must be a binding offer and acceptance (ijab and qabul).
  4. The deferred payment terms must be specified and agreed in the contract.

If any condition cannot be confirmed: FLAG for SSB review before posting entries.


RECOGNITION RULES — FOUR-STEP SEQUENCE

Step 1 — Bank purchases asset from supplier: Dr: Murabaha Asset (inventory) [Cost Price] Cr: Cash / Payable to Supplier [Cost Price]

Step 2 — Bank sells asset to customer at mark-up (contract execution date): Dr: Murabaha Receivable [Total Selling Price = Cost + Total Mark-up] Cr: Murabaha Asset [Cost Price] Cr: Deferred Murabaha Income [Total Mark-up]

Step 3 — Periodic profit recognition (each period-end): Dr: Deferred Murabaha Income [Period allocation per effective profit rate] Cr: [Income account — label per jurisdiction overlay]

Step 4 — Customer instalment payment received: Dr: Cash [Instalment amount] Cr: Murabaha Receivable [Instalment amount]


EFFECTIVE PROFIT RATE CALCULATION

Method: Identical mathematics to IFRS 9 effective interest rate (EIR). The rate that discounts all future cash flows to equal the initial murabaha receivable. Label this rate "effective profit rate" — NEVER "effective interest rate."

Period allocation formula: Opening Receivable x (Effective Profit Rate / Periods per Year) = Period Profit

Closing Receivable = Opening Receivable + Period Profit — Cash Instalment Received


INCOME LABELS BY REGIME

AAOIFI regime (Bahrain, Qatar): "Murabaha Income" MFRS regime (Malaysia): "Profit from Islamic Financing" or "Islamic Financing Income" IFRS regime (UAE, Saudi Arabia, UK, Pakistan listed): "Profit from Murabaha Financing" NEVER use: "Interest Income" or "Finance Income" (generic) Use jurisdiction overlay to confirm the correct label.


BALANCE SHEET CLASSIFICATION

AAOIFI regime: "Murabaha Receivables" — separate line, NOT under "Loans and Advances" IFRS regime: May appear under "Islamic Financing Receivables" or "Loans and Advances" with Islamic sub-classification. Jurisdiction overlay specifies exact presentation.

Deferred Murabaha Income: ALWAYS a credit balance, shown as a contra or separate liability. In AAOIFI regime: shown as a deduction from gross Murabaha Receivables, or separately. In IFRS regime: typically netted such that the carrying value = amortised cost.


IMPAIRMENT

AAOIFI regime: Apply AAOIFI FAS 30 (Impairment, Credit Losses and Onerous Commitments). Stage 1: 12-month expected credit loss Stage 2: Lifetime ECL (significant increase in credit risk) Stage 3: Lifetime ECL + non-accrual of murabaha income

IFRS regime: Apply IFRS 9 ECL model. SPPI test: Murabaha receivables generally pass (fixed contractual cash flows). Business model: held-to-collect → amortised cost.

IMPORTANT — SHARIAH CONSTRAINT ON DEFAULT: When a customer defaults, the bank CANNOT charge additional profit/mark-up on the overdue amount. Additional charges on overdue amounts constitute riba. Bank remedies: collateral enforcement, guarantor call, legal action only. Overdue profit that has not yet been earned is NOT accelerated on default. Only already-earned profit (released from deferred income) is a receivable.


COMMODITY MURABAHA / TAWARRUQ NOTES

In commodity murabaha (tawarruq), the bank purchases a commodity from a broker, sells it to the customer at a mark-up, and the customer sells to a third broker for cash.

Accounting treatment is identical to asset murabaha. Additional Shariah compliance check: confirm the two commodity sale transactions are genuinely separate (not a sham back-to-back). Some scholars object to tawarruq. If the jurisdiction's Shariah board has specific rulings on tawarruq, flag for SSB review.


MANDATORY DISCLOSURES

Include all of the following in notes to financial statements:

  1. Accounting policy for murabaha financing (which standard governs)
  2. Movement table for Murabaha Receivables: Opening balance / New facilities / Instalments received / Written off / Closing balance
  3. Movement table for Deferred Murabaha Income: Opening balance / Unearned income on new facilities / Released to income / Closing balance
  4. Murabaha income recognised in the period
  5. Non-performing murabaha receivables: Amount / Ageing / Stage classification / Provision held
  6. Accounting policy for income non-accrual on Stage 3 facilities

AAOIFI regime: also include Shariah compliance statement confirming all murabaha contracts were executed in accordance with AAOIFI Shariah Standard No. 8.

Frequently asked questions

What does the Murabaha AI skill do?

Activate for: murabaha, cost-plus financing, deferred sale, commodity murabaha, tawarruq, FAS 2, murabaha receivable, deferred murabaha income, murabaha portfolio, murabaha schedule, murabaha profit recognition, mark-up financing.

Why use Murabaha on TypingMind?

Because you install it once and use it with any model. Murabaha is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Murabaha in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/panaversity/agentfactory-business-plugins/tree/main/islamic-finance/skills/murabaha. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Murabaha?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Murabaha?

As many as you like. As long as a model supports skills, you can use Murabaha with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Murabaha AI skill free?

Yes. It is published on GitHub by panaversity under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇