據 AlphaMoat 統計,截至 2026-09,Instagram Skill via cyberdrk/gram CLI 累計下載 4,272 次、獲 5 個星標,在全部 5,078 個 AI 技能中排名第 2,314 位,在「內容創作」分類(362 個)中排名第 163 位。
| 平台 | 累計安裝 | 累計下載 | 星標 | 評論 |
|---|---|---|---|---|
| ClawHub ↗ | 141 | 4159 | 5 | - |
| SkillHub ↗ | 141 | 4272 | 5 | — |
各平台的計數口徑不同,統計時間不一致。
該工具使用 Instagram 網頁會話 Cookie 認證。Cookie 可授予帳戶訪問許可權;不要貼上到聊天或日誌中,應透過安全的本地方式管理憑據,並謹慎處理私密賬號資料。 需要 gram CLI;點贊、評論、收藏和關注會改變真實賬號狀態,須明確授權。
資料釋出於 2026-10-29
以下是根據技能文件生成的示例,不代表實際執行結果。
2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。
| 月份 | 累計下載 | 環比 | 星標 |
|---|---|---|---|
| 2026-09 | 4272 | — | 5 |
| 2026-08 | 4067 | +2.2% | 5 |
| 2026-07 | 3981 | +5.7% | 5 |
| 2026-06 | 3766 | +4.1% | 5 |
| 2026-05 | 3617 | — | 5 |
以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。
---
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)"}]}}
---
# gram 📸
Instagram CLI using REST/GraphQL API + cookie auth.
## Install
```bash
# npm/pnpm/bun
npm install -g @cyberdrk/gram
# One-shot (no install)
bunx @cyberdrk/gram whoami
```
## 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
```bash
gram whoami # Show logged-in account
gram check # Show credential sources
gram query-ids --refresh # Refresh GraphQL query ID cache
```
### Reading Posts
```bash
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
```
### Feeds
```bash
gram feed -n 20 # Home feed
gram explore -n 20 # Explore/discover feed
```
### User Profiles
```bash
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)
```
### Search
```bash
gram search "query" # Search users, hashtags, places
gram search "coffee" --type users
gram search "nyc" --type places
gram search "#photography" --type hashtags
```
### Engagement Actions
```bash
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
```
## Output Options
```bash
--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)
```
## Global Options
```bash
--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 File
`~/.config/gram/config.json5` (global) or `./.gramrc.json5` (project):
```json5
{
cookieSource: ["safari", "chrome"],
chromeProfile: "Profile 1",
timeoutMs: 60000
}
```
Environment variables: `GRAM_TIMEOUT_MS`, `GRAM_COOKIE_TIMEOUT_MS`
## Troubleshooting
### Query IDs stale (404 errors)
```bash
gram query-ids --refresh
```
### 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. 📸
識別並去掉文字里的 AI 寫作痕跡,讓文字讀起來更像人寫。
把文字里 AI 寫作的典型痕跡挑出來並改寫得更自然,同時保留原意的寫作編輯技能。
識別並去除 AI 生成文字痕跡的中文文字編輯技能。
wechat-search 檢索公眾號熱門文章,並按相關性、熱度和時效整理結果。
從公開短影片分享連結提取標題、簡介和口播文案,並給出改寫版本。
humanizer 為中英文文字提供更自然的表達和風格編輯指導。
寫網文章節並按檔案落盤,聊天裡只回摘要與指標。
把一組行銷方法模組收進同一個技能,按請求路由到對應模組取清單與可交付稿。
資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。