スキル一覧に戻る
otrebu

timestamp

by otrebu

2🍴 0📅 2026年1月24日
GitHubで見るManusで実行

SKILL.md


name: timestamp description: Generate deterministic timestamps in YYYYMMDDHHMMSS format using bash. Use when you need timestamps for filenames, logging, or any situation requiring consistent timestamp formatting without LLM generation. allowed-tools: Bash

Timestamp

Overview

Generate timestamps in YYYYMMDDHHMMSS format (e.g., 20251030143215) using bash date command for deterministic, reliable timestamp generation.

When to Use

  • Creating timestamped filenames or directories
  • Adding timestamps to logs or commit messages
  • Any situation requiring consistent timestamp formatting
  • When deterministic bash execution is preferred over LLM-generated timestamps

Usage

Always use the bash script to generate timestamps:

bash ./skills/timestamp/scripts/generate_timestamp.sh

Examples

Timestamped filename:

timestamp=$(bash ./skills/timestamp/scripts/generate_timestamp.sh)
echo "backup_${timestamp}.tar.gz"
# Output: backup_20251030143215.tar.gz

Timestamped directory:

timestamp=$(bash ./skills/timestamp/scripts/generate_timestamp.sh)
mkdir "logs_${timestamp}"

In file content:

timestamp=$(bash ./skills/timestamp/scripts/generate_timestamp.sh)
echo "Generated at: ${timestamp}" > output.txt

Format Specification

  • Format: YYYYMMDDHHMMSS
  • Example: 20251030143215
  • Breakdown:
    • YYYY: 4-digit year (2025)
    • MM: 2-digit month (10)
    • DD: 2-digit day (30)
    • HH: 2-digit hour, 24h format (14)
    • MM: 2-digit minute (32)
    • SS: 2-digit second (15)

Resources

scripts/generate_timestamp.sh

Executable bash script using date +"%Y%m%d%H%M%S" to generate timestamps in YYYYMMDDHHMMSS format.

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です