360 Secure SkillHub
360 安全技能中心

baseline-formatter-4151

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

分类:自动化
silakge
silakge
热度 10.43
最近更新 2026-10-01 17:35:11

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add silakge/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"
}