# With Lock Tool

> Computes a small value under a lock and a temp directory. No filesystem/network sink.

- Skill: `gl0di/with-lock-tool` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add gl0di/with-lock-tool`
- Raw SKILL.md: https://api.skillmd.com/api/skills/gl0di/with-lock-tool/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: gl0di (https://skillmd.com/u/gl0di)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/gl0di/with-lock-tool

---


# With Lock Tool (benign context-manager baseline)

Uses `with threading.Lock():` and `with tempfile.TemporaryDirectory() as d:` —
common, genuinely inert context-manager idioms. Companion to
`bad_effectsim_with_taint_dropped`: after the CLAWSECCHECK-B-155 fix, `with` handling
must not spuriously flag these as filesystem/network capabilities.

