用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Olshansk/agent-skills --skill cmd-latest-msg命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | cmd-latest-msg |
| description | Store or retrieve the latest agent message to /tmp/agents/{agent}/ |
| disable-model-invocation | false |
Persist the last agent message to disk for cross-agent visibility.
Parse the user's input after /cmd-latest-msg.
help (or no argument) — print usage and stop:
Usage:
/cmd-latest-msg save — save your last message
/cmd-latest-msg use — read latest from the current agent
/cmd-latest-msg use <agent> — read latest from claude|codex|gemini
/cmd-latest-msg help — show this usage
save — save the last assistant message:
a. Determine which agent you are from runtime context:
claudecodexgeminicodexb. Create the output directory:
mkdir -p /tmp/agents/<agent>
c. Capture your last assistant message — the response you gave immediately before the user invoked this skill.
d. Write it to two files using the Write tool:
/tmp/agents/<agent>/latest.md — always overwrite/tmp/agents/<agent>/<unix_timestamp>.md — timestamped copy (use date +%s to get the timestamp)e. Confirm with:
Stored to:
/tmp/agents/<agent>/latest.md
/tmp/agents/<agent>/<timestamp>.md
use — display the latest message for the current agent:
a. Infer the current agent using the same runtime-context rules as save.
b. Read and display /tmp/agents/<agent>/latest.md.
c. If the file doesn't exist, say: No messages found for <agent>.
use <agent> — display another agent's latest message:
a. Validate <agent> is one of: claude, codex, gemini.
b. Read and display /tmp/agents/<agent>/latest.md.
c. If the file doesn't exist, say: No messages found for <agent>.
Review a repository's Makefile foundation and propose approval-gated improvements to its helpers, templates, tests, and documentation. Use when iterating on Makefile conventions or the cmd-makefile skill itself.
Create or improve Makefiles with minimal complexity. Templates available: base, python-uv, python-fastapi, postgres, nodejs, go, chrome-extension, flutter, electron, static-site.
Proofread posts before publishing for spelling, grammar, syntax, punctuation, word usage, repetition, logic, weak arguments, clarity, structure, broken links, and image/text consistency. Use this whenever a user asks to proofread, edit, review, or improve a post, essay, article, or other publishable writing, even if they only mention grammar or typos.
基于 SOC 职业分类