local-time

local-time is a skill for Claude Code from karimi-mohammad/local-time-mcp. It costs 35 tokens per session (3,061 once invoked), scanned C, original, MIT.

A command-line tool for getting the computer's current time and date, including dates in the Jalali calendar used in Iran. It can also convert between Jalali and Gregorian dates and show time-zone information.

In plain words
What is it for?
Use it to get the current time, date, weekday, Unix timestamp, or time in a chosen time zone, and to convert dates between the Gregorian and Jalali calendars.
Why use it?
It avoids relying on an assumed date, time zone, or calendar when an agent needs current or time-sensitive information.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths.

Good fit Use it to get the current time, date, weekday, Unix timestamp, or time in a chosen time zone, and to convert dates between the Gregorian and Jalali calendars.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/karimi-mohammad/local-time-mcp/skill
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 karimi-mohammad/local-time-mcp --skill skill
Clone the repo
git clone --depth 1 https://github.com/karimi-mohammad/local-time-mcp

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 local-time

README.md
[![agentmods](https://agentmods.dev/badge/skills/karimi-mohammad/local-time-mcp/skill/github.svg)](https://agentmods.dev/skills/karimi-mohammad/local-time-mcp/skill)
Your own site
<a href="https://agentmods.dev/skills/karimi-mohammad/local-time-mcp/skill"><img src="https://agentmods.dev/badge/skills/karimi-mohammad/local-time-mcp/skill/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 local-time

Your own site · 80×15
<a href="https://agentmods.dev/skills/karimi-mohammad/local-time-mcp/skill"><img src="https://agentmods.dev/badge/skills/karimi-mohammad/local-time-mcp/skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,061 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00035 $0.03061
Opus 5.5 $0.00014 $0.01224
Sonnet 5.5 $0.00007 $0.00612
Haiku 4.5 $0.00003 $0.00306

Measured 2mo ago against content hash 71eb313afe31, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

local-time scanned grade C 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 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (local_time.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

- [عیب‌یابی](#عیب‌یابی) --- ## پیش‌نیازها - Python 3.11+ - کتابخانه `jdatetime` برای پشتیبانی از تاریخ جلالی ```bash pip install jdatetime ``` ## نصب ```bash # کپی فایل‌ها به دایرکتوری skills cp -r skill/ ~/.claude/skill
skill/SKILL.md · 409 lines

How it starts

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

🕐 Local Time Skill

یک ابزار خط فرمان برای دریافت دقیق زمان و تاریخ سیستم — شامل تقویم جلالی (هجری شمسی).

📋 فهرست


پیش‌نیازها

  • Python 3.11+
  • کتابخانه jdatetime برای پشتیبانی از تاریخ جلالی
pip install jdatetime

نصب

# کپی فایل‌ها به دایرکتوری skills
cp -r skill/ ~/.claude/skills/local-time/

# یا به صورت دستی
mkdir -p ~/.claude/skills/local-time/
cp skill/SKILL.md skill/local_time.py ~/.claude/skills/local-time/

دستورات

now — زمان فعلی

زمان و تاریخ کامل فعلی رو برمی‌گردونه (میلادی + جلالی).

نحوه استفاده:

# زمان محلی سیستم
python ~/.claude/skills/local-time/local_time.py now

# زمان با timezone مشخص
python ~/.claude/skills/local-time/local_time.py now --tz Asia/Tehran
python ~/.claude/skills/local-time/local_time.py now --tz UTC
python ~/.claude/skills/local-time/local_time.py now --tz Europe/Berlin
python ~/.claude/skills/local-time/local_time.py now --tz America/New_York

پارامترها:

پارامتر نوع ضروری پیش‌فرض توضیح
--tz string ❌ ساعت محلی نام timezone IANA

نمونه خروجی:

{
  "datetime": "2026-08-11T14:34:31.893922+03:30",
  "date": "2026-08-11",
  "time": "14:34:31",
  "day_of_week": "Tuesday",
  "day_of_week_fa": "سه‌شنبه",
  "timezone": "Asia/Tehran",
  "utc_offset": "+03:30",
  "unix_timestamp": 1786446271,
  "jalali_date": "1405/05/20",
  "jalali_date_fa": "20 مرداد 1405",
  "jalali_year": 1405,
  "jalali_month": 5,
  "jalali_month_name": "مرداد",
  "jalali_day": 20
}

Read the full file on GitHub · 409 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago First seen · 409 lines · 35 tokens per session scan C 71eb313afe31

Subscribe to this mod's changes

local-time is a skill published in the GitHub repository karimi-mohammad/local-time-mcp (1 stars, last pushed 3mo ago), licensed MIT. It adds 35 tokens to every session and 3,061 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

local-time compared with skills from other repositories

local-time next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
local-timekarimi-mohammad/local-time-mcpSkill13mo agoMITC35Claude Code
imagegenopenai/codexSkill135ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill100ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill394ktodayMITA36Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill80k6d agoMITA200Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code
chat-pet-sprite-creationmicrosoft/vscodeSkill195ktodayMITA53Claude Code, Codex