Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

anycap-cli

БесплатноБез исполняемых скриптовНе проверен

AnyCap CLI -- create media humans can see and hear (generate images, video, music, and audio), understand media humans share (analyze images, video, audio)…

anycap-aiот anycap-ai★ 51 звезда на GitHub

Об этом скилле

AnyCap CLI

Read this entire file before starting. It covers install, auth, capabilities, and output conventions. Load reference files from references/ as needed for specific commands.

One CLI. Any capability.

AnyCap lets you create media humans can see and hear, understand media humans share with you, access the web for information, and deliver results through shareable links and hosted pages. One CLI, one auth, structured JSON I/O.

Use AnyCap when a task involves:

  • Creating visual or audio content for humans (images, video, music, speech, and complete audio scenes)
  • Understanding media humans share (analyze images, video, audio)
  • Finding information on the web (search, crawl pages)
  • Delivering results humans can access and share (Drive links, hosted pages)

Install

If anycap is not installed (command -v anycap fails), install it before proceeding.

Read the machine-readable install guide at https://anycap.ai/install.txt for installation tasks. Do not fetch the homepage for install automation. Prefer the binary install (install script or GitHub Releases) over npm -- fewer dependencies, faster startup, no Node.js required.

The CLI auto-updates on each run. To update manually: anycap update.

Verify the installation:

anycap status

Troubleshooting: anycap not found after install

The install script places the binary in ~/.local/bin/ by default (non-root) and appends an export PATH line to the shell profile (.bashrc / .zshrc). However, the current shell session does not pick up profile changes automatically, so command -v anycap may still fail right after install.

Diagnosis and fix:

# 1. Check if the binary actually exists
ls -la ~/.local/bin/anycap

# 2. If it exists, add to PATH for the current session
export PATH="$HOME/.local/bin:$PATH"

# 3. Verify
anycap status

If ~/.local/bin/anycap does not exist, the install may have used a different directory (e.g., /usr/local/bin when run as root, or a custom ANYCAP_INSTALL_DIR). Check the install output for the actual path.

If the binary exists but a different anycap is resolved (e.g., an npm-installed version), use the full path ~/.local/bin/anycap or adjust PATH ordering.

Authentication

Three methods, depending on environment:

# Interactive (default) -- opens browser
anycap login

# Headless (SSH, containers) -- device code flow
anycap login --headless

# Headless for agent/toolcall runtimes -- initialize without blocking
anycap login --headless --no-wait --json

# Resume a previously initialized headless login after the user confirms completion
anycap login poll --session <login_session_id> --json --wait

# CI/CD -- pipe API key from stdin
echo "$ANYCAP_API_KEY" | anycap login --with-token

Alternatively, set the ANYCAP_API_KEY environment variable directly -- the CLI reads it without requiring login.

For agent/toolcall usage, prefer the nonblocking headless flow:

  1. Run anycap login --headless --no-wait --json
  2. Read verification_uri, user_code, poll_command, and next_action_hint
  3. Show the URL and code to the human
  4. Ask the human to reply when browser login is complete
  5. After confirmation, run poll_command

To check current auth state: anycap status.

Read references/cli-reference.md for full details on credential management and logout.

Configuration

Config file: ~/.anycap/config.toml. Manage via anycap config subcommands.

anycap config show             # show all values
anycap config set <key> <val>  # set a value
anycap config get <key>        # get a value
anycap config unset <key>      # reset to default

Key settings: endpoint (server URL), auto_update (default true), feedback (default true).

Custom config directory

By default the CLI stores config and credentials in ~/.anycap/. Credentials are stored securely in the OS keychain (macOS Keychain, Windows Credential Manager). On headless Linux (no graphical session), the CLI auto-detects and falls back to an encrypted file -- no manual configuration needed.

In sandboxed or containerized environments where the home directory is not persistent, redirect the config directory:

export ANYCAP_CONFIG_DIR=./.anycap   # store config in the working directory
  • ANYCAP_CONFIG_DIR redirects all CLI state (config, credentials, update markers) to the specified path. Relative paths are resolved to absolute paths automatically.

Read references/cli-reference.md for all available keys and environment variable overrides.

Local stdio MCP

AnyCap exposes its MCP server through the existing anycap mcp command. It is the same CLI binary, authentication store, HTTP client, media resolver, and uploader—not a separate runtime or package.

Use this entry point when an MCP host needs stable AnyCap tools. Check the installed version before configuration:


Полный SKILL.md на GitHub

Установить anycap-cli в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/actions.mdreferences/annotation.mdreferences/audio-generation.mdreferences/cli-reference.mdreferences/crawl.mdreferences/draw.mdreferences/drive.mdreferences/generation.mdreferences/music-generation.mdreferences/page.mdreferences/search.mdreferences/snapshot.mdreferences/social.mdreferences/video-generation.md

FAQ

Что делает скилл anycap-cli?

AnyCap CLI -- create media humans can see and hear (generate images, video, music, and audio), understand media humans share (analyze images, video, audio), access the web (search, crawl), and deliver results humans can use (Drive for shareable file links, Page for hosted web pages). Use whenever a task involves creating visual or audio content, analyzing media, searching or reading the web, sharing files with humans, or publishing anything as a web page -- even if the user doesn't mention AnyCap by name. Also use for AnyCap authentication (login, API key, credentials), configuration, and feedback. Trigger on: image/video/music/audio generation, media analysis, web search, web crawl, file sharing, page hosting, drive storage, delivering results to users, or any mention of AnyCap.

Как установить скилл anycap-cli?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл anycap-cli запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить anycap-cli с