360 Secure SkillHub
360 安全技能中心

hermes-time-awareness

该 Skill 是 Hermes Agent 插件,通过 pre_llm_call 钩子在每轮 LLM 调用前读取系统时间、时区与用户空闲时长,并以紧凑时间块追加到用户消息,使模型具备时间感知。需 Hermes Agent 与 Python 3.8+,附带安装和健康检查脚本。

分类:自动化
mfang0126
mfang0126
热度 9.17
最近更新 2026-08-31 00:26:41

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add mfang0126/hermes-time-awareness
兼容性
Hermes 专属
联网要求
不联网
数据出网
数据不出本机
Metadata
name
hermes-time-awareness
description
Inject current time and idle detection into every LLM turn.
version
1.0.0
author
mfang0126
license
MIT
metadata
{"hermes":{"tags":["hermes","time","awareness","hook","plugin","idle-detection"]},"platforms":["macos","linux","windows"]}

hermes-time-awareness

Time awareness for Hermes Agent. Injects current time and idle detection into every LLM turn via pre_llm_call hook.

When to Use

  • Agent needs to know what time it is (scheduling, reminders, time-sensitive tasks)
  • Detect user idle/away time for context-aware responses
  • Zero core changes, prompt-cache safe, ~30 tokens per turn

What It Does

Every turn, the model sees:

[time: 2026-08-29 18:00 AEST +10:00 Sat]
[idle: 2h15m]

Quick Start

git clone https://github.com/mfang0126/hermes-time-awareness.git
cp -r hermes-time-awareness ~/.hermes/plugins/
# Restart Hermes — hook auto-activates

How It Works

Uses Hermes pre_llm_call hook mechanism:

  1. Reads current system time + timezone
  2. Calculates idle duration since last user message
  3. Appends compact time block to user message
  4. ~30 tokens overhead per turn

Requirements

  • Hermes Agent (any recent version)
  • Python 3.8+