pixiv-cli: Instructions file for Codex

AGENTS.md

pixiv-cli AGENTS.md is an instructions file for Codex, OpenCode from FlanChanXwO/pixiv-cli. It costs 1,641 tokens per session, scanned A, original, MIT.

Project instructions for a Go command-line tool and MCP server that work with Pixiv and FANBOX, including search, user data, rankings, downloads, and authentication-related tasks.

In plain words
What is it for?
Use them when modifying the Pixiv CLI, its FANBOX support, SDKs, MCP server, downloads, or related tests.
Why use it?
They give coding agents the project's structure, commands, testing rules, and boundaries so changes fit the existing code and do not invent unsupported interfaces.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is FlanChanXwO/pixiv-cli's own configuration. It tells Codex and OpenCode how to work on pixiv-cli itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything pixiv-cli configures →

Reuse

Borrowing it

Nothing to install: this file belongs to FlanChanXwO/pixiv-cli. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/FlanChanXwO/pixiv-cli/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/FlanChanXwO/pixiv-cli

Made for: Codex, OpenCode.

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 AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/flanchanxwo/pixiv-cli/agents-md/github.svg)](https://agentmods.dev/instructions/flanchanxwo/pixiv-cli/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/flanchanxwo/pixiv-cli/agents-md"><img src="https://agentmods.dev/badge/instructions/flanchanxwo/pixiv-cli/agents-md/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 AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/flanchanxwo/pixiv-cli/agents-md"><img src="https://agentmods.dev/badge/instructions/flanchanxwo/pixiv-cli/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,641 This file is loaded in full into every session.
When invoked 1,641 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.01641 $0.01641
Opus 5.5 $0.00656 $0.00656
Sonnet 5.5 $0.00328 $0.00328
Haiku 4.5 $0.00164 $0.00164

Measured yesterday against content hash 56f27d6040a0, 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 AGENTS.md 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.md · 44 lines

How it starts

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

pixiv-cli Agent Contract

Task routes

Use the relevant checked-in maintenance skill for the workflow and its linked handbook or reference for the rules. If skill discovery is unavailable, open the linked SKILL.md directly.

Task Read first Before completion, check
Implement, debug, refactor, or design Go code pixiv-cli-develop, coding standards, architecture, development Confirm the owning package and callers, apply the handbook to touched code, run the relevant tests/build/vet, and inspect the final diff.
Decide test admission, write tests, or validate a change pixiv-cli-test, test submission rules, development Match each maintained test to a contract; respect size caps and CI exemptions; report actual pass, fail, skip, and unrun checks.
Write or review code comments, API docs, or numbered stages pixiv-cli-code-commenting, package documentation and comments Check comment language, package-doc placement, references, and any directive's actual consumer.
Change package ownership or a shared mechanism architecture, coding standards Verify the owner, allowed dependency direction, and all affected callers against the current package map.
Add or change an MCP tool pixiv-cli-mcp-tool, MCP contract, MCP architecture Check product-local ownership, schema and structured errors, authorization, and the stdio/HTTP output boundary.
Change ugoira encoding, platform builds, or native smoke pixiv-cli-native, development Verify the required target builds and native evidence; distinguish fixture results from platform execution.
Change frontend pages or embedded assets pixiv-cli-docs, frontend architecture Check the embedded source and exercise the affected page in its browser or MCP host.
Edit documentation, skills, or agent routing pixiv-cli-docs, English documentation index, 简体中文文档索引, and the relevant maintainer reference Verify source claims, paired locale content, local links/anchors, metadata routes, and git diff --check.
Review code or assess a pull request pixiv-cli-review, coding standards Tie each finding to changed lines and evidence; identify unresolved risks and required checks.
Diagnose checks or operate an authorized workflow run pixiv-cli-ci, the relevant workflow under .github/workflows/ Check the exact revision and report each required check's actual conclusion, including skips and failures.
Prepare, update, or verify a pull request pixiv-cli-pr, contributing Validate PR metadata and inspect required checks and review threads on the current head.
Prepare a release or recover a publisher pixiv-cli-release-notes, release development guide Verify the authorized version, release assets, and required release gates.
Write a commit message pixiv-cli-commit-message Base it on the staged diff and name only the change it contains.
Use an installed pixiv binary product skill Follow the documented command and credential flow for the installed version.
Follow contributor setup or project expectations contributing Check the documented local workflow and the contribution requirements for this change.

Read the full file on GitHub · 44 lines

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 · +20 tokens per session 56f27d6040a0
  2. 9d ago Changed · -9 lines · -217 tokens per session 2cf658b123ed
  3. 10d ago Changed · +19 tokens per session 67fb09761050
  4. 12d ago Changed · +69 tokens per session c3cb5affd630
  5. 13d ago Changed · +2 tokens per session f07822e298ab
  6. 14d ago Changed · +11 tokens per session 02a2a94897be
  7. 19d ago Changed · +26 tokens per session df53fce799f5
  8. 20d ago Changed · +1 lines · +118 tokens per session 472f0ba0d51a
  9. 1mo ago Changed · -8 lines · -155 tokens per session b8661eee4042
  10. 1mo ago First seen · 60 lines · 1,748 tokens per session scan A fff59a0a31bb

Subscribe to this mod's changes

pixiv-cli AGENTS.md is an instructions file published in the GitHub repository FlanChanXwO/pixiv-cli (132 stars, last pushed yesterday), licensed MIT. It adds 1,641 tokens to every session, about $0.0066 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.

Related

pixiv-cli AGENTS.md compared with instructions from other repositories

pixiv-cli AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pixiv-cli AGENTS.mdFlanChanXwO/pixiv-cliInstructions file132yesterdayMITA1,641Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode