# Time

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

- **Type:** Skill
- **Install:** `agentstack add skill-baizeagent-baize-time`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [BaiZeAgent](https://agentstack.voostack.com/s/baizeagent)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** Apache-2.0
- **Upstream author:** [BaiZeAgent](https://github.com/BaiZeAgent)
- **Source:** https://github.com/BaiZeAgent/Baize/tree/main/skills/time

## Install

```sh
agentstack add skill-baizeagent-baize-time
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 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）

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [BaiZeAgent](https://github.com/BaiZeAgent)
- **Source:** [BaiZeAgent/Baize](https://github.com/BaiZeAgent/Baize)
- **License:** Apache-2.0

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-baizeagent-baize-time
- Seller: https://agentstack.voostack.com/s/baizeagent
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
