[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-77174":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":9,"totalLinesOfCode":9,"stars":12,"forks":13,"watchers":14,"openIssues":14,"contributorsCount":9,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":9,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":21,"topics":9,"createdAt":9,"pushedAt":9,"updatedAt":23,"readmeContent":24,"aiSummary":25,"trendingCount":15,"starSnapshotCount":15,"syncStatus":26,"lastSyncTime":27,"discoverSource":28},77174,"sx","sleuth-io\u002Fsx","sleuth-io","sx is a package manager for AI coding assistants",null,"https:\u002F\u002Fgithub.com\u002Fsleuth-io\u002Fsx","Go",241,13,1,0,3,10,58,9,3.44,false,"main","2026-06-12 02:03:42","\u003Cdiv align=\"center\">\n\u003Cimg src=\"docs\u002Fsx_logo.png\" alt=\"sx\" width=\"300\">\n\u003Cbr>\n\n### `sx` is your team's private npm for AI assets - skills, MCP configs, commands, and more. \n### Capture what your best AI users have learned and spread it to everyone automatically.\n\u003Cbr>\n\n[![Stars](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002Fsleuth-io\u002Fsx?style=flat&color=F59E0B)](https:\u002F\u002Fgithub.com\u002Fsleuth-io\u002Fsx\u002Fstargazers)\n[![Star History](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FStar_History-chart-8B5CF6)](https:\u002F\u002Fstar-history.com\u002F#sleuth-io\u002Fsx&Date)\n[![Downloads](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fdownloads\u002Fsleuth-io\u002Fsx\u002Ftotal?color=3B82F6)](https:\u002F\u002Fgithub.com\u002Fsleuth-io\u002Fsx\u002Freleases)\n[![PRs Welcome](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPRs-welcome-10B981.svg)](https:\u002F\u002Fgithub.com\u002Fsleuth-io\u002Fsx\u002Fpulls)\n\n⭐ [Star this repo](https:\u002F\u002Fgithub.com\u002Fsleuth-io\u002Fsx) · 🌐 [Website](https:\u002F\u002Fskills.new) · 📋 [Changelog](https:\u002F\u002Fgithub.com\u002Fsleuth-io\u002Fsx\u002Freleases) · 📄 [License](LICENSE)\n\n\u003Cbr>\n\n\u003C\u002Fdiv>\n\n![Demo](docs\u002Fdemo.gif)\n\n## Why sx?\n\nYour best developers have figured out how to make AI assistants incredibly productive - custom skills, MCP configs, slash commands, proven patterns. But that knowledge is stuck on their machines.\n\n**Current workarounds don't scale:**\n- **Copy into each repo** - Duplication nightmare, no central updates, version drift\n- **Global config** - Bloats context for projects\u002Ftasks that don't need those skills\n- **Client plugins** - Manually install each one, locked to one AI client, no bundling\n\n**sx solves this by:**\n- **Sharing expertise** - Turn individual discoveries into team assets\n- **Instant onboarding** - New devs inherit the team's AI playbook on day one\n- **Central updates** - Change once in your vault, everyone gets the update\n- **Scoped installation** - Right assets for each org, team, bot, repo or person, no context bloat\n- **Works with any AI client** - Claude Code, Cursor, GitHub Copilot, Gemini, Kiro, OpenCode, and more, plus claude.ai and chatgpt.com via the cloud relay\n\n## Quickstart\n\n**Install via Homebrew (macOS\u002FLinux):**\n\n```bash\nbrew tap sleuth-io\u002Ftap\nbrew install sx\n```\n\n**Or via shell script:**\n\n```bash\ncurl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002Fsleuth-io\u002Fsx\u002Fmain\u002Finstall.sh | bash\n```\n\nThen\n\n```bash\n# Initialize\nsx init\n\n# Add an asset from your vault\nsx add \u002Fpath\u002Fto\u002Fmy-skill\n\n# Install assets to your current project\nsx install\n```\n\n**Multiple vaults?** Use profiles to switch between them:\n\n```bash\nsx profile add work        # Add a new profile\nsx profile use work        # Switch to it\nsx profile list            # See all profiles\n```\n\n**Install targets** — pick who sees which asset:\n\n```bash\nsx install my-skill --org                         # everyone in the vault\nsx install my-skill --repo github.com\u002Facme\u002Finfra  # only inside that repo\nsx install my-skill --path github.com\u002Facme\u002Finfra#docs\u002F  # one path in a repo\nsx install my-skill --team platform               # every member of a team\nsx install my-skill --user alice@acme.com         # a single user (must be the caller)\nsx install my-skill --bot python-backend          # a bot identity (CI runner, agent)\n```\n\n| Scope | Who gets it |\n|-------|-------------|\n| `--org` | Everyone — the default if no flag is set |\n| `--repo` \u002F `--path` | Callers working inside the named repo or subpath |\n| `--team` | Team members; admin-gated |\n| `--user` | A single human, must match caller's git identity |\n| `--bot` | A bot identity, resolved when `SX_BOT=\u003Cname>` is set |\n\nSee [docs\u002Fscoping.md](docs\u002Fscoping.md) for the full overview and\nlinks to a per-scope doc for each install target.\n\n**Preview** — see what `sx install` would resolve for you, the `pip\nfreeze` analogue, without downloading or writing anything:\n\n```bash\nsx install --dry-run\n```\n\n**Use your vault from claude.ai or chatgpt.com** — expose it as an MCP\nendpoint via the skills.new relay:\n\n```bash\nsx cloud connect       # opens skills.new, paste back the attach line\nsx cloud serve         # keep this running — Ctrl+C exits\nsx cloud status        # prints the MCP URL to paste into claude.ai \u002F chatgpt.com\n```\n\nThe relay forwards requests over a WebSocket your machine opens — vault\ncontent stays local. See [docs\u002Fcloud-relay.md](docs\u002Fcloud-relay.md).\n\n**Usage analytics & audit**:\n\n```bash\nsx stats                                   # adoption dashboard\nsx stats --since 7d --json                 # machine-readable\nsx audit                                   # recent team\u002Finstall mutations\nsx audit --actor alice@acme.com --since 30d --event install.set\n```\n\n### Already using Claude Code?\n\nIf you've built up skills, plugins, or MCP configs in your `.claude` directory, `sx` helps you version, sync across machines, and share with teammates.\n\n```bash\n# Add your existing skills\u002Fcommands (sx auto-detects the type)\nsx add ~\u002F.claude\u002Fcommands\u002Fmy-command\nsx add ~\u002F.claude\u002Fskills\u002Fmy-skill\nsx add code-review@claude-plugins-official\n```\n\nYour prompt files stay exactly as they are - `sx` just wraps them with metadata for versioning.\n\n## What can you build and share?\n\n- **Skills** - Custom prompts and behaviors for specific tasks\n- **Rules** - Coding standards and guidelines that apply to specific file types or paths\n- **Agents** - Autonomous AI agents with specific goals\n- **Commands** - Slash commands for quick actions\n- **Hooks** - Automation triggers for lifecycle events\n- **MCP Servers** (experimental) - Model Context Protocol (MCP) servers for external integrations\n- **Plugins** - Claude Code plugin bundles with commands, skills, and more\n\n## skills.sh support\n\nsx integrates with [skills.sh](https:\u002F\u002Fskills.sh), a community directory of 85k+ agent skills.\n\n```bash\nsx add anthropics\u002Fskills\u002Ffrontend-design  # Add a specific skill\nsx add vercel-labs\u002Fagent-skills           # Browse skills in a repo\nsx add --browse                           # Search and browse the full directory\n```\n\n## Distribution models\n\nChoose the right distribution model for your team:\n\n### Local (Personal)\n\nPerfect for easily sharing personal tools across multiple personal projects\n\n```bash\nsx init --type path --path my\u002Fvault\u002Fpath\n```\n\n### Git vault (Small teams)\n\nShare assets through a shared git vault\n\n```bash\nsx init --type git --repo git@github.com:yourteam\u002Fskills.git\n```\n\n### Skills.new (Large teams and enterprise)\n\nCentralized management with a UI for discovery, creation, sharing, and usage analytics\n\n```bash\nsx init --type sleuth\n```\n\n## How it works\n\nsx follows the manifest-and-lock pattern used by npm, cargo, and uv:\n\n1. **Manifest (`sx.toml`)** — the vault's source of truth. Lists every\n   managed asset, its install scopes (`org`, `repo`, `path`, `team`,\n   `bot`, `user`), and team definitions (members, admins, repositories).\n   Committed to git \u002F path vaults. See [docs\u002Fmanifest-spec.md](docs\u002Fmanifest-spec.md).\n2. **Lock file** — a per-user resolved artifact. `sx install` reads the\n   manifest, resolves team and user scopes against the caller's git\n   identity, and writes the result to the user's cache directory\n   (`~\u002F\u003Ccache>\u002Fsx\u002Flockfiles\u002F`). When the resolved lock changes, the\n   previous file is rotated with a timestamp so old installs stay\n   reproducible.\n3. **Audit + usage streams** — every team\u002Finstall mutation appends an\n   audit entry to `.sx\u002Faudit\u002FYYYY-MM.jsonl`; usage events append to\n   `.sx\u002Fusage\u002FYYYY-MM.jsonl`. Query them with `sx audit` \u002F `sx stats`.\n\nHigh level: **create** assets with metadata, **share** to your vault,\n**install** [globally, per repo, per path, per team, per bot, or per user](docs\u002Fscoping.md),\n**auto-install** on new Claude Code sessions, **stay synchronized** —\neveryone gets the same tools automatically.\n\n## Supported Clients\n\n| Client                  | Status         | Notes                                                     |\n|-------------------------|----------------|-----------------------------------------------------------|\n| Claude Code             | ✅ Supported   | Full support for all asset types                          |\n| Cline                   | ✅ Supported   | Skills, rules, workflows as commands, MCP servers, hooks  |\n| Codex                   | ✅ Supported   | Skills, commands, MCP servers                             |\n| Cursor                  | ✅ Supported   | Skills, rules, commands, MCP servers, hooks               |\n| GitHub Copilot          | ✅ Supported   | Skills, rules, commands, agents, MCP servers, local hooks |\n| Gemini (CLI\u002FVS Code)    | ✅ Supported   | Skills, rules, commands, MCP servers, hooks               |\n| Gemini (JetBrains)      | ✅ Supported   | Rules, MCP servers only (no commands\u002Fhooks)               |\n| Gemini (Android Studio) | ✅ Supported   | Rules, MCP-remote only (HTTP, no stdio)                   |\n| Kiro                    | ✅ Supported   | Skills, rules, commands, MCP servers                      |\n| Openclaw                | ✅ Supported   | Skills, rules, commands                                   |\n| OpenCode                | ✅ Supported   | Skills, commands, agents, rules, MCP servers              |\n| claude.ai (web)         | ✅ Supported   | Via the [skills.new cloud relay](docs\u002Fcloud-relay.md)     |\n| chatgpt.com (web)       | ✅ Supported   | Via the [skills.new cloud relay](docs\u002Fcloud-relay.md)     |\n\n\n## Roadmap\n- ✅ Local, Git, and Skills.new vaults\n- ✅ Claude Code support\n- ✅ Cline support\n- ✅ Cursor support\n- ✅ GitHub Copilot support\n- ✅ Gemini support\n- ✅ Codex support\n- ✅ Kiro support\n- ✅ Openclaw support\n- ✅ OpenCode support\n- ✅ claude.ai and chatgpt.com support via the skills.new cloud relay\n- ✅ Org, Team, Bot, Repository & Personal installation targets for all vault types\n- ✅ Skill discovery - Use Skills.new to discover relevant skills from your code and architecture\n- ✅ Analytics - Track skill usage and impact\n- **RBAC and change request flow** - Support a gated skill update flow\n\n## License\n\nSee LICENSE file for details.\n\n---\n\n## Development\n\n\u003Cdetails>\n\u003Csummary>Click to expand development instructions\u003C\u002Fsummary>\n\n### Documentation\n\n- [Vault Spec](docs\u002Fvault-spec.md) - Vault directory structure\n- [Manifest Spec](docs\u002Fmanifest-spec.md) - sx.toml source-of-truth format (assets, scopes, teams)\n- [Lock Spec](docs\u002Flock-spec.md) - Per-user resolved lock file\n- [Scoping](docs\u002Fscoping.md) - Install targets and links to per-scope docs (orgs, repos, teams, users, bots)\n- [Audit log](docs\u002Faudit.md) - Event catalog, `sx audit` filters, storage format\n- [Usage analytics](docs\u002Fstats.md) - `sx stats` dashboard, JSON output, event format\n- [Metadata Spec](docs\u002Fmetadata-spec.md) - Asset metadata format\n- [MCP Spec](docs\u002Fmcp-spec.md) - MCP server and query tool\n- [Profiles](docs\u002Fprofiles.md) - Multiple configuration profiles\n- [Clients](docs\u002Fclients.md) - Client support model and IDE vs CLI limitations\n- [Cloud relay](docs\u002Fcloud-relay.md) - Expose your vault to claude.ai and chatgpt.com via skills.new\n\n\n### Prerequisites\n\nGo 1.25 or later is required. Install using [gvm](https:\u002F\u002Fgithub.com\u002Fmoovweb\u002Fgvm):\n\n```bash\n# Install gvm\nbash \u003C \u003C(curl -s -S -L https:\u002F\u002Fraw.githubusercontent.com\u002Fmoovweb\u002Fgvm\u002Fmaster\u002Fbinscripts\u002Fgvm-installer)\n\n# Install Go (use go1.4 as bootstrap if needed)\ngvm install go1.4 -B\ngvm use go1.4\nexport GOROOT_BOOTSTRAP=$GOROOT\ngvm install go1.25\ngvm use go1.25 --default\n```\n\n### Building from Source\n\n```bash\nmake init           # First time setup (install tools, download deps)\nmake build          # Build binary\nmake install        # Install to GOPATH\u002Fbin\n```\n\n### Testing\n\n```bash\nmake test           # Run tests with race detection\nmake format         # Format code with gofmt\nmake lint           # Run golangci-lint\nmake prepush        # Run before pushing (format, lint, test, build)\n```\n\n### Releases\n\nTag and push to trigger automated release via GoReleaser:\n\n```bash\ngit tag v0.1.0\ngit push origin v0.1.0\n```\n\n\u003C\u002Fdetails>\n","sx 是一个面向AI编码助手的包管理器，旨在帮助团队管理和共享AI相关资源如技能、MCP配置和命令等。它通过提供集中式的更新机制、即时的新成员引导以及支持范围安装等功能，确保团队内部的最佳实践能够被高效地传播和应用。sx 支持与多种AI客户端集成，包括但不限于Claude Code、Cursor、GitHub Copilot等，并且可以通过简单的命令行工具进行安装和使用。适用于需要提升开发效率并希望在团队中标准化AI辅助工具使用的场景。",2,"2026-06-11 03:55:08","trending"]