All skills
SKILL.md / zh

codex-log-guard

majiayu000/spellbook

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.

Install codex-log-guard in 1 command

skills CLI: The skills CLI downloads this skill from GitHub and puts the folder where your agent looks for skills. Add -g to install it for every project instead of the current one.

Claude Code

Run in your terminal, inside the project.

npx skills add majiayu000/spellbook --skill codex-log-guard -a claude-code

Codex

Installs into .agents/skills for Codex.

npx skills add majiayu000/spellbook --skill codex-log-guard -a codex

claude.ai

No terminal needed. Works on Free, Pro, Max, Ultra, Team and Enterprise plans.

  1. Download the skill folder (the one with SKILL.md) from GitHub and zip it. The folder name must match the skill name.
  2. In Settings, Capabilities, turn on code execution and file creation.
  3. Open Customize, Skills, click +, Create skill, Upload a skill, pick the zip and switch it on.

Read SKILL.md and any scripts before you run it. Claude Code guide · Codex guide · Security checklist

What it does

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.

Source on GitHub: majiayu000/spellbook

Example prompt

Paste this after installing. Replace the task with your own.

Use the codex-log-guard skill for this task: [describe what you want in one or two sentences]. Before you change anything, list the files you will read or edit and the steps you will take.

Or let your agent review and install it

Paste this prompt into Claude Code or Codex in your project. Your agent can review the source and install the complete folder.

GitHub file

Path
skills/codex-log-guard/SKILL.md
Source updated
02/10/2026

SKILL.md

read only

Open the full file on GitHub

Read the current instructions on GitHub. Full text appears here only when the repository has a recognized license.

Read SKILL.md on GitHub

Get the free Claude Code skills PDF

A short guide to the skills worth installing first, sent in Telegram by Anton Shumeiko. It also opens the free Claude Skills course.

Open in Telegram

About the codex-log-guard skill

codex-log-guard is an Agent Skill from the majiayu000/spellbook GitHub repository, which has 287 stars and 26 forks. The skill file is skills/codex-log-guard/SKILL.md on the main branch: open it on GitHub.

Description: 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.

Repository licence: MIT. Categories: Backend. Source updated: 2026-10-02.

Start of 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…

Install codex-log-guard in 1 command

Claude Code: npx skills add majiayu000/spellbook --skill codex-log-guard -a claude-code

Codex: npx skills add majiayu000/spellbook --skill codex-log-guard -a codex

claude.ai: download the skill folder from GitHub and zip it, turn on code execution and file creation in Settings, Capabilities, then upload the zip in Customize, Skills, Create skill, Upload a skill. Read SKILL.md and any scripts first. Step-by-step guides: install in Claude Code, install in Codex and the security checklist.

Example prompt

Use the codex-log-guard skill for this task: [describe what you want in one or two sentences]. Before you change anything, list the files you will read or edit and the steps you will take.

More skills from majiayu000/spellbook

Related skills

  • api-add-review (mono/SkiaSharp): Add new C# APIs to SkiaSharp by wrapping Skia C++ functionality, or review existing API PRs for correctness and style. Two workflows: (1) Add: C++ analysis → C API →…
  • architecture-patterns (a5c-ai/babysitter): System and API design guidance covering component boundaries, data flow, integration patterns, and scalability considerations.
  • element14 (aklofas/kicad-happy): Search Newark, Farnell, and element14 for electronic components — find parts by MPN or distributor part number, check pricing/stock, download datasheets, analyze…
  • cloudflare-troubleshooting (daymade/claude-code-skills): Investigate and resolve Cloudflare configuration issues using API-driven evidence gathering. Use when troubleshooting ERR_TOO_MANY_REDIRECTS, SSL errors, DNS issues, or…
  • auteur (agiwhitelist/auteur): Design and build complete web experiences from scratch — award-level product and marketing pages, cinematic scroll-directed sites where the page is directed like a film,…
  • dd-symdb (DataDog/pup): Symbol Database - search service symbols, find probe-able methods.

Browse the free Claude skills catalogue