milkee
为瑞士企业完成 MILKEE 会计集成。管理项目、客户、时间跟踪、任务和产品。在以下情况下使用:(1) 使用启动/停止计时器跟踪计费时间,(2) 创建/管理项目和客户,(3) 记录工作条目及其说明,(4) 查看每日时间摘要。具有智能模糊项目匹配功能。
安装 / 下载方式
TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~xenofex7-milkeecURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~xenofex7-milkee/file -o xenofex7-milkee.md## 概述(中文) 为瑞士企业完成 MILKEE 会计集成。管理项目、客户、时间跟踪、任务和产品。在以下情况下使用:(1) 使用启动/停止计时器跟踪计费时间,(2) 创建/管理项目和客户,(3) 记录工作条目及其说明,(4) 查看每日时间摘要。具有智能模糊项目匹配功能。 ## 原文 # MILKEE Skill Complete integration for MILKEE Swiss accounting software. Manage projects, customers, time tracking, tasks, and products. ## Features - ⏱️ **Time Tracking** – Start/stop timers with fuzzy project matching - 👥 **Customers** – Full CRUD operations - 📋 **Projects** – Create, update, manage budgets - ✅ **Tasks** – Track project tasks - 📦 **Products** – Manage billable items ## Quick Start ### Time Tracking (Main Feature) ```bash # Start timer (smart fuzzy match) python3 scripts/milkee.py start_timer "Website" "Building authentication" # Stop timer (auto-logs to MILKEE) python3 scripts/milkee.py stop_timer # Show today's times python3 scripts/milkee.py list_times_today ``` ### Projects ```bash python3 scripts/milkee.py list_projects python3 scripts/milkee.py create_project "My Project" --customer-id 123 --budget 5000 python3 scripts/milkee.py update_project 456 --name "Updated" --budget 6000 ``` ### Customers ```bash python3 scripts/milkee.py list_customers # Create with all fields python3 scripts/milkee.py create_customer "Example AG" \ --street "Musterstrasse 1" \ --zip "8000" \ --city "Zürich" \ --phone "+41 44 123 45 67" \ --email "info@example.ch" \ --website "https://example.ch" # Update specific fields python3 scripts/milkee.py update_customer 123 --name "New Name" --phone "+41 44 999 88 77" ``` ### Tasks & Products ```bash python3 scripts/milkee.py list_tasks python3 scripts/milkee.py create_task "Implement feature" --project-id 456 python3 scripts/milkee.py list_products python3 scripts/milkee.py create_product "Consulting Hour" --price 150 ``` ## Configuration Set environment variables: ```bash export MILKEE_API_TOKEN="USER_ID|API_KEY" export MILKEE_COMPANY_ID="YOUR_COMPANY_ID" ``` Or configure via your gateway config under `skills.entries.milkee.env`. ### Get Your Credentials 1. Log in to MILKEE → **Settings** → **API** 2. Copy your User ID and API Key 3. Format: `USER_ID|API_KEY` 4. Company ID is shown in Settings ## Special Features ### Fuzzy Project Matching When you say "Website", the skill: 1. Fetches all projects from MILKEE 2. Fuzzy-matches using Levenshtein distance 3. Auto-selects the closest match 4. Starts timer on that project ### Timer Persistence - Timer state saved to `~/.milkee_timer` - Survives between sessions - Auto-calculates elapsed time on stop ### Daily Summary `list_times_today` shows: - All time entries for today - Duration per entry - Total hours worked ## Technical Details - **Language**: Python 3.8+ - **Dependencies**: None (stdlib only) - **Timer File**: `~/.milkee_timer` (JSON) - **API Docs**: https://apidocs.milkee.ch/api --- **Author**: xenofex7 | **Version**: 2.0.0