据 AlphaMoat 统计,截至 2026-09,Instagram Skill via cyberdrk/gram CLI 累计下载 4,272 次、获 5 个星标,在全部 5,078 个 AI 技能中排名第 2,314 位,在「内容创作」分类(362 个)中排名第 163 位。
| 平台 | 累计安装 | 累计下载 | 星标 | 评论 |
|---|---|---|---|---|
| ClawHub ↗ | 141 | 4,159 | 5 | - |
| SkillHub ↗ | 141 | 4,272 | 5 | — |
各平台的计数口径不同,统计时间不一致。
该工具使用 Instagram 网页会话 Cookie 认证。Cookie 可授予账户访问权限;不要粘贴到聊天或日志中,应通过安全的本地方式管理凭据,并谨慎处理私密账号数据。 需要 gram CLI;点赞、评论、收藏和关注会改变真实账号状态,须明确授权。
资料发布于 2026-10-29
以下是根据技能文档生成的示例,不代表实际运行结果。
2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。
| 月份 | 累计下载 | 环比 | 星标 |
|---|---|---|---|
| 2026-09 | 4,272 | — | 5 |
| 2026-08 | 4,067 | +2.2% | 5 |
| 2026-07 | 3,981 | +5.7% | 5 |
| 2026-06 | 3,766 | +4.1% | 5 |
| 2026-05 | 3,617 | — | 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),按月更新。口径说明见数据方法。