MJ

midnightdarling/jike-skill

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

16 stars 质量 59 趋势 25MIT

Jike (即刻) social network client for humans and AI agents — QR login, feed, posts, comments, search, full history export to Markdown. Claude Code skill + standalone scripts.

概览

Jike (即刻) client for humans and AI agents. QR login (browser HTML or terminal ASCII), full feed/post/comment/search API, and one-command export of your entire Jike history to Markdown. 即刻社交网络客户端 — 给人用,也给 AI agent 用。 扫码登录支持浏览器 HTML 与终端 ASCII 双通道;一行命令导出全部即刻历史。 The [qr] extra pulls in qrcode[pil]. Without it, jike auth falls back to printing the raw jike:// URL for manual scanning. Codex does not automatically use a public repository just because it contains a SKILL.md. Add this repository as a plugin marketplace, restart Codex, then install or enable the plugin from /plugins. Choose and confirm that is installed and enabled. Codex then loads the packaged skill from skills/jike/SKILL.md. Codex 需要先把公开仓库加为 plugin marketplace,再在 /plugins 里安装或启用; Claude Code 则可以用插件一键装、手动复制文件夹到 ~/.claude/skills/、或直接发 链接临时用。 Both commands use JIKE_ACCESS_TOKEN and JIKE_REFRESH_TOKEN if flags are omitted.

README

以下为原文 README 节选,完整内容请查看原文。

jike-skill

Jike (即刻) client for humans and AI agents. QR login (browser HTML or terminal ASCII), full feed/post/comment/search API, and one-command export of your entire Jike history to Markdown.

即刻社交网络客户端 — 给人用,也给 AI agent 用。 扫码登录支持浏览器 HTML 与终端 ASCII 双通道;一行命令导出全部即刻历史。

Current version: 0.4.1 — see CHANGELOG.md for details.

Install / 安装

pip install jike-skill          # core
pip install jike-skill[qr]      # + browser HTML & terminal ASCII QR rendering

The [qr] extra pulls in qrcode[pil]. Without it, jike auth falls back to printing the raw jike:// URL for manual scanning.

Quick Start / 快速开始

CLI

# 1. Login — open the browser HTML QR (or scan the ASCII fallback in the terminal)
# 1. 登录 — 浏览器打开 HTML 二维码(或扫终端里的 ASCII 备用 QR)
jike auth

# 2. Set tokens as env vars (recommended) / 推荐用环境变量传 token
export JIKE_ACCESS_TOKEN="YOUR_ACCESS_TOKEN"
export JIKE_REFRESH_TOKEN="YOUR_REFRESH_TOKEN"

# 3. Browse your feed / 刷关注流
jike feed

# 4. Search / 搜索
jike search --keyword "AI"

# 5. Post something / 发一条即刻
jike post --content "Hello world"

Python

from jike import JikeClient, TokenPair, authenticate

# First time: QR login
tokens = authenticate()

# Then use the client
client = JikeClient(tokens)
feed = client.feed(limit=20)
client.create_post(content="Hello from Python")
results = client.search(keyword="AI")
profile = client.profile(username="someone")

Codex Plugin

Codex does not automatically use a public repository just because it contains a SKILL.md. Add this repository as a plugin marketplace, restart Codex, then install or enable the plugin from /plugins.

# One-time setup: add this public repository as a Codex plugin marketplace
codex plugin marketplace add MidnightDarling/jike-skill

After restarting Codex:

/plugins

Choose Jike Skill Codex Plugins and confirm that Jike is installed and enabled. Codex then loads the packaged skill from skills/jike/SKILL.md.

Claude Code Plugin

# Option A: Plugin marketplace (one-time setup)
/plugin marketplace add MidnightDarling/jike-skill
/plugin install jike@jike-skill

# Option B: Manual copy (clone and place the whole repo as a skill folder)
git clone https://github.com/MidnightDarling/jike-skill.git ~/.claude/skills/jike

# Option C: Quick use (no install, just read)
# Send this to any Claude Code session:
Read https://github.com/MidnightDarling/jike-skill/blob/main/SKILL.md

Codex 需要先把公开仓库加为 plugin marketplace,再在 /plugins 里安装或启用; Claude Code 则可以用插件一键装、手动复制文件夹到 ~/.claude/skills/、或直接发 链接临时用。

All Commands / 全部命令

Command What it does 功能
jike auth QR login, print tokens 扫码登录
jike feed Following feed 关注流
jike post Create a post 发帖
jike delete-post Delete a post 删帖
jike comment Comment on a post 评论
jike delete-comment Delete a comment 删评论
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add midnightdarling/jike-skill
新手?先看 mcpskill.org 教程 →