webjs-instagram-post

A publishing workflow for posting search-focused content to the WebJs Instagram account. Each post includes a newly created branded image, a keyword-focused caption, and a link to a relevant web page.

In plain words
What is it for?
Use it to publish an Instagram post for WebJs, including the required image, caption, and website link. It is intended for search visibility rather than personal updates.
Why use it?
It avoids publishing plain text or reusing an old image when promoting a page or feature. It gives the account a consistent format for reaching people through Instagram search.

Skill for Claude CodeCodex

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/webjsdev/webjs/webjs-instagram-post
Any agent
npx skills add webjsdev/webjs --skill webjs-instagram-post
Clone the repo
git clone --depth 1 https://github.com/webjsdev/webjs

Made for: Claude Code, Codex.

Per session 116 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,933 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00116 $0.02933
Opus 5 $0.00058 $0.01466
Sonnet 5 $0.00023 $0.00587
Haiku 4.5 $0.00012 $0.00293

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

Security

Grade A, and why

webjs-instagram-post scanned grade A with 1 finding 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 2d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (assets/build-post.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

allowed-tools: Bash(curl:*), Bash(magick:*), Bash(convert:*), Bash(identify:*), Bash(cp:*), Bash(mkdir:*), Bash(ls:*), Bash(git:*), Read, Write
.claude/skills/webjs-instagram-post/SKILL.md · 239 lines

How it starts

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

Post to Instagram for SEO

Every Instagram post on the WebJs account exists for SEO reach, not for personal updates. So each post carries two things you build here: a freshly created branded image, and a keyword-rich caption that names the capability and links back to a webjs.dev page. Never publish a plain-text post and never reuse a stale image.

Account and API

  • Account is the @webjs_dev professional (BUSINESS) account.
  • Numeric user id is 17841441038146182. On graph.instagram.com you can also address it as me.
  • API flavor is the Instagram API with Instagram Login, so every call goes to https://graph.instagram.com/v25.0/... with a long-lived USER access token. An app token (the appid|secret shape) can never post.

Credentials (never printed, never committed)

The token lives in a gitignored file OUTSIDE the repo:

~/.config/webjs/instagram.env

with IG_TOKEN, IG_USER_ID, and IG_APP_SECRET. Source it inside a script and reference ${IG_TOKEN}. NEVER cat, echo, or otherwise print the file, and NEVER copy the token into the repo, a commit, or a chat message. If the file is missing, ask the user to generate a long-lived user token from the Meta dashboard and place it there.

set -a; . ~/.config/webjs/instagram.env; set +a

Step 1: create the branded SEO image (required, JPEG)

The Instagram publishing API accepts a JPEG only, pulled from a public URL. build-post.sh renders at 2x supersample and outputs a sharpened 1440x1440 JPEG (quality 95) by default. This matters: a flat 1080 render looks soft in Instagram's DESKTOP full-size view on a high-DPI screen after IG re-compresses it, and the supersampled 1440 stays crisp. Do not drop back to a 1x 1080 render.

Match the webjs.dev OG theme, which is a NEAR-BLACK card with a soft warm glow in the top-right corner, the orange squircle mark plus the white webjs wordmark, a bold white headline with ONE orange-highlighted phrase, gray subtext, and a small-caps footer meta row with a webjs.dev URL. It is a dark card with orange accents, NOT an orange background.

Read the full file on GitHub · 239 lines

Files

What ships with it

1 file 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. 2d ago First seen · 239 lines · 116 tokens per session scan A d99136818b7c

Subscribe to this mod's changes

webjs-instagram-post is a skill published in the GitHub repository webjsdev/webjs (109 stars, last pushed 11d ago), licensed MIT. It adds 116 tokens to every session and 2,933 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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