update-jira-tokens-estimado-realizado

Update a Jira issue's Estimado/Realizado field with tokens spent.

2|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/JaimeJunr/context-mode --skill update-jira-tokens-estimado-realizado
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-jira-tokens-estimado-realizado
Source: https://github.com/JaimeJunr/context-mode/tree/main/.claude/skills/update-jira-tokens-estimado-realizado
Command: npx skills add https://github.com/JaimeJunr/context-mode --skill update-jira-tokens-estimado-realizado

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill updates the Jira Estimado/Realizado field with the number of tokens spent on a task. It accepts a Jira issue key (e.g., CAP-123) or a Jira URL, and an optional tokensSpent value. If tokensSpent is omitted, it fetches the value by running ccusage locally on the latest session; Jira is the storage target.

Core Features & Use Cases

  • Update a specific Jira issue's Estimado/Realizado field with tokens spent.
  • Auto-discover the project field from issue metadata and validate the update.
  • Flexible input: accept issue key or URL and optional tokensSpent; auto-fetch when omitted.

Quick Start

Provide a Jira issue key or URL and, optionally, tokens spent; the skill will update the Estimado/Realizado field accordingly.

Frequently Asked Questions about update-jira-tokens-estimado-realizado

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I log token usage from ccusage into a Jira custom field?

To log token usage into a Jira custom field, provide a Jira issue key or URL and the skill writes the tokens spent directly to the Estimado/Realizado field. If you omit the token value, it automatically fetches the amount by running ccusage on your latest session.

Can I update Jira work management issues using a URL instead of an issue key?

Yes, you can update Jira work management issues using a URL instead of an issue key. The skill accepts both formats as input, locates the correct custom field from the issue metadata, and validates the token update by re-reading the issue.

Does the Jira token sync automatically calculate spent tokens if no value is provided?

Yes, the Jira token sync automatically calculates spent tokens if no value is provided. It derives the tokens spent by running ccusage locally on the latest session, then writes that value to the Estimado/Realizado field in Jira.

How does the skill validate that tokens were written to the correct Jira field?

The skill validates the token update by re-reading the Jira issue after writing. It auto-discovers the correct custom field from the issue metadata, writes the tokensSpent value, and confirms the data was successfully saved in Jira.

What is the best way to track AI token costs against Jira task estimates?

The best way to track AI token costs against Jira task estimates is to sync the values directly to the Estimado/Realizado field. This skill automates the process by fetching token usage via ccusage and writing it to Jira for accurate work management tracking.