/hotline:hotline-add-contact [slug] [path]from hotline
Registers a workspace in dirmap with a slug and path so hotline-dial can locate it. Handles existing entries and fallback JSON config.
Ships in hotline. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Register a workspace in dirmap so it can be found by hotline-dial during workspace resolution.
blog, coaching, frontend). If not provided, ask the user.SLUG="$1 or ask the user"
TARGET_PATH="$2 or $(pwd)"
If no slug was provided, ask the user:
What slug should I register this workspace under? (e.g., "blog", "coaching", "frontend")
Resolve the path to its canonical form:
TARGET_PATH=$(realpath "$TARGET_PATH")
Before adding, check if this slug already exists:
dirmap get "$SLUG" 2>/dev/null || dirmap-fallback.sh get "$SLUG" 2>/dev/null
If it exists and points to a different path, confirm with the user:
"$SLUG" is already registered at
/existing/path. Overwrite with$TARGET_PATH?
if command -v dirmap >/dev/null 2>&1; then
dirmap add "$SLUG" "$TARGET_PATH"
elif [[ ! -f "$HOME/.dirmap.json" ]]; then
jq -n --arg slug "$SLUG" --arg path "$TARGET_PATH" \
'{($slug): $path}' > "$HOME/.dirmap.json"
else
jq --arg slug "$SLUG" --arg path "$TARGET_PATH" \
'. + {($slug): $path}' "$HOME/.dirmap.json" > "$HOME/.dirmap.json.tmp" \
&& mv "$HOME/.dirmap.json.tmp" "$HOME/.dirmap.json"
fi
Registered $SLUG →
$TARGET_PATH. Other agents can now find this workspace withhotline-dial.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub jtsternberg/claude-plugins --plugin hotline9 skills in this plugin
/hotline-caller-idReturn the current Claude Code session ID — 'what is your/this session ID?'/hotline-call-statusRead the hotline call registry — which caller session dialed which callee session, on what transport and host handle. 'who called whom', 'list hotline calls', 'what callees are registered'./hotline-dialCall another Claude Code or Codex workspace — quick calls, work orders, conference calls, follow-ups, and Codex thread adoption. 'Call/dial/message/delegate to <workspace or project>'. Also dials a workspace on ANOTHER machine over SSH (--remote <ssh-target>, herdr on that box).