Calculate Kenya payroll deductions - PAYE, SHIF, NSSF, Housing Levy with accurate 2024/2025 rates
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install kenya-tax-rates或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install kenya-tax-rates⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/kenya-tax-rates/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: kenya-tax-rates description: Calculate Kenya payroll deductions - PAYE, SHIF, NSSF, Housing Levy with accurate 2024/2025 rates ---
Calculate Kenya payroll taxes and deductions with up-to-date rates for PAYE, SHIF, NSSF, and Housing Levy.
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) | Rate | |--------------|------| | 0 - 24,000 | 10% | | 24,001 - 32,333 | 25% | | 32,334 - 500,000 | 30% | | 500,001 - 800,000 | 32.5% | | Above 800,000 | 35% |
| Period | Lower Limit | Upper Limit | Max Contribution | |--------|-------------|-------------|------------------| | Feb 2024 - Jan 2025 | KES 7,000 | KES 36,000 | KES 2,160 | | From Feb 2025 | KES 8,000 | KES 72,000 | KES 4,320 |
| Function | Description |
|----------|-------------|
| calculatePayroll(input) | Full payroll with all deductions |
| getNetSalary(gross, date?) | Quick net salary calculation |
| calculatePaye(taxableIncome) | PAYE with reliefs |
| calculateShif(grossSalary) | SHIF contribution |
| calculateNssf(earnings, date?) | NSSF two-tier contribution |
| calculateHousingLevy(grossSalary) | Housing levy (1.5%) |
安装 Kenya Tax Rates 后,可以对 AI 说这些话来触发它
Help me get started with Kenya Tax Rates
Explains what Kenya Tax Rates does, walks through the setup, and runs a quick demo based on your current project
Use Kenya Tax Rates to calculate Kenya payroll deductions - PAYE, SHIF, NSSF, Housing Levy...
Invokes Kenya Tax Rates with the right parameters and returns the result directly in the conversation
What can I do with Kenya Tax Rates in my finance & investment workflow?
Lists the top use cases for Kenya Tax Rates, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/kenya-tax-rates/ 目录(个人级,所有项目可用),或 .claude/skills/kenya-tax-rates/(项目级)。重启 AI 客户端后,用 /kenya-tax-rates 主动调用,或让 AI 根据上下文自动发现并使用。
Kenya Tax Rates 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Kenya Tax Rates 可免费安装使用。请查阅仓库了解许可证信息。
Calculate Kenya payroll deductions - PAYE, SHIF, NSSF, Housing Levy with accurate 2024/2025 rates
Kenya Tax Rates 属于「Finance & Investment」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my finance & investment tasks using Kenya Tax Rates
Identifies repetitive steps in your workflow and sets up Kenya Tax Rates to handle them automatically