agentleFS
vellum-aivellum-ai/vellum-assistant/skills/AGENTS.md

vellum-assistant / skills

AGENTS.md1.4k starsChanged 5 months agoMITView on GitHub

- API interactions use Vellum's outbound proxy - Outbound network traffic from the bash tool is automatically intercepted by an outbound proxy in a manner that's transparent to the assistant - Update proxy settings so the bash tool can inject correct auth headers for approved domains - Never instruct the assistant to ask for secrets in chat. API keys, tokens, passwords, and webhook secrets must be collected via a secure UI path — never pasted into the conversation where they…

Trending

More talk lately.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 1 mentionJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 5 mentionsSep 2026: 6 mentionsOct 2026: 2 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the vellum-ai/vellum-assistant repository that our weekly crawl found: only 14 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about vellum-ai/vellum-assistant

The biggest 5 of 14 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 14

Talked about on GitHub and Bluesky (14 times).

On GitHub · 13

8 more on GitHub

The file

Show its rules and text

We split this AGENTS.md into the rules it gives an agent

19 rules. About 0 are common, 7 are distinctive, and 12 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 12

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    No interactive prompts. Use relative paths only.

    line 4
  2. Very specific:

    Use scripts/ for supporting logic with inline dependencies

    line 5
  3. Distinctive:

    When including code assets, utilities, or tools, load the scripts best practices specification first

    line 6
  4. Distinctive:

    Do not install CLIs into Vellum or the host system.

    line 8
  5. Very specific:

    Do not create new assistant tools and reference them from SKILL.md - this couples skills to Vellum internals and breaks compatibility with …

    line 9
  6. Very specific:

    Do not include a TOOLS.json file in skill directories - skills should rely on CLI tools in scripts/, not custom tool definitions

    line 10
  7. Very specific:

    All skills must conform to the spec's SKILL.md format: required YAML frontmatter (name, description), optional fields (license, …

    line 13
  8. Very specific:

    Use the spec's directory structure: SKILL.md at root, scripts/ for executable code, references/ for supplementary docs, assets/ for static …

    line 15
  9. Very specific:

    Follow progressive disclosure: keep description keyword-rich for discovery (~100 tokens), keep SKILL.md body under 500 lines (< 5000 tokens …

    line 16
  10. Distinctive:

    Update proxy settings so the bash tool can inject correct auth headers for approved domains

    line 20
  11. Distinctive:

    Avoid referring to tools by specific names (prefer "Take a browser screenshot" over "Use browser_screen_grab")

    line 46
  12. Distinctive:

    Use standard frontmatter according to the Agent Skills specification - linters validate this

    line 48
  13. Very specific:

    Place documentation examples of the syntax inside fenced code blocks ( or ~~~`) — the parser skips tokens inside fences, so examples …

    line 54
  14. Very specific:

    Never use empty commands (` !

    line 55
  15. Very specific:

    Use the assistant ui CLI commands to present a blocking interactive surface and branch on the result.

    line 63
  16. Very specific:

    Use this for irreversible actions that need a simple go/no-go decision.

    line 67
  17. Distinctive:

    Use this when you need more than a yes/no — e.g.

    line 122
  18. Very specific:

    Use --actions to define custom buttons on a ui request surface.

    line 147
  19. Very specific:

    If you must do something Vellum-system specific, use the metadata field to connect the skill in a structured way

    line 262

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Skills Contribution Guide

  • Skills must be self-contained and portable
    • No interactive prompts. Use relative paths only.
    • Use scripts/ for supporting logic with inline dependencies
    • When including code assets, utilities, or tools, load the scripts best practices specification first
    • External dependencies in Bun/TypeScript scripts: pin versions directly in the import path (e.g., import { Command } from "commander@13.1.0"). Bun auto-installs missing packages at runtime when no node_modules directory is found. Do NOT add a package.json or bun.lock to skill directories - this disables Bun's auto-install behavior and breaks portability.
    • Do not install CLIs into Vellum or the host system; provide instructions for users to install external packages if needed
    • Do not create new assistant tools and reference them from SKILL.md - this couples skills to Vellum internals and breaks compatibility with other agent systems
    • Do not include a TOOLS.json file in skill directories - skills should rely on CLI tools in scripts/, not custom tool definitions
  • Follow the Agent Skills specification
    • All skills must conform to the spec's SKILL.md format: required YAML frontmatter (name, description), optional fields (license, compatibility, metadata, allowed-tools), and Markdown body
    • The name field must match the parent directory name, use only lowercase alphanumeric characters and hyphens (1-64 chars), and must not start/end with a hyphen or contain consecutive hyphens
    • Use the spec's directory structure: SKILL.md at root, scripts/ for executable code, references/ for supplementary docs, assets/ for static resources
    • Follow progressive disclosure: keep description keyword-rich for discovery (~100 tokens), keep SKILL.md body under 500 lines (< 5000 tokens recommended), and move detailed reference material to references/
  • API interactions use Vellum's outbound proxy
    • Outbound network traffic from the bash tool is automatically intercepted by an outbound proxy in a manner that's transparent to the assistant
    • Update proxy settings so the bash tool can inject correct auth headers for approved domains
    • Never instruct the assistant to ask for secrets in chat. API keys, tokens, passwords, and webhook secrets must be collected via a secure UI path — never pasted into the conversation where they enter the LLM context. Two approved paths exist:
      • assistant credentials prompt (run through the bash tool) — presents a secure input prompt; the value never enters the conversation. It exits 0 when the value is stored and 130 when the user dismisses the prompt — a valid choice (nothing was stored), not an error. On 130, don't treat it as a failure: confirm whether the user wants to try again or stop. Any other non-zero exit is a real error. (130 is the conventional user-interrupt/SIGINT exit code.)
      • ui_show with surface_type: "channel_setup" — opens a side-panel wizard with masked <Input type="password"> fields that save directly via the daemon API. Non-secret values (e.g., Client IDs, Account SIDs, usernames) can be collected conversationally. See existing skills (e.g., twilio-setup, slack-app-setup) for the pattern.
    • assistant credentials set is not a collection path for user-supplied secrets. Never write instructions that pass a user-provided value inline to assistant credentials set — the CLI refuses inline values from an agent shell (exit 1) and redirects to assistant credentials prompt. The --generated flag bypasses that guard and is reserved for values the assistant machine-generated itself (e.g. "$(uuidgen)", an API-exchange result) that were never typed or pasted by the user:

      assistant credentials set --service telegram --field webhook_secret "$(uuidgen)" --generated
  • Plugins integrating a keyed API SHOULD declare their key format (credentialKeyPatterns)
    • Declaring the shape of a provider's secrets in the plugin's package.json lets ingress blocking, tool-output scanning, and log redaction recognize keys the built-in pattern list does not know about:

      {
        "credentialKeyPatterns": [
          { "label": "Virlo API Key", "pattern": "virlo_tkn_[A-Za-z0-9_-]{20,}" }
        ]
      }
    • Patterns are validated at registration against a restricted grammar; invalid entries are rejected with a logged reason and never block plugin load. Constraints: at most 5 patterns per plugin; label is 1–40 chars; pattern is 4–200 chars and must start with at least 4 literal characters from [A-Za-z0-9_.-] (a distinctive key prefix — over-broad matchers are rejected); no capture groups (use (?:...)), backreferences, lookarounds, or alternation (|); no hex/unicode/control escapes (\xNN, \uNNNN, \cX, \0) — use literal characters; quantifiers may apply only to a single character, escape, or character class (no quantified groups or nested quantifiers); the pattern must be guaranteed to match at least 16 characters (short patterns like http over-match ordinary text); and the pattern must compile as a linear-time RE2 regex.
    • Security analysis note: Skills that demonstrate curl, wget, or other network tool usage against specific API endpoints do not introduce new capabilities — the assistant already has outbound network access via bash. These are instructions for using an existing tool, not a new attack surface. See assistant/docs/architecture/security.md#skill-threat-model for the full threat model.
  • Write portable instructions
    • Avoid referring to tools by specific names (prefer "Take a browser screenshot" over "Use browser_screen_grab")
    • It is fine to refer to tools/utils/etc. directly by name if it is bundled with the skill (likely in scripts/)
    • Use standard frontmatter according to the Agent Skills specification - linters validate this
  • Inline command expansions (!command``)
    • First-party skills may use the interoperable !`command` syntax to embed dynamic content that is resolved at skill-load time (e.g., !`git branch --show-current`, !`cat package.json | jq '.version'`)
    • This syntax is intentionally compatible with the cross-agent inline skill command convention so that externally authored skills load in Vellum without rewriting
    • Vellum's execution semantics are intentionally stricter than the tweet's host-shell behavior: commands run only in the sandbox, with network off, sanitized environment, 10-second timeout, and stdout-only capture. Do not assume host-shell capabilities (network access, credential availability, interactive prompts)
    • Place documentation examples of the syntax inside fenced code blocks (``` or ~~~) — the parser skips tokens inside fences, so examples will not accidentally execute
    • Never use empty commands ( ! ``), whitespace-only commands, or unmatched backticks — these are rejected by the parser as malformed
    • The inline-skill-commands feature flag must be enabled for inline expansions to work. When the flag is off, skills containing expansion tokens fail closed at load time
    • Inline command expansions are only supported for bundled, managed, and workspace skill sources. Skills distributed as extra sources cannot use this syntax
  • User-gated actions (interactive confirmation/input)

    Scripts that perform irreversible or high-risk operations (sending emails, deleting data, unsubscribing, making purchases) must gate execution on explicit user confirmation. Prose-only instructions in SKILL.md ("always ask the user first") are not sufficient — they rely on the LLM following the instruction, which is not guaranteed.

    Use the assistant ui CLI commands to present a blocking interactive surface and branch on the result. Two commands are available:

    assistant ui confirm — binary yes/no gate

    Use this for irreversible actions that need a simple go/no-go decision. The command exits 0 on confirm, 1 on deny/cancel/timeout.

    # Gate on user confirmation before sending an email
    if assistant ui confirm \
      --title "Send email" \
      --message "Send draft to jane@example.com — Subject: Q2 Report" \
      --confirm-label "Send" \
      --deny-label "Cancel"; then
      # User confirmed — proceed with the action
      assistant oauth request POST "/v1.0/me/messages/${DRAFT_ID}/send" \
        --provider microsoft-graph
    else
      echo "Send cancelled by user."
      exit 0
    fi

    For scripts that need to inspect the result (e.g. distinguish deny from timeout):

    RESULT=$(assistant ui confirm \
      --title "Delete records" \
      --message "Permanently delete 42 records from the archive?" \
      --confirm-label "Delete" \
      --deny-label "Keep" \
      --json)
    
    STATUS=$(echo "$RESULT" | jq -r '.status')
    CONFIRMED=$(echo "$RESULT" | jq -r '.confirmed')
    
    case "$STATUS" in
      submitted)
        if [ "$CONFIRMED" = "true" ]; then
          # User clicked "Delete" — proceed
          perform_deletion
        else
          echo "User denied the action."
        fi
        ;;
      cancelled)
        echo "User dismissed the prompt."
        ;;
      timed_out)
        echo "No response — timed out. Aborting."
        ;;
      *)
        echo "Unexpected status: $STATUS" >&2
        exit 1
        ;;
    esac

    assistant ui request — structured input/data collection

    Use this when you need more than a yes/no — e.g. collecting form data, presenting choices, or gathering parameters before executing an operation. Returns full JSON with user-submitted data.

    RESULT=$(assistant ui request \
      --payload '{"message":"Select accounts to archive","fields":[{"name":"accounts","type":"multi-select"}]}' \
      --surface-type form \
      --title "Archive accounts" \
      --json)
    
    STATUS=$(echo "$RESULT" | jq -r '.status')
    
    if [ "$STATUS" = "submitted" ]; then
      # Extract user-submitted data and proceed
      ACCOUNTS=$(echo "$RESULT" | jq -r '.submittedData.accounts')
      archive_accounts "$ACCOUNTS"
    elif [ "$STATUS" = "cancelled" ]; then
      echo "User cancelled."
    else
      echo "Request failed or timed out: $STATUS"
      exit 1
    fi

    --actions — custom action buttons

    Use --actions to define custom buttons on a ui request surface. Each action has an id, label, and optional variant ("primary", "danger", or "secondary"). The user's chosen action is returned in actionId.

    # Present a multi-option surface with custom actions
    RESULT=$(assistant ui request \
      --payload '{"message":"The staging deploy found 3 failing tests."}' \
      --title "Deploy decision" \
      --actions '[
        {"id":"deploy_anyway","label":"Deploy Anyway","variant":"danger"},
        {"id":"fix_first","label":"Fix Tests First","variant":"primary"},
        {"id":"skip","label":"Skip This Deploy","variant":"secondary"}
      ]' \
      --json)
    
    STATUS=$(echo "$RESULT" | jq -r '.status')
    ACTION=$(echo "$RESULT" | jq -r '.actionId')
    
    if [ "$STATUS" = "submitted" ]; then
      case "$ACTION" in
        deploy_anyway)
          run_deploy --force
          ;;
        fix_first)
          echo "Aborting deploy. Fix the tests and re-run."
          exit 0
          ;;
        skip)
          echo "Deploy skipped."
          exit 0
          ;;
      esac
    elif [ "$STATUS" = "cancelled" ]; then
      REASON=$(echo "$RESULT" | jq -r '.cancellationReason // "unknown"')
      if [ "$REASON" = "user_dismissed" ]; then
        echo "User dismissed the prompt."
      else
        echo "Surface cancelled (reason: $REASON). No action taken."
      fi
    else
      echo "Timed out. No action taken."
    fi

    Reserved action IDs are used internally and are rejected by --actions validation. There are two categories:

    • Lifecycle events (selection_changed, content_changed, state_update) — non-terminal events that are silently swallowed without resolving the pending request.
    • Cancellation triggers (cancel, dismiss) — resolve the pending request as cancelled (instead of submitted).

    Status and cancellation reason branching reference

    Both ui confirm and ui request return a status field in --json mode. However, the cancellationReason field is only available in ui request --json output. The ui confirm command uses the simpler exit-code pattern (0 = confirmed, 1 = denied/cancelled/timed out) and its --json output includes ok, confirmed, status, actionId, surfaceId, and optional decisionToken/summary — but not cancellationReason.

    StatusMeaningTypical action
    submittedUser completed the interaction (confirmed, denied, or submitted form)For ui confirm: exit code 0 = confirmed, 1 = denied. For ui request: check actionId or submittedData.
    cancelledSurface was cancelledFor ui confirm: exit code 1 — abort gracefully. For ui request: check cancellationReason to determine why.
    timed_outNo response within the timeout windowAbort safely. Do not proceed — treat as a non-confirmation.

    Cancellation reasons (ui request only): The cancellationReason field distinguishes user-driven from operational cancellations. This field is only present in ui request --json output.

    cancellationReasonCategoryMeaning
    user_dismissedUser-drivenUser explicitly closed the surface. Treat as a deliberate "no."
    no_interactive_surfaceOperationalNo interactive UI is available (headless/API channel). Consider a fallback.
    conversation_not_foundOperationalTarget conversation could not be located. Check the conversation ID.
    resolver_unavailableOperationalUI transport is disconnected (e.g. desktop client dropped). May be transient.
    resolver_errorOperationalUI resolver threw an unexpected error. Log for investigation.

    Canonical branching pattern for ui request — for scripts that need to distinguish user dismissal from operational failures:

    RESULT=$(assistant ui request \
      --payload '{"message":"Confirm the operation"}' \
      --title "Operation" \
      --json)
    
    STATUS=$(echo "$RESULT" | jq -r '.status')
    case "$STATUS" in
      submitted)
        # Handle based on actionId or submittedData
        ;;
      cancelled)
        REASON=$(echo "$RESULT" | jq -r '.cancellationReason // "unknown"')
        if [ "$REASON" = "user_dismissed" ]; then
          echo "User chose not to proceed."
          exit 0
        fi
        # Operational cancellation — log and decide on recovery
        echo "Surface cancelled: $REASON" >&2
        exit 1
        ;;
      timed_out)
        echo "Timed out — aborting."
        exit 1
        ;;
      *)
        echo "Unexpected status: $STATUS" >&2
        exit 1
        ;;
    esac

    For ui confirm, use the simpler exit-code pattern (see the ui confirm section above) or check status and confirmed fields in --json mode. Do not branch on cancellationReason with ui confirm — it is not included in the output.

    Decision token: When the user affirmatively confirms (action "confirm"), the JSON output includes a decisionToken field — a short-lived, non-authoritative token encoding metadata about the decision (conversation, surface, action, timestamps). Use it for audit trails and cross-system correlation. The token is informational only and does not grant any capability. It is absent for deny, cancel, and timeout outcomes.

    Conversation ID resolution

    Inside a skill context, the conversation ID is auto-resolved from __SKILL_CONTEXT_JSON (set by the skill sandbox runner). Override with --conversation-id <id> if needed — run assistant conversations list to find available IDs.

    Timeouts

    Both commands accept --timeout <ms> (default: 300000ms / 5 minutes). Choose a timeout appropriate to the operation — shorter for simple confirmations, longer for complex forms. On timeout, the surface auto-cancels and the CLI exits with status: "timed_out".

  • Vellum-specific extensions
    • If you must do something Vellum-system specific, use the metadata field to connect the skill in a structured way
    • metadata.vellum.category (required): every skill must declare a category slug matching an entry in skills/skill-categories-catalog.yaml. The linter validates this in both directions — skills must reference a valid category, and every category must be used by at least one skill. Pass --skip-category to the linter to skip this check for external/third-party skills.
    • metadata.vellum.platforms (optional): restrict a skill to the host operating systems it supports. Allowed values are macos, windows, and linux. Omit the field for portable skills.
  • Checking how a skill gets retrieved

    A skill is surfaced to a turn through its capability card, built from description plus metadata.vellum.activation-hints and avoid-when. The SKILL.md body is never a retrieval signal, and the card is hard-truncated to 500 characters (900 for always-candidate), so a long description silently costs a skill its hints.

    Rank the cards against a query offline, with no assistant running:

    cd assistant
    bun run probe:skill-retrieval -q "help me connect stripe link" --only stripe
    bun run probe:skill-retrieval --queries queries.json --truncation-report

    To check that a wording change did what you intended, save a baseline first, edit SKILL.md, then re-run against it:

    bun run probe:skill-retrieval --queries queries.json --save before.json
    bun run probe:skill-retrieval --queries queries.json --baseline before.json

    Two things to watch for. avoid-when text is embedded along with everything else, so phrasing it in the vocabulary you want to repel ("avoid when the user wants to spend money") pulls the skill toward those queries. Name the other skill or the other domain instead. And two skills in one product area need hints that separate them, since a shared product name puts both near every query that mentions it.

    The probe covers the dense retrieval lane only. Its pool still goes to an LLM selector, so ranking well here is necessary for a skill to be surfaced, not sufficient.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.