agentclash-cli-setup
Use when configuring the AgentClash CLI, authenticating with device login or tokens, selecting a workspace, saving default config with link, creating project…
от agentclash★ 38 звёзд на GitHub
Установить agentclash-cli-setup в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
AgentClash CLI Setup
Purpose
Configure an AgentClash CLI session that can reach the intended backend, authenticate safely, resolve the right workspace, and pass agentclash doctor before a user starts authoring packs or running evals.
Use When
- A user asks to install, authenticate, verify, or repair AgentClash CLI access.
- A coding agent needs AgentClash access but does not have the AgentClash source repo.
- A user needs to switch workspaces, save a default workspace, or create project-local
.agentclash.yamlconfig. - A CLI command fails because API URL, token, organization, workspace, or saved config precedence is unclear.
- CI needs a non-interactive setup path with
AGENTCLASH_TOKEN.
Do Not Use When
- The CLI is already configured and the task is to run an eval or inspect a scorecard.
- The user needs to author challenge pack YAML; use
agentclash-challenge-pack-yaml-authorafter setup passes. - The user is making a release decision or CI gate from completed runs; use
agentclash-ci-release-gate. - The task requires changing AgentClash CLI source code rather than using the CLI.
Inputs Needed
- Backend target: hosted production, local development, or self-hosted.
- Whether the CLI is installed as
agentclashor run from source withgo run .insidecli/. - Whether browser/device login is acceptable, or whether
AGENTCLASH_TOKENmust be used. - Organization ID if
workspace listcannot infer one from saved config. - Workspace ID, workspace slug/name, or permission to choose one interactively with
agentclash link. - Whether the command should mutate saved user config under
~/.config/agentclash/config.yaml. - Whether the current repository should get project-local
.agentclash.yamlconfig withagentclash init.
Environment
Use hosted production by default:
export AGENTCLASH_API_URL="https://api.agentclash.dev"
Use a local backend only when the user is explicitly running the API server locally:
export AGENTCLASH_API_URL="http://localhost:8080"
For CI or other non-interactive shells, provide a token through the environment instead of running browser login:
export AGENTCLASH_TOKEN="<token>"
export AGENTCLASH_WORKSPACE="<workspace-id>"
Do not print token values in chat, logs, docs, or committed files.
Config And Precedence
API URL resolution:
--api-url > AGENTCLASH_API_URL > saved user config > default
The source-build default is http://localhost:8080. Released CLI builds stamp the production default at release time, but skills should still set AGENTCLASH_API_URL="https://api.agentclash.dev" explicitly for hosted workflows so copied commands behave the same in source and released builds.
Workspace resolution:
--workspace / -w > AGENTCLASH_WORKSPACE > project .agentclash.yaml > saved user config
Organization resolution for commands that need an org:
AGENTCLASH_ORG > project .agentclash.yaml > saved user config
Auth token resolution:
AGENTCLASH_TOKEN > stored CLI credentials
Saved user config lives at:
~/.config/agentclash/config.yaml
Project-local config lives in .agentclash.yaml and is discovered by walking up from the current directory. It can store workspace_id and org_id.
Procedure
- Choose the backend. For normal hosted work, export
AGENTCLASH_API_URL="https://api.agentclash.dev"first. - Verify the CLI is callable with
agentclash versionor, from the repocli/directory,go run . version. - Authenticate. Prefer
agentclash auth login --devicefor remote shells; useAGENTCLASH_TOKENfor CI. - Check the authenticated identity with
agentclash auth status. - Select a workspace with
agentclash linkfor the guided flow, oragentclash workspace use <workspace-id>when the ID is already known. Both commands write saved user config. - If this repository should carry its own workspace binding, run
agentclash init --workspace-id <workspace-id> --org-id <organization-id>from the project root. - Run
agentclash doctorto verify install, auth, workspace, challenge-pack visibility, deployment visibility, and baseline readiness. - Report the effective backend, auth state, workspace, doctor result, and the next command the user should run.
Commands
Hosted production, interactive setup:
export AGENTCLASH_API_URL="https://api.agentclash.dev"
agentclash version
agentclash auth login --device
agentclash auth status
agentclash link
agentclash doctor
Hosted production when the workspace ID is already known:
export AGENTCLASH_API_URL="https://api.agentclash.dev"
agentclash auth login --device
agentclash workspace use <workspace-id>
agentclash doctor
Workspace discovery when an organization must be explicit:
export AGENTCLASH_API_URL="https://api.agentclash.dev"
agentclash workspace list --org <organization-id>
agentclash workspace get <workspace-id>
agentclash workspace use <workspace-id>
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл agentclash-cli-setup?
Use when configuring the AgentClash CLI, authenticating with device login or tokens, selecting a workspace, saving default config with link, creating project config with init, resolving API URL precedence, or diagnosing CLI access against production, local, or self-hosted backends.
Как установить скилл agentclash-cli-setup?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл agentclash-cli-setup запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…