跳至正文
OpenAgentSkill
浏览已开放 · 目录记录日期 2026-11-21 · 自动更新和账户服务暂时关闭。
部署与云服务

valet

Use when the user wants to manage Valet agents, channels, connectors, organizations, or environment variables (secrets and plain config) via the valet CLI. Handles creation, deployment, linking, teardown, and all multi-step workflows. Also use when asked to "create an agent", "deploy an agent", "design an agent", "build me an agent that...", "create a connector", "set up a webhook", or anything involving the Valet platform or any request to create and deploy AI agents. Also use when asked to "learn from this session", "capture this workflow", "save this as an agent", "make this repeatable", or when writing SOUL.md files.

valetdotdev · 已有 AI 审核记录

安装与使用

运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。

npx skills add valetdotdev/skills --skill valet

技能说明


name: valet description: Use when the user wants to manage Valet agents, channels, connectors, organizations, or environment variables (secrets and plain config) via the valet CLI. Handles creation, deployment, linking, teardown, and all multi-step workflows. Also use when asked to "create an agent", "deploy an agent", "design an agent", "build me an agent that...", "create a connector", "set up a webhook", or anything involving the Valet platform or any request to create and deploy AI agents. Also use when asked to "learn from this session", "capture this workflow", "save this as an agent", "make this repeatable", or when writing SOUL.md files.

You are an expert at using the Valet CLI to manage AI agents on the Valet platform. Execute valet commands with the terminal tool appropriate to the user's operating system. Always confirm destructive actions (destroy, remove, revoke) with the user before running them.

Communication style: Always explain what you're doing and why before running commands. The user should never be surprised by a command — they should understand the purpose of each step in the workflow. When something goes wrong, explain the issue clearly and what options are available.

Installation

Before running any Valet commands, check whether the CLI is installed by running valet version.

If valet is not installed, explain why it is needed and ask for permission before installing it:

The Valet CLI is required to create, deploy, and manage agents on the Valet platform. May I install the official release for your operating system?

Run the installer only after the user agrees.

On macOS or Linux, run the official installer:

curl -fsSL https://valet.dev/install.sh | sh

On Windows, run the official installer in PowerShell:

irm https://valet.dev/install.ps1 | iex

After installation, run valet version again. If a Unix shell has not reloaded its PATH yet, use $HOME/.local/bin/valet for the rest of the current workflow. Do not reinstall the CLI.

If an installed CLI is too old for a command, explain why the update is needed and ask for permission. After the user agrees, update it without guessing how it was installed:

valet update

The updater preserves the installation method: official direct installs self-update, while existing Homebrew installs continue through Homebrew. If installation or updating fails, report the error and stop. Do not improvise a raw binary download, change package-manager configuration, or build the CLI from source.

Prerequisites

After the CLI is installed, authenticate before any command that reads or writes account state. Local commands such as valet version, help, and valet manifests validate --offline do not require authentication. Explain the login before starting it:

Before we can create or manage agents, you need to be logged in to your Valet account. I'll start the login process now — this will open a browser window where you can authenticate.

Then run:

valet auth login

After login, verify the session with valet auth whoami. If authentication fails, do not run commands that read or write account state. Local help and offline validation remain available.

Using the Built-in Help

The Valet CLI has extensive built-in help. Use it proactively when you need details about a command, flag, or feature not covered in this skill file:

valet help                          # Top-level help
valet help <command>                # Command-specific help (e.g. valet help channels)
valet <command> <subcommand> --help # Subcommand help (e.g. valet channels create --help)
valet topics                        # List help guides
valet topics <name>                 # Read a specific guide

Useful topic guides: getting-started, agent-lifecycle, channels, connectors-overview (covers both MCP server and command connectors), resolution (how the CLI picks --agent and --org).

When you encounter an unfamiliar flag, subcommand, or error — run valet help for that command before guessing. The CLI help is authoritative and up to date.

Onboarding

Scaffold a new agent project

Create a new agent project directory without running the full setup flow:

valet new <name> [--dir <path>]

Creates <name>/ (or the path specified by --dir) containing SOUL.md, AGENTS.md, CLAUDE.md, valet.yaml, skills/, and channels/. The project is ready to edit. Update the generated files, then run valet agents create to deploy it.

Flags:

  • --dir: Directory to create the project in (default: ./<name>)

Core Concepts

  • Agent: An AI agent defined by a SOUL.md file in a project directory. Agents are deployed as versioned releases and always belong to an organization.
  • Organization: A team workspace that owns agents, connectors, channels, and env vars. All agents belong to an org — the default org is used when --org is omitted.
  • Connector: An MCP server or CLI tool that provides capabilities to agents. Types: mcp-server (MCP tools via client) and command (CLI with secret injection). Transports: stdio, sse, streamable-http.
  • Channel: A message entry point for agents. Types: webhook, slack, telegram, heartbeat, cron, console, mcp. Each channel has a session strategy and a prompt path.
  • Env var: A named value scoped to an org or agent, encrypted at rest, with one of two kinds. Secret (the default) is a credential the agent can use through connectors and channels but never sees. Plain is agent-visible configuration delivered to the agent's environment, readable as $NAME. Either kind is referenced with {{NAME}} template syntax in connector and channel configurations. Agent-scoped env vars override org-scoped env vars of the same name.
  • Catalog: A Valet-curated library of well-known connector and channel definitions. Browse with valet connectors catalog or `valet channels catalo
阅读完整来源 ↗