Harvest Automation
它能做什么
这个工具可以帮你管理 Harvest 中的时间和项目。你可以记录工时、创建项目和客户、生成报告,所有操作都只需用简单的文字指令完成。
适用场景
- ✓记录在某个项目上花费的工时时。
- ✓创建新项目或新客户,以整理你的工作时。
- ✓查看某段时间内完成了哪些任务时。
技能链接
https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/harvest-automation/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“今天为“数字营销”项目的“内容创作”任务记录 3 小时。”
每周 5 个新技能,1 分钟读完。
工作原理
你写下想做的事,比如记录工时或创建项目。工具会把你的请求转换成 Harvest 的指令并执行。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Harvest Automation
Automate your Harvest time tracking operations directly from Claude Code. Log time entries, manage projects and clients, create tasks, and pull reporting data -- all without leaving your terminal.
Toolkit docs: composio.dev/toolkits/harvest
Setup
- Add the Rube MCP server to your Claude Code config with URL:
https://rube.app/mcp - When prompted, authenticate your Harvest account through the connection link provided
- Start automating your time tracking workflows with natural language
Core Workflows
1. Log and Manage Time Entries
Create, list, update, and retrieve time entries for accurate billing and reporting.
Tools: HARVEST_CREATE_TIME_ENTRY, HARVEST_LIST_TIME_ENTRIES, HARVEST_GET_TIME_ENTRY, HARVEST_UPDATE_TIME_ENTRY
Log 3.5 hours of development work on project 12345, task 67890 for today
Key parameters for HARVEST_CREATE_TIME_ENTRY:
project_id(required) -- the project to log againsttask_id(required) -- the task must be assigned to the projectspent_date(required) -- date in YYYY-MM-DD formathours-- total hours (for duration-based accounts)started_time/ended_time-- for timestamp-based accountsnotes-- description of work performed
Key parameters for HARVEST_LIST_TIME_ENTRIES:
from_date/to-- date range filters (YYYY-MM-DD)project_id,client_id,task_id,user_id-- entity filtersis_billed/is_running-- status filterspage/per_page(max 2000) -- pagination
2. Manage Projects
Create new projects and list existing ones with client and billing configuration.
Tools: HARVEST_CREATE_PROJECT, HARVEST_LIST_PROJECTS, HARVEST_GET_PROJECT
Create a billable project called "Website Redesign" for client 456 with Tasks billing and project budget
Key parameters for HARVEST_CREATE_PROJECT:
name,client_id,is_billable,bill_by,budget_by(all required)bill_byoptions:"Project","Tasks","People","none"budget_byoptions:"project","project_cost","task","task_fees","person","none"- Optional:
budget,hourly_rate,starts_on,ends_on,is_fixed_fee
3. Manage Clients
Create and list clients that projects are organized under.
Tools: HARVEST_CREATE_CLIENT, HARVEST_LIST_CLIENTS
List all active clients in our Harvest account
HARVEST_CREATE_CLIENTrequiresname; acceptsaddress,currency,is_activeHARVEST_LIST_CLIENTSsupportsis_activefilter and pagination (per_pagemax 2000)
4. Manage Tasks
Create and list reusable task types for time tracking.
Tools: HARVEST_CREATE_TASK, HARVEST_LIST_TASKS
Create a new billable task called "Code Review" with a default rate of $150/hr
HARVEST_CREATE_TASKrequiresname; acceptsbillable_by_default,default_hourly_rate,is_active,is_defaultHARVEST_LIST_TASKSsupportsis_active,is_defaultfilters and pagination (per_pagemax 100)- Task names must be unique across all tasks (active and archived)
5. Time Entry Reporting
Pull time entries with date ranges and filters for billing summaries and utilization reports.
Tools: HARVEST_LIST_TIME_ENTRIES, HARVEST_GET_TIME_ENTRY
Show me all unbilled time entries for project 789 from January 2026
- Use
from_dateandtofor date windowing - Filter with
is_billed: falsefor unbilled entries - Combine
project_id,user_id,client_idfor cross-dimensional reporting - Paginate with
pageandper_pageto gather complete datasets
6. Update and Correct Time Entries
Modify existing time entries to fix hours, reassign projects, or update notes.
Tools: HARVEST_UPDATE_TIME_ENTRY
Update time entry 123456 to change the hours to 4.0 and add the note "Completed API integration"
- Requires
time_entry_id - Supports partial updates -- only include fields you want to change
- Can update
hours,notes,project_id,task_id,spent_date,started_time,ended_time
Known Pitfalls
- Task assignment matters: When creating time entries, the
task_idmust correspond to a task that is actually assigned to the specifiedproject_id. Use project task assignments endpoint to verify, not justHARVEST_LIST_TASKS(which returns global tasks).
…
常见问题
我需要知道项目和任务的 ID 吗?
需要。为了准确记录工时,你需要提供项目和任务的 ID。工具可以列出项目和任务,帮你查找。
Harvest 怎么知道我是想记录工时还是创建项目?
工具会分析你的请求。如果你说“记录 3 小时”,它就知道要记录时间;如果你说“创建一个项目”,它就知道要新建项目。
不了解全部细节,也能创建项目吗?
创建项目需要填写一些必填项,比如名称和客户 ID。其他项目,比如预算,则是可选的。
详情
作者的原始描述
Automate time tracking, project management, and invoicing workflows in Harvest -- log hours, manage projects, clients, and tasks through natural language commands.
热度
- GitHub 星标
- 77k
- 排名
- #2132
- 许可证
- —
- 更新时间
- 2026/9/18
评论
- …
同一仓库的更多技能
artifacts-builder
77k帮助你的智能体构建复杂的用户界面。它借助现代技术,创建功能丰富的交互式网页。
brand-guidelines
77k帮助你的智能体把官方品牌色和字体应用到各类材料中。适合需要体现公司视觉形象的场景,保持视觉统一。
canvas-design
77k让你的智能体创作 .png 和 .pdf 格式的原创视觉作品。当用户需要海报、艺术作品或其他静态设计时使用。
changelog-generator
77k帮助你的智能体根据代码提交记录撰写面向用户的更新说明。它能把技术内容转换成通俗易懂的文字。