360 Secure SkillHub
360 安全技能中心

Pwd Tool

该 Skill 提供 pwd-tool 命令行工具,用于输出当前工作目录的绝对路径,帮助定位文件系统位置及管理脚本路径。支持 -P 显示解析符号链接后的物理路径,-L 显示默认的逻辑路径。不涉及网络访问或外部服务。

dinghaibin
dinghaibin
热度 29.44
最近更新 2026-05-11 17:46:54
分类:自动化依赖:代码执行 / 读写文件应用场景:自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add pwd-tool
Metadata
name
pwd-tool
description
Print the full path of the current working directory. Use for identifying your location in the filesystem.

PWD - Print Working Directory

Display the absolute path of the current working directory. Essential for navigation awareness and script path management.

Usage

pwd-tool [options]

Options

  • -P: Show physical path (resolve symlinks)
  • -L: Show logical path (with symlinks, default)

Examples

pwd-tool
pwd-tool -P