1claw
БесплатноБез исполняемых скриптовНе проверенHSM-backed secret management for AI agents — store, retrieve, rotate, and share secrets via the 1Claw vault without exposing them in context.
от modbender★ 21 звезда на GitHubОб этом скилле
1Claw — HSM-Backed Secret Management for AI Agents
1Claw is a cloud HSM-backed secrets manager. Agents access API keys, passwords, and credentials at runtime without them ever entering the conversation context. Secrets are encrypted with keys that never leave the HSM.
API base URL: https://api.1claw.xyz
MCP endpoint: https://mcp.1claw.xyz/mcp
Dashboard: https://1claw.xyz
Docs: https://docs.1claw.xyz
When to use this skill
- You need an API key, password, or credential to complete a task
- You want to store a newly generated credential securely
- You need to share a secret with a user or another agent
- You need to rotate a credential after regenerating it
- You want to check what secrets are available before using one
- You need to sign or simulate an EVM transaction without exposing private keys
Setup
Option 1: MCP server (recommended for AI agents)
Add to your MCP client configuration. The server auto-refreshes JWT tokens.
{
"mcpServers": {
"1claw": {
"command": "npx",
"args": ["-y", "@1claw/mcp"],
"env": {
"ONECLAW_AGENT_ID": "<agent-uuid>",
"ONECLAW_AGENT_API_KEY": "<agent-api-key>",
"ONECLAW_VAULT_ID": "<vault-uuid>"
}
}
}
}
Hosted HTTP streaming mode:
URL: https://mcp.1claw.xyz/mcp
Headers:
Authorization: Bearer <agent-jwt>
X-Vault-ID: <vault-uuid>
Option 2: TypeScript SDK
npm install @1claw/sdk
import { createClient } from "@1claw/sdk";
const client = createClient({
baseUrl: "https://api.1claw.xyz",
agentId: process.env.ONECLAW_AGENT_ID,
apiKey: process.env.ONECLAW_AGENT_API_KEY,
});
Option 3: Direct REST API
Authenticate, then pass the Bearer token on every request.
# Exchange agent credentials for a JWT
TOKEN=$(curl -s -X POST https://api.1claw.xyz/v1/auth/agent-token \
-H "Content-Type: application/json" \
-d '{"agent_id":"<uuid>","api_key":"<key>"}' | jq -r .access_token)
# Use the JWT
curl -H "Authorization: Bearer $TOKEN" https://api.1claw.xyz/v1/vaults
Alternative: 1ck_ API keys (personal or agent) can be used directly as Bearer tokens — no JWT exchange needed.
Authentication
Agent auth flow
- Human registers an agent in the dashboard or via
POST /v1/agentswith anauth_method(api_keydefault,mtls, oroidc_client_credentials). Forapi_keyagents → receivesagent_id+api_key(prefixocv_). For mTLS/OIDC agents → receivesagent_idonly (no API key). - All agents auto-receive an Ed25519 SSH keypair (public key on agent record, private key in
__agent-keysvault). - API key agents exchange credentials:
POST /v1/auth/agent-tokenwith{ "agent_id": "<uuid>", "api_key": "<key>" }→ returns{ "access_token": "<jwt>", "token_type": "bearer", "expires_in": 3600 }. - Agent uses
Authorization: Bearer <jwt>on all subsequent requests. - JWT scopes derive from the agent's access policies (path patterns). If no policies exist, scopes are empty (zero access). The agent's
vault_idsare also included in the JWT — requests to unlisted vaults are rejected. - Token TTL defaults to ~1 hour but can be set per-agent via
token_ttl_seconds. The MCP server auto-refreshes 60s before expiry.
API key auth
Tokens starting with 1ck_ (human personal API keys) or ocv_ (agent API keys) can be used as Bearer tokens directly on any authenticated endpoint.
MCP Tools Reference
list_secrets
List all secrets in the vault. Returns paths, types, and versions — never values.
| Parameter | Type | Required | Description |
|---|---|---|---|
prefix |
string | no | Path prefix to filter (e.g. api-keys/) |
get_secret
Fetch the decrypted value of a secret. Use immediately before the API call that needs it. Never store the value or include it in summaries.
| Parameter | Type | Required | Description |
|---|---|---|---|
path |
string | yes | Secret path (e.g. api-keys/stripe) |
put_secret
Store a new secret or update an existing one. Each call creates a new version.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
path |
string | yes | Secret path | |
value |
string | yes | The secret value | |
type |
string | no | api_key |
One of: api_key, password, private_key, certificate, file, note, ssh_key, env_bundle |
metadata |
object | no | Arbitrary JSON metadata | |
expires_at |
string | no | ISO 8601 expiry datetime | |
max_access_count |
number | no | Max reads before auto-expiry (0 = unlimited) |
delete_secret
Soft-delete a secret. Reversible by an admin.
| Parameter | Type |
Установить 1claw в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл 1claw?
HSM-backed secret management for AI agents — store, retrieve, rotate, and share secrets via the 1Claw vault without exposing them in context.
Как установить скилл 1claw?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл 1claw запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic