Agents Machine

Skills

Reusable AI tools with secure secret injection.

Skills are reusable, named AI tools that can be invoked on demand. Unlike agents (which are personas), skills are task-specific tools that produce structured output with automatic secret injection.

Creating Skills

FieldDescriptionExample
nameUnique identifiercode-reviewer
descriptionOne-line summary"Review code for quality and security"
instructionsFull system promptMarkdown with role, rules, output format
FieldDescription
tagsFiltering tags (e.g., security, review)
modelLLM model override
agentAgent whose prompt is prepended
requiresEnvRequired environment variables
envMappingMap runtime vars to vault secrets
requiresBinsRequired binaries on PATH

Example

Create skill "pr-summary":
  Description: Generate a pull request summary from a diff
  Instructions:
    You analyze git diffs and generate concise PR summaries.
    Output format:
    1. Title (max 72 chars)
    2. Summary (2-3 sentences)
    3. Changes list (bullet points)
    4. Testing notes

Secret Injection

Skills can securely access vault secrets at runtime via environment mapping:

Create skill "deploy-notify":
  Required env: SLACK_WEBHOOK_URL
  Env mapping: SLACK_WEBHOOK_URL → SLACK_DEPLOY_WEBHOOK
  Instructions: Send deployment notifications to Slack
    using process.env.SLACK_WEBHOOK_URL

At runtime, the vault decrypts the secret and injects it as an environment variable. Secrets are never exposed in logs or responses.

Testing

Test in Sandbox ``` Test skill with instructions: "You are a commit

message generator..." Message: "Added user authentication with JWT" ``` Testing runs in isolation — nothing is saved.

Invoking Skills

💬 Chat

"Invoke the code-reviewer skill on the auth middleware module."

🔌 IDE (MCP)

The invoke_skill tool is available in your IDE's AI context.

🤖 Agents

Agents can call skills during execution for specialized sub-tasks.

🔄 Pipelines

Skills can be nodes in automation pipelines (e.g., PR review → summary → comment).

Management

ActionMCP Tool
List alllist_skills
View detailsget_skill
Updateupdate_skill
Deletedelete_skill
Reload from diskreload_skills

On this page