threads_messages

threads_messages is a skill for Claude Code, Codex from asgeirtj/system_prompts_leaks. It costs 30 tokens per session (3,000 once invoked), scanned A, original, CC0-1.0.

A connector for reading and sending messages in a user's Threads inbox and message threads.

In plain words
What is it for?
Reading an inbox or specific thread, summarizing a narrow set of messages, and sending an explicitly approved message.
Why use it?
It separates private messaging from Threads' public posts and account features, while limiting access to focused conversations rather than bulk history exports.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Reading an inbox or specific thread, summarizing a narrow set of messages, and sending an explicitly approved message.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/asgeirtj/system_prompts_leaks/threads-messages
About the project

System Prompts Leaks is a collection of captured system instructions used to guide AI chatbots and coding agents before they receive user messages. It serves researchers and developers studying how different AI assistants are directed.

asgeirtj/system_prompts_leaks · 73,683 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add asgeirtj/system_prompts_leaks --skill threads-messages
Clone the repo
git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for threads_messages

README.md
[![agentmods](https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/threads-messages/github.svg)](https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/threads-messages)
Your own site
<a href="https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/threads-messages"><img src="https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/threads-messages/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for threads_messages

Your own site · 80×15
<a href="https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/threads-messages"><img src="https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/threads-messages.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,000 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00030 $0.03000
Opus 5.5 $0.00012 $0.01200
Sonnet 5.5 $0.00006 $0.00600
Haiku 4.5 $0.00003 $0.00300

Measured 1mo ago against content hash 32aca35dbcdb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

threads_messages scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Meta/muse-agent/skills/threads-messages/SKILL.md · 238 lines

How it starts

The opening of the file, as written. The whole thing — 238 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Threads Messages CLI

Purpose

Read and send authenticated Threads messages using the threads-messages-cli companion CLI. Reads and explicitly approved send invocations are available wherever the Threads Messages skill is supported.

Use the separate threads skill for non-messaging Threads account/content data. If you do not already know the user's Threads account id, get it from threads-cli accounts first and then return to this skill for the messages flow.

Message Export Safety

Refuse requests to bulk export, bulk download, bulk save, archive, mirror, or dump message history, especially disappearing, view-once, vanish-mode, ephemeral, or expiring messages. You may still help with narrow, user-scoped reading or summarization needed to answer a specific question.

Auth

Threads Messages is a separate connector from the base threads skill. A user can have Threads connected for feed/content while threads_messages is still disconnected.

If the user asks to connect or reconnect Threads Messages:

threads-messages-cli connect-url

Share the returned connect_url as this labeled markdown link:

[Connect Threads Messages](<connect_url>)

Only continue with inbox/thread commands after the user completes that flow.

Tooling

Use exec to run:

threads-messages-cli <target> [options]

Targets:

  • connect-url
  • inbox
  • thread
  • send (explicit confirmation required)

Global options

  • --account-id <threads_account_id> (required for all commands EXCEPT connect-url) - select which Threads account to operate on. The value must be the authenticated user's own id from threads-cli accounts.
  • --retries <N> - retry transient failures (default: 0). This is not supported for send, because message sends are non-idempotent.

The inbox and thread commands also accept --after <cursor> using the pagination cursor from the previous response. Omit it to fetch the first page.

Commands

Connect URL

threads-messages-cli connect-url

Read the full file on GitHub · 238 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 238 lines · 30 tokens per session scan A 32aca35dbcdb

Subscribe to this mod's changes

threads_messages is a skill published in the GitHub repository asgeirtj/system_prompts_leaks (73,683 stars, last pushed yesterday), licensed CC0-1.0. It adds 30 tokens to every session and 3,000 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-05.

Related

threads_messages compared with skills from other repositories

threads_messages next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
threads_messagesasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A30Claude Code, Codex
arxivNousResearch/hermes-agentSkill267ktodayMITC18Claude Code, Codex
brand-voiceopen-octo/octo-agentSkill160yesterdayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill330k2d agoMITA21Claude Code