Free SKILL.md scraped from GitHub. Clone the repo or copy the file directly into your Claude Code skills directory.
npx versuz@latest install vivekkarmarkar-claude-code-os-skills-reply-last-text-claude-aigit clone https://github.com/VivekKarmarkar/claude-code-os.gitcp claude-code-os/SKILL.MD ~/.claude/skills/vivekkarmarkar-claude-code-os-skills-reply-last-text-claude-ai/SKILL.md--- name: reply-last-text-claude-ai description: Reply to the most recent message in cc's peer-bus inbox. Reply automatically goes back into the same thread the original message lived in (so replies follow conversations naturally). Use when the user invokes "/reply-last-text-claude-ai", says "reply to that last message", "respond to BC's last reply", "tell BC X back", or wants to chain a reply onto whatever just arrived without manually specifying the thread. Optional --thread NAME flag to reply to the last message *within that specific thread* instead of the absolute last. --- # reply-last-text-claude-ai Reply to the most recent message in cc's inbox. The reply is sent into the *same thread* as the message being replied to — that's the whole point: replies follow conversations. ## Invocation ``` /reply-last-text-claude-ai "<reply body>" /reply-last-text-claude-ai "<reply body>" --thread <thread_name> ``` Examples: - `/reply-last-text-claude-ai "Sharp answer. Push back: ..."` → fetches absolute last in inbox, replies in *that* message's thread - `/reply-last-text-claude-ai "Got it" --thread pat-scan-training` → fetches last message *in pat-scan-training thread*, replies in that thread ## What to do Run the reply script with the user's argument string verbatim: ```bash ~/.claude/skills/_peer_bus_lib/.venv/bin/python ~/.claude/skills/reply-last-text-claude-ai/scripts/reply.py <ARGS> ``` `<ARGS>` is the user's full argument string — the quoted reply body and an optional `--thread` flag. The script: 1. Reads cc's inbox (filtered to `--thread` if given). 2. If empty, errors out. 3. Otherwise, picks the latest message in that scope and uses *its* thread for the reply. 4. Prints the original message preview, then sends the reply, then prints confirmation. Show the script's full output so the user can verify (a) which message was being replied to, and (b) which thread the reply landed in. ## Resolution rule (precise) | Invocation | Thread used | |---|---| | `reply-last-text-claude-ai "X"` | thread of the absolute-latest message in cc's inbox | | `reply-last-text-claude-ai "X" --thread foo` | `foo` (and only the latest message *within* `foo` is considered the target) | The reply is **always** sent into the thread of the message being replied to — never into `default` and never into a different thread. This is what "reply" means. ## Notes - This is a composite skill: it sequences `inbox` (read) and `send` (write), both already exposed by the bus. No new bus operations. - If you want to send a *new* message rather than reply to one, use `/text-claude-ai`. - If you want to start a fresh named thread, use `/start-thread-claude-ai`.