← 返回 Skills 市场
bytesagain3

Ctxkeeper

作者 bytesagain3 · GitHub ↗ · v2.0.0 · MIT-0
cross-platform ✓ 安全检测通过
155
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install ctxkeeper
功能描述
Manage conversation context with saving, loading, and pruning tools. Use when preserving context, loading sessions, pruning old history.
使用说明 (SKILL.md)

Ctxkeeper

A utility toolkit for logging, tracking, and managing operational entries across multiple categories. Each command records timestamped entries to dedicated log files for later review, search, and export.

Data stored in ~/.local/share/ctxkeeper/

Commands

Command Description
run \x3Cinput> Record a run entry. Without args, shows recent run entries.
check \x3Cinput> Record a check entry. Without args, shows recent check entries.
convert \x3Cinput> Record a convert entry. Without args, shows recent convert entries.
analyze \x3Cinput> Record an analyze entry. Without args, shows recent analyze entries.
generate \x3Cinput> Record a generate entry. Without args, shows recent generate entries.
preview \x3Cinput> Record a preview entry. Without args, shows recent preview entries.
batch \x3Cinput> Record a batch entry. Without args, shows recent batch entries.
compare \x3Cinput> Record a compare entry. Without args, shows recent compare entries.
export \x3Cinput> Record an export entry. Without args, shows recent export entries.
config \x3Cinput> Record a config entry. Without args, shows recent config entries.
status \x3Cinput> Record a status entry. Without args, shows recent status entries.
report \x3Cinput> Record a report entry. Without args, shows recent report entries.
stats Show summary statistics across all log files (entry counts, data size).
search \x3Cterm> Search all log files for a term (case-insensitive).
recent Show the last 20 lines from history.log.
help Show usage and available commands.
version Print version string (ctxkeeper v2.0.0).

Requirements

  • Bash 4+

When to Use

  • Tracking context changes, runs, and checks over time with timestamped logs
  • Keeping a structured journal of operational activities across categories
  • Searching historical entries to find when something was run, checked, or analyzed
  • Exporting logged data for review or sharing with teammates
  • Monitoring overall activity via stats and recent commands

Examples

# Record a run entry
ctxkeeper run "deployed api v2.3 to staging"

# Search all logs for a keyword
ctxkeeper search "staging"

# View summary statistics
ctxkeeper stats

# Check recent activity across all categories
ctxkeeper recent

# Record an analyze entry then review it
ctxkeeper analyze "memory usage spike at 14:00"
ctxkeeper analyze

Powered by BytesAgain | bytesagain.com | [email protected]

安全使用建议
Ctxkeeper appears to do what it says: a local CLI-style logger that keeps timestamped logs under ~/.local/share/ctxkeeper and can search/export them. There are no network calls or credential requests. Before installing or using it: (1) review or run the included scripts/script.sh yourself — the package doesn't provide an automatic installer, so you may need to place the script on your PATH if you want the 'ctxkeeper' command; (2) avoid recording secrets or sensitive tokens in the logs (they are stored in plain text and exported to files in your home directory); (3) be aware of minor bugs/quirks in the exporter (e.g., JSON output handling and literal "\n" in the script) — these are implementation issues, not malicious behavior; (4) if you want stronger guarantees, run it in an isolated account or container until you are comfortable with the behavior.
功能分析
Type: OpenClaw Skill Name: ctxkeeper Version: 2.0.0 The ctxkeeper bundle is a simple Bash-based logging utility designed to record and search timestamped entries in a local directory (~/.local/share/ctxkeeper). While the script contains logic errors—specifically duplicate 'case' branches in scripts/script.sh that prevent the functional '_export' and '_status' routines from ever executing—there is no evidence of malicious intent, data exfiltration, or unauthorized system access.
能力评估
Purpose & Capability
Name/description (manage conversation context, saving/loading/pruning) matches the included script's behavior: timestamped category logs, search, stats, export, recent. No unrelated credentials, binaries, or services are requested.
Instruction Scope
SKILL.md and scripts confine activity to the user's data directory (~/.local/share/ctxkeeper) and only read/write the log files there. They do not reference other system config, network endpoints, or unrelated env vars. Note: the SKILL.md presents a CLI named 'ctxkeeper' but the repo contains scripts/script.sh without an explicit install step or wrapper; this is a mild inconsistency (the script exists but there is no automated install to PATH).
Install Mechanism
No install spec (instruction-only) — lowest install risk. However, a shell script is included in the package; there are no instructions to install it to PATH. That is not dangerous per se, but you may need to run or install the script manually.
Credentials
The skill requests no environment variables, credentials, or external config. The script only uses HOME to determine the data directory and standard shell utilities; this is proportionate to a local logging tool.
Persistence & Privilege
always is false and model invocation is not disabled (normal). The skill does not request permanent elevated privileges or modify other skills or system-wide settings. It creates and uses its own data directory only.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ctxkeeper
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ctxkeeper 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.0
publish v2.0.0
元数据
Slug ctxkeeper
版本 2.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Ctxkeeper 是什么?

Manage conversation context with saving, loading, and pruning tools. Use when preserving context, loading sessions, pruning old history. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 155 次。

如何安装 Ctxkeeper?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install ctxkeeper」即可一键安装,无需额外配置。

Ctxkeeper 是免费的吗?

是的,Ctxkeeper 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Ctxkeeper 支持哪些平台?

Ctxkeeper 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Ctxkeeper?

由 bytesagain3(@bytesagain3)开发并维护,当前版本 v2.0.0。

💬 留言讨论