Skip to content
Back to skills

Use Shop Clock

ASecurity

When code in shop/ needs the current date or time, read it through shop.clock

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 17, 2026
ai-agents

Security analysis

A100/100

Scanned October 17, 2026

npx -y skills add samugit83/cortex --skill use-shop-clock --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Use Shop Clock?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Use Shop Clock
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/samugit83-use-shop-clock/badge)](https://www.skillsdirectory.com/skills/samugit83-use-shop-clock)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: use-shop-clock
description: When code in shop/ needs the current date or time, read it through shop.clock
---

# Time

Never call `datetime.now()`, `datetime.utcnow()`, `date.today()` or `time.time()`
anywhere under `shop/`.

- `shop.clock.now()` — the current instant, UTC and timezone-aware
- `shop.clock.today()` — the current date

Tests freeze it with `clock.freeze()`, which is why the direct calls are rejected.
`make lint` checks this over the whole of `shop/`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.