{
  "schemaVersion": "1.0",
  "item": {
    "slug": "gitmap",
    "name": "Git-Map",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/14-TR/gitmap",
    "canonicalUrl": "https://clawhub.ai/14-TR/gitmap",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/gitmap",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=gitmap",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "server.py",
      "tools.py"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "slug": "gitmap",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-03T16:31:42.112Z",
      "expiresAt": "2026-05-10T16:31:42.112Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=gitmap",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=gitmap",
        "contentDisposition": "attachment; filename=\"gitmap-0.1.3.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "gitmap"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/gitmap"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/gitmap",
    "agentPageUrl": "https://openagent3.xyz/skills/gitmap/agent",
    "manifestUrl": "https://openagent3.xyz/skills/gitmap/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/gitmap/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "GitMap Skill",
        "body": "Version control for ArcGIS web maps — exposed as native OpenClaw tools."
      },
      {
        "title": "Overview",
        "body": "GitMap provides Git-like version control for ArcGIS Online and Enterprise Portal web maps. This skill wraps the gitmap CLI as thin subprocess calls, exposing branch, commit, diff, push/pull, and map discovery as callable tools.\n\n8 tools | Thin CLI wrapper | No local database | Requires: gitmap-core Python package"
      },
      {
        "title": "Install GitMap Core",
        "body": "pip install gitmap-core"
      },
      {
        "title": "Configure Credentials",
        "body": "Set the following environment variables:\n\nexport PORTAL_URL=\"https://your-org.maps.arcgis.com\"\nexport ARCGIS_USERNAME=\"your_username\"\nexport ARCGIS_PASSWORD=\"your_password\"\n\nSecurity Note: Prefer using scoped API tokens over plaintext passwords when possible."
      },
      {
        "title": "Required environment variables",
        "body": "PORTAL_URL: Your ArcGIS Portal or AGOL URL (e.g., https://myorg.maps.arcgis.com)\nARCGIS_USERNAME: Portal username\nARCGIS_PASSWORD: Portal password (prefer scoped API tokens over plaintext passwords)"
      },
      {
        "title": "Discovery & Status",
        "body": "gitmap_list — List available web maps from Portal (with optional filters)\ngitmap_status — Show working tree status for a local GitMap repo\ngitmap_log — View commit history for a repo"
      },
      {
        "title": "Versioning",
        "body": "gitmap_commit — Commit current map state with a message\ngitmap_branch — List or create branches in a repo\ngitmap_diff — Show changes between commits or branches"
      },
      {
        "title": "Portal Sync",
        "body": "gitmap_push — Push committed changes to ArcGIS Portal\ngitmap_pull — Pull latest map from ArcGIS Portal"
      },
      {
        "title": "gitmap_list",
        "body": "Discover web maps in Portal.\n\ngitmap_list(\n    query=None,        # Search query (e.g., \"title:MyMap\")\n    owner=None,        # Filter by owner username\n    tag=None,          # Filter by tag\n    max_results=50,    # Max results to return\n    portal_url=None,   # Portal URL (or use PORTAL_URL env var)\n    username=None,     # Portal username (or ARCGIS_USERNAME env var)\n    password=None,     # Portal password (or ARCGIS_PASSWORD env var)\n    cwd=None,          # Working directory (default: home)\n)"
      },
      {
        "title": "gitmap_status",
        "body": "Show repo status.\n\ngitmap_status(\n    cwd,               # Path to GitMap repository (required)\n)"
      },
      {
        "title": "gitmap_commit",
        "body": "Commit current changes.\n\ngitmap_commit(\n    message,           # Commit message (required)\n    cwd,               # Path to GitMap repository (required)\n    author=None,       # Override commit author\n)"
      },
      {
        "title": "gitmap_branch",
        "body": "List or create branches.\n\ngitmap_branch(\n    cwd,               # Path to GitMap repository (required)\n    name=None,         # Branch name to create (omit to list)\n    delete=False,      # Delete the named branch\n)"
      },
      {
        "title": "gitmap_diff",
        "body": "Show changes between versions.\n\ngitmap_diff(\n    cwd,               # Path to GitMap repository (required)\n    branch=None,       # Compare with this branch\n    commit=None,       # Compare with this commit hash\n)"
      },
      {
        "title": "gitmap_push",
        "body": "Push changes to Portal.\n\ngitmap_push(\n    cwd,               # Path to GitMap repository (required)\n    branch=None,       # Branch to push (default: current)\n    portal_url=None,   # Portal URL\n    username=None,     # Portal username\n    password=None,     # Portal password\n)"
      },
      {
        "title": "gitmap_pull",
        "body": "Pull changes from Portal.\n\ngitmap_pull(\n    cwd,               # Path to GitMap repository (required)\n    branch=None,       # Branch to pull (default: current)\n    portal_url=None,   # Portal URL\n    username=None,     # Portal username\n    password=None,     # Portal password\n)"
      },
      {
        "title": "gitmap_log",
        "body": "View commit history.\n\ngitmap_log(\n    cwd,               # Path to GitMap repository (required)\n    branch=None,       # Branch to show log for\n    limit=None,        # Max commits to show\n)"
      },
      {
        "title": "Discover Maps and Clone",
        "body": "# Find maps owned by a user\ngitmap_list(owner=\"john.doe\", max_results=20)\n# → returns table of maps with item IDs\n\n# Then clone manually:\n# cd ~/maps && gitmap clone <item_id>"
      },
      {
        "title": "Typical Edit → Commit → Push Loop",
        "body": "# Check what changed\ngitmap_status(cwd=\"~/maps/MyWebMap\")\n\n# Commit changes\ngitmap_commit(message=\"Updated layer symbology\", cwd=\"~/maps/MyWebMap\")\n\n# Push to Portal\ngitmap_push(cwd=\"~/maps/MyWebMap\")"
      },
      {
        "title": "Feature Branch Workflow",
        "body": "# List branches\ngitmap_branch(cwd=\"~/maps/MyWebMap\")\n\n# Create a feature branch\ngitmap_branch(name=\"feature/new-basemap\", cwd=\"~/maps/MyWebMap\")\n\n# After editing, commit and push feature branch\ngitmap_commit(message=\"Added satellite basemap\", cwd=\"~/maps/MyWebMap\")\ngitmap_push(cwd=\"~/maps/MyWebMap\", branch=\"feature/new-basemap\")"
      },
      {
        "title": "Review History",
        "body": "# Recent commits\ngitmap_log(cwd=\"~/maps/MyWebMap\", limit=10)\n\n# What changed since main?\ngitmap_diff(cwd=\"~/maps/MyWebMap\", branch=\"main\")"
      },
      {
        "title": "Server",
        "body": "HTTP server at localhost:7400 (when running):\n\npython server.py\n\nEndpoints:\n\nPOST /tools/{tool_name} — Call a tool with JSON body\nGET /health — Health check"
      },
      {
        "title": "Installation",
        "body": "Install command:\n\npip install gitmap-core\n\nThe skill uses the gitmap_core Python package directly for API access."
      },
      {
        "title": "Notes & Known Limitations",
        "body": "Working directory is required for most commands — GitMap repos are directory-based like Git.\nPortal credentials can be passed per-call or via environment variables (PORTAL_URL, ARCGIS_USERNAME, ARCGIS_PASSWORD).\ngitmap list doesn't require a local repo — it queries Portal directly.\nOutput is raw CLI text — parsed lightly for structured responses where possible.\nNOT implement clone, init,- This skill does merge, checkout, l, or setupsm, context-repos — call the CLI directly for those."
      },
      {
        "title": "Related",
        "body": "GitMap Project: https://github.com/14-TR/gitmap"
      }
    ],
    "body": "GitMap Skill\n\nVersion control for ArcGIS web maps — exposed as native OpenClaw tools.\n\nOverview\n\nGitMap provides Git-like version control for ArcGIS Online and Enterprise Portal web maps. This skill wraps the gitmap CLI as thin subprocess calls, exposing branch, commit, diff, push/pull, and map discovery as callable tools.\n\n8 tools | Thin CLI wrapper | No local database | Requires: gitmap-core Python package\n\nPrerequisites\nInstall GitMap Core\npip install gitmap-core\n\nConfigure Credentials\n\nSet the following environment variables:\n\nexport PORTAL_URL=\"https://your-org.maps.arcgis.com\"\nexport ARCGIS_USERNAME=\"your_username\"\nexport ARCGIS_PASSWORD=\"your_password\"\n\n\nSecurity Note: Prefer using scoped API tokens over plaintext passwords when possible.\n\nRequired environment variables\nPORTAL_URL: Your ArcGIS Portal or AGOL URL (e.g., https://myorg.maps.arcgis.com)\nARCGIS_USERNAME: Portal username\nARCGIS_PASSWORD: Portal password (prefer scoped API tokens over plaintext passwords)\nTools\nDiscovery & Status\ngitmap_list — List available web maps from Portal (with optional filters)\ngitmap_status — Show working tree status for a local GitMap repo\ngitmap_log — View commit history for a repo\nVersioning\ngitmap_commit — Commit current map state with a message\ngitmap_branch — List or create branches in a repo\ngitmap_diff — Show changes between commits or branches\nPortal Sync\ngitmap_push — Push committed changes to ArcGIS Portal\ngitmap_pull — Pull latest map from ArcGIS Portal\nTool Reference\ngitmap_list\n\nDiscover web maps in Portal.\n\ngitmap_list(\n    query=None,        # Search query (e.g., \"title:MyMap\")\n    owner=None,        # Filter by owner username\n    tag=None,          # Filter by tag\n    max_results=50,    # Max results to return\n    portal_url=None,   # Portal URL (or use PORTAL_URL env var)\n    username=None,     # Portal username (or ARCGIS_USERNAME env var)\n    password=None,     # Portal password (or ARCGIS_PASSWORD env var)\n    cwd=None,          # Working directory (default: home)\n)\n\ngitmap_status\n\nShow repo status.\n\ngitmap_status(\n    cwd,               # Path to GitMap repository (required)\n)\n\ngitmap_commit\n\nCommit current changes.\n\ngitmap_commit(\n    message,           # Commit message (required)\n    cwd,               # Path to GitMap repository (required)\n    author=None,       # Override commit author\n)\n\ngitmap_branch\n\nList or create branches.\n\ngitmap_branch(\n    cwd,               # Path to GitMap repository (required)\n    name=None,         # Branch name to create (omit to list)\n    delete=False,      # Delete the named branch\n)\n\ngitmap_diff\n\nShow changes between versions.\n\ngitmap_diff(\n    cwd,               # Path to GitMap repository (required)\n    branch=None,       # Compare with this branch\n    commit=None,       # Compare with this commit hash\n)\n\ngitmap_push\n\nPush changes to Portal.\n\ngitmap_push(\n    cwd,               # Path to GitMap repository (required)\n    branch=None,       # Branch to push (default: current)\n    portal_url=None,   # Portal URL\n    username=None,     # Portal username\n    password=None,     # Portal password\n)\n\ngitmap_pull\n\nPull changes from Portal.\n\ngitmap_pull(\n    cwd,               # Path to GitMap repository (required)\n    branch=None,       # Branch to pull (default: current)\n    portal_url=None,   # Portal URL\n    username=None,     # Portal username\n    password=None,     # Portal password\n)\n\ngitmap_log\n\nView commit history.\n\ngitmap_log(\n    cwd,               # Path to GitMap repository (required)\n    branch=None,       # Branch to show log for\n    limit=None,        # Max commits to show\n)\n\nUsage Examples\nDiscover Maps and Clone\n# Find maps owned by a user\ngitmap_list(owner=\"john.doe\", max_results=20)\n# → returns table of maps with item IDs\n\n# Then clone manually:\n# cd ~/maps && gitmap clone <item_id>\n\nTypical Edit → Commit → Push Loop\n# Check what changed\ngitmap_status(cwd=\"~/maps/MyWebMap\")\n\n# Commit changes\ngitmap_commit(message=\"Updated layer symbology\", cwd=\"~/maps/MyWebMap\")\n\n# Push to Portal\ngitmap_push(cwd=\"~/maps/MyWebMap\")\n\nFeature Branch Workflow\n# List branches\ngitmap_branch(cwd=\"~/maps/MyWebMap\")\n\n# Create a feature branch\ngitmap_branch(name=\"feature/new-basemap\", cwd=\"~/maps/MyWebMap\")\n\n# After editing, commit and push feature branch\ngitmap_commit(message=\"Added satellite basemap\", cwd=\"~/maps/MyWebMap\")\ngitmap_push(cwd=\"~/maps/MyWebMap\", branch=\"feature/new-basemap\")\n\nReview History\n# Recent commits\ngitmap_log(cwd=\"~/maps/MyWebMap\", limit=10)\n\n# What changed since main?\ngitmap_diff(cwd=\"~/maps/MyWebMap\", branch=\"main\")\n\nServer\n\nHTTP server at localhost:7400 (when running):\n\npython server.py\n\n\nEndpoints:\n\nPOST /tools/{tool_name} — Call a tool with JSON body\nGET /health — Health check\nInstallation\n\nInstall command:\n\npip install gitmap-core\n\n\nThe skill uses the gitmap_core Python package directly for API access.\n\nNotes & Known Limitations\nWorking directory is required for most commands — GitMap repos are directory-based like Git.\nPortal credentials can be passed per-call or via environment variables (PORTAL_URL, ARCGIS_USERNAME, ARCGIS_PASSWORD).\ngitmap list doesn't require a local repo — it queries Portal directly.\nOutput is raw CLI text — parsed lightly for structured responses where possible. NOT implement clone, init,- This skill does merge, checkout, l, or setupsm, context-repos — call the CLI directly for those.\nRelated\nGitMap Project: https://github.com/14-TR/gitmap"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/14-TR/gitmap",
    "publisherUrl": "https://clawhub.ai/14-TR/gitmap",
    "owner": "14-TR",
    "version": "0.1.3",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/gitmap",
    "downloadUrl": "https://openagent3.xyz/downloads/gitmap",
    "agentUrl": "https://openagent3.xyz/skills/gitmap/agent",
    "manifestUrl": "https://openagent3.xyz/skills/gitmap/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/gitmap/agent.md"
  }
}