Skip to main content
AI coding agents work best when they understand your systems, APIs, and tools. The superglue CLI ships with a skill — a structured reference that teaches agents how to use every sg command, handle auth, build tools, and debug failures. Install once, works across 35+ agents.

Installing the CLI

Setup

Interactive setup:
Prompts for your API key (get one at app.superglue.cloud/admin), endpoint, and output preferences. Environment variables (CI, AI agents, non-interactive):
Verify: sg system list — if you see fetch failed or auth errors, double-check your API key and endpoint.

Installing the Skill

The skill gives your AI agent full CLI knowledge — commands, auth patterns, tool schemas, debugging, and deployment. Install once and the agent references it automatically.

Universal Install (all agents)

Auto-detects your installed agents. Target a specific agent with -g -a <agent>:

Agent-Specific Install

From the Anthropic marketplace:
Or load from local install:

What the Skill Provides

  • All CLI commands with flags, options, and usage patterns
  • Authentication patterns — credential placeholders, OAuth flows, header formats
  • Tool configuration schema — step configs, data selectors, transforms, pagination
  • Debugging workflows — common errors, --include-step-results, sg system call for isolation
  • Deployment patterns — SDK, REST API, webhooks (via references/integration.md)
  • Specialized references for databases, file servers, and transforms (loaded on demand)

Adding Project-Specific Context

The skill teaches the AI how to use superglue. Add a section to your project’s AI config file (CLAUDE.md, AGENTS.md, or .cursorrules) so it knows to use the skill and discover your setup dynamically:

Best Practices

Always test systems before building tools

Have the agent run sg system call to verify auth and see the actual response shape before constructing a tool config:

Use --include-step-results when debugging

Shows the raw API response from each step — pinpoints whether the issue is auth, the endpoint, or a transform:

Never paste secrets into chat

Use --sensitive-credentials when creating systems via the CLI so secrets are prompted securely:

LLM-Readable Documentation

For agents that don’t support skills, we provide full docs in LLM-friendly formats: If your tool can fetch URLs — give it the URL. If it requires file uploads — download llms-full.txt and upload directly.

Support & Resources