Communication

generate-message-timestamp - Claude MCP Skill

Generates timestamp-based sequence IDs for plan message files using system clock to avoid LLM counting errors

SEO Guide: Enhance your AI agent with the generate-message-timestamp tool. This Model Context Protocol (MCP) server allows Claude Desktop and other LLMs to generates timestamp-based sequence ids for plan message files using system clock to avoid llm counti... Download and configure this skill to unlock new capabilities for your AI workflow.

🌟1 stars β€’ 0 forks
πŸ“₯0 downloads

Documentation

SKILL.md
## Skill: Generate Message Timestamp### PurposeGenerates timestamp-based sequence IDs for plan message files. Uses system clock instead of manual counting to avoid LLM sequencing errors.### UsageCall this skill whenever creating a new message file in a plan folder. It returns both the filename prefix and ISO timestamp for metadata.### Implementationjavascript// Returns timestamp-based filename prefix and metadata timestampfunction generateMessageTimestamp   const now = new Date    // Format: YYYYMMDD-HHMMSS-mmm  const year = now.getFullYear  const month = Stringnow.getMonth + 1.padStart2, 0  const day = Stringnow.getDate.padStart2, 0  const hours = Stringnow.getHours.padStart2, 0  const minutes = Stringnow.getMinutes.padStart2, 0  const seconds = Stringnow.getSeconds.padStart2, 0  const milliseconds = Stringnow.getMilliseconds.padStart3, 0    const filenamePrefix = yearmonthday-hoursminutesseconds-milliseconds  const isoTimestamp = now.toISOString    return     filenamePrefix,    isoTimestamp,    fullExample: filenamePrefix-type-sender.yaml  // Example output:// //   filenamePrefix: 20251023-121500-001,//   isoTimestamp: 2025-10-23T12:15:00.001Z,//   fullExample: 20251023-121500-001-type-sender.yaml// ### Bash ImplementationFor Claude Code to execute:bash#/bin/bash# Generate timestamp-based sequence ID# Get current timestamp componentsTIMESTAMP=date +%Y%m%d-%H%M%SMILLIS=date +%3N  # 3-digit milliseconds# Combine into filename prefixPREFIX=TIMESTAMP-MILLIS# Get ISO timestamp for metadataISO_TIMESTAMP=date -u +%Y-%m-%dT%H:%M:%S.%3NZ# Output as JSON for easy parsingcat EOF  filenamePrefix: PREFIX,  isoTimestamp: ISO_TIMESTAMP,  fullExample: PREFIX-type-sender.yamlEOF### Usage in Message CreationWhen creating a new message:1. Call generate-message-timestamp to get the prefix2. Construct full filename: prefix-message-type-sender.yaml3. Use isoTimestamp in the message metadataExample:bash# Get timestampTIMESTAMP_DATA=bash generate-timestamp.shPREFIX=echo TIMESTAMP_DATA  jq -r .filenamePrefixISO=echo TIMESTAMP_DATA  jq -r .isoTimestamp# Create message fileFILENAME=PREFIX-status-coder.yaml### Benefitsβœ… No LLM counting errors: System clock is authoritative  βœ… Chronological sorting: Files sort naturally by name  βœ… Collision-resistant: Millisecond precision prevents duplicates  βœ… Human-readable: Format is easy to parse visually  βœ… Metadata consistency: ISO timestamp matches filename### Notes- Milliseconds provide collision resistance for rapid message creation- Format is sortable both as string and numerically- Compatible with filesystem naming conventions- Works across platforms with minor date command variations

Signals

Avg rating⭐ 0.0
Reviews0
Favorites0

Information

Repository
mickdarling/dollhouse-portfolio
Author
mickdarling
Last Sync
1/14/2026
Repo Updated
10/25/2025
Created
1/13/2026

Reviews (0)

No reviews yet. Be the first to review this skill!

Related Skills

cursorrules

CrewAI Development Rules

⭐ 43932Has guide

firecrawl-build-onboarding

Get Firecrawl credentials and SDK setup into a project. Use when an application needs `FIRECRAWL_API_KEY`, when an agent should add Firecrawl to `.env`, when the user wants to authenticate Firecrawl for app code, or when choosing the first SDK and docs for a new Firecrawl integration. This skill includes its own browser auth flow, so it does not depend on the website onboarding skill.

⭐ 39577

firecrawl-build

Integrate Firecrawl into application code whenever a product, agent, or workflow needs web data inside the app β€” web search, live search results, page scraping, structured extraction, or browser interaction. Use when building any feature that needs data from the web in code, even if the user does not mention Firecrawl explicitly and only describes wanting web data, website content, search, scraping, or interaction in an application. Trigger for Firecrawl requests, "fire girl" shorthand, and generic app-level web-data needs that should map to `/scrape`, `/search`, or `/interact`. Do not use this skill for one-off terminal-only web tasks during the current session; use `firecrawl/cli` for those.

⭐ 39577

firecrawl-build-search

Integrate Firecrawl `/search` into product code and agent workflows. Use when an app needs discovery before extraction, when the feature starts with a query instead of a URL, or when the system should search the web and optionally hydrate result content.

⭐ 39577

Related Guides