一键导入
clockify-fill
Fill Clockify time entries by gathering GitHub activity (commits, PRs, issues), then previewing and committing entries via clockify-cli.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Fill Clockify time entries by gathering GitHub activity (commits, PRs, issues), then previewing and committing entries via clockify-cli.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Converge on a frontend look through rounds of prototypes and grilling verdicts.
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid overcomplication, make surgical changes, surface assumptions, and define verifiable success criteria.
Create conventional, one-line commits from current git changes, splitting work into the smallest sensible atomic commits. Use when the user asks to commit changes.
Write the idea the user provides into their `ideas.md` file.
Grill me about specs for the workflows I want to build, within this workspace.
Implement multiple user-authored plans in parallel, each on its own branch off the current branch in a separate git worktree and tmux pane running pi, then merge them all back. Use when the user wants to "implement these in parallel", "parallelize these plans", "fan out these handoffs", or build several plans at once in the same branch lineage.
| name | clockify-fill |
| description | Fill Clockify time entries by gathering GitHub activity (commits, PRs, issues), then previewing and committing entries via clockify-cli. |
| disable-model-invocation | true |
Gather GitHub activity for a user, build Clockify time entries, preview them, and commit after user confirmation.
Check that clockify-cli is configured by running:
clockify-cli me
If it errors, tell the user to run clockify-cli config init and stop.
Verify gh CLI is available. If not, inform the user.
vieitesss.~/work path in this machine. First level are organization names, and second level are repositories names (~/work/<organization>/<repository>).Run clockify-cli report last-day to find the last day with entries. The date range to fill starts the day after the last entry through today (or through the user-specified end date).
If the user provides explicit dates, use those instead.
Run all of these in parallel for the determined date range:
First derive the owners to search from the org directories under ~/work, then build the --owner flags:
owners=$(ls -d ~/work/*/ | xargs -n1 basename | sed 's/^/--owner=/' | tr '\n' ' ')
Search commits, PRs, and issues across those owners:
# Commits by user in date range
gh search commits --author=vieitesss --committer-date=YYYY-MM-DD..YYYY-MM-DD $owners --json repository,sha,commit --limit 100
# PRs authored/reviewed
gh search prs --author=vieitesss --created=YYYY-MM-DD..YYYY-MM-DD $owners --json title,repository,url,createdAt --limit 100
# Issues assigned or mentioned
gh search issues --assignee=vieitesss --created=YYYY-MM-DD..YYYY-MM-DD $owners --json title,repository,url,createdAt --limit 100
Fetch the available project list to map work to correct projects:
clockify-cli project list
Ask the user for the times they started working, took lunch breaks, and stopped working each day. The user typically provides this as screenshots of a group chat (e.g. Slack, Teams) where they post messages like:
Messages may include relative timestamps like "Yesterday" or "Mon" — resolve these relative to today's date.
Processing the images:
If the user does not provide images, fall back to the default 8h/day (08:00–16:00) assumption.
For each workday in the range:
Time allocation heuristics:
Present a markdown table to the user with ALL proposed entries:
| Date | Project | Description | Start | End | Duration |
|------------|----------------------|------------------------------------------|-------|-------|----------|
| 2026-05-05 | usc-devops | gitops-k8s#1556: Fix helm chart defaults | 09:00 | 12:00 | 3:00 |
| 2026-05-05 | prefapp-dev | tfm#1253: Add validation module | 12:00 | 14:00 | 2:00 |
| ... | ... | ... | ... | ... | ... |
After the table, show:
CRITICAL: Do NOT proceed to commit entries until the user explicitly confirms the preview is correct. Ask the user to review and confirm. The user may request changes (adjust times, change projects, add/remove entries).
Only after user confirmation, create each entry using:
clockify-cli manual \
--allow-name-for-id \
-i=0 \
-b \
-p "<project-name>" \
-d "<description>" \
-s "YYYY-MM-DD HH:MM" \
-e "YYYY-MM-DD HH:MM"
Key flags:
--allow-name-for-id: use project names instead of IDs-i=0: disable interactive mode (critical for automation)-b: mark entry as billable (always include)-p: project name-d: description-s: start time-e: end timeProcess entries sequentially. If any entry fails, report the error and continue with the remaining entries. At the end, show a summary of successfully created vs failed entries.
After committing, run a report to confirm:
clockify-cli report <start-date> <end-date> --with-totals
Show the final report to the user.
clockify-cli me fails: tell user to run clockify-cli config initgh commands fail: check authentication with gh auth status-i=0 with clockify-cli commands to prevent interactive prompts--allow-name-for-id to make project matching by name possiblerepo#number: brief summary