← 返回 Skills 市场
mekedron

otta-cli

作者 Nikita R · GitHub ↗ · v0.1.1
cross-platform ✓ 安全检测通过
559
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install 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, i...
安全使用建议
This skill is an instruction-only helper for the otta-cli binary and looks internally consistent. Before installing: (1) ensure you have the official otta-cli binary from the referenced GitHub repo or other trusted source (the skill itself does not install code), (2) avoid passing plaintext passwords on the command line—use --password-stdin or tokens and CI secret storage, (3) be careful when supplying OTTA_CLI_API_BASE_URL or other env vars: confirm they point to the legitimate otta.fi API to avoid redirecting traffic to an attacker-controlled endpoint, and (4) if you will allow autonomous agent invocation, be mindful that any credentials you provide (username/password or access token) let the CLI act on your Otta account. If you want a stricter review, provide the actual otta-cli release binary/source URL and verification hashes so the binary source can be audited.
功能分析
Type: OpenClaw Skill Name: otta-cli Version: 0.1.1 The skill bundle provides instructions for an AI agent to interact with the `otta-cli` tool for time-tracking workflows. All commands and agent operating rules described in `SKILL.md` are directly aligned with the stated purpose of managing worktimes, absences, and holidays. Crucially, the 'Agent Operating Rules' explicitly instruct the agent to 'Never print raw credentials or tokens in summaries,' which mitigates the risk of accidental or intentional credential exfiltration by the agent. There is no evidence of malicious execution, persistence, obfuscation, or prompt injection attempts designed to subvert the agent's intended function or exfiltrate data.
能力评估
Purpose & Capability
Name/description and the SKILL.md consistently describe CLI-first automation for otta.fi time-tracking (list/add/update/delete worktimes, absences, calendar/holidays, auth). All environment variables and commands referenced are relevant to operating a CLI that talks to an Otta API.
Instruction Scope
Instructions are narrowly scoped to running the 'otta' binary, validating dates/times, refreshing cached metadata, and handling failures. They do not instruct reading unrelated host files or transmitting data to unexpected endpoints. They explicitly recommend JSON-format output and not printing raw credentials.
Install Mechanism
This is an instruction-only skill with no install spec and no bundled code, so it will not write or execute additional code on disk by itself. The SKILL.md points to the upstream GitHub repo but does not download or run code automatically.
Credentials
The SKILL.md documents a number of OTTA_CLI_* environment variables (username, password, tokens, API base URL, user/worktimegroup IDs). These are all reasonable for a CLI that authenticates and operates against an API. Registry metadata lists no required env vars, which is consistent (the variables appear optional depending on usage), but you should be aware that supplying username/password or access tokens grants the CLI access to the user's Otta account—appropriate for the described functionality but sensitive in practice.
Persistence & Privilege
The skill does not request always:true, does not install or persist changes to other skills, and has no privileged persistence behavior. Autonomous invocation is allowed (platform default) but is not combined with unusually broad credentials or presence.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install otta-cli
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /otta-cli 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.1
Expanded calendar and duration reporting, with new agent rules and command options. - Added `otta saldo --format json` for fetching current cumulative saldo. - Added `otta calendar detailed` command for day-by-day calendar reports. - Documented `--duration-format` flag for calendar and worktime commands (supports `minutes`, `hours`, `days`, `hhmm`). - Updated agent rules to clarify worktime/absence distinctions and preferred commands for schedule checks. - Enhanced documentation for generating detailed and alternate format reports.
v0.1.0
Initial release of otta-cli skill. - Automates otta.fi time tracking, absences, worktimes, holidays, and calendar tasks via CLI. - Offers recipes for listing, adding, updating, and deleting worktimes, as well as browsing absences and generating overviews. - Supports machine-readable output with `--format json` for reliable automation. - Provides robust environment variable setup for CI and non-interactive use cases. - Includes clear agent operating rules and guidance on failure recovery and error handling.
元数据
Slug otta-cli
版本 0.1.1
许可证
累计安装 0
当前安装数 0
历史版本数 2
常见问题

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, i... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 559 次。

如何安装 otta-cli?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install otta-cli」即可一键安装,无需额外配置。

otta-cli 是免费的吗?

是的,otta-cli 完全免费(开源免费),可自由下载、安装和使用。

otta-cli 支持哪些平台?

otta-cli 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 otta-cli?

由 Nikita R(@mekedron)开发并维护,当前版本 v0.1.1。

💬 留言讨论