codex-log-guard
仓库创建 2025年12月9日最近提交 9 天前SkillHot 收录 20 天前
▸ 精选理由
能量化日志写入问题并提供安全修复,适合担心 SSD 磨损或磁盘 IO 的用户。
▸ 风险提示
会读取本地日志文件与数据库,需相应读写权限
这个 Skill 做什么
诊断 Codex 本地 SQLite 日志过量写入并给出具体修复方案与缓解步骤。
帮你定位 Codex 在本地频繁写入 SQLite 日志(如 logs_2.sqlite/‑wal)的问题,并给出可执行的修复或缓解步骤。通常先做只读诊断收集证据,必要时再建议保护、清理或恢复策略,避免加速 SSD 磨损。结论直接告诉你下一步该做什么,不会让你在命令列表里犹豫。
▸ 展开 SKILL.md 英文原文
Diagnose excessive Codex local SQLite diagnostic log writes with read-only evidence by default. Use when a user mentions logs_2.sqlite, logs_2.sqlite-wal, block_log_inserts, SSD/TBW wear, or explicitly asks to protect, clean up, verify, or restore Codex diagnostic logging.
239
Stars
23
Forks
40
仓库内 Skill
+7
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/majiayu000/spellbook/main/skills/codex-log-guard/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/majiayu000/spellbook/main/skills/codex-log-guard/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Codex Log Guard ## Overview Diagnose Codex persistent diagnostic logging from local evidence, then give a concise conclusion and the safest next action. Do not make the user choose from a command menu. ## Operating Contract Select one mode from the current user request: - `diagnose_only` is the default for check, inspect, explain, or verify requests. It is read-only. - `protect` requires an explicit request to stop or mitigate log writes. It may install and verify `block_log_inserts`, but it does not delete rows or vacuum files. - `cleanup` requires an explicit current request to reclaim disk space or clean up logs. It first installs protection when needed, creates and verifies a time
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有