Skip to content
Agentmart
Submit a tool

pixiv

Access Pixiv for searching illustrations, manga, and viewing rankings.

Skill by CraftOS-dev

IndexedMIT★ 400
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/craftos-dev-pixiv

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Access Pixiv for searching illustrations, manga, and viewing rankings. Supports searching by keyword and viewing daily/weekly/monthly rankings.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Node.js package

Network hosts it talks to 4

  • app-api.pixiv.net · found in code
  • codeload.github.com · found in install command
  • github.com · found in code
  • pixiv.net · found in code

Files it touches

  • ~/.claude/skills/pixiv

What's inside

Skill name
pixiv
Description
Access Pixiv for searching illustrations, manga, and viewing rankings. Supports searching by keyword and viewing daily/weekly/monthly rankings.
License
MIT
Instructions
120 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Agent Skills spec issues

  • name: "pixiv" does not match folder "pixiv-skill"

Files (7)

  • README.md
  • SKILL.md
  • _meta.json
  • download-ugoira.js · scripts/
  • pack.sh · scripts/
  • pixiv-app-publish.js · scripts/
  • pixiv-cli.js · scripts/

SKILL.md (first lines)

# Pixiv Skill

This skill allows searching and browsing Pixiv illustrations.

## Setup

Before using, you must have a valid Pixiv Refresh Token.
The token is stored in `config.json` inside the skill directory.

To configure:
1.  Ask the user for their Pixiv Refresh Token.
2.  Run: `node skills/pixiv/scripts/pixiv-cli.js login <REFRESH_TOKEN>`

## Usage

### Searching Illustrations

To search for illustrations by keyword:

```bash
node skills/pixiv/scripts/pixiv-cli.js search "KEYWORD" [PAGE]
```

Example:
```bash
node skills/pixiv/scripts/pixiv-cli.js search "miku" 1
```

Returns a JSON array of illustration details (title, url, tags, user, etc.).

### Viewing Rankings

To view rankings:

```bash
node skills/pixiv/scripts/pixiv-cli.js ranking [MODE] [PAGE]
```

Modes: `day`, `week`, `month`, `day_male`, `day_female`, `week_original`, `week_rookie`, `day_ai`.
Default is `day`.

Example:
```bash
node skills/pixiv/scripts/pixiv-cli.js ranking day
```

### Viewing User Profile

To view a user's profile details:

```bash
node skills/pixiv/scripts/pixiv-cli.js user <USER_ID>
```

Example:
```bash
node skills/pixiv/scripts/pixiv-cli.js user 11
```

### Viewing Logged-in User Profile (Me)

To view the profile of the currently logged-in account (based on Refresh Token):

```bash
node skills/pixiv/scripts/pixiv-cli.js me
```

### Viewing Followed Users (Following)

To list users that the logged-in account follows:

```bash
node skills/pixiv/scripts/pixiv-cli.js following [PAGE]
```

### Viewing Feed (New Works from Followed Users)

To view latest illustrations from followed users:

```bash
node skills/pixiv/scripts/pixiv-cli.js feed [RESTRICT] [PAGE]
```

`RESTRICT` can be `all`, `public`, or `private`. Default is `all`.

### Downloading Illustrations

To download an illustration (single image, manga/multiple, or ugoira zip):

```bash
node scripts/pixiv-cli.js download <ILLUST_ID>
```

Files are saved to `downloads/<ILLUST_ID>/`.
Returns JSON containing the list of downloaded files.

### Publishing Illustrations (New)

To publish a new illustration directly to Pixiv using the AppAPI v2 (pure code, no browser needed):

```bash
node scripts/pixiv-cli.js post <FILEPATH> "<TITLE>" "[TAGS_COMMA_SEPARATED]" [VISIBILITY]
```

- `VISIBILITY`: `public` (default), `login_only`, `mypixiv`, or `private`.
- Automatic AI-generated tagging (`illust_ai_type: 2`) is applied by default.

Example:
```bash
node scripts/pixiv-cli.js post "./output.png" "My New Art" "Original, Girl, AI" private
```

## How to get a Token (for User)

If the user asks how to get a token:
1.  Direct them to look up "Pixiv Refresh Token" or use a tool like `gppt` (Get Pixiv Token).
2.  Or tell them to log in to Pixiv in their browser, and look for the `refresh_token` in Local Storage or Cookies (though OAuth refresh token is cleaner).
3.  The easiest way for non-technical users is to use a helper script, but we don't have one here. Just ask them to provide it.

From CraftOS-dev/CraftBot, MIT.

More from CraftOS-dev/CraftBot

Signals

Stars
400
Forks
49
Open issues
12
Last commit (this folder)
Mar 2, 2026 (8 months ago)
Last release
Oct 23, 2026 (6 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from CraftOS-dev

Cite this page

pixiv skill. Agent Mart. https://agentmart.dev/skills/craftos-dev-pixiv (last updated 2026-10-24)