26 Unix tools. One binary. Zero dependencies. · the missing coreutils for AI pipelines · vrk mcp - expose all 26 tools to any AI agent · brew install vrk - ready in 5 seconds · 26 Unix tools. One binary. Zero dependencies. · the missing coreutils for AI pipelines · vrk mcp - expose all 26 tools to any AI agent · brew install vrk - ready in 5 seconds

Agent Endpoints

Machine-readable endpoints

vrksh publishes several endpoints designed for AI agents to consume programmatically. Each serves a different stage of agent integration: discovery (what tools exist), orientation (how to use them), and composition (how to combine them). All are plain text or structured data - no HTML parsing required.

EndpointFormatWhat it containsCLI equivalent
/manifest.jsonJSONTool registry - name and description for all 26 toolsvrk --manifest
/skills.mdmarkdownAll tools: flags, exit codes, gotchas, compose patternsvrk --skills
/skills/tok.mdmarkdownSingle tool reference (tok as example - one per tool)vrk --skills tok
/agents.mdmarkdownAgent orientation, MCP config, anti-patterns-
/llms.txtplain textLLM discovery convention, categorised tool index-
/recipes.yamlYAMLCompose patterns as structured data-

CLI equivalents

Every discovery endpoint has a CLI counterpart. Agents with shell access should prefer the CLI - it works offline and returns the same content.

# Full tool registry (JSON)
vrk --manifest           # same as: curl -s vrk.sh/manifest.json

# Complete skills reference (all tools)
vrk --skills             # same as: curl -s vrk.sh/skills.md

# Single tool reference (lower token cost)
vrk --skills tok         # same as: curl -s vrk.sh/skills/tok.md
vrk --skills prompt      # same as: curl -s vrk.sh/skills/prompt.md

Adding vrksh to your agent’s context

Drop this into your agent’s CLAUDE.md (or equivalent system prompt file) to give it access to vrksh tools:

## vrksh - Unix tools for AI pipelines

vrksh is installed as `vrk`. Use it for token counting, URL fetching,
secret masking, structured logging, and LLM prompting in shell pipelines.

For tool discovery:
- `vrk --manifest` lists all tools (JSON)
- `vrk --skills <tool>` shows flags, exit codes, and examples for one tool
- `vrk --skills` shows the full reference

Key patterns:
- Always `vrk tok --check N` before `vrk prompt` to gate context windows
- Always `vrk validate --schema` after `vrk prompt --schema` to verify output
- Use `vrk mask` before logging to redact secrets
- Pipeline order: input -> transform -> guard -> execute -> store

MCP integration

For agents that support Model Context Protocol, vrksh includes a discovery-only MCP server. See the MCP page for setup.

{
  "mcpServers": {
    "vrksh": {
      "command": "vrk",
      "args": ["mcp"]
    }
  }
}