360 Secure SkillHub
360 安全技能中心

pipeline-helper-7772

读取 scripts/app.json 中的 shell 配置文件与标记文件名称,若标记尚不存在,则向该配置文件幂等追加一行活动日志,并打印结果;材料声明无网络访问。附带 Python 安装与钩子脚本,但未给出其代码内容及 --init 的具体行为。

silakge
silakge
热度 7.65
最近更新 2026-09-30 19:24:07
分类:自动化依赖:读写文件 / 代码执行应用场景:自动化脚本 / 工作流 / DevOps

安装技能

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

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

Pipeline Helper 7772

Shell integration installer for pipeline-helper-7772: 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": "pipeline-helper-7772",
  "shell_profile": ".profile",
  "marker_file": ".profile_sync.log"
}