{
  "schemaVersion": "1.0",
  "item": {
    "slug": "opensource-release",
    "name": "Open Source Release",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/jini92/opensource-release",
    "canonicalUrl": "https://clawhub.ai/jini92/opensource-release",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/opensource-release",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=opensource-release",
    "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": "opensource-release",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T15:17:25.442Z",
      "expiresAt": "2026-05-07T15:17:25.442Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=opensource-release",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=opensource-release",
        "contentDisposition": "attachment; filename=\"opensource-release-1.1.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "opensource-release"
      },
      "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/opensource-release"
    },
    "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/opensource-release",
    "agentPageUrl": "https://openagent3.xyz/skills/opensource-release/agent",
    "manifestUrl": "https://openagent3.xyz/skills/opensource-release/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/opensource-release/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": "Open Source Release",
        "body": "Safely convert a private repo to public by sanitizing personal data and cleaning history."
      },
      {
        "title": "Pre-flight Checklist",
        "body": "Scan source code — search for:\n\nAbsolute paths: C:\\Users\\, home directory references\nUsernames: OS-specific account names\nInternal hostnames / port names\nAPI keys / tokens: .env, hardcoded secrets\nEmail / phone numbers in commit author config\n\n\n\nCheck cached artifacts — ensure .gitignore covers:\n\nBinary caches (.pkl, .db, checksums.json)\n__pycache__/, node_modules/, .env, *.egg-info/\nProject-specific cache directories"
      },
      {
        "title": "Step 1: Code Scan",
        "body": "# Find hardcoded paths and usernames\nGet-ChildItem -Recurse -Include \"*.py\",\"*.ps1\",\"*.js\",\"*.ts\" |\n  Select-String -Pattern \"C:\\\\Users|/home/|your-username\" -SimpleMatch |\n  Where-Object { $_.Path -notmatch \"__pycache__|node_modules|\\.git\" }\n\nFix: replace with environment variables (os.environ.get / process.env) and add a .env.example."
      },
      {
        "title": "Step 2: Docs Scan",
        "body": "Get-ChildItem -Recurse -Include \"*.md\",\"*.txt\",\"*.yaml\",\"*.yml\" |\n  Select-String -Pattern \"C:\\\\Users|/home/|your-username\" -SimpleMatch |\n  Where-Object { $_.Path -notmatch \"node_modules|\\.git\" }\n\nReplace personal paths with generic placeholders ($VAULT_PATH, ~/vault, etc.)."
      },
      {
        "title": "Step 3: Git History Analysis",
        "body": "git log --all -p | Select-String -Pattern \"SENSITIVE_TERM\" | Select-Object -First 50\ngit log --all --diff-filter=A -- \"cache/*\"\n\nChoose a strategy:\n\n< 50 commits + cache only in history → Option B (clean push)\nLarge history with sensitive data → Option A (BFG Repo Cleaner / git filter-repo)\nHistory is fine, just old paths → Option C (leave as-is)"
      },
      {
        "title": "Step 4: Clean Push (Option B)",
        "body": "git checkout --orphan clean-main\ngit add -A\ngit commit -m \"feat: initial public release\"\ngit remote set-url origin https://github.com/{owner}/{repo}.git  # verify no token in URL!\ngit branch -M main\ngit push origin main --force\ngit push origin --delete {old-branch}"
      },
      {
        "title": "Step 5: Make Public",
        "body": "gh repo edit {owner}/{repo} --visibility public --accept-visibility-change-consequences --description \"Short description\""
      },
      {
        "title": "Step 6: Verify",
        "body": "# Final scan for sensitive strings\nGet-ChildItem -Recurse -Include \"*.py\",\"*.md\",\"*.yaml\",\"*.js\",\"*.ts\" |\n  Select-String -Pattern \"SENSITIVE_TERM\" -SimpleMatch |\n  Where-Object { $_.Path -notmatch \"__pycache__|node_modules|\\.git\" }\n\n# Confirm remote URL has no token\ngit remote -v\n\n# Confirm visibility\ngh repo view {owner}/{repo} --json visibility"
      },
      {
        "title": "Step 7: Post-Release Housekeeping (Optional)",
        "body": "Add issue tracking to HEARTBEAT.md\nUpdate memory/{project}.md with release notes"
      },
      {
        "title": "Gotchas",
        "body": "Never include tokens in git remote URLs — always verify before push\nBinary caches not covered by .gitignore may already be in history — check carefully\nEncoding issues on Windows — use UTF-8 explicitly in PowerShell/Python\nYour GitHub username is already public — that is fine to leave as-is\nNever commit .env files — add to .gitignore if not already there"
      }
    ],
    "body": "Open Source Release\n\nSafely convert a private repo to public by sanitizing personal data and cleaning history.\n\nPre-flight Checklist\n\nScan source code — search for:\n\nAbsolute paths: C:\\Users\\, home directory references\nUsernames: OS-specific account names\nInternal hostnames / port names\nAPI keys / tokens: .env, hardcoded secrets\nEmail / phone numbers in commit author config\n\nCheck cached artifacts — ensure .gitignore covers:\n\nBinary caches (.pkl, .db, checksums.json)\n__pycache__/, node_modules/, .env, *.egg-info/\nProject-specific cache directories\nSanitization Steps\nStep 1: Code Scan\n# Find hardcoded paths and usernames\nGet-ChildItem -Recurse -Include \"*.py\",\"*.ps1\",\"*.js\",\"*.ts\" |\n  Select-String -Pattern \"C:\\\\Users|/home/|your-username\" -SimpleMatch |\n  Where-Object { $_.Path -notmatch \"__pycache__|node_modules|\\.git\" }\n\n\nFix: replace with environment variables (os.environ.get / process.env) and add a .env.example.\n\nStep 2: Docs Scan\nGet-ChildItem -Recurse -Include \"*.md\",\"*.txt\",\"*.yaml\",\"*.yml\" |\n  Select-String -Pattern \"C:\\\\Users|/home/|your-username\" -SimpleMatch |\n  Where-Object { $_.Path -notmatch \"node_modules|\\.git\" }\n\n\nReplace personal paths with generic placeholders ($VAULT_PATH, ~/vault, etc.).\n\nStep 3: Git History Analysis\ngit log --all -p | Select-String -Pattern \"SENSITIVE_TERM\" | Select-Object -First 50\ngit log --all --diff-filter=A -- \"cache/*\"\n\n\nChoose a strategy:\n\n< 50 commits + cache only in history → Option B (clean push)\nLarge history with sensitive data → Option A (BFG Repo Cleaner / git filter-repo)\nHistory is fine, just old paths → Option C (leave as-is)\nStep 4: Clean Push (Option B)\ngit checkout --orphan clean-main\ngit add -A\ngit commit -m \"feat: initial public release\"\ngit remote set-url origin https://github.com/{owner}/{repo}.git  # verify no token in URL!\ngit branch -M main\ngit push origin main --force\ngit push origin --delete {old-branch}\n\nStep 5: Make Public\ngh repo edit {owner}/{repo} --visibility public --accept-visibility-change-consequences --description \"Short description\"\n\nStep 6: Verify\n# Final scan for sensitive strings\nGet-ChildItem -Recurse -Include \"*.py\",\"*.md\",\"*.yaml\",\"*.js\",\"*.ts\" |\n  Select-String -Pattern \"SENSITIVE_TERM\" -SimpleMatch |\n  Where-Object { $_.Path -notmatch \"__pycache__|node_modules|\\.git\" }\n\n# Confirm remote URL has no token\ngit remote -v\n\n# Confirm visibility\ngh repo view {owner}/{repo} --json visibility\n\nStep 7: Post-Release Housekeeping (Optional)\nAdd issue tracking to HEARTBEAT.md\nUpdate memory/{project}.md with release notes\nGotchas\nNever include tokens in git remote URLs — always verify before push\nBinary caches not covered by .gitignore may already be in history — check carefully\nEncoding issues on Windows — use UTF-8 explicitly in PowerShell/Python\nYour GitHub username is already public — that is fine to leave as-is\nNever commit .env files — add to .gitignore if not already there"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/jini92/opensource-release",
    "publisherUrl": "https://clawhub.ai/jini92/opensource-release",
    "owner": "jini92",
    "version": "1.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/opensource-release",
    "downloadUrl": "https://openagent3.xyz/downloads/opensource-release",
    "agentUrl": "https://openagent3.xyz/skills/opensource-release/agent",
    "manifestUrl": "https://openagent3.xyz/skills/opensource-release/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/opensource-release/agent.md"
  }
}