How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-teleport:teleport-pullThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Pull configurations from your private hub to this machine.
Pull configurations from your private hub to this machine.
Hub-connect preamble: Run node "${CLAUDE_PLUGIN_ROOT}/dist/cli.js" context. Verify auth. Store username and machineAlias. Clone or pull: git clone https://github.com/<username>/claude-teleport-private /tmp/teleport-hub-<random> (or git pull if already present). Store path as hubPath.
List machines: Run node "${CLAUDE_PLUGIN_ROOT}/dist/cli.js" hub-machines --hub-path <hubPath>. This reads registry.yaml from main (no branch checkout needed). Use AskUserQuestion (single-select) to let the user pick a machine. Options: each machine name with last-push timestamp as description (e.g. "macbook-pro (pushed 2h ago)"), plus "main (merged union of all machines)".
Read machine + diff: If user picked a specific machine, run node "${CLAUDE_PLUGIN_ROOT}/dist/cli.js" hub-read-branch --hub-path <hubPath> --branch <selected> --output /tmp/hub-snap.json (returns full snapshot with content from machines/<alias>/). Alternatively, to read from main without branch checkout: hub-read-main --hub-path <hubPath> --machine <alias> --output /tmp/hub-snap.json. Then scan local: scan --output /tmp/local.json. Then diff --source-file /tmp/hub-snap.json --target-file /tmp/local.json --output /tmp/diff.json.
Present diff: Read diff file. Show by category: "From macbook-pro: +5 agents, +12 rules, ~3 settings, +2 plugins".
User selects: Use AskUserQuestion with multiSelect: true to present changed categories. Then for each selected category, use another AskUserQuestion with multiSelect: true listing specific items (show diff preview for modified items in the description).
RCE scan: For hooks/agents/CLAUDE.md: run rce-scan --file <path>. If findings: show flagged lines. Require explicit yes.
Backup: Run backup --claude-dir ~/.claude. Show backup path.
Apply: Write selections. Run apply --diff-file --selections-file. Show result.
Plugin instructions: If any, show copy-paste commands.
Cleanup: Remove temp files.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub seilk/claude-teleport --plugin claude-teleport