Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Calculate Kenya payroll deductions - PAYE, SHIF, NSSF, Housing Levy with accurate 2024/2025 rates
Calculate Kenya payroll deductions - PAYE, SHIF, NSSF, Housing Levy with accurate 2024/2025 rates
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
Calculate Kenya payroll taxes and deductions with up-to-date rates for PAYE, SHIF, NSSF, and Housing Levy.
PAYE - 5-band progressive tax (10% to 35%) SHIF - 2.75% Social Health Insurance (replaced NHIF Oct 2024) NSSF - Two-tier pension with auto date-based limits Housing Levy - 1.5% Affordable Housing Levy Tax Reliefs - Personal, insurance, pension, mortgage
Install the npm package: npm install kenya-tax-rates
import { getNetSalary } from 'kenya-tax-rates'; const netSalary = getNetSalary(100000); // Returns ~KES 75,000
import { calculatePayroll } from 'kenya-tax-rates'; const result = calculatePayroll({ grossSalary: 100000, pensionContribution: 5000, // optional insurancePremium: 2000, // optional }); // Returns: // { // grossSalary: 100000, // taxableIncome: 93590, // deductions: { shif: 2750, nssf: 2160, housingLevy: 1500, paye: 18594 }, // netSalary: 74995, // employerContributions: { nssf: 2160, housingLevy: 1500 } // }
import { calculatePaye, calculateShif, calculateNssf, calculateHousingLevy } from 'kenya-tax-rates'; // PAYE with reliefs const paye = calculatePaye(85000); // SHIF (2.75%, min KES 300, no cap) const shif = calculateShif(50000); // 1375 // NSSF (auto-detects 2024/2025 rates based on current date) const nssf = calculateNssf(80000); // Housing Levy (1.5%) const levy = calculateHousingLevy(100000); // 1500
Income (KES)Rate0 - 24,00010%24,001 - 32,33325%32,334 - 500,00030%500,001 - 800,00032.5%Above 800,00035%
PeriodLower LimitUpper LimitMax ContributionFeb 2024 - Jan 2025KES 7,000KES 36,000KES 2,160From Feb 2025KES 8,000KES 72,000KES 4,320
Personal Relief: KES 2,400/month Insurance Relief: 15% of premiums, max KES 5,000/month Pension Deduction: Max KES 30,000/month
FunctionDescriptioncalculatePayroll(input)Full payroll with all deductionsgetNetSalary(gross, date?)Quick net salary calculationcalculatePaye(taxableIncome)PAYE with reliefscalculateShif(grossSalary)SHIF contributioncalculateNssf(earnings, date?)NSSF two-tier contributioncalculateHousingLevy(grossSalary)Housing levy (1.5%)
npm: kenya-tax-rates GitHub: enjuguna/kenya-tax-rates
Data access, storage, extraction, analysis, reporting, and insight generation.
Largest current source with strong distribution and engagement signals.