Vincent - Credentials for agents
Secure credential management for agents.
Skill by HeyVincent-ai
Chalk Labs
Need help deploying Vincent - Credentials for agents?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/heyvincent-ai-vincent-credentials-for-agents
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, security, writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/vincent-credentials-for-agents
Tools it pre-approves 3
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
Read,Write,Bash(npx:@vincentai/cli*)
What's inside
- Skill name
Vincent - Credentials for agents- Description
- Secure credential management for agents. Use this skill when users need to store API keys, passwords, OAuth tokens, or SSH keys and write them to .env files without exposing values. Triggers on "store credentials", "API key", "manage secrets", "write to env", ".env file", "credential", "password", "token storage".
- License
- MIT
- Allowed tools
- Read,, Write,, Bash(npx:@vincentai/cli*)
- Instructions
- 216 lines in SKILL.md · view on GitHub
Before installing
- Pre-approves some shell commands
Agent Skills spec issues
- name: only lowercase letters, digits and single hyphens allowed
- name: "Vincent - Credentials for agents" does not match folder "credentials"
Files (1)
- SKILL.md
SKILL.md (first lines)
# 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
| Type | Value format | Use case |
|---|---|---|
| `API_KEY` | Non-empty string | Third-party API keys |
| `SSH_KEY` | Non-empty string | SSH private keys |
| `OAUTH_TOKEN` | Non-empty string | OAuth access/refresh tokens |
| `CREDENTIALS` | JSON object with `password` or `secret` | Username/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:
```bash
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
```bash
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):
```bash
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`):
```bash
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.**
```bash
# 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:
```json
{
"written": "ACME_API_KEY",
"path": "/path/to/.env",
"type": "API_KEY"
}
```
**Flags:**From HeyVincent-ai/agent-skills, MIT.
More from HeyVincent-ai/agent-skills
- 0.456score
Vincent - Brave Search for agents
HeyVincent-ai
Web and news search powered by Brave Search.
SkillDFreshness: D★ 5Claude Code +9 - 0.456score
Vincent - Polymarket for agents
HeyVincent-ai
Polymarket prediction market trading for agents.
SkillDFreshness: D★ 5Claude Code +9 - 0.456score
Vincent - Twitter / X.com for agents
HeyVincent-ai
Twitter/X.com data access for agents.
SkillDFreshness: D★ 5Claude Code +9 - 0.456score
Vincent - A wallet for agents
HeyVincent-ai
The agent's wallet for EVM chain transactions and raw signing.
SkillDFreshness: D★ 5Claude Code +9 - 0.451score
Vincent - HyperLiquid for agents
HeyVincent-ai
Use this skill to create a HyperLiquid perpetuals and spot wallet for your agent.
SkillDFreshness: D★ 5Claude Code +9 - 0.447score
Vincent - Trading Engine for agents
HeyVincent-ai
Strategy-driven automated trading for Polymarket and HyperLiquid.
SkillDFreshness: D★ 5Claude Code +9
Signals
- Stars
- 5
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Mar 2, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/HeyVincent-ai/agent-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from HeyVincent-ai
- 0.456score
Vincent - Brave Search for agents
HeyVincent-ai
Web and news search powered by Brave Search.
SkillDFreshness: D★ 5Claude Code +9 - 0.456score
Vincent - Polymarket for agents
HeyVincent-ai
Polymarket prediction market trading for agents.
SkillDFreshness: D★ 5Claude Code +9 - 0.456score
Vincent - Twitter / X.com for agents
HeyVincent-ai
Twitter/X.com data access for agents.
SkillDFreshness: D★ 5Claude Code +9 - 0.456score
Vincent - A wallet for agents
HeyVincent-ai
The agent's wallet for EVM chain transactions and raw signing.
SkillDFreshness: D★ 5Claude Code +9 - 0.451score
Vincent - HyperLiquid for agents
HeyVincent-ai
Use this skill to create a HyperLiquid perpetuals and spot wallet for your agent.
SkillDFreshness: D★ 5Claude Code +9 - 0.447score
Vincent - Trading Engine for agents
HeyVincent-ai
Strategy-driven automated trading for Polymarket and HyperLiquid.
SkillDFreshness: D★ 5Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get Vincent - Credentials for agents running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
Vincent - Credentials for agents skill. Agent Mart. https://agentmart.dev/skills/heyvincent-ai-vincent-credentials-for-agents (last updated 2026-10-24)