شعار Debt Management

Debt Management

المجتمع
JoelLewis
debt-management

قدّم أطرًا لإدارة الديون الشخصية وسدادها بفعالية. استخدم ذلك عندما يسأل المستخدم عن استراتيجيات سداد الديون (الانهيار الجليدي أم كرة الثلج)، أو قرارات إعادة التمويل، أو توحيد الديون، أو نسب الدين إلى الدخل، أو تكلفة الفرصة البديلة لسداد الدين مقارنة بالاستثمار. استخدمه أيضًا عندما يذكر المستخدم «أي دين أسدد أولًا؟» أو «هل أعيد التمويل؟» أو «ديون بطاقات الائتمان» أو «سداد قرض الطالب» أو «نسبة الدين إلى الدخل للرهن العقاري» أو «تحويل الرصيد» أو «الدين الجيد مقابل الدين السيئ»، أو يسأل عن كيفية الخروج من الديون بسرعة أكبر.

Add to TypingMind

نظرة عامة

الناشرJoelLewis
المستودعfinance_skills
اسم المهارةdebt-management
النجوم
217
التفريعات
37
الملفات المرفقة
1
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 1

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها JoelLewis على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Debt Management في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/JoelLewis/finance_skills/tree/main/plugins/wealth-management/skills/debt-management
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/JoelLewis/finance_skills.git /tmp/finance_skills
mkdir -p .claude/skills
cp -r /tmp/finance_skills/plugins/wealth-management/skills/debt-management .claude/skills/debt-management
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Debt Management في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Debt Management تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Debt Management بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Debt Management

Core Concepts

Debt Avalanche

Pay minimum payments on all debts, then direct all extra payment to the debt with the highest interest rate first:

  • Mathematically optimal: Minimizes total interest paid over the life of all debts
  • Once the highest-rate debt is paid off, the freed-up payment rolls to the next highest rate
  • Requires discipline — the highest-rate debt may also be the largest balance, meaning slow visible progress initially
  • Always saves money compared to snowball, though the difference varies by debt profile

Debt Snowball

Pay minimum payments on all debts, then direct all extra payment to the debt with the smallest balance first:

  • Psychologically effective: Quick wins build momentum and motivation
  • Research (Kellogg School) shows people are more likely to stick with snowball and actually become debt-free
  • May cost more in total interest than avalanche, but adherence is higher
  • Best for individuals who need motivational wins to stay committed

Debt-to-Income Ratio (DTI)

Total monthly debt payments expressed as a percentage of gross monthly income:

  • Front-end DTI (housing ratio): Monthly housing costs (PITI: principal, interest, taxes, insurance) / gross monthly income
    • Guideline: < 28%
  • Back-end DTI (total debt ratio): All monthly debt payments (housing + car + student loans + credit cards + other) / gross monthly income
    • Guideline: < 36% (conventional), up to 43% (FHA), some lenders allow up to 50% for qualified borrowers
  • DTI is a key factor in mortgage qualification and overall financial health assessment

Refinancing Analysis

Compare the total cost of the existing loan vs the new loan, accounting for closing costs:

  • Monthly savings: Old payment - new payment
  • Breakeven months: Total closing costs / monthly savings
  • Total cost comparison: Sum of all remaining payments (old) vs sum of all payments (new) + closing costs
  • If you plan to keep the loan beyond the breakeven point, refinancing saves money
  • Consider: remaining term, resetting the amortization clock, and cash-out implications

Debt Consolidation

Combine multiple debts into a single loan, ideally at a lower interest rate:

  • Potential benefits: Lower rate, single payment, simplified management
  • Risks: Longer term may increase total interest even at lower rate; freed-up credit lines may tempt new borrowing
  • Evaluate: Compare total interest paid (all debts independently) vs total interest paid (consolidated loan)
  • Balance transfer cards (0% intro rate) can be effective but require payoff before the rate expires

Good Debt vs Bad Debt

  • Good debt: Low interest rate, potentially tax-deductible, finances an appreciating asset or increases earning power (mortgage, student loans, business loans)
  • Bad debt: High interest rate, finances depreciating assets or consumption (credit cards, payday loans, auto loans on luxury vehicles)
  • The line is not absolute — a low-rate auto loan for a reliable commuter car can be reasonable

Opportunity Cost Analysis

When debt carries a low interest rate, paying it off aggressively may not be optimal:

  • Decision rule: If expected after-tax investment return > after-tax debt interest rate, investing the extra cash may build more wealth
  • Example: 3.5% mortgage (2.5% after tax deduction) vs 7-10% expected equity returns — investing likely wins mathematically
  • Caveats: Investment returns are uncertain, debt payoff is guaranteed; psychological benefit of being debt-free has real value
  • Consider risk tolerance: guaranteed 3.5% return (debt payoff) vs variable 7-10% (investing)

Debt Payoff Timeline

Amortization calculation with extra payments:

  • Standard amortization: n = -ln(1 - (P×r)/PMT) / ln(1+r)
  • With extra payment: replace PMT with PMT + extra, recalculate n
  • Total interest = (n × PMT) - P (adjusting for extra payments)

Key Formulas

FormulaExpressionUse Case
Front-end DTIHousing payments / gross monthly incomeMortgage qualification
Back-end DTIAll debt payments / gross monthly incomeOverall debt health
Refinance breakevenClosing costs / monthly savingsMonths to recoup refi costs
Months to payoffn = -ln(1 - Pr/PMT) / ln(1+r)Debt payoff timeline
Total interest paid(n × PMT) - PrincipalCost of borrowing
Effective rate (after tax)r × (1 - marginal_tax_rate)Tax-deductible debt comparison

Worked Examples

Example 1: Avalanche vs snowball comparison

Given: Three debts with $500/month available for extra payments (above minimums):

  • Credit card: $5,000 balance, 22% APR, $100 minimum
  • Student loan: $12,000 balance, 6% APR, $200 minimum
  • Personal loan: $3,000 balance, 15% APR, $75 minimum

Calculate: Order of payoff, total months, and total interest for each strategy (month-by-month simulation; see scripts/debt_management.py). Solution — Avalanche (highest rate first: 22% → 15% → 6%):

  1. Pay minimums on all ($375/mo). Extra $500 goes to credit card ($600/mo total to CC).
  2. Credit card ($5K at 22%, $600/mo): paid off in month 10, ~$476 interest.
  3. Freed payment rolls to the personal loan ($75 + $600 = $675/mo to PL): paid off in month 14, ~$408 interest.
  4. All payments roll to the student loan ($200 + $675 = $875/mo): paid off in month 26, ~$1,062 interest (the 6% loan accrues interest on its full $12K balance throughout the earlier phases, not just at the end).
  5. Total: 26 months, ~$1,946 total interest.

Solution — Snowball (smallest balance first: $3K → $5K → $12K):

  1. Extra $500 goes to personal loan ($575/mo total to PL).
  2. Personal loan ($3K at 15%, $575/mo): paid off in month 6, ~$123 interest.
  3. Freed payment rolls to the credit card ($100 + $575 = $675/mo): paid off in month 14, ~$911 interest.
  4. All payments roll to the student loan: paid off in month 26, ~$1,071 interest.
  5. Total: 26 months, ~$2,104 total interest.

Comparison: Avalanche saves ~$158 in interest; both finish in 26 months. The difference is modest because the highest-rate debt is not the largest. Snowball gives a quicker first win (month 6 vs month 10 to first payoff) — for many people that motivational difference is worth $158.

Example 2: Refinance breakeven

Given: Current mortgage: $300K remaining, 6.5%, 25 years left, payment $2,028/mo. New offer: 5.5%, 25 years, closing costs $6,000, payment $1,838/mo. Calculate: Breakeven period and total interest savings. Solution:

  1. Monthly savings: $2,028 - $1,838 = $190/month.
  2. Breakeven: $6,000 / $190 = 31.6 months ≈ 32 months (2 years 8 months).
  3. If staying in the home beyond 32 months, refinancing saves money.
  4. Total payments (old): 25 × 12 × $2,028 = $608,400 → total interest = $608,400 - $300,000 = $308,400.
  5. Total payments (new): 25 × 12 × $1,838 + $6,000 = $557,400 → total interest = $557,400 - $300,000 = $257,400.
  6. Total interest savings: $308,400 - $257,400 = $51,000.

Common Pitfalls

  • Ignoring psychological factors — snowball works better for many people despite costing slightly more in interest
  • Not including all closing costs in refinancing analysis (origination fees, appraisal, title insurance, points)
  • Consolidation at a lower rate but longer term may cost more in total interest — always compare total cost
  • Paying off low-rate debt instead of investing (opportunity cost) without considering risk tolerance and guaranteed vs uncertain returns
  • Not considering tax deductibility of mortgage or student loan interest when comparing effective rates
  • Making only minimum payments on high-interest debt while saving in low-yield accounts
  • Consolidation freeing up credit lines that lead to new debt accumulation
  • Ignoring the amortization reset: refinancing to a new 30-year term extends the payoff date

Cross-References

  • lending (wealth-management plugin): mortgage analysis, loan terms, and amortization calculations
  • emergency-fund (wealth-management plugin): adequate emergency fund prevents taking on new high-interest debt during crises
  • savings-goals (wealth-management plugin): debt payoff competes with savings goals for cash flow allocation
  • tax-efficiency (wealth-management plugin): tax deductibility of certain debt interest affects optimal payoff order
  • liquidity-management (wealth-management plugin): debt payments are fixed obligations in cash flow planning
  • financial-planning-workflow (advisory-practice plugin): debt payoff strategies are evaluated during the cash flow and recommendation phases of financial planning
  • insurance-planning (wealth-management plugin): outstanding debt balances are a direct input to life insurance needs analysis

Running the Script

bash
uv run scripts/debt_management.py            # run the demo (uses PEP 723 inline deps)
uv run scripts/debt_management.py --verify   # check demo outputs against the worked examples (exit 1 on mismatch)
python3 scripts/debt_management.py            # alternative (requires: pip install numpy)

The demo prints the calculations covered above; its values match the worked examples in this skill. Run --help for a list of the classes and functions. For programmatic use, import the module rather than running it — the demo only executes under python debt_management.py.

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Debt Management؟

قدّم أطرًا لإدارة الديون الشخصية وسدادها بفعالية. استخدم ذلك عندما يسأل المستخدم عن استراتيجيات سداد الديون (الانهيار الجليدي أم كرة الثلج)، أو قرارات إعادة التمويل، أو توحيد الديون، أو نسب الدين إلى الدخل، أو تكلفة الفرصة البديلة لسداد الدين مقارنة بالاستثمار. استخدمه أيضًا عندما يذكر المستخدم «أي دين أسدد أولًا؟» أو «هل أعيد التمويل؟» أو «ديون بطاقات الائتمان» أو «سداد قرض الطالب» أو «نسبة الدين إلى الدخل للرهن العقاري» أو «تحويل الرصيد» أو «الدين الجيد مقابل الدين السيئ»، أو يسأل عن كيفية الخروج من الديون بسرعة أكبر.

لماذا تستخدم Debt Management على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Debt Management عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Debt Management في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/JoelLewis/finance_skills/tree/main/plugins/wealth-management/skills/debt-management. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Debt Management؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Debt Management؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Debt Management معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Debt Management مجانية؟

نعم. نشرها JoelLewis على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل
شعار OpenMontageInc

3d Asset Generation

OpenMontageInc
مؤسسةشائع

أنشئ أصولًا ثلاثية الأبعاد لعوالم OpenMontage وأعِد بناءها وفحصها وتوجيهها إلى الإنتاج باستخدام Atlas Cloud وfal.ai والكتالوجات المرخصة وBlender.

10.6K
79.2K
الملفات: 1
عرض
شعار OpenMontageInc

Lyria

OpenMontageInc
مؤسسةشائع

أنشئ الموسيقى باستخدام Google Lyria عبر Gemini Interactions API وتحقق من صحتها. استخدمها قبل استدعاء OpenMontage `google_music`، أو تصميم مطالبات Lyria 3.5 أو Clip، أو استخدام تحويل الصور إلى موسيقى أو كلمات مخصصة…

10.6K
79.2K
الملفات: 2
عرض
شعار OpenMontageInc

Pika H3 Flex

OpenMontageInc
مؤسسةشائع

أنشئ مقاطع فيديو مدتها من 3 إلى 15 ثانية بصوت متزامن مدمج باستخدام Pika H3 Flex عبر Pika API (`pika_video`). استخدمه لتحويل النص إلى فيديو، وتوجيه الإنشاء بالإطار الأول والأخير، وإنشاء فيديو موجّه بالمراجع…

10.6K
79.2K
التعليمات
عرض
شعار affaan-m

Module Regression

affaan-m
المجتمعشائع

أدِر حالات التراجع التي تشمل وحدات متعددة في المستودعات الكبيرة باستخدام سجل REGRESSION.md، الذي يسجل المستهلكين اللاحقين لكل وحدة وأمر القبول القابل للتنفيذ. بعد إجراء تغيير، شغّل…

41.4K
277.3K
الملفات: 2
عرض

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇