instagram-clone

instagram-clone is a skill for Claude Code, Codex from ImYourBoyRoy/Portable_Web_toolkit. It costs 54 tokens per session (691 once invoked), scanned A, original, MIT.

A way to copy posts and local media from a public Instagram profile into an Astro website's feed file. Astro is a tool for building websites.

In plain words
What is it for?
It clones posts, stores their media locally, sets a post limit, refreshes a gallery, and checks the resulting feed. It is not for private accounts, direct messages, or stories-only accounts.
Why use it?
It provides a local gallery source without requiring Meta Graph API tokens and can supply a static fallback when rate limits affect synchronization.

Skill for Claude CodeCodex

Part of the portable-web-toolkit plugin — 14 skills shipped together

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.

agentmods
npx agentmods add skills/imyourboyroy/portable_web_toolkit/instagram-clone
Any agent
npx skills add ImYourBoyRoy/Portable_Web_toolkit --skill instagram-clone
Clone the repo
git clone --depth 1 https://github.com/ImYourBoyRoy/Portable_Web_toolkit

Made for: Claude Code, Codex.

Or install portable-web-toolkit, the plugin that ships this one along with the rest of its 14 skills.

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 instagram-clone

README.md
[![agentmods](https://agentmods.dev/badge/skills/imyourboyroy/portable_web_toolkit/instagram-clone.svg)](https://agentmods.dev/skills/imyourboyroy/portable_web_toolkit/instagram-clone)
Your own site
<a href="https://agentmods.dev/skills/imyourboyroy/portable_web_toolkit/instagram-clone"><img src="https://agentmods.dev/badge/skills/imyourboyroy/portable_web_toolkit/instagram-clone.svg" alt="Measured on agentmods" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 691 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00054 $0.00691
Opus 5 $0.00027 $0.00345
Sonnet 5 $0.00011 $0.00138
Haiku 4.5 $0.00005 $0.00069

Measured 3d ago against content hash b04c0bb9cc6c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

instagram-clone 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 3d 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/instagram-clone/SKILL.md · 91 lines

How it starts

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

Instagram Clone

Public Instagram → local assets. No Meta Graph API tokens.

Preflight

Read the client repository's applicable instructions and site profile, preserve unrelated work, and confirm the toolkit link belongs to this project. Confirm the operator has the right or permission to reproduce and store the selected profile media; public availability alone is not authorization.

When to use

  • Portfolio gallery from a public IG account
  • Static fallback when Worker/KV sync hits 429
  • Before deploy after client posts new work

NOT for: private accounts, DMs, stories-only, authenticated Meta APIs.

Setup (client project .env)

INSTAGRAM_USERNAME=handle_without_at
INSTAGRAM_CLONE_LIMIT=24

Also document in .env.example. Optional site profile:

"instagram": { "username": "handle", "cloneLimit": 24 }

Resolution order: --usernameINSTAGRAM_USERNAMEinstagram.username in profile.

Commands

# Clone (uses .env)
node ./Web_Toolkit/instagram_clone/bin/instagram-clone.mjs clone --project-root .

# Override handle once
node ./Web_Toolkit/instagram_clone/bin/instagram-clone.mjs clone --project-root . --username other_handle

# Verify feed + assets
node ./Web_Toolkit/instagram_clone/bin/instagram-clone.mjs audit --project-root .

npm script (add to client package.json):

"ig:clone": "node ./Web_Toolkit/instagram_clone/bin/instagram-clone.mjs clone --project-root ."

Outputs

Path Content
src/data/instagram/feed.json Posts, captions, hashtags, slides[], profile
public/assets/instagram/profile.jpg Profile photo
public/assets/instagram/{shortcode}* Carousel media

Site architecture

Always keep a static feed.json fallback and never live-fetch Instagram on a page request. Add KV caching, Worker cron, or a refresh endpoint only when the repository architecture and site profile already select or authorize that dynamic path. A static site may use manual ig:clone refreshes only.

Read the full file on GitHub · 91 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. 3d ago First seen · 91 lines · 54 tokens per session scan A b04c0bb9cc6c

Subscribe to this mod's changes

instagram-clone is a skill published in the GitHub repository ImYourBoyRoy/Portable_Web_toolkit (2 stars, last pushed 22d ago), licensed MIT. It adds 54 tokens to every session and 691 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-31.

Related

Other skills, from other repositories

accounting-workflow

End-to-end Malaysian accounting engagement workflow. Takes a client folder and produces accrual-basis financial statements (Excel working papers + PDF) compliant with MPERS / MFRS / ITA 1967. Covers Sole Proprietor, Partnership, Sdn Bhd, Berhad, and NGO. USE THIS SKILL when the user wants to: Start or continue an…

mecheri-prog/skills · 359 tokens

aidlc-portfolio

Coordinate multiple AI-DLC workflows across repositories and Git worktrees using an evidence-backed portfolio catalog and deterministic workspace tooling. Use when initializing an AI-DLC portfolio workspace, discovering organization or business context, registering projects and dependencies, creating child intents and…

awslabs/cli-agent-orchestrator · 74 tokens

performance-optimization

Find and fix game performance problems methodically — measure with the engine profiler first, reason about the frame-time budget, locate the CPU-vs-GPU bottleneck, then apply the right fix: object pooling, draw-call batching, fewer allocations/GC spikes, and asset budgets. Engine- neutral method that pairs with each…

gamedev-skills/awesome-gamedev-agent-skills · 121 tokens

alpaca-trading-paper-trading

Preview, submit, inspect, and manage Alpaca paper-trading orders across US equities, options, and crypto. Use this skill when you want your AI agent to take a strategy signal — from a backtest, manual idea, or automated system — and execute it safely in your Alpaca paper-trading environment. This generic version works…

alpacahq/alpaca-skills · 95 tokens

alpaca-trading-paper-trading-cli

Preview, submit, inspect, and manage Alpaca paper-trading orders using the Alpaca CLI. Supports US equities, options, and crypto. Use this skill when you want your AI agent to take a strategy signal and execute it as a paper trade through the Alpaca command-line interface.

alpacahq/alpaca-skills · 67 tokens

backtesting-frameworks

Build robust backtesting systems for trading strategies with proper handling of look-ahead bias, survivorship bias, and transaction costs. Use when developing trading algorithms, validating strategies, or building backtesting infrastructure.

rmyndharis/antigravity-skills · 45 tokens