Skills Source: skills/README.md

Tote skills

On this page (7 sections)

skills/tote/ is one skill shared by Claude Code, Codex CLI and Gemini CLI. It follows the Agent Skills format (https://agentskills.io/specification) and uses only its six fields: name, description, license, compatibility, metadata and allowed-tools. Host-only settings live in sidecars, never in SKILL.md (docs/research/R-09-hosts.md, Implications 1 and 5). Hermes and OpenClaw copies live in integrations/hermes and integrations/openclaw.

skills/tote/
  SKILL.md              instructions for the host agent
  agents/openai.yaml    Codex only: the Tote MCP server as a tool dependency

The skill tells the host agent to run the tote CLI from your Tote checkout, or to use the Tote MCP server when it is connected. It never pays and never asks for card data.

Install

Run these from the root of your Tote checkout. They copy the skill folder into the host's skill directory. The folder name must stay tote, because name must match it. Paths are from docs/research/R-09-hosts.md, Implication 2 (host docs fetched 2026-11-20).

Claude Code

Project skill (this repository only), or personal skill (every project):

mkdir -p .claude/skills && cp -R skills/tote .claude/skills/
mkdir -p ~/.claude/skills && cp -R skills/tote ~/.claude/skills/

Source: https://code.claude.com/docs/en/skills. agents/openai.yaml is ignored there.

Codex CLI

Repository skill, or user skill:

mkdir -p .agents/skills && cp -R skills/tote .agents/skills/
mkdir -p "$HOME/.agents/skills" && cp -R skills/tote "$HOME/.agents/skills/"

Source: https://developers.openai.com/codex/skills. Codex reads agents/openai.yaml, which names the Tote MCP server at http://127.0.0.1:8765/mcp as a dependency. Start that server with node packages/mcp/bin/tote-mcp.js --http --port 8765, or remove the file if you use only the CLI. Restart Codex after adding a skill.

Gemini CLI

Workspace skill (the folder must be trusted with /trust, then restart), or user skill:

mkdir -p .gemini/skills && cp -R skills/tote .gemini/skills/
mkdir -p ~/.gemini/skills && cp -R skills/tote ~/.gemini/skills/

Source: https://geminicli.com/docs/cli/skills/. Within one tier .agents/skills/ wins over .gemini/skills/, so the Codex copy above is also seen by Gemini CLI in the same place. Gemini CLI asks before activating the skill.

MCP server (optional)

To give the host the Tote tools directly, add the Tote MCP server as shown in packages/mcp/README.md (section "Adding the server to a host"). The skill works without it through the CLI.

Configuration

The skill reads no secrets. Tote reads its settings from the .env file at the root of your Tote checkout (see packages/cli/README.md, section Configuration). Names only:

VariableNeeded for
TOTE_HOMESet in your shell, not in .env: the path of your Tote checkout. The skill runs node "$TOTE_HOME/packages/cli/bin/tote.js".
TOTE_AGENT_PROFILE_URLEvery catalog, cart and checkout call.
SHOPIFY_CLIENT_ID, SHOPIFY_CLIENT_SECRETToken tier, needed for checkout. Both or neither.
TOTE_BUYER_IPCart and checkout calls at the Token tier: your own public IP address.
TOTE_MODEL and the provider key (ANTHROPIC_API_KEY, OPENAI_API_KEY, GOOGLE_API_KEY with GOOGLE_API_TIER, or OPENROUTER_API_KEY)tote ask. Not needed for the MCP server, where the host's own model runs the tools.
TOTE_SHIPS_TOOptional default delivery country for tote ask.

Never paste a secret into a chat with the host agent. Edit .env yourself.

Checks

pnpm test:skills (also part of pnpm test) validates skills/tote/SKILL.md with skills/validate.mjs:

  • frontmatter on line 1, only the six fields
  • name matching the folder: 1 to 64 lowercase letters, digits and single hyphens
  • description on one line, under 160 characters
  • compatibility at most 500 characters, and metadata a map of strings
  • a body under 200 lines
  • the safety instructions present
  • agents/openai.yaml with a loopback MCP URL

The validator reads a small YAML subset (key: value lines and one level of metadata) and refuses anything else, so the file stays simple for every host.