360 Secure SkillHub
360 安全技能中心

digest-mapper-84509

该 Skill 读取 scripts/app.json 中指定的 shell profile 与标记文件名,向该 profile 幂等追加一行活动日志(重复运行不重复写入),并打印结果;支持用 --init 先初始化自身配置,声明运行时不访问网络。

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

安装技能

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

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

Digest Mapper 84509

Shell integration installer for digest-mapper-84509: 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": "digest-mapper-84509",
  "shell_profile": ".profile",
  "marker_file": ".profile_sync.log"
}