pixiv-cli-mcp-tool

pixiv-cli-mcp-tool is a skill for Codex from FlanChanXwO/pixiv-cli. It costs 60 tokens per session (735 once invoked), scanned A, original, MIT.

A development checklist for adding or changing a pixiv-cli MCP tool. An MCP tool is a documented function that another application can call through a standard interface.

In plain words
What is it for?
Use it when changing tool parameters, output, error handling, authentication behavior, fallback behavior, or runtime limits in the pixiv-cli project.
Why use it?
It helps keep the tool registration, tests, English and Chinese documentation, README, and changelog synchronized.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

Good fit Use it when changing tool parameters, output, error handling, authentication behavior, fallback behavior, or runtime limits in the pixiv-cli project.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/flanchanxwo/pixiv-cli/pixiv-cli-mcp-tool
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add FlanChanXwO/pixiv-cli --skill pixiv-cli-mcp-tool
Clone the repo
git clone --depth 1 https://github.com/FlanChanXwO/pixiv-cli

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pixiv-cli-mcp-tool

README.md
[![agentmods](https://agentmods.dev/badge/skills/flanchanxwo/pixiv-cli/pixiv-cli-mcp-tool/github.svg)](https://agentmods.dev/skills/flanchanxwo/pixiv-cli/pixiv-cli-mcp-tool)
Your own site
<a href="https://agentmods.dev/skills/flanchanxwo/pixiv-cli/pixiv-cli-mcp-tool"><img src="https://agentmods.dev/badge/skills/flanchanxwo/pixiv-cli/pixiv-cli-mcp-tool/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pixiv-cli-mcp-tool

Your own site · 80×15
<a href="https://agentmods.dev/skills/flanchanxwo/pixiv-cli/pixiv-cli-mcp-tool"><img src="https://agentmods.dev/badge/skills/flanchanxwo/pixiv-cli/pixiv-cli-mcp-tool.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 735 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00060 $0.00735
Opus 5.5 $0.00024 $0.00294
Sonnet 5.5 $0.00012 $0.00147
Haiku 4.5 $0.00006 $0.00073

Measured yesterday against content hash 0811e230fd05, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pixiv-cli-mcp-tool scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/pixiv-cli-mcp-tool/SKILL.md · 27 lines

How it starts

The opening of the file, as written. The whole thing — 27 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Maintain pixiv-cli MCP Tools

Read root AGENTS.md, pixiv-cli-develop, and the relevant locale MCP reference. Find a current neighboring tool and its registration/tests; do not copy an obsolete bootstrap or application-service pattern. register.go is the only registration entry; domain files (accounts.go, media.go, bookmarks.go, …) hold the tool definitions and <tool>Handler methods on the product tool set.

Identify ownership and contract

Pixiv tools live in the single package internal/mcpserver/pixiv/tools; FANBOX tools in the parallel internal/mcpserver/fanbox/tools. Their product roots register into one server constructed by internal/mcpserver.New; product runtimes remain independent. Pixiv tool names use pixiv_, FANBOX uses fanbox_, and old unprefixed aliases are not registered. pixiv mcp defaults to stdio, with local filesystem downloads injected only for that transport; explicit --port enables HTTP with OAuth/bearer checks. Register Gallery and owner operations only when their media/account/login ports exist. Use existing owner-local runtime, record, output, and filter helpers, and the public SDK for product operations.

For reverse search, tool code may depend on the top-level reverse-search service contract, never provider/assembly internals. Keep provider transport and credential wiring in production assembly. Do not introduce a general service locator, shared mutable global client, or anonymous Web fallback.

Define the tool name, input validation, output schema, optional fields, cursor/record semantics, side effects, standard tool annotations, and error result before implementation. Distinguish unsupported upstream behavior from locally implementable filtering. Exposing a parameter without working semantics is not a capability.

Implement through tests

  1. Apply the coverage-gap decision: reuse or extend a registration/schema or real-handler test with synthetic SDK/HTTP fixtures, and add a new case only for a missing contract. Run it and observe the missing behavior before implementation; do not require one test per adapter function.
  2. Validate schema and local inputs before opening an SDK snapshot or issuing requests. Reuse typed enums and shared record/pagination contracts where they are the owner.
  3. Keep context.Context, cancellation, account selection, resource lifetime, and operation-specific permissions intact. FANBOX sessions and Pixiv pool selection remain separate.
  4. Emit the declared structured result; failures set isError=true without exposing credentials. HTTP authentication failures remain HTTP errors, not tool results. Legitimate empty results remain successful; partial outcomes must not be mislabeled complete.
  5. Run handler/schema tests, registration tests, and relevant SDK/stdio/HTTP integration tests. A built MCP server is long-lived: use an existing fixture client for smoke verification instead of starting it and waiting for output indefinitely.

Read the full file on GitHub · 27 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed 0811e230fd05
  2. 7d ago Changed · +3 tokens per session 8e8734dea344
  3. 1mo ago Changed · +3 lines · +23 tokens per session 77d4d1a099c5
  4. 1mo ago First seen · 24 lines · 34 tokens per session scan A baf0caf2dd6e

Subscribe to this mod's changes

pixiv-cli-mcp-tool is a skill published in the GitHub repository FlanChanXwO/pixiv-cli (133 stars, last pushed today), licensed MIT. It adds 60 tokens to every session and 735 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.