feat: npx sem-skill installer (one-command agent setup)#392
Merged
Conversation
…t/hops Adds @ataraxy-labs/sem-skill: 'npx @ataraxy-labs/sem-skill' installs the sem skill into ~/.claude/skills/ and registers the sem MCP server, so any coding agent picks up sem (impact/context/orient/diff over grep) with no manual setup. This is the 'ride the agent ecosystem' distribution: every agent user can adopt sem in one command. The package distributes the canonical skill from #376 (a prepack copies skills/sem/SKILL.md, single source of truth, credit to @linhlban150612). The skill is extended with sem orient / sem_entities query and sem context --hops so it reflects current capabilities.
There was a problem hiding this comment.
inspect review
Triage: 35 entities analyzed | 0 critical, 0 high, 0 medium, 35 low
Verdict: standard_review
Findings (2)
- [low] install.mjs line 55: Regex pattern
/^sem[:\s]/mwill fail to match 'sem' if it appears at the start of a line without a colon or space immediately after. The MCP list output likely shows 'sem' as a standalone word or with different formatting, causing the installer to incorrectly attempt re-registration even when sem is already registered. - [low] Race condition:
execFileSync('claude', ['mcp', 'list'])output is checked with regex/^sem[:\s]/mwhich only matches if 'sem' appears at the start of a line. If the MCP server is named 'sem' but appears mid-line in the output (e.g., 'user: sem'), the regex will fail to match and the code will attempt to re-register an already registered server, potentially causing an error.
Reviewed by inspect | Entity-level triage found 0 high-risk changes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rides the agent ecosystem , the cheapest way to turn agent users into sem users.
One command installs the sem skill into
~/.claude/skills/and registers the sem MCP server, so a coding agent (Claude Code) picks up sem , impact / context / orient / diff over grep for structural questions , with no manual MCP wiring. Idempotent.prepackcopiesskills/sem/SKILL.md, single source of truth; credit to @linhlban150612).sem orient/sem_entitiesquery andsem context --hopsso it reflects current capabilities.Verified the installer end to end (skill installed, MCP detected, idempotent re-run).
Not published to npm yet , that's a separate
npm publishonce you approve.