{
  "schemaVersion": "1.0",
  "item": {
    "slug": "github-star-manager-skill",
    "name": "GitHub Star Manager",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/cosformula/github-star-manager-skill",
    "canonicalUrl": "https://clawhub.ai/cosformula/github-star-manager-skill",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/github-star-manager-skill",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=github-star-manager-skill",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "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": "github-star-manager-skill",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-03T17:54:42.908Z",
      "expiresAt": "2026-05-10T17:54:42.908Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=github-star-manager-skill",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=github-star-manager-skill",
        "contentDisposition": "attachment; filename=\"github-star-manager-skill-0.1.2.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "github-star-manager-skill"
      },
      "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/github-star-manager-skill"
    },
    "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/github-star-manager-skill",
    "agentPageUrl": "https://openagent3.xyz/skills/github-star-manager-skill/agent",
    "manifestUrl": "https://openagent3.xyz/skills/github-star-manager-skill/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/github-star-manager-skill/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": "GitHub Star Manager",
        "body": "Requires gh (authenticated) + jq. For Lists operations: token needs user scope (Classic token recommended)."
      },
      {
        "title": "Authentication",
        "body": "This skill uses the gh CLI's existing auth session. Before using:\n\nRun gh auth login if not already authenticated\nFor read-only operations (export, stats): default token scopes are sufficient\nFor Lists operations (create list, add to list): token needs user scope — run gh auth refresh -s user or use a Classic token with user scope\n\nNo separate API key or environment variable is needed."
      },
      {
        "title": "Export Stars",
        "body": "gh api user/starred --paginate --jq '.[] | {\n  full_name, description, url: .html_url, language,\n  topics, stars: .stargazers_count, forks: .forks_count,\n  archived, updated_at, pushed_at\n}' | jq -s '.' > stars.json\n\nSlow for 1000+ stars (~1 min per 1000). Quick count: gh api user/starred --paginate --jq '. | length' | jq -s 'add'."
      },
      {
        "title": "View Existing Lists",
        "body": "gh api graphql -f query='{\n  viewer {\n    lists(first: 100) {\n      nodes { id name description isPrivate items { totalCount } }\n    }\n  }\n}' --jq '.data.viewer.lists.nodes'"
      },
      {
        "title": "Create a List",
        "body": "gh api graphql -f query='\nmutation($name: String!, $desc: String) {\n  createUserList(input: {name: $name, description: $desc, isPrivate: false}) {\n    list { id name }\n  }\n}' -f name=\"LIST_NAME\" -f desc=\"LIST_DESCRIPTION\" --jq '.data.createUserList.list'\n\nSave the returned id for adding repos."
      },
      {
        "title": "Add Repo to List",
        "body": "REPO_ID=$(gh api repos/OWNER/REPO --jq '.node_id')\n\n# Note: listIds is a JSON array, use --input to pass variables correctly\necho '{\"query\":\"mutation($itemId:ID!,$listIds:[ID!]!){updateUserListsForItem(input:{itemId:$itemId,listIds:$listIds}){user{login}}}\",\"variables\":{\"itemId\":\"'$REPO_ID'\",\"listIds\":[\"LIST_ID\"]}}' \\\n  | gh api graphql --input -\n\nAdd ~300ms delay between calls to avoid rate limits."
      },
      {
        "title": "Unstar",
        "body": "gh api -X DELETE user/starred/OWNER/REPO\n\nAlways confirm with user before unstarring."
      },
      {
        "title": "Organize Workflow",
        "body": "Export stars to JSON\nAnalyze the JSON — suggest categories based on language, topics, purpose, domain\nPresent suggestions to user for review\nCreate Lists and add repos after confirmation\nBatch operations with delays between API calls"
      },
      {
        "title": "Cleanup Workflow",
        "body": "Export stars to JSON\nUse jq to find archived, stale (2+ years no push), low-star, or deprecated repos\nPresent candidates to user, confirm before unstarring"
      }
    ],
    "body": "GitHub Star Manager\n\nRequires gh (authenticated) + jq. For Lists operations: token needs user scope (Classic token recommended).\n\nAuthentication\n\nThis skill uses the gh CLI's existing auth session. Before using:\n\nRun gh auth login if not already authenticated\nFor read-only operations (export, stats): default token scopes are sufficient\nFor Lists operations (create list, add to list): token needs user scope — run gh auth refresh -s user or use a Classic token with user scope\n\nNo separate API key or environment variable is needed.\n\nExport Stars\ngh api user/starred --paginate --jq '.[] | {\n  full_name, description, url: .html_url, language,\n  topics, stars: .stargazers_count, forks: .forks_count,\n  archived, updated_at, pushed_at\n}' | jq -s '.' > stars.json\n\n\nSlow for 1000+ stars (~1 min per 1000). Quick count: gh api user/starred --paginate --jq '. | length' | jq -s 'add'.\n\nView Existing Lists\ngh api graphql -f query='{\n  viewer {\n    lists(first: 100) {\n      nodes { id name description isPrivate items { totalCount } }\n    }\n  }\n}' --jq '.data.viewer.lists.nodes'\n\nCreate a List\ngh api graphql -f query='\nmutation($name: String!, $desc: String) {\n  createUserList(input: {name: $name, description: $desc, isPrivate: false}) {\n    list { id name }\n  }\n}' -f name=\"LIST_NAME\" -f desc=\"LIST_DESCRIPTION\" --jq '.data.createUserList.list'\n\n\nSave the returned id for adding repos.\n\nAdd Repo to List\nREPO_ID=$(gh api repos/OWNER/REPO --jq '.node_id')\n\n# Note: listIds is a JSON array, use --input to pass variables correctly\necho '{\"query\":\"mutation($itemId:ID!,$listIds:[ID!]!){updateUserListsForItem(input:{itemId:$itemId,listIds:$listIds}){user{login}}}\",\"variables\":{\"itemId\":\"'$REPO_ID'\",\"listIds\":[\"LIST_ID\"]}}' \\\n  | gh api graphql --input -\n\n\nAdd ~300ms delay between calls to avoid rate limits.\n\nUnstar\ngh api -X DELETE user/starred/OWNER/REPO\n\n\nAlways confirm with user before unstarring.\n\nOrganize Workflow\nExport stars to JSON\nAnalyze the JSON — suggest categories based on language, topics, purpose, domain\nPresent suggestions to user for review\nCreate Lists and add repos after confirmation\nBatch operations with delays between API calls\nCleanup Workflow\nExport stars to JSON\nUse jq to find archived, stale (2+ years no push), low-star, or deprecated repos\nPresent candidates to user, confirm before unstarring"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/cosformula/github-star-manager-skill",
    "publisherUrl": "https://clawhub.ai/cosformula/github-star-manager-skill",
    "owner": "cosformula",
    "version": "0.1.2",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/github-star-manager-skill",
    "downloadUrl": "https://openagent3.xyz/downloads/github-star-manager-skill",
    "agentUrl": "https://openagent3.xyz/skills/github-star-manager-skill/agent",
    "manifestUrl": "https://openagent3.xyz/skills/github-star-manager-skill/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/github-star-manager-skill/agent.md"
  }
}