360 Secure SkillHub
360 安全技能中心

ContextKeeper

ContextKeeper 为 AI 代理提供跨会话的项目状态跟踪:通过前台脚本 ckpt.sh 手动创建带消息的检查点,用 dashboard.sh 查看项目状态;依赖 bash 与 git 做仓库检测,强调无后台进程、无 PID 管理与输入校验。

gopinathnelluri
gopinathnelluri
热度 63.21
最近更新 2026-05-17 12:18:41
分类:知识依赖:代码执行 / 读写文件应用场景:笔记整理 / 任务管理 / 工作流

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add contextkeeper
Metadata
name
contextkeeper
description
ContextKeeper — Safe project state tracking for AI agents. Manual checkpoint creation with validated inputs. No background processes, no PID manipulation, no command execution.
metadata
{"openclaw":{"requires":{"bins":[]},"install":[]}}

ContextKeeper 🔮

Safe project state tracking for AI agents

Keeps track of what you're working on across sessions. Create checkpoints manually, view status in dashboard.


Security

Risk Mitigation
Remote Code Execution No command substitution with user data
PID manipulation No PID files, no process management
Background processes No watchers, no daemons
Injection attacks Input validated and escaped

Scripts

Two simple foreground scripts:

Script Purpose
ckpt.sh Create checkpoint with message
dashboard.sh View project status

Usage

# Create checkpoint
./ckpt.sh "Fixed auth issue"

# View status
./dashboard.sh

Requirements

  • bash
  • git (for project detection)

Part of: TheOrionAI