Ig Replyのロゴ

Ig Reply

組織
postzen-dev
ig-reply

Handle the comments under the user's own reels and posts - draft replies to the ones worth answering, sorted by which ones are. Use when the user pastes their comments, says "reply to these", "handle my comments", "someone said X on my reel", or is dealing with a critic, a hater or a lead in the comments.

概要

公開者postzen-dev
リポジトリinstagram-agent-skill
スキル名ig-reply
スター
47
フォーク
7
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    postzen-devがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルIg ReplyをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/postzen-dev/instagram-agent-skill/tree/main/skills/ig-reply
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/postzen-dev/instagram-agent-skill.git /tmp/instagram-agent-skill
mkdir -p .claude/skills
cp -r /tmp/instagram-agent-skill/skills/ig-reply .claude/skills/ig-reply
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでIg Replyを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にIg Replyを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Ig Replyは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

ig-reply

The comment thread under your own post is where reach is decided. Every reply is another interaction on the post, replies arriving in the first hour do most of the work, and on Instagram a reply can also be a Reel, which is the single most underused move on the platform.

But the value is not equal across comments, so this skill sorts before it writes.

Input

The user pastes the comments, ideally with handles. Screenshots are fine. Do not scrape the thread with a browser tool.

Or, if the PostZen MCP tools are in this session, fetch them:

  1. listAccounts({ platform: "instagram" }) and take the account's _id.
  2. Find the post. The comment tools want the Instagram media id, not a PostZen id, because the inbox covers every post on the account, including ones published by hand.
    • A post that went out through /ig-publish: it is in the log line, or listPosts({ platform: "instagram", accountId, status: "published" }) and read platforms[].platformPostId and platformPostUrl.
    • Any post from the last 30 days, including native ones: syncExternalPosts({ accountId }) returns up to 20 with platformPostId, platformPostUrl, content and publishedAt. Pass url with the permalink to get one specific post. A second call within 15 seconds comes back with synced.skipped: true; that is a debounce, not an error.
    • Older posts: getAnalytics({ platform: "instagram", accountId, source: "all", sortBy: "date" }) and read platformAnalytics[].platformPostId.
  3. listInboxPostComments({ postId: "<media id>", accountId, limit: 100 }). Page with cursor while pagination.hasMore is true. Pass commentId to read the replies under one comment. Each comment carries id, message, from, likeCount, isHidden, canReply and canHide. Reads refresh from Instagram, so this is the live thread, not a snapshot.

Pasting still works when PostZen is not connected, and the triage below is the same either way.

Triage first

Sort every comment into one of six buckets and say the counts out loud:

bucketwhat it iswhat it gets
KEYWORDthe word you asked them to commentthe promised thing, sent by hand or by your approved tool
LEADsomeone describing the problem you solvea real answer in public, then a door
SUBSTANCEadds data, disagrees, extendsthe longest reply on the thread
QUESTIONa question a lot of people havethis one becomes a Reel, not just a reply
SUPPORT"🔥", "great post", a taga like, and 3 to 8 words at most
NOISEpitch, spam, bad faith, baitnothing, or one line and out

Write in that order and stop when the value stops.

The move most people miss

If a question in the comments is one that thirty other people also have, reply to it with a Reel. Instagram will attach the comment to the new video as a sticker, the person who asked gets notified, and a question with real demand behind it becomes a post with the hook already written for you. Flag every QUESTION that qualifies and hand it to /ig-reel as formula #16.

How to reply

  • Answer the actual question. If someone asks how, tell them how, in the reply. Do not send them to the DMs to hear an answer they could have had.
  • Use their name once, at the start, without an exclamation mark.
  • Match their length. A four-word comment does not get a four-line reply.
  • To a critic: concede the true part first, in their words, then hold the line. Never delete, never get defensive, never reply twice on the same thread.
  • To a hater: nothing. A reply is reach, and reach is what they came for. Hide the comment if it is abusive. Instagram's comment controls exist and using them is not losing.
  • To a lead: answer fully in public. The door is one sentence at the end and it is an offer of help, not a pitch. The public answer is what makes the next person DM you.

Keyword comments

If the post used a keyword ask, those comments are the whole point of the post. Every one of them is a person who raised their hand. Reply to each, then send what was promised. If a comment-to-DM automation is running on the post (/ig-dm sets one up through PostZen; listCommentAutomations({ accountId }) shows what exists), the DM side is already handled and only the public reply is yours. If not, the deliveries are manual and that is fine at this volume. Never bulk-DM people who did not comment.

Output

One block, grouped by bucket, each reply copy-ready and already humanized:

REPLIES  ·  84 comments  ·  41 KEYWORD, 2 LEAD, 3 SUBSTANCE, 2 QUESTION, 34 SUPPORT, 2 NOISE

KEYWORD  (41)  send the clause. One line each, same warmth, not copy-paste.

LEAD
@handle - "we had this exact thing happen in June"
> The bit that fixed it for us was moving the payment trigger off approval
> entirely. Happy to send the wording if it is useful.

QUESTION -> REEL
@handle - "what do you do if they refuse to sign it?"
  34 likes on this comment. That is a Reel, not a reply. Formula #16.

NOISE  (2)  skipped. Replying gives them reach.

Then the gate: nothing is posted until the user says yes to this block. If PostZen is not connected, they paste the replies.

Sending through PostZen

With the tools in this session and the yes given, send the block as shown, nothing edited after the yes:

  • Reply: replyToInboxPost({ postId: "<media id>", accountId, commentId, message }), one call per reply. Without commentId it posts a top-level comment on the post, which is almost never what you want here. A reply to a reply lands on the top-level parent, because Instagram threads are two levels deep. No attachments on Instagram replies: attachmentUrl returns attachmentUnsupported.
  • NOISE: hide, do not delete. hideInboxComment({ postId, commentId, accountId }) leaves the comment visible to its author and nobody else, which is the quiet outcome you want with a hater. unhideInboxComment reverses it. deleteInboxComment exists; use it only when the user asks for that comment by name, because deletion is visible and final.
  • Limits: 120 replies an hour and 120 hides an hour per user, and Meta has its own caps underneath. A thread with 84 comments fits. A thread with 300 keyword comments does not, so say so and send the top of the triage first. A 429 carries Retry-After; wait that long, do not loop.
  • Errors worth translating: platformCapabilityMissing (403) means the account was connected without the comment-management permission, and the fix is to reconnect it in PostZen. connectionDead (424) means the connection itself needs reauthorizing, same fix. postNotPublished means the post has not published yet, so there is no thread to read.

Report what was sent and what was not, by handle. If a call fails, say which one and why, and do not resend the whole batch.

よくある質問

AIスキル「Ig Reply」では何ができますか?

Handle the comments under the user's own reels and posts - draft replies to the ones worth answering, sorted by which ones are. Use when the user pastes their comments, says "reply to these", "handle my comments", "someone said X on my reel", or is dealing with a critic, a hater or a lead in the comments.

TypingMindでIg Replyを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Ig Replyはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにIg Replyをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/postzen-dev/instagram-agent-skill/tree/main/skills/ig-replyを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Ig Replyを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Ig Replyは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもIg Replyを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Ig Reply」は無料ですか?

はい。postzen-devがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇