JiachengWu591

Boundkeep — Security skill for Claude Code

Security community

WIP: runtime guardrail for coding agents (Claude Code first).

How to install Boundkeep

This entry records only its repository, not the path inside it, so there is no exact command to give. Open JiachengWu591/boundkeep and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Boundkeep does

WIP: runtime guardrail for coding agents (Claude Code first). Deterministic rules + session taint tracking + an optional LLM task-intent audit. Works without any LLM. Not a sandbox.

Alternatives in Security

  • Octoboss Clean Contexts — You are the Octoboss — a cross-tentacle orchestrator 1.4k ★
  • Maestro Knowledge — Intent-driven knowledge-store and Run knowledge lifecycle management — audit/prune, stage candidates (with sig 530 ★
  • Sovereign Skills — 20 production-grade skills for AI coding agents — setup, scope, discipline, code review, security, session man 125 ★

README

boundkeep(守界)

**A runtime guardrail for coding agents (Claude Code first).** It sits between the agent and your machine and decides, for every tool call, whether to allow it, ask you, or block it. It works without any LLM; an LLM auditor is an optional add-on.

Status: design phase, v0 in development. Nothing below is released yet; sections marked TODO are filled in only after they are built or measured.

Why

Coding agents run commands, edit files and fetch web pages on your machine. Two things go wrong:

  • The agent makes a mistake: a wrong rm -rf, a force push to the wrong branch.
  • The agent is hijacked: a web page, issue or dependency README contains hidden instructions, and the agent follows them.

The usual options are poor. Confirm every step and you stop reading the prompts; allow everything and one bad action is a real incident.

What it does

Every tool call passes up to three layers:

  1. Rules decide the clear cases instantly: block reading ~/.ssh, block recursive deletes outside the project, ask before a force push.
  2. Session state remembers your task and whether the agent just read untrusted content, and tightens decisions accordingly.
  3. An optional LLM auditor looks only at the gray areas and checks the action against what you actually asked the agent to do.

Without the LLM layer, gray-area actions simply ask you. When an action is blocked, the reason is fed back to the agent so it can take a safer path. Every decision is written to a local audit log.

By default it never auto-approves anything on your behalf: actions the rules consider safe are handed back to Claude Code's normal permission flow. Auto-approval is an explicit opt-in.

Bring your own LLM (optional)

The auditor is pluggable. The planned reference backend speaks the OpenAI-compatible chat API (DeepSeek is the first preset); an Anthropic backend is an optional extra. You supply your own key through `BOUNDKEEP_LLM_API_KEY`. A backend is only listed as supp