You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 30, 2026. It is now read-only.
Ship kdbx for OpenClaw (open-source self-hosted agent framework) in addition to Claude Code. OpenClaw uses the same AgentSkills SKILL.md standard, so the skill ports almost as-is; the enforced agent/human boundary is the only real work.
What ports vs. what changes
Piece
OpenClaw target
Effort
SKILL.md
same file + an OpenClaw gating block; swap hardcoded paths for {baseDir}
light
kdbx.py (PEP-723) + kdbx_core/
bundled scripts/, run via the exec tool
none (uv/lockfile are the skill's own concern)
/kdbx:* commands
a skill is a slash command by default (user-invocable: true)
light
MCP server
openclaw mcp add … (native MCP client)
light
PreToolUse leak/role guard (guard.py)
a separate OpenClaw TypeScript plugin with a before_tool_call hook
🔴 rewrite
Plan
Skill frontmatter (cheap, high value). Add to skills/kdbx/SKILL.md (Claude Code ignores unknown fields, so one file serves both):
Body: instruct exec to run uv run --locked {baseDir}/scripts/kdbx.py <op> with host: "gateway" (kdbx needs host FS ~/.config/keepassxc, not the Docker sandbox).
Boundary plugin (the real work). Port plugins/kdbx/hooks/guard.py → a TS plugin registering before_tool_call:
{ block: true, blockReason } for agent-issued kdbx set/delete/mv/import/rekey/export + get --reveal/--clip (terminal block, parity with a Claude Code deny).
{ requireApproval: {...} } for delete --purge / rekey (replaces the TTY confirm).
Bonus: resolve_exec_env can inject secrets into the exec env (agent never sees them in args); tool_result_persist can scrub leaked values from transcripts.
Distribute via ClawHub ("Skill + Plugin Registry") as a plugin bundle (skill + boundary plugin grouped), and openclaw skills install.
Keep shared, don't fork
kdbx.py / kdbx_core stay the single source of truth; OpenClaw gets a parallel packaging target alongside the Claude Code plugin (mirrors the symlink/dereference approach).
Open verification (smoke-test against a real install first)
npm i -g openclaw && openclaw skills install ./skills/kdbx to confirm, before publishing:
Goal
Ship kdbx for OpenClaw (open-source self-hosted agent framework) in addition to Claude Code. OpenClaw uses the same AgentSkills
SKILL.mdstandard, so the skill ports almost as-is; the enforced agent/human boundary is the only real work.What ports vs. what changes
SKILL.md{baseDir}kdbx.py(PEP-723) +kdbx_core/scripts/, run via theexectool/kdbx:*commandsuser-invocable: true)openclaw mcp add …(native MCP client)guard.py)before_tool_callhookPlan
skills/kdbx/SKILL.md(Claude Code ignores unknown fields, so one file serves both):execto runuv run --locked {baseDir}/scripts/kdbx.py <op>withhost: "gateway"(kdbx needs host FS~/.config/keepassxc, not the Docker sandbox).plugins/kdbx/hooks/guard.py→ a TS plugin registeringbefore_tool_call:{ block: true, blockReason }for agent-issuedkdbx set/delete/mv/import/rekey/export+get --reveal/--clip(terminal block, parity with a Claude Code deny).{ requireApproval: {...} }fordelete --purge/rekey(replaces the TTY confirm).resolve_exec_envcan inject secrets into the exec env (agent never sees them in args);tool_result_persistcan scrub leaked values from transcripts.openclaw skills install.Keep shared, don't fork
kdbx.py/kdbx_corestay the single source of truth; OpenClaw gets a parallel packaging target alongside the Claude Code plugin (mirrors the symlink/dereference approach).Open verification (smoke-test against a real install first)
npm i -g openclaw && openclaw skills install ./skills/kdbxto confirm, before publishing:before_tool_callreturn shape (still evolving — Feature Request: Pre-tool hooks (gate scripts that block tool execution) openclaw/openclaw#14159)requires.configcan point at a repo file like.keepassxc.jsonor only OpenClaw config keyshost: gatewayreaches the host keychain +~/.config/keepassxcSources
docs.openclaw.ai/tools/{skills,creating-skills,exec} · docs.openclaw.ai/plugins/hooks · docs.openclaw.ai/clawhub · github.com/openclaw/agent-skills (real SKILL.md) · github.com/openclaw/openclaw#14159