Instagram CLI for viewing feeds, posts, profiles, and engagement via cookies.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install gram或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install gram⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/gram/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: gram description: Instagram CLI for viewing feeds, posts, profiles, and engagement via cookies. homepage: https://github.com/arein/gram metadata: {"clawdbot":{"emoji":"📸","requires":{"bins":["gram"]},"install":[{"id":"npm","kind":"node","package":"@cyberdrk/gram","bins":["gram"],"label":"Install gram (npm)"}]}} ---
Instagram CLI using REST/GraphQL API + cookie auth.
# npm/pnpm/bun
npm install -g @cyberdrk/gram
# One-shot (no install)
bunx @cyberdrk/gram whoami
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 .
gram whoami # Show logged-in account
gram check # Show credential sources
gram query-ids --refresh # Refresh GraphQL query ID cache
gram post <shortcode-or-url> # View a post
gram <shortcode-or-url> # Shorthand for post
gram comments <shortcode> -n 20 # View comments on a post
gram likers <shortcode> # View users who liked a post
gram feed -n 20 # Home feed
gram explore -n 20 # Explore/discover feed
gram user <username> # View user profile
gram user @instagram --json # JSON output
gram posts <username> -n 20 # User's posts
gram following [username] # Users someone follows (defaults to you)
gram followers [username] # Someone's followers (defaults to you)
gram search "query" # Search users, hashtags, places
gram search "coffee" --type users
gram search "nyc" --type places
gram search "#photography" --type hashtags
gram like <shortcode> # Like a post
gram unlike <shortcode> # Unlike a post
gram save <shortcode> # Save/bookmark a post
gram unsave <shortcode> # Unsave a post
gram comment <shortcode> "nice!" # Comment on a post
gram follow <username> # Follow a user
gram unfollow <username> # Unfollow a user
--json # JSON output
--json-full # JSON with raw API response in _raw field
--plain # No emoji, no color (script-friendly)
--no-emoji # Disable emoji
--no-color # Disable ANSI colors (or set NO_COLOR=1)
--session-id <token> # Instagram sessionid cookie
--csrf-token <token> # Instagram csrftoken cookie
--ds-user-id <id> # Instagram ds_user_id cookie
--cookie-source <source> # Cookie source for browser cookies (repeatable)
--chrome-profile <name> # Chrome profile name
--chrome-profile-dir <path> # Chrome/Chromium profile dir or cookie DB path
--firefox-profile <name> # Firefox profile
--timeout <ms> # Request timeout
--cookie-timeout <ms> # Cookie extraction timeout
~/.config/gram/config.json5 (global) or ./.gramrc.json5 (project):
{
cookieSource: ["safari", "chrome"],
chromeProfile: "Profile 1",
timeoutMs: 60000
}
Environment variables: GRAM_TIMEOUT_MS, GRAM_COOKIE_TIMEOUT_MS
gram query-ids --refresh
--cookie-source--chrome-profile-dir--session-id, --csrf-token, --ds-user-id---
TL;DR: View feeds, profiles, search, and engage with Instagram via CLI. 📸
安装 Instagram Skill via cyberdrk/gram CLI 后,可以对 AI 说这些话来触发它
Help me get started with Instagram Skill via cyberdrk/gram CLI
Explains what Instagram Skill via cyberdrk/gram CLI does, walks through the setup, and runs a quick demo based on your current project
Use Instagram Skill via cyberdrk/gram CLI to instagram CLI for viewing feeds, posts, profiles, and engagement vi...
Invokes Instagram Skill via cyberdrk/gram CLI with the right parameters and returns the result directly in the conversation
What can I do with Instagram Skill via cyberdrk/gram CLI in my marketing & growth workflow?
Lists the top use cases for Instagram Skill via cyberdrk/gram CLI, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/gram/ 目录(个人级,所有项目可用),或 .claude/skills/gram/(项目级)。重启 AI 客户端后,用 /gram 主动调用,或让 AI 根据上下文自动发现并使用。
Instagram Skill via cyberdrk/gram CLI 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Instagram Skill via cyberdrk/gram CLI 可免费安装使用。请查阅仓库了解许可证信息。
Instagram CLI for viewing feeds, posts, profiles, and engagement via cookies.
Instagram Skill via cyberdrk/gram CLI 属于「Marketing & Growth」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my marketing & growth tasks using Instagram Skill via cyberdrk/gram CLI
Identifies repetitive steps in your workflow and sets up Instagram Skill via cyberdrk/gram CLI to handle them automatically