[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ACVSR542MXWBEH429FXZH6":3,"skill-same:01M6ACVSR542MXWBEH429FXZH6":64},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":24,"linkOnly":25,"markdownContent":26,"markdownBody":27,"frontMatter":28,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":35,"ownerHtmlUrl":36,"ownerBlogUrl":37,"ownerDescription":6,"updatedAt":38,"install":39,"resources":51},"01M6ACVSR542MXWBEH429FXZH6","pypi",null,"Publish a released version of the Apache SkyWalking AI Sessionizer LangChain plugin, apache-skywalking-asz-langchain, to PyPI. Says what a release manager sets up before the first upload, downloads the voted source package, verifies it, builds the source distribution and the wheel from plugins\u002Flangchain inside it, checks and installs them, and uploads them with twine. Use after a version is published.","apache\u002Fskywalking-ai-sessionizer","apache","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F47359?v=4","01M6AC83E6K4FDKK7HZ8WNMQKE","The Apache Software Foundation","01M6ACVHXQ7BE01KYH7G6ZZ2Y9",7,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fapache\u002Fskywalking-ai-sessionizer\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fpypi\u002FSKILL.md",[],[5,19,20,9,21,22,23],"plugin","release","skywalking","package","plugins","2026-11-10 10:12:30",false,"---\nname: pypi\ndescription: Publish a released version of the Apache SkyWalking AI Sessionizer LangChain plugin, apache-skywalking-asz-langchain, to PyPI. Says what a release manager sets up before the first upload, downloads the voted source package, verifies it, builds the source distribution and the wheel from plugins\u002Flangchain inside it, checks and installs them, and uploads them with twine. Use after a version is published.\nuser-invocable: true\n---\n\n# PyPI\n\n`apache-skywalking-asz-langchain` is the LangChain plugin under `plugins\u002Flangchain`. It is in the\nvoted source package, and PyPI is a convenience channel written after the vote, as the Homebrew tap\nand the apt repository are. Nothing is uploaded for a candidate, and the version uploaded is the\nreleased one, which `release.sh prepare` wrote into `plugins\u002Flangchain\u002Fpyproject.toml`.\n\nUnlike the Homebrew and apt skills, this one opens no pull request. It uploads, and an upload\ncannot be undone: PyPI never accepts a file name twice, even after the file is deleted.\n\nAsk for the version when it is not given. Then:\n\n## 0. Set up the upload\n\nThe project `apache-skywalking-asz-langchain` is on PyPI since 0.5.0, whose upload created it. Only\nan owner or a maintainer of the project on PyPI can upload. A release manager who is neither asks\nan owner to add them.\n\n1. **A PyPI account with two-factor authentication.** PyPI refuses an upload from an account\n   without it.\n2. **An API token.** A token scoped to a project can only be made once the project exists. So the\n   upload that creates a project needs a token scoped to the whole account, as 0.5.0 did. Every\n   later upload uses a token scoped to `apache-skywalking-asz-langchain`. After the first upload,\n   replace the account token with a project token, and delete the account token.\n3. **The token in `SW_PYPI_TOKEN`,** exported from the shell profile, such as `~\u002F.zprofile`,\n   before Claude Code starts. When the 0.5.0 token was added to the profile during a session, the\n   session did not see it until Claude Code was started again. Reading it out of the profile from\n   inside the session was refused by the permission check of auto mode.\n\nCheck it without printing it. Stop and tell the user when it is not set:\n\n```sh\n[ -n \"$SW_PYPI_TOKEN\" ] && echo \"SW_PYPI_TOKEN is set, ${#SW_PYPI_TOKEN} characters\"\n```\n\nNever print the token, and never write it into a file.\n\n## 1. Download the voted source package and verify it\n\nThe newest version is on downloads.apache.org minutes after the move. archive.apache.org holds every\nversion, but gets a new one later: for 0.5.0 it still answered 404 fifteen minutes after the move,\nand 200 when checked again four hours later. So try the download site first.\n\n```sh\nv=VERSION\npkg=apache-skywalking-ai-sessionizer-$v-src.tgz\nW=$(mktemp -d); cd \"$W\"\nfor f in \"$pkg\" \"$pkg.sha512\" \"$pkg.asc\"; do\n  curl --noproxy '*' -fsSLO \"https:\u002F\u002Fdownloads.apache.org\u002Fskywalking\u002Fai-sessionizer\u002F$v\u002F$f\" ||\n    curl --noproxy '*' -fsSLO \"https:\u002F\u002Farchive.apache.org\u002Fdist\u002Fskywalking\u002Fai-sessionizer\u002F$v\u002F$f\"\ndone\ncurl --noproxy '*' -fsSL -o KEYS https:\u002F\u002Fdownloads.apache.org\u002Fskywalking\u002FKEYS\ngpg --dearmor \u003C KEYS > keys.gpg\nshasum -a 512 -c \"$pkg.sha512\" && gpgv --keyring \"$W\u002Fkeys.gpg\" \"$pkg.asc\" \"$pkg\"\ntar -xzf \"$pkg\"\n```\n\n`gpgv` reads KEYS from a file of its own, so the user's keyring is left alone. `gpg --import` into\na scratch directory under a long path hung on macOS, waiting to start `gpg-agent`. A local proxy can\nbreak HTTPS to Apache hosts, which is why the commands go around it.\n\nStop if either check fails. Nothing is built from a package that did not verify.\n\n## 2. Build from the package, not from a checkout\n\nA checkout can hold what the vote did not.\n\n```sh\npython3 -m venv build-env && . build-env\u002Fbin\u002Factivate\npip install --quiet build twine\npython -m build --outdir dist \"apache-skywalking-ai-sessionizer-$v-src\u002Fplugins\u002Flangchain\"\ntwine check dist\u002F*\n```\n\n`dist\u002F` holds `apache_skywalking_asz_langchain-$v.tar.gz` and\n`apache_skywalking_asz_langchain-$v-py3-none-any.whl`. Check the version in the file names is\n`$v`, and that `unzip -l dist\u002F*.whl` lists `LICENSE` and `NOTICE` under the `.dist-info`\ndirectory.\n\n## 3. Install the wheel where nothing else is, and run it\n\n`asz-langchain status` exits 1 while the plugin is not enabled and 0 while it is, so the checks\nbelow say which exit code they expect. `enable` writes only into the environment's own site\ndirectory.\n\n```sh\npython3 -m venv try-env && . try-env\u002Fbin\u002Factivate\npip install --quiet dist\u002F*.whl\nasz-langchain status && { echo \"enabled before enable\"; exit 1; }\nasz-langchain enable && asz-langchain status || { echo \"enable did not take\"; exit 1; }\nasz-langchain disable && ! asz-langchain status || { echo \"disable did not take\"; exit 1; }\ndeactivate\n```\n\n`status` must say \"not enabled\", then \"enabled at ...\", then \"not enabled\" again. Stop if a\nline prints its message.\n\n## 4. Upload\n\n```sh\n. build-env\u002Fbin\u002Factivate\nTWINE_USERNAME=__token__ TWINE_PASSWORD=\"${SW_PYPI_TOKEN:?SW_PYPI_TOKEN is not set}\" \\\n  twine upload --non-interactive dist\u002F*\n```\n\n`--non-interactive` makes a missing or refused token fail, rather than wait for a password prompt\nthat nobody sees. To correct a version once it is uploaded, release the next version.\n\n## 5. Check it landed\n\nPyPI must hold the two files that were built, byte for byte, and they must install. Run this in\nthe directory of the upload: a build run again from the same source gives other bytes. Measured on\n0.5.0, a rebuilt wheel held the same files with the same bytes as the uploaded one, and differed\nonly in the time recorded for the files the build writes.\n\n```sh\ncurl -fsSL \"https:\u002F\u002Fpypi.org\u002Fpypi\u002Fapache-skywalking-asz-langchain\u002F$v\u002Fjson\" |\n  python3 -c 'import json, sys; [print(f[\"digests\"][\"sha256\"] + \"  \" + f[\"filename\"]) for f in json.load(sys.stdin)[\"urls\"]]'\nshasum -a 256 dist\u002F*\npython3 -m venv pypi-env && . pypi-env\u002Fbin\u002Factivate\npip install --quiet --no-cache-dir \"apache-skywalking-asz-langchain==$v\"\npip index versions apache-skywalking-asz-langchain\nasz-langchain status; echo \"exit $? (1: installed, not enabled)\"\ndeactivate\n```\n\nThen say what was uploaded and where, and clean up `$W`. After an upload made with a token scoped to\nthe whole account, remind the user to replace it with a token scoped to the project.\n","# PyPI\n\n`apache-skywalking-asz-langchain` is the LangChain plugin under `plugins\u002Flangchain`. It is in the\nvoted source package, and PyPI is a convenience channel written after the vote, as the Homebrew tap\nand the apt repository are. Nothing is uploaded for a candidate, and the version uploaded is the\nreleased one, which `release.sh prepare` wrote into `plugins\u002Flangchain\u002Fpyproject.toml`.\n\nUnlike the Homebrew and apt skills, this one opens no pull request. It uploads, and an upload\ncannot be undone: PyPI never accepts a file name twice, even after the file is deleted.\n\nAsk for the version when it is not given. Then:\n\n## 0. Set up the upload\n\nThe project `apache-skywalking-asz-langchain` is on PyPI since 0.5.0, whose upload created it. Only\nan owner or a maintainer of the project on PyPI can upload. A release manager who is neither asks\nan owner to add them.\n\n1. **A PyPI account with two-factor authentication.** PyPI refuses an upload from an account\n   without it.\n2. **An API token.** A token scoped to a project can only be made once the project exists. So the\n   upload that creates a project needs a token scoped to the whole account, as 0.5.0 did. Every\n   later upload uses a token scoped to `apache-skywalking-asz-langchain`. After the first upload,\n   replace the account token with a project token, and delete the account token.\n3. **The token in `SW_PYPI_TOKEN`,** exported from the shell profile, such as `~\u002F.zprofile`,\n   before Claude Code starts. When the 0.5.0 token was added to the profile during a session, the\n   session did not see it until Claude Code was started again. Reading it out of the profile from\n   inside the session was refused by the permission check of auto mode.\n\nCheck it without printing it. Stop and tell the user when it is not set:\n\n```sh\n[ -n \"$SW_PYPI_TOKEN\" ] && echo \"SW_PYPI_TOKEN is set, ${#SW_PYPI_TOKEN} characters\"\n```\n\nNever print the token, and never write it into a file.\n\n## 1. Download the voted source package and verify it\n\nThe newest version is on downloads.apache.org minutes after the move. archive.apache.org holds every\nversion, but gets a new one later: for 0.5.0 it still answered 404 fifteen minutes after the move,\nand 200 when checked again four hours later. So try the download site first.\n\n```sh\nv=VERSION\npkg=apache-skywalking-ai-sessionizer-$v-src.tgz\nW=$(mktemp -d); cd \"$W\"\nfor f in \"$pkg\" \"$pkg.sha512\" \"$pkg.asc\"; do\n  curl --noproxy '*' -fsSLO \"https:\u002F\u002Fdownloads.apache.org\u002Fskywalking\u002Fai-sessionizer\u002F$v\u002F$f\" ||\n    curl --noproxy '*' -fsSLO \"https:\u002F\u002Farchive.apache.org\u002Fdist\u002Fskywalking\u002Fai-sessionizer\u002F$v\u002F$f\"\ndone\ncurl --noproxy '*' -fsSL -o KEYS https:\u002F\u002Fdownloads.apache.org\u002Fskywalking\u002FKEYS\ngpg --dearmor \u003C KEYS > keys.gpg\nshasum -a 512 -c \"$pkg.sha512\" && gpgv --keyring \"$W\u002Fkeys.gpg\" \"$pkg.asc\" \"$pkg\"\ntar -xzf \"$pkg\"\n```\n\n`gpgv` reads KEYS from a file of its own, so the user's keyring is left alone. `gpg --import` into\na scratch directory under a long path hung on macOS, waiting to start `gpg-agent`. A local proxy can\nbreak HTTPS to Apache hosts, which is why the commands go around it.\n\nStop if either check fails. Nothing is built from a package that did not verify.\n\n## 2. Build from the package, not from a checkout\n\nA checkout can hold what the vote did not.\n\n```sh\npython3 -m venv build-env && . build-env\u002Fbin\u002Factivate\npip install --quiet build twine\npython -m build --outdir dist \"apache-skywalking-ai-sessionizer-$v-src\u002Fplugins\u002Flangchain\"\ntwine check dist\u002F*\n```\n\n`dist\u002F` holds `apache_skywalking_asz_langchain-$v.tar.gz` and\n`apache_skywalking_asz_langchain-$v-py3-none-any.whl`. Check the version in the file names is\n`$v`, and that `unzip -l dist\u002F*.whl` lists `LICENSE` and `NOTICE` under the `.dist-info`\ndirectory.\n\n## 3. Install the wheel where nothing else is, and run it\n\n`asz-langchain status` exits 1 while the plugin is not enabled and 0 while it is, so the checks\nbelow say which exit code they expect. `enable` writes only into the environment's own site\ndirectory.\n\n```sh\npython3 -m venv try-env && . try-env\u002Fbin\u002Factivate\npip install --quiet dist\u002F*.whl\nasz-langchain status && { echo \"enabled before enable\"; exit 1; }\nasz-langchain enable && asz-langchain status || { echo \"enable did not take\"; exit 1; }\nasz-langchain disable && ! asz-langchain status || { echo \"disable did not take\"; exit 1; }\ndeactivate\n```\n\n`status` must say \"not enabled\", then \"enabled at ...\", then \"not enabled\" again. Stop if a\nline prints its message.\n\n## 4. Upload\n\n```sh\n. build-env\u002Fbin\u002Factivate\nTWINE_USERNAME=__token__ TWINE_PASSWORD=\"${SW_PYPI_TOKEN:?SW_PYPI_TOKEN is not set}\" \\\n  twine upload --non-interactive dist\u002F*\n```\n\n`--non-interactive` makes a missing or refused token fail, rather than wait for a password prompt\nthat nobody sees. To correct a version once it is uploaded, release the next version.\n\n## 5. Check it landed\n\nPyPI must hold the two files that were built, byte for byte, and they must install. Run this in\nthe directory of the upload: a build run again from the same source gives other bytes. Measured on\n0.5.0, a rebuilt wheel held the same files with the same bytes as the uploaded one, and differed\nonly in the time recorded for the files the build writes.\n\n```sh\ncurl -fsSL \"https:\u002F\u002Fpypi.org\u002Fpypi\u002Fapache-skywalking-asz-langchain\u002F$v\u002Fjson\" |\n  python3 -c 'import json, sys; [print(f[\"digests\"][\"sha256\"] + \"  \" + f[\"filename\"]) for f in json.load(sys.stdin)[\"urls\"]]'\nshasum -a 256 dist\u002F*\npython3 -m venv pypi-env && . pypi-env\u002Fbin\u002Factivate\npip install --quiet --no-cache-dir \"apache-skywalking-asz-langchain==$v\"\npip index versions apache-skywalking-asz-langchain\nasz-langchain status; echo \"exit $? (1: installed, not enabled)\"\ndeactivate\n```\n\nThen say what was uploaded and where, and clean up `$W`. After an upload made with a token scoped to\nthe whole account, remind the user to replace it with a token scoped to the project.\n",{"name":5,"description":7,"user-invocable":29},true,"main","07a2d95fdf9ebd8af1efc06fff6b1c40d5d02e4d",".claude\u002Fskills\u002Fpypi",4,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fskywalking-ai-sessionizer","https:\u002F\u002Fskywalking.apache.org\u002F","https:\u002F\u002Fgithub.com\u002Fapache","https:\u002F\u002Fwww.apache.org\u002F","2026-11-03 14:47:24",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":29},[41,44,47],{"tool":42,"command":43},"npx","npx skills add apache\u002Fskywalking-ai-sessionizer --skill pypi",{"tool":45,"command":46},"bunx","bunx skills add apache\u002Fskywalking-ai-sessionizer --skill pypi",{"tool":48,"command":49},"pnpm","pnpm dlx skills add apache\u002Fskywalking-ai-sessionizer --skill pypi","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fapache\u002Fskywalking-ai-sessionizer\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fpypi\u002FSKILL.md",[52,58],{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"agents\u002Fopenai.yaml","REFERENCE","参考文档",149,"https:\u002F\u002Fgithub.com\u002Fbnferguson\u002Fdotfiles\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsetup-ts-deep-modules\u002Fagents\u002Fopenai.yaml",{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"dependency-cruiser.config.cjs","SCRIPT","脚本",3712,"https:\u002F\u002Fgithub.com\u002Fbnferguson\u002Fdotfiles\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsetup-ts-deep-modules\u002Fdependency-cruiser.config.cjs",[65,75,87],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":24},"01M6ACVQTQ62BTQX7EXRH7M568","homebrew","Add released versions of Apache SkyWalking AI Sessionizer to its Homebrew tap, Formula\u002F on main in apache\u002Fskywalking-ai-sessionizer. Writes asz@VERSION from the voted packages, moves asz to the newest version, checks every formula with brew, and opens a pull request to main in this repository. Use after a version is published, or to add older released versions.","https:\u002F\u002Fgithub.com\u002Fapache\u002Fskywalking-ai-sessionizer\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fhomebrew\u002FSKILL.md",[],[67,21,9,72,73,74],"pull","packages","pull request",{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":24},"01M6ACVP5MR5W6M1XSG40JB15T","collect","Collect this machine's local Claude Code conversation data with the asz collector. Resolves the local Claude data directory (honouring CLAUDE_CONFIG_DIR and XDG_CONFIG_HOME), builds the binary, lists what is discoverable, and lands everything into the storage root. Use when asked to collect, backfill, re-collect, or inspect local Claude Code sessions, or to check what the collector can see.","https:\u002F\u002Fgithub.com\u002Fapache\u002Fskywalking-ai-sessionizer\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fcollect\u002FSKILL.md",[],[77,82,83,84,85,86],"storage","code","config","sessions","directory",{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":24},"01M6ACVM32H3JCFFPKER3QBAZS","apt","Add released versions of Apache SkyWalking AI Sessionizer to its apt repository, static\u002Fapt in apache\u002Fskywalking-website, which the website serves at https:\u002F\u002Fskywalking.apache.org\u002Fapt. Verifies the voted .deb packages, adds them to the index with apt-ftparchive, signs the index with the release manager's key, writes the .htaccess redirects, installs through them with apt, and opens a pull request to apache\u002Fskywalking-website. Use after a version is published.","https:\u002F\u002Fgithub.com\u002Fapache\u002Fskywalking-ai-sessionizer\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fapt\u002FSKILL.md",[],[89,74,94,95,96,21,9,72,20,73],"https","website","index"]