Command Palette

Search for a command to run...

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

amazon-workspaces-agent-access

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

Connects AI agents to Windows desktops on Amazon WorkSpaces Applications (AppStream 2.0) fleets and image builders through the Agent Access MCP server, and…

awsот aws★ 3 696 звёзд на GitHub

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

Amazon WorkSpaces Applications — Agent Access

Domain expertise for connecting AI agents to remote Windows desktops on Amazon WorkSpaces Applications (AppStream 2.0), fleet sessions and image builders, via the managed Agent Access MCP server, and for driving those desktops reliably. Creating and configuring fleets, stacks, image builders and their agent access settings is covered by the setting-up-workspaces-applications skill.

How it works: Agent Access is MCP-only — there is no AWS CLI/SDK command that calls the desktop tools. Agents connect to https://agentaccess-mcp.{region}.api.aws/mcp over Streamable HTTP, SigV4-signed with service name agentaccess-mcp, and call MCP tools (screenshot, left_click, type_text, ...) to drive the desktop. Around the connection, the AWS CLI/SDK only creates streaming URLs, assumes the federated role for a domain-joined fleet, and checks that the environment is ready. mcp-proxy-for-aws handles the SigV4 signing.

Recommended setup: use mcp-proxy-for-aws (Python 3.11+, pip install "mcp-proxy-for-aws==1.8.0") as the transport; it signs each request and manages the DELETE lifecycle. Any MCP client that supports Streamable HTTP + SigV4 works. When running AWS CLI/SDK calls (create-streaming-url, the readiness checks), the AWS MCP server is recommended for sandboxed execution and audit logging.

Guardrail — where this skill's own files live (MCP vs local install)

This skill can be loaded two ways, and they resolve the skill's own bundled files from different places. Determine how the skill was loaded before reading a reference:

  • Loaded through the AWS MCP retrieve_skill tool: The skill is not installed on the local filesystem. You MUST fetch each reference via retrieve_skill with the file parameter (e.g. file="references/connection-setup.md"), and use the returned content. Do NOT file_read these paths locally — they do not exist on disk.
  • Installed locally (e.g. .kiro/skills/amazon-workspaces-agent-access/, ~/.claude/skills/amazon-workspaces-agent-access/ or ~/.codex/skills/amazon-workspaces-agent-access/): Read files from the local skill directory. Every path to the skill's own files, such as references/connection-setup.md, is relative to the skill root, from any file in the skill. The only files in assets/ are the sample's three workflow prompts, as text (sample-workflows.md).

This distinction applies only to the skill's own packaged files. User data and session artifacts are always read from and written to the user's working directory. Never fetch or write customer data through retrieve_skill.

Key facts agents get wrong (load the reference before answering in detail)

These are HTTP headers / metadata on the MCP connection. They are not tool parameters, and there is no connect_to_desktop tool. Do not invent tools or parameters. The desktop tools are exactly those in tools-reference.md, or the interface tools selected by the computer use interface header described in computer-use-interface.md.

  • Connect mode. Selected by the X-Amzn-AgentAccess-Connect-Mode HTTP header (value BLOCKING, the default, or POLLING) — sent on the MCP request alongside whatever names the session (stack and user ID, streaming URL, a domain-joined stack ARN or SAML assertion, or image builder name). It is NOT a JSON tool argument.
    • ❌ WRONG (common hallucination): calling a connect_to_desktop tool with a connection_mode: "POLLING" parameter, or a session_id/application_id/user_id argument. None of those exist.

    • ✅ RIGHT: set the X-Amzn-AgentAccess-Connect-Mode: POLLING header. Then tools/list initially returns only the connection_status tool; the agent calls connection_status repeatedly until its returned state is CONNECTED, and only then does tools/list return the full desktop tool set (screenshot, left_click, ...). (details: connection-modes.md)

      import asyncio, json, logging
      from mcp import ClientSession
      from mcp_proxy_for_aws.client import aws_iam_streamablehttp_client
      
      # Correct POLLING usage — the mode is an HTTP header on the MCP connection:
      logging.getLogger("mcp_proxy_for_aws").setLevel(logging.ERROR)  # keep the streaming URL out of its logs
      async with aws_iam_streamablehttp_client(
          endpoint="https://agentaccess-mcp.us-east-1.api.aws/mcp",  # use YOUR fleet's region
          aws_service="agentaccess-mcp", aws_region="us-east-1",  # region must match the fleet (else 400)
          headers={
              "X-Amzn-AgentAccess-Streaming-Session-Url": streaming_url,
              "X-Amzn-AgentAccess-Connect-Mode": "POLLING",   # header, not a tool arg
          },
      ) as (read, write, _):
          async with ClientSession(read, write) as session:
              await session.initialize()
              # tools/list now returns ONLY agentaccess___connection_status until the desktop is up:
              deadline = asyncio.get_runnin
      
Полный SKILL.md на GitHub

Установить amazon-workspaces-agent-access в Claude Code и Claude Desktop

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

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

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

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

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

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

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

assets/wf1t-invoice-from-po.mdassets/wf2t-customer-import.mdassets/wf3t-refund-request.mdreferences/automation-best-practices.mdreferences/computer-use-interface.mdreferences/connection-modes.mdreferences/connection-setup.mdreferences/gnucash-business.mdreferences/image-builders.mdreferences/prerequisites.mdreferences/replay-session.mdreferences/sample-workflows.mdreferences/session-lifecycle.mdreferences/tool-forwarding.mdreferences/tools-reference.mdreferences/troubleshooting.md

FAQ

Что делает скилл amazon-workspaces-agent-access?

Connects AI agents to Windows desktops on Amazon WorkSpaces Applications (AppStream 2.0) fleets and image builders through the Agent Access MCP server, and guides reliable desktop automation. Covers the MCP endpoint and SigV4 signing, naming the session (stack and user ID, streaming URL, or AD SAML/OIDC), connecting to an image builder as one of its Windows accounts (switch_user), BLOCKING vs POLLING connect modes, the computer-use tools and computer use interface header, screenshot and batching discipline, forwarded MCP tools (forwarded___), screenshot uploads and Replay Session recordings in S3, agentaccess-mcp IAM, session lifecycle, and errors like "dcv session not ready", "client_disconnected" and 400 signing-region. Use when building or debugging an agent that drives a desktop or GUI app on WorkSpaces Applications / AppStream. Not for setting up or configuring desktops, fleets, stacks, image builders or agent access (see setting-up-workspaces-applications), or for Amazon WorkSpaces Personal/Core.

Как установить скилл amazon-workspaces-agent-access?

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

Скилл amazon-workspaces-agent-access запускает скрипты?

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

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

Сравнить amazon-workspaces-agent-access с