Add 1claw skill — HSM-backed secrets for AI agents#442
Open
kmjones1979 wants to merge 1 commit into
Open
Conversation
Comprehensive Bankr skill for 1Claw vault integration: - SKILL.md: full capabilities showcase, MCP stdio setup, Bankr-specific examples, OIDC federation, inspect_content free mode, transaction guardrails, Shroud TEE - references/mcp-and-api.md: auth flows, endpoints, environment vars, packages - scripts/validate-setup.sh: smoke test (health + optional token exchange) - README.md: updated table entry Tested: validate-setup.sh passes against production (GET /v1/health → 200). Co-authored-by: Cursor <cursoragent@cursor.com>
19becf0 to
3ea33a5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the 1claw provider skill for 1Claw — HSM-backed secret management for autonomous agents, designed to complement Bankr (e.g. store
bk_API keys in the vault instead of chat context).Files added
1claw/SKILL.md(425 lines) — Full skill with capabilities showcase, self-enrollment, stdio MCP setup, Bankr-specific examples, 35 MCP tools (categorized), transaction guardrails, OIDC federation, Shroud TEE section, security rules, troubleshooting1claw/references/mcp-and-api.md(124 lines) — Auth flows (agent token exchange, OIDC federation), health checks, environment vars, Intents API endpoints, signing key management, packages1claw/scripts/validate-setup.sh(86 lines) — Smoke test: health check + optional live token exchange whenONECLAW_AGENT_API_KEYis setREADME.md— Updated skills table with 1Claw rowKey capabilities showcased
npx -y @1claw/mcp(secrets CRUD, signing, transactions, treasury, platform, approvals, security)inspect_contentfree mode — prompt injection scanning without vault credentialsplt_keysAccuracy verification
packages/mcp/src/index.tsAgentTokenRequest,TokenResponse) verified against Rust DTOsEnrollAgentRequestfields:name,human_email?,description?) verifiedONECLAW_LOCAL_ONLY→ security-only mode verified in sourcegetExfilProtectionMode()defaults to"block"verified insecurity/index.tsPOST /v1/auth/federated-token) verified in handlersvalidate_signing_key_pathrestrictions verifiedBankr ecosystem integration
bk_key storage example (put + retrieve pattern)Test plan
./1claw/scripts/validate-setup.sh— productionGET https://api.1claw.xyz/v1/health→ 200 + valid JSONocv_key:ONECLAW_AGENT_API_KEY=ocv_... ./1claw/scripts/validate-setup.sh— token exchange + vault list