Token导航 LogoToken导航TokenDH.com
开发只读github未标认证来源可访问许可证需确认审计异常

worklogworklog 命令行

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

192

周安装

8

GitHub Stars

4

下载量

64
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:worklog(worklog 命令行)
来源仓库:https://github.com/arlenagreer/claude_configuration_docs
仓库路径:skills/worklog
安装命令:
npx skills add https://github.com/arlenagreer/claude_configuration_docs --skill worklog
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/arlenagreer/claude_configuration_docs --skill worklog

简介

用于客户工时记录追踪,集成 invoice 技能确保计费一致性。

  • 自动校验客户名称,支持时间条目查看与统计汇总。
  • 适用于外包项目与自由职业者的时间管理需求。
  • 安装方式:通过 npx skills add 命令从指定 GitHub 仓库添加。
  • 使用前应核对 ~/.claude/skills/invoice/clients.json 数据源完整性。

SKILL.md

Worklog Skill

Track billable hours for clients with automatic client validation and integration with the invoice skill.

Purpose

This skill helps track time spent on client work by maintaining a detailed worklog with client names, dates, hours worked, and work descriptions. It integrates with the invoice skill by reading client information from ~/.claude/skills/invoice/clients.json to ensure consistency and enable accurate billing.

When to Use This Skill

Use this skill when:

  • The user requests to log work hours for a client
  • The user asks to record time spent on a project
  • The user wants to view past worklog entries
  • The user needs to calculate total hours worked (overall or by client/date range)
  • The user asks to summarize work done in the current session for logging
  • The user mentions tracking billable hours or time tracking

How to Use This Skill

Core Workflow

When the user requests to log work:

  1. Determine the current date - ALWAYS check the system clock using date +%Y-%m-%d to get the current date. Never assume the date based on training cutoff.
  2. Identify required information:

- Client name - If not provided, list available clients using the worklog manager and ask the user to specify - Hours worked - If not provided, ask the user to confirm the number of hours - Work description - If not provided, ask the user for a description - Date - Use current date unless the user specifies a different date for retroactive entry

  1. Validate client name - The script automatically validates against the invoice skill's client list. Valid client names are:

- "American Laboratory Trading" (aliases: "ALT", "alt") - "Empirico" - "Versa Computing"

  1. Create work description:

- If user provides a description, use it as-is - If user asks to summarize current session's work, analyze the conversation and recent code changes to create a brief but detailed summary - Description should be one paragraph typically, but can be several paragraphs if needed to accurately describe the work - Focus on what was accomplished, problems solved, features implemented, or issues addressed - Be specific about technical details when relevant

  1. Add the entry using the worklog manager script

Available Operations

List Available Clients

python3 scripts/worklog_manager.py clients

This displays all clients from the invoice skill with their billing type and hourly rate (if applicable).

Add Worklog Entry

python3 scripts/worklog_manager.py add \
  --client "Client Name" \
  --hours 2.5 \
  --description "Work description here" \
  --date 2025-11-01  # Optional, defaults to today

Important:

  • Client name must exactly match a name from the invoice skill (or use a supported alias)
  • Hours must be a positive number (can include decimals like 2.5)
  • Date format must be YYYY-MM-DD
  • If date is omitted, the current date is used automatically

Client Aliases

For convenience, the worklog skill supports client name aliases:

  • "ALT" or "alt" → "American Laboratory Trading"

You can use these aliases in any command that accepts a client name:

# These are equivalent:
python3 scripts/worklog_manager.py add --client "ALT" --hours 2 --description "Work done"
python3 scripts/worklog_manager.py add --client "American Laboratory Trading" --hours 2 --description "Work done"

# Aliases also work for filtering and totals:
python3 scripts/worklog_manager.py list --client "ALT"
python3 scripts/worklog_manager.py total --client "alt"

All entries are stored using the canonical client name ("American Laboratory Trading"), so aliases are purely a convenience for input.

List Worklog Entries

# List all entries
python3 scripts/worklog_manager.py list

# Filter by client
python3 scripts/worklog_manager.py list --client "American Laboratory Trading"

# Filter by date range
python3 scripts/worklog_manager.py list --start-date 2025-10-01 --end-date 2025-10-31

# Get JSON output for processing
python3 scripts/worklog_manager.py list --format json

Calculate Total Hours

# Total hours for all clients
python3 scripts/worklog_manager.py total

# Total for specific client
python3 scripts/worklog_manager.py total --client "Empirico"

# Total for date range
python3 scripts/worklog_manager.py total --start-date 2025-10-01 --end-date 2025-10-31

For hourly clients, this also calculates the billable amount using the rate from the invoice skill.

Delete Entry

# First list entries to see indices
python3 scripts/worklog_manager.py list

# Delete entry at index (0-based)
python3 scripts/worklog_manager.py delete 0

Example Interactions

Example 1: User provides all information

User: "Log 3 hours for American Laboratory Trading - implemented user authentication system with JWT tokens"

Action: Add entry with provided information using current date

Example 2: User asks to log work without details

User: "Log my work hours"

Claude: "I'll help you log your work hours. Which client is this for? Available clients:
- American Laboratory Trading ($100/hr)
- Empirico (subscription)
- Versa Computing ($100/hr)"

User: "American Laboratory Trading"

Claude: "How many hours did you work?"

User: "2.5 hours"

Claude: "What work did you complete?"

User: "Fixed the login bug and updated the database schema"

Action: Add entry with gathered information

Example 3: User asks to summarize session work

User: "Log my work for Versa Computing - summarize what we did today"

Claude: [Analyzes conversation and recent changes, creates summary like:]
"During this session, implemented a new worklog tracking system that integrates with the existing invoice skill. Created a Python script for managing time entries with client validation, date handling, and reporting features. The system maintains worklog data in JSON format and reads client information from the invoice skill to ensure consistency. Added functionality for adding entries, listing work by client and date range, calculating total hours, and deleting entries."

Action: Ask user to confirm hours, then add entry with generated summary

Example 4: Retroactive entry

User: "Add a worklog entry for yesterday - 4 hours on Empirico, worked on the subscription billing integration"

Action: Calculate yesterday's date using system clock, add entry with that date

Data Files

  • Worklog data: Stored in ~/.claude/skills/worklog/worklog.json
  • Client data: Read from ~/.claude/skills/invoice/clients.json (read-only)

The worklog skill never modifies the invoice skill's client data - it only reads it for validation and billing rate information.

Integration with Invoice Skill

This skill integrates with the invoice skill by:

  1. Reading the client list to validate client names
  2. Using client hourly rates to calculate billable amounts in reports
  3. Ensuring client names are consistent between worklog entries and invoices

When creating invoices, reference worklog entries to ensure accurate billing.

Error Handling

  • If an invalid client name is provided, the script will list valid clients and prompt for correction
  • If hours are zero or negative, an error will be shown
  • If the date format is incorrect, an error will be shown with the expected format
  • If the invoice skill's clients.json file is not found, an error will be shown

Best Practices

  1. Get current date first - Always run date +%Y-%m-%d before logging entries to ensure accuracy
  2. Prompt for confirmation - When hours are not specified, ask the user to confirm
  3. Create detailed descriptions - When summarizing work, be specific about accomplishments
  4. Validate client names - Always use exact client names from the invoice skill
  5. Use consistent formatting - Keep descriptions professional and focused on deliverables

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.16%
按下载量换算24

Claude

27.45%
按下载量换算18

Cursor

19.83%
按下载量换算13

Gemini CLI

8.66%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

未通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills