Drag log
Log time to Tempo Cloud with Drag. Use when the user asks to add or preview a worklog using a duration, clock interval, date, description, remaining estimate, or Tempo work attributes.From its SKILL.md
npx -y skills add treramey/drag --skill drag-logAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 27 days oldThe repository was created 27 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.5 KB, 667 tokens by cl100k_base, as published. Nobody here has run it
drag log
Shared Drag rules
- Run
drag doctorwhen configuration state is uncertain. Never print credential values. - Prefer explicit structured output for automation. Use
drag --output json, or NDJSON only withlist. - Inspect unfamiliar arguments with
drag <command> --helpand inspect the machine contract withdrag schema. - Use
drag setup --from-env --dry-runto validate unattended configuration without writing it. - Preview mutations with
--dry-run; execute them only when the user's request explicitly authorizes the change. - Successful JSON uses
{"ok":true,"data":...}. Errors use{"ok":false,"error":{...}}on stderr.
Add a worklog using a duration or interval.
Usage
Usage: drag log [OPTIONS] [ISSUE_KEY] [DURATION_OR_INTERVAL] [WHEN]
Arguments
| Argument | Required | Default | Description |
|---|---|---|---|
<issue_key> | conditional | — | Jira issue key |
<duration_or_interval> | conditional | — | Duration (1h15m) or interval (11-12:30 or 11.35-14.20) |
<when> | no | todayInConfiguredLocalTimeZone | Date: YYYY-MM-DD, y, yesterday, t±N, or today±N |
--description | no | — | Worklog description |
--start | no | — | Start time for duration input (HH:mm) |
--remaining-estimate | no | — | Remaining estimate as a duration, such as 2h |
--attr | no | — | Tempo work attribute as KEY=VALUE. Repeat for multiple attributes |
--json | no | — | Raw input JSON, or '-' to read it from stdin |
--dry-run | no | false | Validate and print the Tempo request without sending it |
Examples
drag log ABC-123 1h
drag l ABC-123 11:35-14:20 yesterday -d "review"
drag log ABC-123 11.35-14.20 2026-07-14
drag log ABC-123 1h15m 2026-07-14 --start 09:30 --remaining-estimate 2h
drag log ABC-123 1h --attr _Test_=RD --dry-run
drag log --json '{"issueKey":"ABC-123","durationOrInterval":"30m","attributes":{"_Test_":"RD"}}' --dry-run
printf '%s' '{"issueKey":"ABC-123","durationOrInterval":"30m"}' | drag log --json - --dry-run
Mutation policy
log creates a Tempo worklog. Start with --dry-run, verify the normalized issue, date, time, duration, description, and work attributes, then execute without --dry-run only when the user's request explicitly authorizes creating the worklog.
Inspect the contract
drag log --help
drag schema
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.