# Time And Env

> 当用户询问“当前时间/时区/运行环境信息”时，用 bash 获取并以固定格式返回（适合做 skills demo）。

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

## Install

```sh
agentstack add skill-kggggggggg-skills-agent-time-and-env
```

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

## About

# time-and-env（时间与环境信息）

## 适用场景

- “现在几点了 / 今天几号 / 当前时区是什么”
- “你在哪个目录运行 / 当前环境变量有没有加载”

## 工作流程

1) 优先运行本技能自带脚本（避免多次 tool call，输出也更稳定）：
   - `bash("bash .skills/time_and_env/scripts/time_and_env.sh")`

2) 如果脚本不可用，再退回到直接执行：
   - `bash("date")`
   - `bash("pwd")`

3) 用以下固定格式返回（演示 skill 的价值：统一输出风格）：
   - `时间`: 直接使用 `date` 输出
   - `目录`: 直接使用 `pwd` 输出
   - `答复`: 1~3 句回答用户问题

## Source & license

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

- **Author:** [kggggggggg](https://github.com/kggggggggg)
- **Source:** [kggggggggg/skills_agent](https://github.com/kggggggggg/skills_agent)
- **License:** MIT

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-kggggggggg-skills-agent-time-and-env
- Seller: https://agentstack.voostack.com/s/kggggggggg
- 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%.
