一键导入
keepass-entity-ops
Perform safe, auditable open, close, create, move, and edit operations on KeePass databases via a local Python helper script.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Perform safe, auditable open, close, create, move, and edit operations on KeePass databases via a local Python helper script.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | keepass-entity-ops |
| description | Perform safe, auditable open, close, create, move, and edit operations on KeePass databases via a local Python helper script. |
Use this skill when the user wants to inspect, search, or modify entries and groups inside a KeePass .kdbx database file. It delegates all database access to plugins/util-skills/scripts/keepass_safe_ops.py, which enforces session management, per-database locking, timestamped backups, and an explicit allowlist of safe subcommands.
Delete-like operations are unsupported and must be refused. Do not attempt to remove, delete, trash, purge, or move entries or groups to a recycle bin. If the user requests any such action, decline clearly and explain that only create, move, edit, search, and show are available.
python3 or python.pykeepass installed in the Python environment: pip install pykeepass..kdbx database file accessible on the local filesystem.Identify the target entity type (entry or group), the desired operation, and all required fields. Restate the intended change back to the user in plain language before running any command.
Before running create-entity, move-entity, or edit-entity, you MUST obtain explicit written confirmation from the user. Present the full operation spec (entity type, target path, fields to write) and ask: "Shall I proceed with this change? (yes/no)" Do not proceed until the user confirms.
open-database and close-database do not require additional confirmation beyond the user asking for them.
Construct a JSON spec file matching the operation contract in operation-contract.md and save it to a temporary path (e.g. /tmp/keepass_op_spec.json). Never include the database password in the spec file.
For create-entity, move-entity, and edit-entity, add "confirmed": true to the spec file only after the user explicitly approves the exact spec you showed them.
python3 plugins/util-skills/scripts/keepass_safe_ops.py <subcommand> \
--spec-file /tmp/keepass_op_spec.json
Pass the database password via the KEEPASS_PASSWORD environment variable:
KEEPASS_PASSWORD='...' python3 plugins/util-skills/scripts/keepass_safe_ops.py <subcommand> \
--spec-file /tmp/keepass_op_spec.json
Parse stdout/stderr from the script. If the script exits non-zero, surface the error message verbatim and do not retry silently. If the operation succeeded, confirm the action taken (e.g. "Entry 'Gmail' created in group 'Social'.").
Delete the temporary spec file after the script completes, regardless of success or failure.
| Subcommand | Entity types | Requires confirmation |
|---|---|---|
open-database | n/a | No |
close-database | n/a | No |
create-entity | entry, group | Yes |
move-entity | entry, group | Yes |
edit-entity | entry, group | Yes |
search-entries | entry | No (read-only) |
show-entity | entry, group | No (read-only) |
forget | n/a | No (alias for close) |
KEEPASS_PASSWORD environment variable, and never include it in spec files, chat messages, or command history."confirmed": true in the spec only after that approval.After a successful operation, reply with:
✅ <Subcommand> completed.
Entity: <type> — <name or title>
Location: <group path>
Backup: <backup file path>
After a failed operation, reply with:
❌ <Subcommand> failed.
Error: <verbatim error message from the script>
No changes were saved.
Index Logseq markdown into SQLite, query the index quickly, and synchronize markdown updates back into the database.
Publish or update a Copilot CLI plugin in a repository marketplace by wiring marketplace metadata, source paths, README guidance, and install instructions.
Add custom agents, reusable skills, and MCP configuration to a Copilot CLI plugin while keeping the manifest and documentation aligned.
Create a new GitHub Copilot CLI plugin skeleton with a manifest, starter documentation, agent files, skill directories, and optional MCP wiring.
Queue and run delegated repo tasks inside tmux-managed worker sessions using external coding CLIs such as Copilot or OpenCode.
Register repo memory and manage tmux-backed delegated worker sessions for external coding CLIs.