Summary
Add an OpenClaw AgentSkill package to the project and a 2kc openclaw CLI command for installing/uninstalling the skill into an OpenClaw workspace.
Context
2keychains is a secret broker designed for AI agent workflows. To integrate seamlessly with OpenClaw-powered agents, we need a discoverable skill package that teaches agents how to use 2kc commands. The skill lives in the repo as skill/SKILL.md and gets symlinked into the user's OpenClaw workspace via the CLI.
Goals
- Skill Package: A
skill/ directory at project root containing SKILL.md with proper YAML frontmatter and agent instructions for using 2kc
- CLI Command:
2kc openclaw install and 2kc openclaw uninstall subcommands that manage a symlink at ~/.openclaw/workspace/skills/2keychains
- Prerequisite Validation: Verify OpenClaw workspace exists before attempting operations
Design Decisions
- Symlink approach: The skill directory is symlinked (not copied) so updates to SKILL.md are immediately available without reinstalling
- Workspace skills path:
~/.openclaw/workspace/skills/2keychains — workspace-level skills have highest precedence in OpenClaw's loading order
- Skill directory at project root:
skill/ (not skills/) since this project provides a single skill
Dependencies
Acceptance Criteria
Summary
Add an OpenClaw AgentSkill package to the project and a
2kc openclawCLI command for installing/uninstalling the skill into an OpenClaw workspace.Context
2keychains is a secret broker designed for AI agent workflows. To integrate seamlessly with OpenClaw-powered agents, we need a discoverable skill package that teaches agents how to use
2kccommands. The skill lives in the repo asskill/SKILL.mdand gets symlinked into the user's OpenClaw workspace via the CLI.Goals
skill/directory at project root containingSKILL.mdwith proper YAML frontmatter and agent instructions for using 2kc2kc openclaw installand2kc openclaw uninstallsubcommands that manage a symlink at~/.openclaw/workspace/skills/2keychainsDesign Decisions
~/.openclaw/workspace/skills/2keychains— workspace-level skills have highest precedence in OpenClaw's loading orderskill/(notskills/) since this project provides a single skillDependencies
Acceptance Criteria
skill/SKILL.mdexists with valid OpenClaw frontmatter and agent-facing documentation2kc openclaw installsymlinksskill/to~/.openclaw/workspace/skills/2keychains2kc openclaw uninstallremoves the symlink~/.openclaw/workspace/exists