← Back to Documentation

CLI Reference

Complete command-line reference for the SkillSea binary.

Server (Default Command)

Running skillsea without a subcommand starts the MCP server.

skillsea [--transport stdio|http|sse] [options]
FlagDefaultDescription
--transportstdioTransport type: stdio, http, or sse
--db-urlNeo4j connection URL (bolt://host:port)
--usernameneo4jNeo4j username
--passwordNeo4j password
--databaseneo4jNeo4j database name
--namespaceTool name prefix for multi-database setups
--server-host0.0.0.0Server host (HTTP/SSE transport)
--server-port8000Server port (HTTP/SSE transport)
--server-path/mcp/HTTP endpoint path
--read-onlyfalseDisable write queries
--read-timeout30Query timeout in seconds
--token-limitResponse token limit (truncates with tiktoken)
--schema-sample-size1000Schema sampling size for APOC meta
--skills-folder.claude/skillsFolder for synced skill files
--preload-embeddingsfalseLoad embedding model at startup
--allow-originsCORS origins (comma-separated)
--allowed-hostsDNS rebinding protection (comma-separated)
# Examples
skillsea --transport stdio
skillsea --transport http --server-port 8080
skillsea --read-only --preload-embeddings

Hook Commands

Hook commands integrate SkillSea with Claude Code's hook system.

skillsea hook sync

Sync skills based on user prompt. Called automatically by the UserPromptSubmit hook. Reads hook input from stdin.

FlagDescription
--debugEnable debug output to stderr
--strategySearch strategy: smart, semantic, fulltext
--limitMax skills to sync (default: 25)
--no-semanticDisable semantic search
--scanEnable security scanning
--no-scanDisable security scanning
--scan-thresholdMin severity to block: low, medium, high, critical
--skills-folderOverride skills folder path
--db-urlOverride Neo4j URL

skillsea hook scan

Post-use security scan. Called by PostToolUse hook after a skill is invoked. Runs Static + Behavioral analysis and reports findings to Neo4j.

FlagDescription
--debugEnable debug output
--behavioralEnable behavioral analyzer
--no-behavioralDisable behavioral analyzer
--skills-folderOverride skills folder path

skillsea hook clear

Remove all non-protected SkillSea skills from the skills folder. Protected skills (with a .protected marker) are kept.

skillsea hook list

Show currently synced skills, last query, and last sync time.

skillsea hook status [--warmup]

Show embedding backend status and Neo4j connection. Add --warmup to pre-load the embedding model.

skillsea hook install [--scope local|global]

Install Claude Code hooks for automatic skill sync (UserPromptSubmit) and update notifications (SessionStart). Use --scope local for project-level or --scope global for all projects. Optional: --project-root to specify project directory.

skillsea hook uninstall [--scope local|global]

Remove the UserPromptSubmit hook. Restart Claude Code after uninstalling.

skillsea hook fix-mcp

Fix the uv path in .mcp.json for the SkillSea server entry. Useful when switching between environments.

skillsea hook update-check

Check for binary updates and print to stderr. Called by the SessionStart hook. Uses a 24-hour cache to avoid repeated network calls.

License Commands

skillsea license activate KEY

Activate a license key. Shows tier, policy, and unlocked features on success.

skillsea license status

Show current license status, tier, machine fingerprint, and features.

skillsea license deactivate

Deactivate the current license and release the machine slot. Reverts to trial mode.

skillsea license features

List all features available on the current tier with [+] enabled and [-] disabled markers.

Update

skillsea update

Check for new versions and display the install command if an update is available.

$ skillsea update
Current: 0.5.3a1
Latest: 0.5.4
To update:
curl -fsSL https://probecodex.com/downloads/skillsea/install.sh | bash

Global Flags

FlagDescription
--versionShow version and check for updates
--licensesShow third-party software licenses
--helpShow help for any command

Environment Variables

CLI flags take precedence over environment variables. Set these in your shell profile or .mcp.json env block.

VariableDescription
NEO4J_URINeo4j connection URL (also: NEO4J_URL)
NEO4J_USERNAMENeo4j username
NEO4J_PASSWORDNeo4j password
NEO4J_DATABASENeo4j database name
NEO4J_TRANSPORTTransport type (stdio/http/sse)
NEO4J_NAMESPACETool name prefix
NEO4J_READ_TIMEOUTQuery timeout in seconds
NEO4J_RESPONSE_TOKEN_LIMITResponse token limit
NEO4J_READ_ONLYDisable write queries (true/false)
NEO4J_SCHEMA_SAMPLE_SIZESchema sampling size
KEYGEN_LICENSE_KEYLicense key for auto-activation
SKILLSEA_SEARCH_STRATEGYDefault search strategy
SKILLSEA_NO_UPDATE_CHECKSet to 1 to disable update checks (for CI)

Related