Files
skillshare/website/docs/commands/index.md
T
Willie e5813cc7e0 feat: add oplog instrumentation to all API handlers, improve audit/log/sync CLI
- Add oplog write helpers to server (oplog_helper.go) and instrument
  all handler_*.go endpoints with ops/audit logging
- Improve audit CLI with structured auditRunSummary and severity counts
- Enhance log CLI with richer filtering and detail display
- Improve sync CLI with drift detection summaries in oplog
- Reorder web UI sidebar nav by user workflow (core → acquire → distribute → maintain → monitor)
- Enhance LogPage with better formatting and filtering
- Add server oplog unit tests (logging_test.go, log_test.go)
- Update docs for log command and quick-reference
2026-02-10 03:50:03 +08:00

2.7 KiB

sidebar_position
sidebar_position
1

Commands

Complete reference for all skillshare commands.

Overview

Category Commands
Core init, install, uninstall, list, search, sync, status
Skill Management new, update, upgrade
Target Management target, diff
Sync Operations collect, backup, restore, push, pull
Utilities audit, log, doctor, ui

Core Commands

Command Description
init First-time setup
install Add a skill from a repo or path
uninstall Remove a skill
list List all skills
search Search for skills
sync Push skills to all targets
status Show sync state

Skill Management

Command Description
new Create a new skill
update Update a skill or tracked repo
upgrade Upgrade CLI or built-in skill

Target Management

Command Description
target Manage targets
diff Show differences between source and targets

Sync Operations

Command Description
collect Collect skills from target to source
backup Create backup of targets
restore Restore targets from backup
push Push to git remote
pull Pull from git remote and sync

Utilities

Command Description
audit Scan skills for security threats
log View operations and audit logs
doctor Diagnose issues
ui Launch web dashboard

Common Flags

Most commands support:

Flag Description
--dry-run, -n Preview without making changes
--help, -h Show help

Quick Reference

# Setup
skillshare init
skillshare init --remote git@github.com:you/skills.git

# Install skills
skillshare install anthropics/skills/skills/pdf
skillshare install github.com/team/skills --track

# Create skill
skillshare new my-skill

# Sync
skillshare sync
skillshare sync --dry-run

# Cross-machine
skillshare push -m "Add skill"
skillshare pull

# Status
skillshare status
skillshare list
skillshare diff

# Maintenance
skillshare update --all
skillshare audit
skillshare log
skillshare doctor
skillshare backup

# Web UI
skillshare ui
skillshare ui -p          # Project mode