[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DAEJQYH89Z8VASZEHB1PCM":3,"skill-same:01M6DAEJQYH89Z8VASZEHB1PCM":59},{"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":27,"linkOnly":28,"markdownContent":29,"markdownBody":30,"frontMatter":31,"refName":32,"commitSha":33,"skillDirectory":34,"forksCount":35,"repositoryHtmlUrl":36,"repositoryHomepageUrl":6,"ownerHtmlUrl":37,"ownerBlogUrl":38,"ownerDescription":6,"updatedAt":39,"install":40,"resources":53},"01M6DAEJQYH89Z8VASZEHB1PCM","install-cli",null,"Install Pasture binaries (pastured, pasture, pasture-release) from GitHub Releases, go install, or Nix","dayvidpham\u002Fpasture","dayvidpham","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F22456875?v=4","01M6CHR0F6J2M4QEHFR85XRNSR","David Huu Pham","01M6DA7X1WB0MK7TTV46SRZK75",1,"MIT","https:\u002F\u002Fgithub.com\u002Fdayvidpham\u002Fpasture\u002Fblob\u002Fmain\u002Finternal\u002Ftarget\u002Fclaudecode\u002Fassets\u002Fpasture-skills\u002Fskills\u002Finstall-cli\u002FSKILL.md",[],[19,20,21,22,23,24,25,26],"install cli","cli","install","nix","github","releases","release","go","2026-11-10 10:12:30",false,"---\nname: install-cli\ndescription: Install Pasture binaries (pastured, pasture, pasture-release) from GitHub Releases, go install, or Nix\n---\n\n# \u002Fpasture:install-cli\n\nClaude Code skill for automated Pasture binary installation.\n\n## Usage\n\nInvoke via Claude Code:\n```\n\u002Fpasture:install-cli\n```\n\n## Behavior\n\nThe skill performs the following steps in order:\n\n### 1. Detect platform\n\n```bash\nOS=$(uname -s | tr '[:upper:]' '[:lower:]')   # linux or darwin\nARCH=$(uname -m)                               # x86_64, aarch64, or arm64\n```\n\nMap `ARCH` to Go-style suffix:\n- `x86_64`  → `amd64`\n- `aarch64` → `arm64`\n- `arm64`   → `arm64`\n\nCompose the binary suffix: `${OS}-${ARCH}` (e.g. `linux-amd64`, `darwin-arm64`).\n\n### 2. Fetch latest release tag\n\n```bash\nTAG=$(gh api repos\u002Fdayvidpham\u002Fpasture\u002Freleases\u002Flatest --jq '.tag_name')\n```\n\nRequires the GitHub CLI (`gh`) to be authenticated. If unavailable, fall back to\ncurl:\n\n```bash\nTAG=$(curl -fsSL https:\u002F\u002Fapi.github.com\u002Frepos\u002Fdayvidpham\u002Fpasture\u002Freleases\u002Flatest \\\n      | python3 -c \"import sys,json; print(json.load(sys.stdin)['tag_name'])\")\n```\n\n### 3. Download binaries\n\n```bash\nSUFFIX=\"${OS}-${ARCH}\"\nBASE_URL=\"https:\u002F\u002Fgithub.com\u002Fdayvidpham\u002Fpasture\u002Freleases\u002Fdownload\u002F${TAG}\"\nINSTALL_DIR=\"${HOME}\u002F.local\u002Fbin\"\nmkdir -p \"${INSTALL_DIR}\"\n\nfor cmd in pastured pasture pasture-release; do\n  curl -fsSL \"${BASE_URL}\u002F${cmd}-${SUFFIX}\" -o \"${INSTALL_DIR}\u002F${cmd}\"\n  chmod +x \"${INSTALL_DIR}\u002F${cmd}\"\ndone\n```\n\n### 4. Verify installation\n\n```bash\npastured --version\npasture --version\npasture-release --version\n```\n\nIf `~\u002F.local\u002Fbin` is not in `PATH`, the skill should print a reminder:\n```\nAdd ~\u002F.local\u002Fbin to your PATH:\n  export PATH=\"$HOME\u002F.local\u002Fbin:$PATH\"\n```\n\n## Fallback: go install\n\nIf GitHub Releases are unavailable (network restriction, air-gapped environment,\nor the repository is not yet public), install from source with Go:\n\n```bash\ngo install github.com\u002Fdayvidpham\u002Fpasture\u002Fcmd\u002Fpastured@latest\ngo install github.com\u002Fdayvidpham\u002Fpasture\u002Fcmd\u002Fpasture@latest\ngo install github.com\u002Fdayvidpham\u002Fpasture\u002Fcmd\u002Fpasture-release@latest\n```\n\nRequires Go 1.24+ and access to the Go module proxy (proxy.golang.org).\n\nThe retired message CLI is folded into `pasture`: use `pasture task ...` for task\nCRUD, `pasture migrate` for schema upgrades, and the `pasture epoch`, `pasture\nphase`, `pasture signal`, `pasture query`, `pasture session`, and `pasture slice`\nverbs for durable workflow control.\n\n### Task tracker setup after installation\n\nBefore creating or recovering work, set `PASTURE_NAMESPACE` to the repository URL.\nThe CLI reads it as the default namespace; an explicit `--namespace` wins.\nWithout either, reads are unscoped and creation uses the Git remote or directory namespace. Store precedence is `--db`, `PASTURE_DB_PATH`,\nXDG data directory, home data directory, then the relative fallback.\nUse the same store throughout; an open failure is not an empty task list.\n\n```bash\npasture task agents list\npasture task ready\npasture task blocked\npasture task list --namespace \"$PASTURE_NAMESPACE\" --status in_progress\n```\n\nReady\u002Fblocked read the whole selected store and accept only an exact `--label`\nfilter; inspect each returned full URI before choosing repository work.\nSelect an already-registered author explicitly for every comment. Create with\na positional title and `--format json`, capture `.id` as the full task URI,\nthen add labels separately; retain that URI and retry a failed label step\nwithout duplicating the task. Workers record evidence and blockers while\nremaining `in_progress`; only the supervisor closes after review\u002Facceptance.\nInstallation never grants permission to install or modify Git hooks.\n\n## Fallback: Nix\n\nIf a Nix-enabled system is available:\n\n```bash\nnix profile install github:dayvidpham\u002Fpasture#pastured\nnix profile install github:dayvidpham\u002Fpasture#pasture\nnix profile install github:dayvidpham\u002Fpasture#pasture-release\n# or install all at once:\nnix profile install github:dayvidpham\u002Fpasture\n```\n\n## Supported Platforms\n\n| OS    | Architecture | Binary suffix   |\n|-------|-------------|-----------------|\n| Linux | x86-64      | linux-amd64     |\n| Linux | ARM64       | linux-arm64     |\n| macOS | x86-64      | darwin-amd64    |\n| macOS | Apple M*    | darwin-arm64    |\n\n## Troubleshooting\n\n| Symptom | Cause | Fix |\n|---------|-------|-----|\n| `permission denied` on download | Insufficient write perms to `~\u002F.local\u002Fbin` | `mkdir -p ~\u002F.local\u002Fbin && chmod 755 ~\u002F.local\u002Fbin` |\n| `pastured: command not found` after install | `~\u002F.local\u002Fbin` not in `PATH` | Add to shell profile: `export PATH=\"$HOME\u002F.local\u002Fbin:$PATH\"` |\n| `gh: command not found` | GitHub CLI not installed | Use the curl fallback or install `gh` from https:\u002F\u002Fcli.github.com |\n| Wrong binary (SIGILL \u002F exec format error) | Wrong platform suffix detected | Verify `uname -s` and `uname -m` output match a supported platform |\n","# \u002Fpasture:install-cli\n\nClaude Code skill for automated Pasture binary installation.\n\n## Usage\n\nInvoke via Claude Code:\n```\n\u002Fpasture:install-cli\n```\n\n## Behavior\n\nThe skill performs the following steps in order:\n\n### 1. Detect platform\n\n```bash\nOS=$(uname -s | tr '[:upper:]' '[:lower:]')   # linux or darwin\nARCH=$(uname -m)                               # x86_64, aarch64, or arm64\n```\n\nMap `ARCH` to Go-style suffix:\n- `x86_64`  → `amd64`\n- `aarch64` → `arm64`\n- `arm64`   → `arm64`\n\nCompose the binary suffix: `${OS}-${ARCH}` (e.g. `linux-amd64`, `darwin-arm64`).\n\n### 2. Fetch latest release tag\n\n```bash\nTAG=$(gh api repos\u002Fdayvidpham\u002Fpasture\u002Freleases\u002Flatest --jq '.tag_name')\n```\n\nRequires the GitHub CLI (`gh`) to be authenticated. If unavailable, fall back to\ncurl:\n\n```bash\nTAG=$(curl -fsSL https:\u002F\u002Fapi.github.com\u002Frepos\u002Fdayvidpham\u002Fpasture\u002Freleases\u002Flatest \\\n      | python3 -c \"import sys,json; print(json.load(sys.stdin)['tag_name'])\")\n```\n\n### 3. Download binaries\n\n```bash\nSUFFIX=\"${OS}-${ARCH}\"\nBASE_URL=\"https:\u002F\u002Fgithub.com\u002Fdayvidpham\u002Fpasture\u002Freleases\u002Fdownload\u002F${TAG}\"\nINSTALL_DIR=\"${HOME}\u002F.local\u002Fbin\"\nmkdir -p \"${INSTALL_DIR}\"\n\nfor cmd in pastured pasture pasture-release; do\n  curl -fsSL \"${BASE_URL}\u002F${cmd}-${SUFFIX}\" -o \"${INSTALL_DIR}\u002F${cmd}\"\n  chmod +x \"${INSTALL_DIR}\u002F${cmd}\"\ndone\n```\n\n### 4. Verify installation\n\n```bash\npastured --version\npasture --version\npasture-release --version\n```\n\nIf `~\u002F.local\u002Fbin` is not in `PATH`, the skill should print a reminder:\n```\nAdd ~\u002F.local\u002Fbin to your PATH:\n  export PATH=\"$HOME\u002F.local\u002Fbin:$PATH\"\n```\n\n## Fallback: go install\n\nIf GitHub Releases are unavailable (network restriction, air-gapped environment,\nor the repository is not yet public), install from source with Go:\n\n```bash\ngo install github.com\u002Fdayvidpham\u002Fpasture\u002Fcmd\u002Fpastured@latest\ngo install github.com\u002Fdayvidpham\u002Fpasture\u002Fcmd\u002Fpasture@latest\ngo install github.com\u002Fdayvidpham\u002Fpasture\u002Fcmd\u002Fpasture-release@latest\n```\n\nRequires Go 1.24+ and access to the Go module proxy (proxy.golang.org).\n\nThe retired message CLI is folded into `pasture`: use `pasture task ...` for task\nCRUD, `pasture migrate` for schema upgrades, and the `pasture epoch`, `pasture\nphase`, `pasture signal`, `pasture query`, `pasture session`, and `pasture slice`\nverbs for durable workflow control.\n\n### Task tracker setup after installation\n\nBefore creating or recovering work, set `PASTURE_NAMESPACE` to the repository URL.\nThe CLI reads it as the default namespace; an explicit `--namespace` wins.\nWithout either, reads are unscoped and creation uses the Git remote or directory namespace. Store precedence is `--db`, `PASTURE_DB_PATH`,\nXDG data directory, home data directory, then the relative fallback.\nUse the same store throughout; an open failure is not an empty task list.\n\n```bash\npasture task agents list\npasture task ready\npasture task blocked\npasture task list --namespace \"$PASTURE_NAMESPACE\" --status in_progress\n```\n\nReady\u002Fblocked read the whole selected store and accept only an exact `--label`\nfilter; inspect each returned full URI before choosing repository work.\nSelect an already-registered author explicitly for every comment. Create with\na positional title and `--format json`, capture `.id` as the full task URI,\nthen add labels separately; retain that URI and retry a failed label step\nwithout duplicating the task. Workers record evidence and blockers while\nremaining `in_progress`; only the supervisor closes after review\u002Facceptance.\nInstallation never grants permission to install or modify Git hooks.\n\n## Fallback: Nix\n\nIf a Nix-enabled system is available:\n\n```bash\nnix profile install github:dayvidpham\u002Fpasture#pastured\nnix profile install github:dayvidpham\u002Fpasture#pasture\nnix profile install github:dayvidpham\u002Fpasture#pasture-release\n# or install all at once:\nnix profile install github:dayvidpham\u002Fpasture\n```\n\n## Supported Platforms\n\n| OS    | Architecture | Binary suffix   |\n|-------|-------------|-----------------|\n| Linux | x86-64      | linux-amd64     |\n| Linux | ARM64       | linux-arm64     |\n| macOS | x86-64      | darwin-amd64    |\n| macOS | Apple M*    | darwin-arm64    |\n\n## Troubleshooting\n\n| Symptom | Cause | Fix |\n|---------|-------|-----|\n| `permission denied` on download | Insufficient write perms to `~\u002F.local\u002Fbin` | `mkdir -p ~\u002F.local\u002Fbin && chmod 755 ~\u002F.local\u002Fbin` |\n| `pastured: command not found` after install | `~\u002F.local\u002Fbin` not in `PATH` | Add to shell profile: `export PATH=\"$HOME\u002F.local\u002Fbin:$PATH\"` |\n| `gh: command not found` | GitHub CLI not installed | Use the curl fallback or install `gh` from https:\u002F\u002Fcli.github.com |\n| Wrong binary (SIGILL \u002F exec format error) | Wrong platform suffix detected | Verify `uname -s` and `uname -m` output match a supported platform |\n",{"name":5,"description":7},"main","5813de22110ddc609b465a982b4811646ff72d18","internal\u002Ftarget\u002Fclaudecode\u002Fassets\u002Fpasture-skills\u002Fskills\u002Finstall-cli",0,"https:\u002F\u002Fgithub.com\u002Fdayvidpham\u002Fpasture","https:\u002F\u002Fgithub.com\u002Fdayvidpham","dhpham.com","2026-11-11 16:48:48",{"source":8,"skillName":5,"commands":41,"prompt":51,"zipAvailable":52},[42,45,48],{"tool":43,"command":44},"npx","npx skills add dayvidpham\u002Fpasture --skill install-cli",{"tool":46,"command":47},"bunx","bunx skills add dayvidpham\u002Fpasture --skill install-cli",{"tool":49,"command":50},"pnpm","pnpm dlx skills add dayvidpham\u002Fpasture --skill install-cli","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdayvidpham\u002Fpasture\u002Fblob\u002Fmain\u002Finternal\u002Ftarget\u002Fclaudecode\u002Fassets\u002Fpasture-skills\u002Fskills\u002Finstall-cli\u002FSKILL.md",true,[54],{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":35,"sourceHtmlUrl":58},".gitkeep","OTHER","其他","https:\u002F\u002Fgithub.com\u002Fdayvidpham\u002Fpasture\u002Fblob\u002Fmain\u002Finternal\u002Ftarget\u002Fclaudecode\u002Fassets\u002Fpasture-skills\u002Fskills\u002Finstall-cli\u002F.gitkeep",[60,68,84,94,106,117],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":27},"01M6DAP7307B3JVZX5DSNAE08Y","fixture","Isolated fixture skill","https:\u002F\u002Fgithub.com\u002Fdayvidpham\u002Fpasture\u002Fblob\u002Fmain\u002Ftestdata\u002Finstall\u002Fglobal\u002Fclaude-code\u002Fnative-marketplace\u002Ffixture-plugin\u002Fskills\u002Ffixture\u002FSKILL.md",[],[62,67],"fixture skill",{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":27},"01M6DAP48A4K365N83NBG0GFVC","worker","Vertical slice implementer (full production code path)","https:\u002F\u002Fgithub.com\u002Fdayvidpham\u002Fpasture\u002Fblob\u002Fmain\u002Fskills\u002Fworker\u002FSKILL.md",[],[70,75,76,77,78,79,80,81,82,83],"implementer","code","implement","Production","full","complete","vertical slice","slice","path",{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":27},"01M6DAP18QJM7P7N31TYGNJBCP","worker-implement","Implement assigned vertical slice following TDD layers","https:\u002F\u002Fgithub.com\u002Fdayvidpham\u002Fpasture\u002Fblob\u002Fmain\u002Fskills\u002Fworker-implement\u002FSKILL.md",[],[91,70,77,81,92,82,93],"worker implement","layers","tdd",{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":27},"01M6DANYHC7P63RFEN26F70MC2","worker-complete","Signal slice completion after quality gates pass","https:\u002F\u002Fgithub.com\u002Fdayvidpham\u002Fpasture\u002Fblob\u002Fmain\u002Fskills\u002Fworker-complete\u002FSKILL.md",[],[70,101,80,102,82,103,104,105],"worker complete","signal","gates","quality","quality gates",{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":27},"01M6DANWZ31TRP4NN4T1BFYKSR","worker-blocked","Report a blocker to supervisor via Pasture","https:\u002F\u002Fgithub.com\u002Fdayvidpham\u002Fpasture\u002Fblob\u002Fmain\u002Fskills\u002Fworker-blocked\u002FSKILL.md",[],[113,70,114,115,116],"worker blocked","via","report","supervisor",{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":128,"publishedAt":27},"01M6DANSVDBXBFH93B6EX3H2QK","user-uat","User Acceptance Testing with demonstrative examples","https:\u002F\u002Fgithub.com\u002Fdayvidpham\u002Fpasture\u002Fblob\u002Fmain\u002Fskills\u002Fuser-uat\u002FSKILL.md",[123],{"categoryNo":124,"categoryName":125,"taxonomyType":126,"taxonomyTypeDesc":127},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",[129,130,131,132,133,134,135,136,137],"uat","user uat","user","acceptance testing","with","user acceptance testing","examples","acceptance","testing"]