kimai-time-trackingComplete Kimai time-tracking API integration. Manage timesheets, customers, projects, activities, teams, invoices and exports via REST API. Supports time tracking workflows, reporting, and administrative operations. Keywords - kimai, zeiterfassung, timesheet, tracking, project, customer, activity, invoice, export, timer, stunden
Install via ClawdBot CLI:
clawdbot install 0x7466/kimai-time-trackingComplete API integration for Kimai time-tracking software. Enables full control over timesheets, projects, customers, activities, teams, invoices, and system configuration.
Activate this skill when the user requests:
Activation triggers:
Do NOT activate for:
Required Environment Variables:
KIMAI_BASE_URL - Full URL to Kimai instance (e.g., https://kimai.example.com)KIMAI_API_TOKEN - Bearer token for authenticationOptional:
KIMAI_WORKSPACE - Path for exports/temp files (defaults to ~/.openclaw/workspace/kimai)API Permissions required depend on operation:
view_own_timesheet, create_own_timesheet, edit_own_timesheet, delete_own_timesheetview_other_timesheet (for viewing other users' entries)view_customer, edit_customer, delete_customerview_project, edit_project, delete_projectview_activity, edit_activity, delete_activityview_team, edit_team, create_team, delete_teamview_invoice (for invoice operations)view_user (for user management)Compatibility: Requires Kimai 2.x with REST API enabled. Internet access required. Linux/macOS supported.
# List recent activities (to find project/activity IDs)
./scripts/kimai_cli.py timesheets recent
# Start tracking
./scripts/kimai_cli.py timesheets start --project 1 --activity 5 --description "Implementing API"
# Check active timers
./scripts/kimai_cli.py timesheets active
# Stop tracking
./scripts/kimai_cli.py timesheets stop --id 123
# Create customer → Project → Activity hierarchy
./scripts/kimai_cli.py customers create --name "Acme Corp" --country DE --currency EUR --timezone Europe/Berlin
./scripts/kimai_cli.py projects create --name "Website Redesign" --customer 1
./scripts/kimai_cli.py activities create --name "Development" --project 1
# List with filters
./scripts/kimai_cli.py timesheets list --customer 1 --begin "2024-01-01T00:00:00" --exported 0
# Mark timesheets as exported (locks them)
./scripts/kimai_cli.py timesheets export --id 123
# List invoices
./scripts/kimai_cli.py invoices list --status pending --begin 2024-01-01T00:00:00
Use scripts/kimai_cli.py for all operations. Structure follows API endpoints:
timesheets)list - List entries (supports pagination, filters: user, customer, project, activity, tags, date range, exported status)get - Fetch single entrycreate - Create manual entry or start timer (omit --end for active tracking)update - Patch existing entrydelete - Requires confirmation (destructive)stop - Stop active timerrestart - Restart finished entry (creates new)duplicate - Copy entry (resets export status)active - List currently running timersrecent - Recent unique working sets (last activity per project/activity combination)export - Toggle export/lock statuscustomers)list - List customers (filter: visible, term)get - Fetch customer detailscreate - Create new customerupdate - Update customerdelete - Requires confirmation (cascades to projects/activities/timesheets)meta - Update custom fieldsrates - Manage customer-specific ratesprojects)list - List projects (filter: customer, visible, date range)get - Fetch projectcreate - Create project (requires customer ID)update - Update projectdelete - Requires confirmation (cascades to activities/timesheets)rates - Manage project ratesactivities)list - List activities (filter: project, visible, global only)get - Fetch activitycreate - Create activity (can be global or project-specific)update - Update activitydelete - Requires confirmation (cascades to timesheets)rates - Manage activity ratesteams)list, get, create, update, deletemember-add - Add team membermember-remove - Remove membergrant-customer - Grant customer accessgrant-project - Grant project accessgrant-activity - Grant activity accessusers)list - List users (requires view_user permission)me - Current user infoget - User detailscreate - Create user (admin)update - Update userinvoices)list - List invoices (filter: date range, customer, status)get - Invoice detailssystem)ping - Test connectivityversion - Kimai version infoplugins - Installed pluginsconfig - Timesheet configurationcolors - Color codes⚠️ DESTRUCTIVE OPERATIONS
delete operations on customers, projects, activities, timesheets, teams, or tags require explicit user confirmation.API Security:
Authorization: Bearer header [1].--dry-run flag for testing (simulates API calls without executing).Rate Limiting & Pagination:
list commands (fetches all pages or respects --limit).--page and --size for manual pagination control.Data Privacy:
Workspace Safety:
KIMAI_WORKSPACE or ~/.openclaw/workspace/kimai.Inputs:
Outputs:
--format table for human readability)--format csv for exports)Success Criteria:
./scripts/kimai_cli.py timesheets create \
--project 5 \
--activity 12 \
--description "Client meeting - requirements analysis" \
--tags "meeting,urgent"
# Find billable hours not yet exported
./scripts/kimai_cli.py timesheets list \
--exported 0 \
--billable 1 \
--begin "2024-01-01T00:00:00" \
--end "2024-01-31T23:59:59" \
--format csv > january_hours.csv
./scripts/kimai_cli.py customers meta 42 \
--name "order_number" \
--value "PO-2024-001"
./scripts/kimai_cli.py teams create --name "Development Team" --members '[{"user": 1, "teamlead": true}]'
./scripts/kimai_cli.py teams grant-project 1 5
Common HTTP codes:
200 - Success201 - Created204 - No content (successful delete)400 - Bad request (validation error, missing fields)401 - Unauthorized (invalid/expired token)403 - Forbidden (insufficient permissions)404 - Not found (invalid ID)409 - Conflict (overlapping timesheet if not allowed by config)CLI behavior:
Validate this skill using the Openclaw skills validator:
skills-ref validate ./kimai-time-tracking
Test API connectivity:
export KIMAI_BASE_URL="https://your-kimai.example.com"
export KIMAI_API_TOKEN="your-api-token"
./kimai-time-tracking/scripts/kimai_cli.py system ping
references/api-reference.json (complete OpenAPI schema)Generated Mar 1, 2026
A freelance developer uses the skill to track time spent on client projects, manage project and activity hierarchies, and generate invoices from timesheets. They start/stop timers for different tasks and export data for billing, ensuring accurate client invoicing.
A digital marketing agency employs the skill to monitor team timesheets across multiple clients and projects, filter entries for reporting, and manage customer and project data. It helps track billable hours, assess project progress, and streamline administrative workflows.
An internal IT team uses the skill to log time on support tickets, development tasks, and maintenance activities. They create activities for different work types, list timesheets for resource planning, and export data for internal cost analysis and team performance reviews.
A consulting firm leverages the skill to track consultant hours per client, manage timesheet exports to lock entries for auditing, and handle customer-specific rates. It ensures compliance with billing cycles, facilitates invoice generation, and supports administrative oversight.
Offer the skill as part of a subscription service for businesses using Kimai, providing automated time tracking, reporting, and integration features. Revenue comes from monthly or annual fees per user or team, with tiers based on advanced functionalities like invoice management.
Provide custom setup, configuration, and training services for organizations implementing the skill with their Kimai instance. Revenue is generated through one-time project fees or ongoing support contracts, targeting companies needing tailored workflows and administrative support.
Distribute the skill as a free tool for basic time tracking and timesheet management, with premium features like advanced exports, invoice automation, and team management available for a fee. Revenue streams from upgrades, add-ons, or enterprise licenses.
💬 Integration Tip
Ensure KIMAI_BASE_URL and KIMAI_API_TOKEN are correctly set with proper API permissions; use the CLI tool for testing workflows before full deployment.
Use the mcporter CLI to list, configure, auth, and call MCP servers/tools directly (HTTP or stdio), including ad-hoc servers, config edits, and CLI/type generation.
Connect to 100+ APIs (Google Workspace, Microsoft 365, GitHub, Notion, Slack, Airtable, HubSpot, etc.) with managed OAuth. Use this skill when users want to...
Build, debug, and deploy websites using HTML, CSS, JavaScript, and modern frameworks following production best practices.
YouTube Data API integration with managed OAuth. Search videos, manage playlists, access channel data, and interact with comments. Use this skill when users want to interact with YouTube. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).
Scaffold, test, document, and debug REST and GraphQL APIs. Use when the user needs to create API endpoints, write integration tests, generate OpenAPI specs, test with curl, mock APIs, or troubleshoot HTTP issues.
Search for jobs across LinkedIn, Indeed, Glassdoor, ZipRecruiter, Google Jobs, Bayt, Naukri, and BDJobs using the JobSpy MCP server.