setup-wakatime

setup-wakatime is a skill for Claude Code from TserenTserenov/FMT-exocortex-template. It costs 20 tokens per session (2,021 once invoked), scanned B, original, MIT.

A setup workflow for WakaTime, a service that records how much time you spend coding in tools such as Claude Code and Visual Studio Code.

In plain words
What is it for?
Use it to install WakaTime, save its API key, add the Claude Code tracking hook, and optionally configure desktop focus tracking.
Why use it?
It removes the manual work of installing the tracker, connecting an account, and adding the coding hook that sends activity records.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code.

Good fit Use it to install WakaTime, save its API key, add the Claude Code tracking hook, and optionally configure desktop focus tracking.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tserentserenov/fmt-exocortex-template/setup-wakatime
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add TserenTserenov/FMT-exocortex-template --skill setup-wakatime
Clone the repo
git clone --depth 1 https://github.com/TserenTserenov/FMT-exocortex-template

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for setup-wakatime

README.md
[![agentmods](https://agentmods.dev/badge/skills/tserentserenov/fmt-exocortex-template/setup-wakatime/github.svg)](https://agentmods.dev/skills/tserentserenov/fmt-exocortex-template/setup-wakatime)
Your own site
<a href="https://agentmods.dev/skills/tserentserenov/fmt-exocortex-template/setup-wakatime"><img src="https://agentmods.dev/badge/skills/tserentserenov/fmt-exocortex-template/setup-wakatime/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for setup-wakatime

Your own site · 80×15
<a href="https://agentmods.dev/skills/tserentserenov/fmt-exocortex-template/setup-wakatime"><img src="https://agentmods.dev/badge/skills/tserentserenov/fmt-exocortex-template/setup-wakatime.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,021 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Agent Snooping · line 67
    Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.
    Fix: Remove all code or instructions that access agent configuration directories (.claude/, .codex/, .gemini/). If configuration values are needed, pass them explicitly as parameters or environment variabl
  • medium analysis-evasion · line 1
    Suspicious Unicode normalization or mixed-script content
    Fix: Review the flagged content for security risks. Ensure no credentials, secrets, or sensitive data are exposed.
  • medium Rogue Agent · line 36
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Rogue Agent · line 36
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00020 $0.02021
Opus 5.5 $0.00008 $0.00808
Sonnet 5.5 $0.00004 $0.00404
Haiku 4.5 $0.00002 $0.00202

Measured 3d ago against content hash 915af1bce088, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

setup-wakatime scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

cat > ~/.claude/hooks/wakatime-heartbeat.sh << 'EOF'
.claude/skills/setup-wakatime/SKILL.md · 182 lines

How it starts

The opening of the file, as written. The whole thing — 182 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Setup WakaTime Time Tracking

Автоматическая настройка WakaTime для отслеживания рабочего времени.

Что устанавливается

  1. wakatime-cli — CLI для отправки heartbeat'ов
  2. Хук Claude Code — автоматический трекинг при работе с Claude (категория "AI Coding")
  3. WakaTime Desktop App (опционально) — трекинг фокуса окна (чтение, браузер)

Инструкция для Claude

Выполни шаги последовательно. На каждом шаге проверяй, не сделано ли уже.

Шаг 1: wakatime-cli

# Проверить наличие (маска, не точное имя — issue #1151: расширение VS Code
# на Windows скачивает бинарь как wakatime-cli-windows-amd64.exe)
ls ~/.wakatime/wakatime-cli* 2>/dev/null || wakatime-cli --version 2>/dev/null

Если не установлен — путь зависит от ОС:

macOS:

brew install wakatime-cli
mkdir -p ~/.wakatime
ln -sf $(which wakatime-cli) ~/.wakatime/wakatime-cli

Windows (issue #1151): нет пакетного менеджера для прямой установки CLI. Поставь расширение WakaTime для VS Code (Extensions → WakaTime) — оно само скачивает бинарь в ~/.wakatime/wakatime-cli-windows-amd64.exe при первом запуске. Дальше шаги 2-4 работают как есть: скрипты шаблона ищут файл по маске wakatime-cli*, не по точному имени. Альтернатива без WakaTime вообще: ActivityWatch через extensions/day-close.before.*.md (см. README расширения).

Linux: см. https://wakatime.com/plugins — пакет под дистрибутив или скачать бинарь вручную в ~/.wakatime/wakatime-cli.

Шаг 2: API Key

cat ~/.wakatime.cfg 2>/dev/null

Если файл не существует или нет api_key:

  1. Скажи пользователю: «Нужен WakaTime API-ключ. Получи его на https://wakatime.com/settings/api-key (нужна регистрация). Не присылай ключ мне в чат — платформа всё равно блокирует печать секретов в сессии (secret-leak-block.sh), а ключ лишний раз попадёт в историю разговора. Вместо этого выполни сам в терминале (замени <ключ> на свой):»
mkdir -p ~/.wakatime 2>/dev/null; cat > ~/.wakatime.cfg <<'EOF'
[settings]
api_key = <ключ>
EOF
  1. Дождись, когда пользователь скажет, что выполнил
  2. Проверь наличие ключа без вывода самого значения: test -s ~/.wakatime.cfg && grep -q '^api_key' ~/.wakatime.cfg && echo "ключ на месте"
  3. Время за прошлые дни (закрытие дня после полуночи, week-draft-append.sh): WakaTime может отвечать 403 на сводки по ключу плагина (issue #1451). Тогда scripts/wakatime-day-total.py берёт только сегодняшний день, а для прошлых дней нужен личный OAuth-токен (https://wakatime.com/oauth) в переменной окружения WAKATIME_OAUTH_TOKEN — пользователь задаёт её сам, токен в чат не присылать.

Read the full file on GitHub · 182 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago Changed · +2 lines 915af1bce088
  2. 25d ago Changed · +1 lines 7b9443da0465
  3. 1mo ago Changed · +1 lines 242356373e1c
  4. 1mo ago Changed · +22 lines 418f5de39b24
  5. 1mo ago Changed · +40 lines ea7a3f45b2f3
  6. 2mo ago Changed · -1 lines d1ddd0f2b0e1
  7. 2mo ago Changed · +1 lines 7b941a2b7090
  8. 3mo ago First seen · 116 lines · 20 tokens per session scan B 0df0e6e859ae

Subscribe to this mod's changes

setup-wakatime is a skill published in the GitHub repository TserenTserenov/FMT-exocortex-template (65 stars, last pushed today), licensed MIT. It adds 20 tokens to every session and 2,021 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

setup-wakatime compared with skills from other repositories

setup-wakatime next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
setup-wakatimeTserenTserenov/FMT-exocortex-templateSkill65todayMITB20Claude Code
prompt-librarydavila7/claude-code-templatesSkill34ktodayMITA57Claude Code, Codex
founder-coachalirezarezvani/claude-skillsSkill31k3d agoMITA41Claude Code
collaboration-platform-administrationcbrock84/headcountSkill2.6ktodayMITA93Claude Code
service-deskcbrock84/headcountSkill2.6ktodayMITA73Claude Code
agenticx-automation-crontaskDemonDamon/AgenticXSkill1.3kyesterdayApache-2.0A65Claude Code, Codex
code-dev-workflowDemonDamon/AgenticXSkill1.3kyesterdayApache-2.0A22Claude Code, Codex