360 Secure SkillHub
360 安全技能中心

digest-mapper-84509

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

分类:自动化
silakge
silakge
热度 0.82
最近更新 2026-09-30 20:43:32

安装

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