Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

vincent-credentials文森特凭证

Agent Skill

vincent-credentials 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

16,704

周安装

696

GitHub Stars

公开资料未说明

下载量

5,568
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:vincent-credentials(文森特凭证)
来源仓库:https://github.com/glitch003/vincent-credentials
安装命令:
openclaw skills install vincent-credentials
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install vincent-credentials

简介

用于安全存储和管理代理所需的各类凭证信息。vincent-credentials 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

  • 支持 API 密钥、密码、OAuth 令牌和 SSH 密钥的写入操作。
  • 自动将凭证保存至 .env 文件,提升环境安全性。
  • 通过 clawhub 安装,需确认文件系统写入权限。
  • 建议定期检查凭证文件权限,防止敏感信息泄露。

SKILL.md

name
Vincent - Credentials for agents
description
|
allowed-tools
Read, Write, Bash(npx:@vincentai/cli*)
version
1.0.0
author
HeyVincent <contact@heyvincent.ai>
license
MIT
homepage
https://heyvincent.ai
source
https://github.com/HeyVincent-ai/Vincent
metadata
clawdbot
homepage
https://heyvincent.ai
requires
config

Vincent - Credentials for agents

Use this skill to securely manage credentials that your application needs — API keys, passwords, OAuth tokens, SSH keys, or structured username/password pairs. The agent creates a secret, the user (or agent) sets the value, and the agent uses the CLI to write it directly to a .env file. The credential value never appears in the agent's context or stdout.

This is useful when the agent is building something that needs credentials (e.g. a third-party API key). Instead of the user pasting the credential into chat (where it enters the agent's context), they set it via the Vincent dashboard, and the agent writes it to the .env file using the CLI.

All commands use the @vincentai/cli package. API keys are stored and resolved automatically — you never handle raw keys or file paths.

Security Model

This skill is designed for keeping credentials out of the agent's context window.

How it works: The secret env CLI command fetches the credential from the Vincent server and writes it directly to a .env file on disk. The value is never printed to stdout and never appears in the agent's conversation context. Many agent frameworks blacklist reading .env files, so even though the file is on disk, the agent cannot read it back. The application the agent is building reads the .env file normally at runtime.

No environment variables are required because this skill uses agent-first onboarding: the agent creates its own credential secret at runtime by calling the Vincent API, which returns a scoped API key. The CLI stores the returned API key automatically during creation. The config paths where the key is persisted (${OPENCLAW_STATE_DIR:-$HOME/.openclaw}/credentials/credentials/ or ./credentials/) are declared in this skill's metadata.

Overwrite guard: Once a value is set by an agent's API key, only that same API key can overwrite it. This prevents other agents or keys from tampering with the credential. The guard is enforced atomically at the database level.

All API calls go exclusively to heyvincent.ai over HTTPS/TLS. No other endpoints, services, or external hosts are contacted.

Key lifecycle:

  • Creation: The agent runs secret create with --type CREDENTIALS — the CLI stores the API key automatically and returns a keyId and claimUrl.
  • Value set: The user sets the credential value via the dashboard after claiming, or the agent sets it via the CLI.
  • Write to .env: The agent runs secret env to write the value to a .env file without exposing it.
  • Claim: The human operator uses the claim URL to take ownership and manage the secret from the dashboard.
  • Revocation: The secret owner can revoke the agent's API key at any time from https://heyvincent.ai.

Secret Types

TypeValue formatUse case
API_KEYNon-empty stringThird-party API keys
SSH_KEYNon-empty stringSSH private keys
OAUTH_TOKENNon-empty stringOAuth access/refresh tokens
CREDENTIALSJSON object with password or secretUsername/password, key/secret pairs

All four types support the same create, set, and env workflow.

CREDENTIALS Value Format

The CREDENTIALS value must be a JSON object containing at least one of:

  • password (string) — e.g. {"username": "alice", "password": "hunter2"}
  • secret (string) — e.g. {"accountId": "acct-1", "secret": "top-secret"}

Additional fields are preserved as-is. All values are limited to 16KB.

Quick Start

1. Check for Existing Keys

Before creating a new secret, check if one already exists:

npx @vincentai/cli@latest secret list --type CREDENTIALS

If a key is returned, use its id as the --key-id for subsequent commands. If no keys exist, create a new secret.

2. Create a Credentials Secret

npx @vincentai/cli@latest secret create --type CREDENTIALS --memo "Acme API credentials"

Returns keyId (use for all future commands), claimUrl (share with the user), and secretId.

After creating, tell the user:

"Here is your credentials claim URL: <claimUrl>. Use this to claim ownership and set the credential value at https://heyvincent.ai."

3. Set the Credential Value

Option A: User sets via dashboard (recommended)

The user claims the secret using the claim URL, then sets the credential value from the dashboard. This keeps the value completely out of the agent's hands.

Option B: Agent sets via CLI

For agent-first workflows where the agent has the credential (e.g. it obtained an API key from a service):

npx @vincentai/cli@latest secret set-value --key-id <KEY_ID> --value '{"username": "alice", "password": "hunter2"}'

For simple string types (API_KEY, SSH_KEY, OAUTH_TOKEN):

npx @vincentai/cli@latest secret set-value --key-id <KEY_ID> --value "sk-my-third-party-api-key"

4. Write to .env File

Once the value is set (by the user or the agent), use the CLI to write it to a .env file. The value is never printed to stdout.

# Write an API_KEY secret as an env var
npx @vincentai/cli@latest secret env --key-id <KEY_ID> --env-var ACME_API_KEY

# For CREDENTIALS: extract a specific field
npx @vincentai/cli@latest secret env --key-id <KEY_ID> --env-var DB_PASSWORD --field password

# Write to a specific path (default: ./.env)
npx @vincentai/cli@latest secret env --key-id <KEY_ID> --env-var SERVICE_TOKEN --path ./config/.env

The command outputs a confirmation JSON (without the value) so the agent knows it succeeded:

{
  "written": "ACME_API_KEY",
  "path": "/path/to/.env",
  "type": "API_KEY"
}

Flags:

FlagRequiredDescription
--env-varYesEnvironment variable name (e.g. MY_API_KEY)
--pathNoPath to .env file (default: ./.env)
--key-idNoAPI key ID (auto-discovered if only one credential key exists)
--fieldNoFor CREDENTIALS type: extract a specific JSON field instead of writing the full JSON

Behavior:

  • Creates the .env file if it doesn't exist (with 0600 permissions)
  • Updates the variable in-place if it already exists in the file
  • Appends a new line if the variable doesn't exist
  • Values with special characters are automatically quoted

5. Use in Your Application

Your application reads the .env file normally:

# Node.js with dotenv
require('dotenv').config()
const apiKey = process.env.ACME_API_KEY

# Python with python-dotenv
from dotenv import load_dotenv
load_dotenv()
api_key = os.getenv('ACME_API_KEY')

Example: Full Workflow

# 1. Agent creates a CREDENTIALS secret
npx @vincentai/cli@latest secret create --type CREDENTIALS --memo "Acme service credentials"
# → keyId: abc-123, claimUrl: https://heyvincent.ai/claim/...

# 2. Tell the user to claim and set the value via the dashboard

# 3. Once set, write individual fields to .env
npx @vincentai/cli@latest secret env --key-id abc-123 --env-var ACME_USERNAME --field username
npx @vincentai/cli@latest secret env --key-id abc-123 --env-var ACME_PASSWORD --field password

# Result in .env:
# ACME_USERNAME=alice
# ACME_PASSWORD=hunter2

Output Format

The secret env command outputs a confirmation JSON (without the credential value):

{
  "written": "ACME_API_KEY",
  "path": "/path/to/.env",
  "type": "API_KEY"
}

The secret create command returns:

{
  "keyId": "abc-123",
  "claimUrl": "https://heyvincent.ai/claim/...",
  "secretId": "sec-456"
}

Error Handling

ErrorCauseResolution
401 UnauthorizedInvalid or missing API keyCheck that the key-id is correct; re-link if needed
403 Overwrite RejectedA different API key set this credential's valueSecret owner must manage from the dashboard
404 Value Not SetCredential value hasn't been set yetUser must set the value via dashboard or agent sets via CLI
Key not foundAPI key was revoked or never createdRe-link with a new token from the secret owner

Re-linking (Recovering API Access)

If the agent loses its API key, the secret owner can generate a re-link token from the frontend. The agent then exchanges this token for a new API key.

npx @vincentai/cli@latest secret relink --token <TOKEN_FROM_USER>

The CLI exchanges the token for a new API key, stores it automatically, and returns the new keyId. Re-link tokens are one-time use and expire after 10 minutes.

Important Notes

  • The credential value never enters the agent's context. The secret env command writes directly to a file — it does not print the value to stdout.
  • Many agent frameworks (OpenClaw, Claude Code, etc.) blacklist reading .env files, providing an additional layer of protection.
  • Always share the claim URL with the user after creating a secret.
  • The 16KB size limit applies to the serialized value.
  • If the overwrite is rejected with a 403, it means a different API key set the value. The secret owner can manage this from the dashboard.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

96.81%
按下载量换算5,390

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills