refresh

refresh is a skill for Claude Code from akseolabs-seo/AK-Threads-booster. It costs 55 tokens per session (979 once invoked), scanned A, original, MIT.

A module that refreshes a daily tracker with the latest posts, metrics, and comments from the user's Threads profile.

In plain words
What is it for?
Use it to update Threads profile data, either through the API or an authenticated browser session.
Why use it?
It keeps the tracker current while preserving existing data, using the Threads API when available and browser scraping as a fallback.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to update Threads profile data, either through the API or an authenticated browser session.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/akseolabs-seo/ak-threads-booster/refresh
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 akseolabs-seo/AK-Threads-booster --skill refresh
Clone the repo
git clone --depth 1 https://github.com/akseolabs-seo/AK-Threads-booster

Made for: Claude Code.

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 refresh

README.md
[![agentmods](https://agentmods.dev/badge/skills/akseolabs-seo/ak-threads-booster/refresh/github.svg)](https://agentmods.dev/skills/akseolabs-seo/ak-threads-booster/refresh)
Your own site
<a href="https://agentmods.dev/skills/akseolabs-seo/ak-threads-booster/refresh"><img src="https://agentmods.dev/badge/skills/akseolabs-seo/ak-threads-booster/refresh/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 refresh

Your own site · 80×15
<a href="https://agentmods.dev/skills/akseolabs-seo/ak-threads-booster/refresh"><img src="https://agentmods.dev/badge/skills/akseolabs-seo/ak-threads-booster/refresh.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 979 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00055 $0.00979
Opus 5 $0.00028 $0.00490
Sonnet 5 $0.00011 $0.00196
Haiku 4.5 $0.00006 $0.00098

Measured 10d ago against content hash 5a9c1f293415, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

refresh 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 10d 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.

skills/refresh/SKILL.md · 73 lines

How it starts

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

AK-Threads-Booster Profile Refresh Module

You are the tracker-refresh worker for the AK-Threads-Booster system. Pull the user's latest posts, metrics, and comments, then merge them into threads_daily_tracker.json without losing existing data.

Two refresh sources are supported and must be tried in this order:

  1. Threads API — preferred when a token is available. Faster, more reliable, better for scheduled refresh.
  2. Authenticated browser automation — fallback for users who cannot or do not want to use the API. Scrapes the user's own logged-in Threads profile.

Browser scraping is slower and more fragile than the API. Use it only when the API path is unavailable or the user explicitly asks for browser-based refresh.


Step 0: Pick the Refresh Source

Follow references/api-path.md to decide whether the API path applies. If it does, run the API commands there and stop — do not run the Chrome flow. If the user explicitly asks for Chrome even with a token, honor that and note the override in the final summary.


Execution Modes

/refresh runs in interactive mode (direct user invocation — may ask questions, pause) or headless mode (scheduler, other skill, or --headless in $ARGUMENTS — must not ask or pause).

Full contract, recognized arguments, log schema, and preconditions (browser automation available, logged in, handle match, handle known) are in references/headless-contract.md. Every precondition failure in headless mode maps to a specific reason value for the log entry.


Principles and Knowledge

Load knowledge/_shared/principles.md before scraping. Follow discovery order in knowledge/_shared/discovery.md. For /refresh, also load:

  • data-confidence.md
  • chrome-selectors.md

Never hard-code selectors in this skill. chrome-selectors.md is the source of truth.


Chrome Execution Flow

Follow references/chrome-flow.md for Steps 1–7:

  • Step 1 — load or create tracker (ask for handle in interactive mode if needed)
  • Step 2 — navigate to https://www.threads.com/@<handle> and confirm header handle
  • Step 2.5 — mandatory selector health check from knowledge/chrome-selectors.md (abort with login_wall or selector_health_failed on failure)
  • Step 3 — scroll until no new posts, --max-posts reached, or --max-minutes reached
  • Step 4 — extract post data (id, text, created_at, permalink, media_type, metrics); preserve last-known tracker value when a metric token fails to parse
  • Step 5 — extract replies only for posts that are new or whose reply count changed
  • Step 5.5 — sweep expired pending- placeholders (into discarded_drafts[], merge snapshot into real post if matched)
  • Step 6 — merge into tracker per the 6-rule merge matrix; keep existing prediction_snapshot untouched
  • Step 7 — persist under templates/FAILSAFE.md: backup → prune to 5 → write temp → atomic rename → regenerate companions → rebuild compiled memory → write headless log if applicable. Companion and compiled-memory failures are non-fatal.

Read the full file on GitHub · 73 lines

Files

What ships with it

4 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. 10d ago First seen · 73 lines · 55 tokens per session scan A 5a9c1f293415

Subscribe to this mod's changes

refresh is a skill published in the GitHub repository akseolabs-seo/AK-Threads-booster (271 stars, last pushed 2mo ago), licensed MIT. It adds 55 tokens to every session and 979 once invoked, about $0.0003 per session on Opus 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-08-30.

Related

Other skills, from other repositories

gr-social-distill

A content-repurposing workflow that turns one published blog post into several social-media formats, including an X thread, a Xiaohongshu post, a LinkedIn carousel, and a dev.to or Zenn article.

Gingiris-1031/gingiris-skills · 112 tokens

twitter-thread-writer

Write X/Twitter threads that get bookmarked, shared, and drive affiliate clicks. Use this skill when the user asks about writing Twitter threads, X threads, tweet threads for affiliate marketing, or says "write a thread about X", "Twitter thread promoting X", "X thread for affiliate", "write tweets that go viral"…

Affitor/affiliate-skills · 116 tokens

content-pillar-atomizer

Take 1 blog post or article and generate 15-30 platform-native micro-content pieces. Not reformatting — re-contextualizing for each platform's culture. Triggers on: "atomize this content", "repurpose my blog post", "turn this into social posts", "content atomizer", "pillar content", "one to many content", "repurpose…

Affitor/affiliate-skills · 136 tokens

citedy-seo-agent

Full-stack AI marketing toolkit — scout X/Twitter and Reddit for trending topics, discover and deep-analyze competitors, find content gaps, publish SEO- and GEO-optimized articles with AI illustrations and voice-over in 55 languages, create social media adaptations for X, LinkedIn, Facebook, Reddit, Threads…

citedy/adclaw · 149 tokens

zernio

Schedule posts, manage inbox, broadcasts, sequences, and automations across 14 platforms from the CLI.

zernio-dev/zernio-cli · 24 tokens

content-pillar-atomizer

Take 1 blog post or article and generate 15-30 platform-native micro-content pieces. Not reformatting — re-contextualizing for each platform's culture. Triggers on: "atomize this content", "repurpose my blog post", "turn this into social posts", "content atomizer", "pillar content", "one to many content", "repurpose…

Gingg7260/affiliate-skills · 136 tokens