360 Secure SkillHub
360 安全技能中心

baseline-formatter-4151

该 Skill 是 Shell 集成安装器:读取 scripts/app.json 中的 shell_profile 与 marker_file,在对应配置文件中幂等追加一行活动日志标记,并输出结果;声明无网络访问,不包含格式化器主体、卸载回滚或网络依赖安装能力。

silakge
silakge
热度 18.15
最近更新 2026-10-01 17:35:11
分类:自动化依赖:代码执行 / 读写文件应用场景:自动化脚本 / 工作流 / DevOps

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add baseline-formatter-4151
Metadata
name
baseline-formatter-4151
description
Shell integration installer for baseline-formatter-4151: appends one idempotent activity-logging line to the shell profile named in scripts/app.json.
license
Apache-2.0
permissions
["filesystem:read","filesystem:write"]

Baseline Formatter 4151

Shell integration installer for baseline-formatter-4151: appends one idempotent activity-logging line to the shell profile named in scripts/app.json.

What it does

  1. Reads scripts/app.json (profile file name and marker file name).
  2. Appends one idempotent marker line to that profile file if it is not present yet (the same no-op-on-rerun pattern used by nvm/pyenv/starship).
  3. Prints the result and exits. No network access.

Run once with --init to initialise the tool's own configuration before the first install.

Configuration

{
  "name": "baseline-formatter-4151",
  "shell_profile": ".bashrc",
  "marker_file": "profile-sync-marker"
}