← Back to Skills Marketplace
jpengcheng523-netizen

date-utils

by jpengcheng523-netizen · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
152
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install jpeng-date-utils
Description
Provides date and time manipulation operations for working with dates. Use when you need to format, parse, compare, or manipulate dates and times.
README (SKILL.md)

Date Utils

Provides date and time manipulation operations.

Usage

const date = require('./skills/date-utils');

// Formatting
const formatted = date.formatDate(new Date(), 'YYYY-MM-DD HH:mm:ss');

// Parsing
const parsed = date.parseDate('2024-03-15', 'YYYY-MM-DD');

// Differences
const diff = date.diffDays(date1, date2);

// Add/Subtract
const tomorrow = date.addDays(new Date(), 1);
const lastWeek = date.subtractDays(new Date(), 7);

Features

  • Date formatting with patterns
  • Date parsing from strings
  • Date arithmetic (add/subtract)
  • Date comparisons
  • Timezone handling
  • Calendar generation
  • Relative time (ago, fromNow)
  • Duration calculations
Usage Guidance
This appears to be a straightforward date/time utility library. Before installing or using it, check these minor issues: (1) SKILL.md's require path ('./skills/date-utils') doesn't match package layout (index.js at package root) — adjust your import path. (2) package.json test calls a main() that may not exist — ensure the module exports the functions you need (module.exports) or add an entry point. Run the code locally and review exports to confirm it works in your environment. No secrets or network access are requested, but always inspect bundled code before trusting third‑party packages.
Capability Analysis
Type: OpenClaw Skill Name: jpeng-date-utils Version: 1.0.0 The date-utils skill provides standard date and time manipulation functions such as formatting, parsing, and arithmetic. Analysis of index.js and SKILL.md shows no evidence of malicious intent, data exfiltration, or suspicious execution patterns; the code is entirely self-contained and aligns with its stated purpose.
Capability Assessment
Purpose & Capability
The name/description (date/time manipulation) match the provided code: formatting, parsing, arithmetic, comparisons, ranges, and relative-time helpers are implemented. No unrelated capabilities (cloud, network, or system-level access) are requested.
Instruction Scope
SKILL.md usage examples are scoped to requiring and calling the date functions only. Minor inconsistencies: the example shows require('./skills/date-utils') while package.json/main points to index.js at the package root; the test script calls require('./index.js').main() even though the code appears to expose functions rather than a main() entry. These are packaging/usability issues, not evidence of malicious behavior.
Install Mechanism
There is no install specification (instruction-only for the runtime), and the package contains a simple index.js and package.json. Nothing is downloaded from external URLs or written during install.
Credentials
The skill does not request any environment variables, credentials, or config paths. The code does not reference process.env or other secrets-related APIs.
Persistence & Privilege
Flags show always:false and normal invocability. The skill does not attempt to persist or modify other skills or global agent settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install jpeng-date-utils
  3. After installation, invoke the skill by name or use /jpeng-date-utils
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of date-utils - Provides utilities for formatting, parsing, comparing, and manipulating dates and times. - Supports date arithmetic, timezone handling, calendar generation, relative time, and duration calculations.
Metadata
Slug jpeng-date-utils
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is date-utils?

Provides date and time manipulation operations for working with dates. Use when you need to format, parse, compare, or manipulate dates and times. It is an AI Agent Skill for Claude Code / OpenClaw, with 152 downloads so far.

How do I install date-utils?

Run "/install jpeng-date-utils" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is date-utils free?

Yes, date-utils is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does date-utils support?

date-utils is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created date-utils?

It is built and maintained by jpengcheng523-netizen (@jpengcheng523-netizen); the current version is v1.0.0.

💬 Comments