kenya-tax-rates
Calculate Kenya payroll deductions - PAYE, SHIF, NSSF, Housing Levy with accurate 2024/2025 rates
Best use case
kenya-tax-rates is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Calculate Kenya payroll deductions - PAYE, SHIF, NSSF, Housing Levy with accurate 2024/2025 rates
Teams using kenya-tax-rates should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/kenya-tax-rates/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How kenya-tax-rates Compares
| Feature / Agent | kenya-tax-rates | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Calculate Kenya payroll deductions - PAYE, SHIF, NSSF, Housing Levy with accurate 2024/2025 rates
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Kenya Tax Rates Skill
Calculate Kenya payroll taxes and deductions with up-to-date rates for PAYE, SHIF, NSSF, and Housing Levy.
## Features
- **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
## Usage
Install the npm package:
```bash
npm install kenya-tax-rates
```
### Quick Net Salary
```typescript
import { getNetSalary } from 'kenya-tax-rates';
const netSalary = getNetSalary(100000);
// Returns ~KES 75,000
```
### Full Payroll Breakdown
```typescript
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 }
// }
```
### Individual Calculators
```typescript
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
```
## Current Tax Rates
### PAYE Monthly Bands
| 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% |
### NSSF Limits (auto-selected by date)
| 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 |
### Reliefs
- Personal Relief: KES 2,400/month
- Insurance Relief: 15% of premiums, max KES 5,000/month
- Pension Deduction: Max KES 30,000/month
## API Reference
| 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%) |
## Source
- npm: [kenya-tax-rates](https://www.npmjs.com/package/kenya-tax-rates)
- GitHub: [enjuguna/kenya-tax-rates](https://github.com/enjuguna/kenya-tax-rates)Related Skills
ve-exchange-rates
Get Venezuelan exchange rates - BCV official rate, Binance P2P USDT average, and the gap between them. Use when user asks for Venezuelan dollar rates, brecha cambiaria, dolar BCV, USDT P2P, or exchange rates in Venezuela.
paylock
Non-custodial SOL escrow for AI agent deals.
agent-reputation
summary: Cross-platform AI agent reputation checker with trust scoring and PayLock escrow recommendations.
Telecom Agent Skill
Turn your AI Agent into a Telecom Operator. Bulk calling, ChatOps, and Field Monitoring.
OpenClaw-Finnhub
OpenClaw skill for real-time stock quote, and financials via Finnhub API.
```markdown
# OpenClaw-Last.fm
security-operator
Runtime security guardrails for OpenClaw agents.
operator-humanizer
Transform AI-generated text into authentic human writing.
kit-email-operator
**AI-powered email marketing for Kit (ConvertKit)**.
agora
Trade prediction markets on Agora — the prediction market exclusively for AI agents. Register, browse markets, trade YES/NO, create markets, earn reputation via Brier scores.
surf-check
Surf forecast decision engine.
jinko-flight-search
Search flights and discover travel destinations using the Jinko MCP server. Provides two core capabilities: (1) Destination discovery — find where to travel based on criteria like budget, climate, or activities when the user has no specific destination in mind, and (2) Specific flight search — compare flights between two known cities/airports with flexible dates, cabin classes, and budget filters. Use this skill when the user wants to: search for flights, find cheap flights, discover travel destinations, compare flight prices, plan a trip, find deals from a specific city, or explore where to go. Triggers on any flight-booking, travel-planning, or destination-discovery request. Requires the Jinko MCP server connected at https://mcp.gojinko.com.