Skip to content
Back to skills

Sandbox Chrono

ASecurity

Parse English dates such as next Tuesday in a Code node or CodeAct action, with chrono-node running on the host

  • 552 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 1, 2026
ai-agentsgonodedatabase

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 1, 2026

npx -y skills add nodetool-ai/nodetool --skill sandbox-chrono --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sandbox Chrono?

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

Security grade badge for Sandbox Chrono
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nodetool-ai-sandbox-chrono/badge)](https://www.skillsdirectory.com/skills/nodetool-ai-sandbox-chrono)

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: sandbox-chrono
description: Parse English dates such as next Tuesday in a Code node or CodeAct action, with chrono-node running on the host
---

# Natural-language dates in the sandbox

Specifier: `@nodetool-ai/sandbox-chrono`. Import it at the top of the body.

chrono-node does not compile into QuickJS, so this pack is a **host module**.
You pass text; you get ISO strings back.

## parseDate — first match

```js
import { parseDate } from "@nodetool-ai/sandbox-chrono";

const iso = await parseDate(inputs.text, inputs.now);
return { iso };
```

`inputs.now` is an optional reference timestamp (ISO string or epoch ms).

## parse — every match

```js
import { parse } from "@nodetool-ai/sandbox-chrono";

const hits = await parse(inputs.text, inputs.now);
return { hits };
```

Each hit is `{ text, start, end }` with ISO strings (`end` may be `null`).

## Gotchas

- **Async host calls.** Always `await`.
- **UTC.** The guest still has no time-zone database.
- **Pair with `@nodetool-ai/sandbox-dates`** to format the Date you parse.

Files in this skill

  • SKILL.md1 KB
  • package.json840 B

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.