Agent skill · marketing growth · sundial-org

gram

Instagram CLI for viewing feeds, posts, profiles, and engagement via cookies.

Why this skill is useful

Provides niche commands for interacting with Instagram's API that the AI wouldn't reliably generate on its own.

What it needs

Requires npm installed locally. Requires instagram account access. About 2k tokens when loaded. Last updated 2026-03-07. 639 stars on the source repository.

What this skill does

gram 📸 Instagram CLI using REST/GraphQL API + cookie auth. Install Authentication gram uses cookie-based auth from your Instagram web session. Use --session-id, --csrf-token, and --ds-user-id to pass cookies directly, or --cookie-source for browser cookies. Run gram check to see which source is active. For Arc/Brave, use --chrome-profile-dir <path>. Commands Account & Auth Reading Posts Feeds User Profiles Search Engagement Actions Output Options Global Options Config File ~/.config/gram/config.json5 (global) or ./.gramrc.json5 (project): Environment variables: GRAMTIMEOUTMS, GRAMCOOKIETIMEOUTMS Troubleshooting Query IDs stale (404 errors) Cookie extraction fails Check browser is logged into Instagram Try different --cookie-source For Arc/Brave: use --chrome-profile-dir Provide cookies manually: --session-id, --csrf-token, --ds-user-id User-agent mismatch errors The CLI uses desktop user-agent by default If your session was created on mobile, it may fail Create a new session by logging in via desktop browser --- TL;DR: View feeds, profiles, search, and engage with Instagram via CLI. 📸

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills sundial-org/gram

View the source on GitHub

Browse the @skills marketplace