ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified productivity Safety 4/5

otta-cli

Use `otta-cli` to automate `otta.fi` workflows from terminal. This tool is usually used for tracking working time, absences, and sick leaves: authenticate, inspect config/cache, check account status, manage worktimes (list/add/update/delete), browse absences, fetch holidays, and generate combined/detailed calendar reports. Trigger this skill when a request needs CLI-first Otta operations, `OTTA_CLI_*` environment setup, machine-readable `--format json` output, or diagnosis of auth/config/API validation errors.

Why use this skill?

Automate your Otta.fi workflows using the otta-cli skill. Manage worktimes, track absences, and generate detailed reports with machine-readable JSON output.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/mekedron/otta-cli
Or

What This Skill Does

The otta-cli skill provides a robust interface for interacting with the otta.fi time-tracking and administrative platform directly from your terminal. Designed for power users and automation-focused developers, this skill enables programmatic handling of sensitive work-related data. You can perform authenticated logins, manage worktimes (add, edit, list, and delete), fetch holiday calendars, browse absences, and retrieve cumulative salary/time balance reports. By leveraging machine-readable --format json outputs, the skill integrates seamlessly into larger automated reporting pipelines or CI/CD workflows, reducing the reliance on browser-based manual data entry.

Installation

To integrate this skill into your OpenClaw agent, use the package manager: clawhub install openclaw/skills/skills/mekedron/otta-cli. Ensure that your environment has the required OTTA_CLI_USERNAME and OTTA_CLI_PASSWORD variables configured for non-interactive authentication. You should verify your setup by running otta --help to confirm the binary is accessible in your shell path.

Use Cases

This skill is ideal for professionals who need to maintain accurate time logs without visiting a website. It is particularly useful for generating end-of-month reports, tracking sick leave documentation, or checking remaining holiday balances. DevOps engineers and system administrators can use the CLI-first approach to script repetitive time-tracking tasks, ensuring consistent logging across different projects or worktypes. Furthermore, if you are performing a technical audit of your work history, the --format json capability allows you to pipe output into other tools like jq for deep analysis.

Example Prompts

  1. "Check my current worktime balance and list all hours recorded for the week starting February 20th, 2026."
  2. "Add a new worktime entry for today from 09:00 to 17:00 with a 30-minute break for the project ID 'development-task-123' and format the result as JSON."
  3. "Generate a detailed day-by-day calendar report for the month of February 2026, outputting durations in hours."

Tips & Limitations

The otta-cli relies on authenticated sessions; therefore, always secure your credentials using environment variables rather than hardcoding them in scripts. For automation, prefer using --password-stdin to prevent credentials from appearing in your shell history. Note that while this tool provides powerful reporting, it is sensitive to your network environment and API availability at otta.fi. Ensure your cache is updated using otta status before running complex aggregate queries to avoid inconsistencies.

Metadata

Author@mekedron
Stars1401
Views1
Updated2026-02-24
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-mekedron-otta-cli": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#productivity#time-tracking#automation#cli#otta
Safety Score: 4/5

Flags: network-access, file-read, file-write, external-api