ソース情報
- リポジトリ
- jim60105/AIr-Friends
- ソースの最終更新活動
- 2026年8月28日 23:09
- 検出された SKILL.md の言語
- 英語
- スター
- 6
- フォーク
- 0
インストール方法
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
ソースファイルを確認
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
メニュー
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
直接コマンドでは確認用 Prompt が省略されます。実行前にソースを確認してください。
npx skills add https://github.com/jim60105/AIr-Friends --skill edit-replyコマンドは1行のまま表示されます。コピー前に横へスクロールして全体を確認してください。
ローカルで確認しますか?SkillsMP が現在取得できるファイルをダウンロードできます。
SKILL.md を表示中
| name | edit-reply |
| description | Edit the last reply message that was sent via send-reply |
| parameters | [{"name":"messageId","type":"string","required":true,"description":"The ID of the message to edit (obtained from send-reply result)"},{"name":"message","type":"string","required":true,"description":"The new message content to replace the original"}] |
Edit the previously sent reply message. Use this when you need to correct errors or update information in your last reply.
send-reply and obtained the messageId from its resultTwo-step flow — the new message text MUST NOT appear on the command line.
Write the corrected text to a payload file under the session staging directory using your edit/write tool:
$TMPDIR/$SESSION_ID/reply.md
The $TMPDIR / $SESSION_ID tokens in that path are expanded by the ACP path boundary, so the write is approved and the text bytes are preserved verbatim (no shell expansion). $TMPDIR/$SESSION_ID/ is the per-spawn form of the staging directory; in shared-process deployments the staging directory is shown in your system prompt and the script resolves it automatically.
Invoke the script with the payload file path:
${HOME}/.agents/skills/edit-reply/scripts/edit-reply.ts \
--session-id "$SESSION_ID" \
--message-id "<messageId from send-reply>" \
--message-file "$TMPDIR/$SESSION_ID/reply.md"
WARNING: Never put message content on the command line. The legacy --message "..." / --message=... flags are REMOVED: the shell expands $VAR in them (e.g. $0 → /usr/bin/bash, $HOME, $API_KEY), which corrupts your message and can leak environment variables to the user.
| Parameter | Required | Description |
|---|---|---|
--session-id | Yes | Use the session id rendered in your system prompt. $SESSION_ID works only in per-spawn deployments; in shared-process mode it is not set and the skill library resolves the owning session automatically — a mismatched value is never honored |
--message-id | Yes | The ID of the message to edit (obtained from send-reply result) |
--message-file | Yes | Path of the payload file containing the new text (must be under $TMPDIR/$SESSION_ID/) |
If the script fails, read the JSON error on stderr. It contains the fix. Common codes: SKILL_LEGACY_FLAG (you used the removed --message flag — stage the text in $TMPDIR/$SESSION_ID/reply.md and use --message-file), SKILL_MISSING_PAYLOAD (no --message-file given), SKILL_PAYLOAD_OUT_OF_BOUNDS (payload path outside $TMPDIR/$SESSION_ID/), SKILL_PAYLOAD_NOT_FOUND (payload file not written yet — write it first with the edit/write tool).
messageId must be from a previous send-reply call in the same sessionsend-reply messages are editable — messages delivered by send-file are NEVER editable, and passing a file-message ID to this skill will be rejected. There is no edit-file skill.messageId remains the same after editing.messageId will be different from the original. Use the new messageId for subsequent edits.Cancel a previously set reminder by its ID
Fetch additional context from the platform, including recent messages, search through conversation history, or get user information. Use when you need more context than what's provided initially.
Get the content of a sent message by its ID