/core:datetimefrom core
Ensures real ISO 8601 UTC timestamps from the system clock are used in frontmatter and file updates. Run the date command before writing or updating any file with created/updated fields.
Ships in core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
When any command requires the current date/time (for frontmatter, timestamps, or logs), you MUST obtain the REAL current date/time from the system rather than estimating or using placeholder values.
Use the date command to get the current ISO 8601 formatted datetime:
# Get current datetime in ISO 8601 format (works on Linux/Mac)
date -u +"%Y-%m-%dT%H:%M:%SZ"
# Alternative for systems that support it
date --iso-8601=seconds
# For Windows (if using PowerShell)
Get-Date -Format "yyyy-MM-ddTHH:mm:ssZ"
All dates in frontmatter MUST use ISO 8601 format with UTC timezone:
YYYY-MM-DDTHH:MM:SSZ2024-01-15T14:30:45ZWhen creating or updating frontmatter in any file (PRD, Epic, Task, Progress), always use the real current datetime:
---
name: feature-name
created: 2024-01-15T14:30:45Z # Use actual output from date command
updated: 2024-01-15T14:30:45Z # Use actual output from date command
---
Before writing any file with frontmatter:
date -u +"%Y-%m-%dT%H:%M:%SZ"For commands that create files:
created fieldcreated fieldcreated and updated fieldsstarted and last_sync fieldsFor commands that update files:
updated field with current real datetimecreated fieldlast_sync with real datetimeCreating a new PRD:
# First, get current datetime
CURRENT_DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
# Output: 2024-01-15T14:30:45Z
# Then use in frontmatter:
---
name: user-authentication
description: User authentication and authorization system
status: backlog
created: 2024-01-15T14:30:45Z # Use the actual $CURRENT_DATE value
---
Updating an existing task:
# Get current datetime for update
UPDATE_DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
# Update only the 'updated' field:
---
name: implement-login-api
status: in-progress
created: 2024-01-10T09:15:30Z # Keep original
updated: 2024-01-15T14:30:45Z # Use new $UPDATE_DATE value
---
[Current ISO date/time] or YYYY-MM-DDZ suffix) for consistency across timezonesIf you need to ensure compatibility across different systems:
# Try primary method first
date -u +"%Y-%m-%dT%H:%M:%SZ" 2>/dev/null || \
# Fallback for systems without -u flag
date +"%Y-%m-%dT%H:%M:%SZ" 2>/dev/null || \
# Last resort: use Python if available
python3 -c "from datetime import datetime; print(datetime.utcnow().strftime('%Y-%m-%dT%H:%M:%SZ'))" 2>/dev/null || \
python -c "from datetime import datetime; print(datetime.utcnow().strftime('%Y-%m-%dT%H:%M:%SZ'))" 2>/dev/null
This rule has HIGHEST PRIORITY and must be followed by all commands that:
Commands affected: prd-new, prd-parse, epic-decompose, epic-sync, issue-start, issue-sync, and any other command that writes timestamps.
What SKILL.md sets; muted values are Claude Code's defaults
13 skills in this plugin
/ai-integration-patternsPatterns and safety practices for integrating AI APIs (OpenAI, Gemini, LangChain): which agent to use, keys, rate limits, error handling. Use when adding code that calls an AI API./command-pipelinesThe exact command sequences for ClaudeAutoPM workflows (/context, /pm, testing, PRs). Use when choosing or chaining autopm slash commands for a workflow./context7-requiredShared policy for commands marked "Required Documentation Access": query Context7 documentation before the main workflow. Use when running a command that requires Context7 documentation access.npx claudepluginhub lagowski/claudeautopm --plugin coreOther plugins' skills for the same job