wiki-guard

by junho · ★ 0 · updated yesterday

ToastsGuardsvalidates

0

Enforces the personal wiki's edit rules at tool-call time: raw/ is immutable, log.md is append-only, public pages never wikilink local-only pages, and git commit waits for bin/wikilint.

install wiki-guard

Install

git clone https://github.com/TrulyNotMalware/skills
claude --plugin-dir ./skills/mods/wiki-guard

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
tool.callsession.start
API calls
$.clock.now$.env.get$.fs.exists$.fs.list$.fs.read$.fs.stat$.process.run$.session.cwd$.state.get$.state.set$.ui.toast
Can see
Edit|Write callsBash calls
Reach
level 2 of 3 other: $.state.getother: $.state.setruns processesreads filesreads env varsdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/TrulyNotMalware/skills
Path in repo
mods/wiki-guard
Source commit
1e87087 the exact code the scan read
Author
junho @TrulyNotMalware
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from TrulyNotMalware/skills

infra-pane

TrulyNotMalware/skills

Live view of the local infra testbed (~/infra): which compose services are up, the OrbStack k8s cluster and its namespaces' pods, Tailscale state, wiki-serve and its mode (public only / full), with stop buttons, wiki-serve on/off and mode switch, and the k8s toggle; a status line while anything runs; /infra opens it.

★ 0PanesStatus lineCommands

infra-preflight

TrulyNotMalware/skills

Before docker compose up|start|restart on a ~/infra service, checks that Tailscale is Running and that the service's BIND_IP matches the Tailscale IPv4; otherwise refuses the command with the fix.

★ 0GuardsAutomation