Skip to content
Agentmart
Submit a tool

time

获取当前时间和日期信息。用于回答"现在几点"、"今天星期几"、"今天日期"等问题。

Skill by BaiZeAgent

IndexedApache-2.0★ 6
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/baizeagent-time

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

获取当前时间和日期信息。用于回答"现在几点"、"今天星期几"、"今天日期"等问题。

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Shell scripts

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/time

What's inside

Skill name
time
Description
获取当前时间和日期信息。用于回答"现在几点"、"今天星期几"、"今天日期"等问题。
License
Apache-2.0
Instructions
89 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (2)

  • SKILL.md
  • install.sh · scripts/

SKILL.md (first lines)

# time

获取当前时间和日期信息。

## When to Use

✅ **USE this skill when:**

- "现在几点了"
- "今天星期几"
- "今天几号"
- "现在是什么时间"
- "今天是几月几日"

## When NOT to Use

❌ **DON'T use this skill when:**

- 询问时区转换 → 使用时区转换工具
- 询问历史日期 → 直接回答
- 询问未来日期计算 → 直接回答

## Commands

### 获取当前时间

```bash
date "+%Y-%m-%d %H:%M:%S %A"
```

输出格式: 2026-02-25 14:30:00 Wednesday

### 获取当前时间(中文)

```bash
date "+%Y年%m月%d日 %H:%M:%S %A" 2>/dev/null || date "+%Y-%m-%d %H:%M:%S %A"
```

### 获取星期几

```bash
date "+%A"
```

### 获取日期

```bash
date "+%Y-%m-%d"
```

### 获取时间

```bash
date "+%H:%M:%S"
```

### 获取时区

```bash
date "+%Z %z"
```

## Quick Responses

**"现在几点了"**

```bash
date "+现在是 %Y年%m月%d日 %H:%M:%S,%A"
```

**"今天星期几"**

```bash
date "+今天是 %A"
```

**"今天几号"**

```bash
date "+今天是 %Y年%m月%d日"
```

## Notes

- 使用系统 date 命令,无需额外安装
- 时区使用系统默认时区
- 支持所有类 Unix 系统(Linux, macOS)

From BaiZeAgent/Baize, Apache-2.0.

More from BaiZeAgent/Baize

Signals

Stars
6
Forks
0
Open issues
0
Last commit (this folder)
Feb 26, 2026 (8 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from BaiZeAgent

Cite this page

time skill. Agent Mart. https://agentmart.dev/skills/baizeagent-time (last updated 2026-10-24)