[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ACVP5MR5W6M1XSG40JB15T":3,"skill-same:01M6ACVP5MR5W6M1XSG40JB15T":58},{"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},"01M6ACVP5MR5W6M1XSG40JB15T","collect",null,"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.","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\u002Fcollect\u002FSKILL.md",[],[5,19,20,21,22,23],"directory","storage","sessions","config","code","2026-11-10 10:12:30",false,"---\nname: collect\ndescription: 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.\nuser-invocable: true\n---\n\n# Collect local Claude Code data\n\nRuns the `claude-code-local` adapter over this machine's own Claude Code files.\nIt reads only what is already on disk — nothing needs to be enabled in Claude\nCode, and it works on history that predates the collector.\n\n## 1. Resolve the source directory\n\nThe location is **not** fixed. Resolve in this order and report which one won:\n\n```sh\nif   [ -n \"$CLAUDE_CONFIG_DIR\" ];  then SRC=\"$CLAUDE_CONFIG_DIR\u002Fprojects\"\nelif [ -n \"$XDG_CONFIG_HOME\" ];    then SRC=\"$XDG_CONFIG_HOME\u002Fclaude\u002Fprojects\"\nelse                                    SRC=\"$HOME\u002F.claude\u002Fprojects\"\nfi\nls -d \"$SRC\" && du -sh \"$SRC\"\n```\n\n`asz` performs the same resolution internally, so normally you do not pass\n`source_root` at all. Set it only when collecting from a copy or a mounted corpus.\n\n## 2. Build\n\n```sh\nmake build          # -> .\u002Fbin\u002Fasz\n```\n\n## 3. See what is discoverable before collecting\n\n```sh\n.\u002Fbin\u002Fasz sources\n```\n\nReports one row per session with its stream, meta, journal and manifest counts,\nthen a footer naming any session whose files span more than one source\ndirectory. Read it for two things:\n\n- **`filtered: N session(s) excluded by config`** — the default config excludes\n  `\u002Fprivate\u002Ftmp\u002F**` (Claude Code's own agent scratchpads). If a session you\n  expect is missing, this is why.\n- **sessions spanning several directories** — normal. A child agent that ran in\n  a different working directory is filed under that directory instead.\n\n## 4. Collect\n\nDefault storage root is `.\u002Fdata`, relative to the working directory.\n\n```sh\n.\u002Fbin\u002Fasz collect -once          # single pass; the backfill path\n.\u002Fbin\u002Fasz collect                # watch mode: a pass now, then every 10 minutes\n```\n\nTo land somewhere else, write a config and pass it:\n\n```yaml\n# collect.yaml\nstorage:\n  root: \u002Ftmp\u002Fasz-data\nadapters:\n  - name: claude-code-local\n    enabled: true\n    collector:\n      mode: once\n```\n\n```sh\n.\u002Fbin\u002Fasz collect -config collect.yaml\n```\n\nWithout `-config`, a command run from the repository root reads the `asz.yaml` there. Its\nvalues are the built-in defaults: storage root `.\u002Fdata`, watch mode, a 10 minute interval. Pass a\nfile like the one above when you want a single backfill pass into another directory.\n\n## 5. Read the result line\n\n```\nsessions=61 sources=5831 landed=5831 records=364051 bytes=1.0GB\ngone=0 conflicts=0 busy=0 pending=0 errors=0 (2m16s)\n```\n\n| Field | Meaning |\n| --- | --- |\n| `landed` | sources that produced new data this pass |\n| `gone` | source deleted since last pass — **normal**, Claude Code prunes transcripts, and our landed copy outlives them |\n| `conflicts` | a source was rotated, truncated or rewritten behind the cursor; collection stopped for it |\n| `busy` | session skipped because another collector holds its lock |\n| `pending` | a source still had data when the per-pass drain limit was reached |\n\n**`pending` or `errors` above zero means the pass did not collect everything**,\nand `asz collect` exits non-zero. A clean pass is `pending=0 errors=0`.\n\nRe-running is cheap and safe: cursors make a steady-state pass ~1s over several\nthousand sources, and landing is idempotent by design.\n\n## What lands where\n\n```\n\u003Croot>\u002F\u003Csession-id>\u002F\n    session.state                                   next_seq, liveness, last scan\n    streams\u002Fmain\u002F        transcript.cursor · transcript-\u003Cts>-\u003Cseq>.sd\n    streams\u002F\u003Cagent-id>\u002F  transcript.cursor · transcript-… · meta.cursor · meta-…\n    runs\u002F\u003Crun-id>\u002F       journal.cursor · journal-… · manifest.cursor · manifest-… · script.cursor · script-…\n    index\u002F               entries.bin · index.state\n\u003Croot>\u002F_conversations\u002F\u003Cid>\u002Frounds\u002Fr000001-\u003Cdigest>.sf   written by asz parse\n```\n\nLanded files are Session Data (`.sd`), not copies of the source lines. See\n`docs\u002Fen\u002Fformats\u002Fstorage-root.md`.\n\nLanded files are **write-once and read-only**. Each is a header line plus one\nline per source record, with the source bytes preserved verbatim in `payload`.\n\nPurging a session is `rm -rf \u003Croot>\u002F\u003Csession-id>\u002F`.\n\n## If something looks wrong\n\n- **A session is missing** — check the `filtered` line first, then `asz sources`.\n- **`conflicts` is non-zero** — the cursor for that source is now sticky. Inspect\n  `state` in its `cursor` file; the source was rotated, truncated, or rewritten\n  behind the position we had already consumed.\n- **Nothing is discovered** — confirm step 1 resolved to a directory that exists\n  and contains per-project subdirectories.\n\nDo not hand-edit anything under the storage root. Cursors and landed files are\nconsistent only as written.\n","# Collect local Claude Code data\n\nRuns the `claude-code-local` adapter over this machine's own Claude Code files.\nIt reads only what is already on disk — nothing needs to be enabled in Claude\nCode, and it works on history that predates the collector.\n\n## 1. Resolve the source directory\n\nThe location is **not** fixed. Resolve in this order and report which one won:\n\n```sh\nif   [ -n \"$CLAUDE_CONFIG_DIR\" ];  then SRC=\"$CLAUDE_CONFIG_DIR\u002Fprojects\"\nelif [ -n \"$XDG_CONFIG_HOME\" ];    then SRC=\"$XDG_CONFIG_HOME\u002Fclaude\u002Fprojects\"\nelse                                    SRC=\"$HOME\u002F.claude\u002Fprojects\"\nfi\nls -d \"$SRC\" && du -sh \"$SRC\"\n```\n\n`asz` performs the same resolution internally, so normally you do not pass\n`source_root` at all. Set it only when collecting from a copy or a mounted corpus.\n\n## 2. Build\n\n```sh\nmake build          # -> .\u002Fbin\u002Fasz\n```\n\n## 3. See what is discoverable before collecting\n\n```sh\n.\u002Fbin\u002Fasz sources\n```\n\nReports one row per session with its stream, meta, journal and manifest counts,\nthen a footer naming any session whose files span more than one source\ndirectory. Read it for two things:\n\n- **`filtered: N session(s) excluded by config`** — the default config excludes\n  `\u002Fprivate\u002Ftmp\u002F**` (Claude Code's own agent scratchpads). If a session you\n  expect is missing, this is why.\n- **sessions spanning several directories** — normal. A child agent that ran in\n  a different working directory is filed under that directory instead.\n\n## 4. Collect\n\nDefault storage root is `.\u002Fdata`, relative to the working directory.\n\n```sh\n.\u002Fbin\u002Fasz collect -once          # single pass; the backfill path\n.\u002Fbin\u002Fasz collect                # watch mode: a pass now, then every 10 minutes\n```\n\nTo land somewhere else, write a config and pass it:\n\n```yaml\n# collect.yaml\nstorage:\n  root: \u002Ftmp\u002Fasz-data\nadapters:\n  - name: claude-code-local\n    enabled: true\n    collector:\n      mode: once\n```\n\n```sh\n.\u002Fbin\u002Fasz collect -config collect.yaml\n```\n\nWithout `-config`, a command run from the repository root reads the `asz.yaml` there. Its\nvalues are the built-in defaults: storage root `.\u002Fdata`, watch mode, a 10 minute interval. Pass a\nfile like the one above when you want a single backfill pass into another directory.\n\n## 5. Read the result line\n\n```\nsessions=61 sources=5831 landed=5831 records=364051 bytes=1.0GB\ngone=0 conflicts=0 busy=0 pending=0 errors=0 (2m16s)\n```\n\n| Field | Meaning |\n| --- | --- |\n| `landed` | sources that produced new data this pass |\n| `gone` | source deleted since last pass — **normal**, Claude Code prunes transcripts, and our landed copy outlives them |\n| `conflicts` | a source was rotated, truncated or rewritten behind the cursor; collection stopped for it |\n| `busy` | session skipped because another collector holds its lock |\n| `pending` | a source still had data when the per-pass drain limit was reached |\n\n**`pending` or `errors` above zero means the pass did not collect everything**,\nand `asz collect` exits non-zero. A clean pass is `pending=0 errors=0`.\n\nRe-running is cheap and safe: cursors make a steady-state pass ~1s over several\nthousand sources, and landing is idempotent by design.\n\n## What lands where\n\n```\n\u003Croot>\u002F\u003Csession-id>\u002F\n    session.state                                   next_seq, liveness, last scan\n    streams\u002Fmain\u002F        transcript.cursor · transcript-\u003Cts>-\u003Cseq>.sd\n    streams\u002F\u003Cagent-id>\u002F  transcript.cursor · transcript-… · meta.cursor · meta-…\n    runs\u002F\u003Crun-id>\u002F       journal.cursor · journal-… · manifest.cursor · manifest-… · script.cursor · script-…\n    index\u002F               entries.bin · index.state\n\u003Croot>\u002F_conversations\u002F\u003Cid>\u002Frounds\u002Fr000001-\u003Cdigest>.sf   written by asz parse\n```\n\nLanded files are Session Data (`.sd`), not copies of the source lines. See\n`docs\u002Fen\u002Fformats\u002Fstorage-root.md`.\n\nLanded files are **write-once and read-only**. Each is a header line plus one\nline per source record, with the source bytes preserved verbatim in `payload`.\n\nPurging a session is `rm -rf \u003Croot>\u002F\u003Csession-id>\u002F`.\n\n## If something looks wrong\n\n- **A session is missing** — check the `filtered` line first, then `asz sources`.\n- **`conflicts` is non-zero** — the cursor for that source is now sticky. Inspect\n  `state` in its `cursor` file; the source was rotated, truncated, or rewritten\n  behind the position we had already consumed.\n- **Nothing is discovered** — confirm step 1 resolved to a directory that exists\n  and contains per-project subdirectories.\n\nDo not hand-edit anything under the storage root. Cursors and landed files are\nconsistent only as written.\n",{"name":5,"description":7,"user-invocable":29},true,"main","07a2d95fdf9ebd8af1efc06fff6b1c40d5d02e4d",".claude\u002Fskills\u002Fcollect",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 collect",{"tool":45,"command":46},"bunx","bunx skills add apache\u002Fskywalking-ai-sessionizer --skill collect",{"tool":48,"command":49},"pnpm","pnpm dlx skills add apache\u002Fskywalking-ai-sessionizer --skill collect","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fapache\u002Fskywalking-ai-sessionizer\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fcollect\u002FSKILL.md",[52],{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"agents\u002Fopenai.yaml","REFERENCE","参考文档",99,"https:\u002F\u002Fgithub.com\u002Fbnferguson\u002Fdotfiles\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsetup-pre-commit\u002Fagents\u002Fopenai.yaml",[59,71,81],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":24},"01M6ACVSR542MXWBEH429FXZH6","pypi","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.","https:\u002F\u002Fgithub.com\u002Fapache\u002Fskywalking-ai-sessionizer\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fpypi\u002FSKILL.md",[],[61,66,67,68,9,69,70],"plugins","package","skywalking","release","plugin",{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"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",[],[73,78,68,9,79,80],"packages","pull","pull request",{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"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",[],[83,80,88,89,90,68,9,79,69,78],"https","website","index"]