Skip to content

Adonis0123/adonis-skills / skills/ardot-mcp

ardot-mcp

Verified

This skill should be used when the user invokes /ardot-mcp or asks to package Ardot MCP through UXC, set up ardot-mcp-cli, complete Ardot OAuth for UXC, run sanitized Ardot readiness, open or inspect Ardot design files via a fixed CLI facade, or keep Grok/Claude native Ardot MCP as a compatibility path. Own Ardot endpoint identity, OAuth boundary, safe output, and task acceptance. Use uxc-facade for the generic packaging method. Do not use for one-off Ardot calls already solved by the native host MCP tools.

FileKindSize
SKILL.mdskill md5.6 KB
agents/openai.yamlconfig103 B
evals/evals.jsonconfig2.9 KB
evals/trigger-eval.jsonconfig1.4 KB
references/oauth-and-binding.mdmarkdown1.9 KB
references/uxc-facade.mdmarkdown2.0 KB
scripts/install-uxc.zshexecutablescript4.4 KB
scripts/lib/defaults.zshscript802 B
scripts/lib/uxc-link-contract.zshscript838 B
scripts/lib/uxc-owned-binary.zshscript3.5 KB
scripts/lib/uxc-release.zshscript1.3 KB
scripts/oauth-complete.zshexecutablescript1.4 KB
scripts/oauth-start.zshexecutablescript937 B
scripts/setup-auth-binding.zshexecutablescript1.9 KB
scripts/setup-uxc-link.zshexecutablescript2.3 KB
scripts/uxc-readiness.zshexecutablescript2.8 KB

scripts/lib/uxc-owned-binary.zsh

View on GitHub
#!/bin/zsh

ardot_mcp_uxc_target_triple() {
  local os arch
  os="$(/usr/bin/uname -s)"
  arch="$(/usr/bin/uname -m)"

  case "$os" in
    Linux)
      case "$arch" in
        x86_64|amd64) print -r -- "x86_64-unknown-linux-gnu" ;;
        aarch64|arm64) print -r -- "aarch64-unknown-linux-gnu" ;;
        *) return 69 ;;
      esac
      ;;
    Darwin)
      case "$arch" in
        arm64|aarch64) print -r -- "aarch64-apple-darwin" ;;
        x86_64) print -r -- "x86_64-apple-darwin" ;;
        *) return 69 ;;
      esac
      ;;
    *) return 69 ;;
  esac
}

ardot_mcp_uxc_asset_sha256() {
  case "$1" in
    x86_64-unknown-linux-gnu) print -r -- "$UXC_SHA256_X86_64_UNKNOWN_LINUX_GNU" ;;
    x86_64-unknown-linux-musl) print -r -- "$UXC_SHA256_X86_64_UNKNOWN_LINUX_MUSL" ;;
    aarch64-unknown-linux-gnu) print -r -- "$UXC_SHA256_AARCH64_UNKNOWN_LINUX_GNU" ;;
    aarch64-apple-darwin) print -r -- "$UXC_SHA256_AARCH64_APPLE_DARWIN" ;;
    x86_64-apple-darwin) print -r -- "$UXC_SHA256_X86_64_APPLE_DARWIN" ;;
    *) return 69 ;;
  esac
}

ardot_mcp_uxc_binary_sha256() {
  case "$1" in
    x86_64-unknown-linux-gnu) print -r -- "$UXC_BINARY_SHA256_X86_64_UNKNOWN_LINUX_GNU" ;;
    x86_64-unknown-linux-musl) print -r -- "$UXC_BINARY_SHA256_X86_64_UNKNOWN_LINUX_MUSL" ;;
    aarch64-unknown-linux-gnu) print -r -- "$UXC_BINARY_SHA256_AARCH64_UNKNOWN_LINUX_GNU" ;;
    aarch64-apple-darwin) print -r -- "$UXC_BINARY_SHA256_AARCH64_APPLE_DARWIN" ;;
    x86_64-apple-darwin) print -r -- "$UXC_BINARY_SHA256_X86_64_APPLE_DARWIN" ;;
    *) return 69 ;;
  esac
}

ardot_mcp_uxc_manifest_value() {
  local manifest_path="$1"
  local manifest_key="$2"

  /usr/bin/awk -F= -v manifest_key="$manifest_key" '
    $1 == manifest_key {
      count += 1
      value = substr($0, index($0, "=") + 1)
    }
    END {
      if (count != 1) exit 1
      print value
    }
  ' "$manifest_path"
}

ardot_mcp_verify_owned_uxc() {
  local target="$1"
  local manifest_path="$target.ardot-mcp.manifest"
  local target_triple expected_asset_sha256 expected_binary_sha256
  local owner manifest_version manifest_triple manifest_asset_sha256
  local manifest_binary_sha256 actual_binary_sha256

  ARDOT_MCP_UXC_VERIFY_REASON="foreign_uxc"
  [[ ! -L "$target" && -f "$target" && -x "$target" ]] || return 69
  [[ ! -L "$manifest_path" && -f "$manifest_path" ]] || return 69

  target_triple="$(ardot_mcp_uxc_target_triple)" || return 69
  expected_asset_sha256="$(ardot_mcp_uxc_asset_sha256 "$target_triple")" || return 69
  expected_binary_sha256="$(ardot_mcp_uxc_binary_sha256 "$target_triple")" || return 69

  owner="$(ardot_mcp_uxc_manifest_value "$manifest_path" OWNER)" || return 69
  manifest_version="$(ardot_mcp_uxc_manifest_value "$manifest_path" UXC_VERSION)" || return 69
  manifest_triple="$(ardot_mcp_uxc_manifest_value "$manifest_path" TARGET_TRIPLE)" || return 69
  manifest_asset_sha256="$(ardot_mcp_uxc_manifest_value "$manifest_path" ASSET_SHA256)" || return 69
  manifest_binary_sha256="$(ardot_mcp_uxc_manifest_value "$manifest_path" BINARY_SHA256)" || return 69

  [[ "$owner" == "$ARDOT_MCP_UXC_OWNER" ]] || return 69
  [[ "$manifest_version" == "$UXC_VERSION" ]] || return 69
  [[ "$manifest_triple" == "$target_triple" ]] || return 69
  [[ "$manifest_asset_sha256" == "$expected_asset_sha256" ]] || return 69
  [[ "$manifest_binary_sha256" == "$expected_binary_sha256" ]] || return 69

  actual_binary_sha256="$(/usr/bin/shasum -a 256 "$target" | /usr/bin/awk '{print $1}')" || return 69
  [[ "$actual_binary_sha256" == "$expected_binary_sha256" ]] || return 69

  ARDOT_MCP_UXC_VERIFY_REASON=""
}
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 322kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 198kUpdated Claude CodeCodexVerifiedInstall