360 Secure SkillHub
360 安全技能中心

Print Tool

该 Skill 提供一个名为 print-tool 的命令行文本输出工具,可将文本或变量值写入标准输出,支持多个参数、用 -n 抑制结尾换行、用 -e 解释转义序列,适用于显示消息、脚本输出和调试信息。文件列表仅含 SKILL.md 与 scripts/print.py,未给出实现细节与安装方式。

dinghaibin
dinghaibin
热度 29.75
最近更新 2026-05-11 17:46:54
分类:开发依赖:代码执行应用场景:调试排错 / 自动化脚本

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add print-tool
Metadata
name
print-tool
description
Output text and variable values to standard output. Use for displaying messages, script output, and debug information.

Print - Text Output Utility

Write text to standard output with optional formatting. Supports multiple arguments, newline control, and special character escaping.

Usage

print-tool [options] [text...]

Options

  • -n: Suppress trailing newline
  • -e: Enable interpretation of escape sequences

Examples

print-tool "Hello World"
print-tool -n "No newline"
print-tool -e "Line1\nLine2"