---
name: running-external-api-workflows-through-terminal-commands
description: "Executes external API actions through terminal commands by discovering available service operations and parameter requirements on demand. Use when a person asks to query or modify a remote service without loading full API specifications into context."
license: CC-BY-4.0
compatibility: "Needs access to: Terminal."
metadata:
  author: "BotBento Editorial"
  version: "2026-10-16"
  source: "https://botbento.com/usecases/running-external-api-workflows-through-terminal-commands/"
  kind: skill
  hermes:
    tags: ["api", "cli", "terminal", "automation"]
    category: coding
    requires_toolsets: ["terminal"]
---
# Running external API workflows through terminal commands

Inspect endpoint definitions on demand to execute service actions without overloading context

## When to use

Query external web services and endpoints directly through terminal commands. The bot searches available service operations on demand, retrieves specific parameter requirements only when needed, and executes API actions without loading bulky service specifications into prompt context upfront.

## Inputs

- `service_request`: Plain-language description of the external service action the person wants performed.
- `target_service` (optional): Name of the external service or API endpoint the request applies to, if known.

## Steps

1. When you ask: Receive service automation request (A person asks the bot to perform an action against an external web service or API endpoint.)
2. Discover parameters and prepare request
3. Display API response and status summary

## Instructions

When tasked with interacting with an external service, query the command line to discover available actions rather than loading entire schema catalogs. Review parameter flags before invoking commands. Whenever a command creates, modifies, or deletes remote records, present the command preview to the user and wait for confirmation before running it.

## Approvals

- Present the command preview and wait for user confirmation before running any command that creates remote records.
- Present the command preview and wait for user confirmation before running any command that modifies remote records.
- Present the command preview and wait for user confirmation before running any command that deletes remote records.

## Output

Displays the API response and a status summary in the chat. (format: chat_message)

## Source

Summarized in our own words from [Show HN: Mcp2cli – One CLI for every API, 96-99% fewer tokens than native MCP](https://news.ycombinator.com/item?id=47305149) (Hacker News, checked 2026-10-15). Any results described there are the authors’ own.

From the BotBento use-case directory: https://botbento.com/usecases/running-external-api-workflows-through-terminal-commands/. Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
