SuperAPI AI Directory

run-claude

Agents & models

View repository

Updated 10-16 00:01

About this skill

Feature Overview

Send an assistance request to an external assistant through the MCP tool, asking it to complete complex programming tasks, task planning, article writing, music composition, and other tasks in a clean-context, runtime-isolated, independent environment.

Usage

Use the mcp__plugin_headless-knight_runCLI__claude tool to send a request to the assistant. The parameters that can be passed include:

  • prompt: string, the complete task description organized from the context, required parameter
  • systemPrompt: string, the system prompt organized from the context that the assistant needs to follow, used to constrain its behavior, optional
  • workDir: string, working directory, defaults to the current directory, optional
  • model: string, specifies which model to use, with values being one of "sonnet", "haiku", or "opus", optional, defaults to sonnet
  • env: object, custom environment variables, key-value pairs, optional

Model Selection

  • opus: suitable for analysis of complex materials, deep reasoning, or planning and decomposition of complex tasks, or writing professional documents that require extremely high accuracy such as legal documents
  • sonnet: suitable for complex programming tasks, writing articles (including novels, speeches, scripts, marketing copy, business documents, etc.), music composition, etc.
  • haiku: suitable for creative artistic work

Related Environment Variables

If not otherwise set, the configuration in the current conversation context is used automatically

  • ANTHROPIC_API_KEY: Claude Code's API_Key
  • HTTP_PROXY: HTTP proxy address
  • HTTPS_PROXY: HTTPS proxy address
  • ALL_PROXY: default proxy address
  • CODE_ENVCLAUDE_CODE_COMMAND: Claude command-line address or name (ensure the path is included in PATH), or ClaudeCodeRouter address or name (such as "ccr code")
  • NODE_ENV: environment parameter, such as "development"