JMComic Manga Browser
Search, browse, and download manga from JMComic with favorites and comments.
Installation
- Make sure Claude is on your device and in your terminal.
Skills load from
~/.claude/skills/when Claude Code starts up — so you need it on your machine first. If you don't have it yet, install it once with the command below, then runclaudein any terminal to verify.One-time setupnpm i -g @anthropic-ai/claude-codeAlready have it? Skip ahead.
- Paste into Claude Code or into your terminal.
This copies the whole skill folder into
~/.claude/skills/jmcomic-hect0x7/— the SKILL.md plus any scripts, reference docs, or templates the skill ships with. Works for every skill.What this command does
- Makes a new, empty temporary folder.
- Downloads the skill's folder,
src/jmcomic_ai/skills/jmcomic, fromgithub.com/hect0x7/jmcomic-ai(branchmaster), the GitHub repository it's listed from. You get the version that is there now, not a copy we keep. - Copies that folder to
~/.claude/skills/jmcomic-hect0x7/. - Deletes the temporary folder.
Installing runs none of the skill's files; it only downloads and copies them. When you later use the skill, Claude follows its SKILL.md and may run scripts that come with it. Read them first.
Faster alternative (instruction-only skills)
Skips the clone and grabs only the SKILL.md file. Don't use this if the skill ships Python scripts, reference markdowns, or asset templates — they won't be downloaded and the skill will fail when it tries to load them.
Quick install (SKILL.md only)Sign up to copy - Restart Claude Code.
Quit and reopen Claude Code (or any other agent that loads from
~/.claude/skills/). New skills are picked up on startup. - Just ask Claude.
Skills auto-activate when your request matches the skill's description — no slash command needed. Trigger phrases live in the skill's own frontmatter; you can read them in the “What this skill does” section above.
Prefer to read the source first? Open on GitHub.
When Claude uses it
Search, browse, inspect album-specific or site-wide comments, list favorite folders, browse, add, and delete favorites, perform daily check-in, and download manga from JMComic (18comic), obtain the latest Android APK from hect0x7/JMComic-APK, and invoke the upstream jm-view-server `jms` command for local reading. Use for manga discovery, ranking, comment analysis, favorites, daily check-in, downloads, post-processing, configuration, requests to download the JMComic APK, requests to start a local or phone-accessible manga reader, and download-then-read workflows.
What this skill does
JMComic Skill
This skill enables you to interact with JMComic (18comic), a popular manga platform, to search, browse, and download manga content.
When to Use This Skill
Activate this skill when the user wants to:
- Search for manga by keyword or category
- Browse popular manga rankings (daily, weekly, monthly)
- Read album-specific or site-wide comments and nested replies, including spoiler flags
- List favorite folders, browse saved albums, add an album to favorites, or delete an album from favorites
- Complete daily account check-in (idempotent: distinguishes newly checked in vs already checked in today)
- Download entire albums or specific chapters (Returns structured dict with status, paths, and metadata)
- Get detailed information about a manga album (API client automatically resolves sub-chapter IDs to their parent album)
- Configure download settings (paths, concurrency, proxies, top-level
auth) - Post-process downloaded content (Zip, PDF, LongImage) with native parameters or
dir_rule - Download the latest Android APK published by
hect0x7/JMComic-APK - Run
jms --helpto obtain the current upstream options, then invokejmsdirectly for an existing or newly downloaded manga directory
For APK download, local-reader startup, LAN safety, and download-to-read continuation rules, read
references/ecosystem.md before acting.
Downloads
Use jmai download --ids 123,456 --json for albums; add --kind photo for chapter IDs.
For work that must continue after the command returns, add --background; use jmai task status,
cancel, or retry with the returned task ID. Retain the task directory when using these commands.
Wait for cancellation to reach a terminal state before retrying. Retry only unfinished items, and
report partial or failed results accurately. If an item’s actual_id differs from its requested id,
mention both IDs to the user. Hand off the returned file paths rather than guessing them.
Read references/download_workflows.md when choosing chapters, setting worker limits, exporting, or managing tasks. It also describes the MCP task tools for MCP clients.
Exporting Existing Images
Use post_process for images already on disk. ZIP, PDF, and long-image exports use
[JM车号]标题 by default; pass filename_rule or a full dir_rule to customize the output.
Pages are ordered naturally (1, 2, 10). PDF supports encrypt: {type: random} as well as
fixed passwords; read references/reference.md for encryption dependencies and log handling.
Album Comments
Use get_album_comments(album_id: str, page: int = 1) to read one page of comments. This is a read-only tool; it does not post comments or replies.
{
"album_id": str,
"page": int,
"page_size": int,
"total": int | None,
"page_count": int | None,
"comment_count": int,
"comments": [
{
"comment_id": str | None,
"album_id": str | None,
"user_id": str | None,
"parent_comment_id": str | None,
"content": str,
"username": str,
"nickname": str,
"is_spoiler": bool,
"created_at": object,
"likes": int | None,
"replies": [...] # Recursive nested replies
}
]
}
Use get_forum_comments(page: int = 1) for the latest site-wide comments. It returns the same comment objects and pagination fields without an album_id filter; each comment's own album_id identifies its source album. This is also read-only.
Favorites
All favorite tools require an authenticated client. Call login in the same MCP session, configure
top-level auth (username/password or auth.cookies) in option.yml, or configure legacy postman
cookies. For HTML queries authenticated only by Cookie without auth.username, pass username; after
login or top-level auth login, it can be omitted. The API client ignores username and always
queries the current account. Separate script processes need authentication in their configuration; they
do not inherit an MCP session's login.
get_favorite_folders(username: str = "") returns:
{"folders": [{"id": str, "name": str}]}
The directory can be empty. Use folder_id="0" to browse all favorites even if this ID is absent
from the returned directory.
browse_favorite_albums(folder_id: str = "0", page: int = 1, order_by: str = "favorite_time", username: str = "") returns:
{
"albums": [{"id": str, "title": str, "tags": list, "cover_url": str}],
"total_count": int,
"page": int,
"folder_id": str,
"error": str # Present only for invalid page, folder ID, or sort parameters
}
Pagination starts at 1; folder_id="0" means all favorites. An empty result retains pagination and
folder metadata. order_by accepts favorite_time (default) and update_time; the favorites list has
its own upstream sort vocabulary, which differs from browse_albums. The service does not sort a page
locally. Invalid arguments return an empty list with error; authentication and request failures
propagate as tool errors, not empty collections.
add_favorite_album(album_id: str) returns:
{
"status": "success" | "error",
"album_id": str,
"title": str, # Album title
"message": str
}
album_id accepts a numeric ID, a JM-prefixed ID, or an album URL and is normalized when parsing
succeeds. The album is saved to the account's default favorites placement.
Adding an album that is already saved returns status="error" and leaves the saved state unchanged.
delete_favorite_album(album_id: str) returns the same fields and takes the same album_id forms.
Deleting an album that is not saved returns status="error" and leaves the saved state unchanged.
Both tools behave identically whichever client implementation the configuration selects, and both return
the album title. Name every affected album as title (ID); when title is empty or absent, reuse an
earlier search, browse, or detail result, or fetch the name with get_album_detail(album_id) or
python scripts/album_info.py --id ID.
Daily Check-in
daily_checkin(user_id: str = "") executes the account's daily check-in on either the API or HTML client and returns:
{
"status": "checked_in" | "already_checked_in" | "error",
"already_checked_in": bool,
"code": int, # 0 = newly checked in, 1 = already checked in today, -1 = error
"message": str
}
Requires an authenticated session (login in the same MCP session, top-level auth.username/auth.password
in option.yml, or valid session cookies). On the API client, user_id is resolved automatically after
login or top-level auth login, and only needs to be passed explicitly for Cookie-only API configurations;
the HTML client does not require user_id. Both "checked_in" and "already_checked_in" represent normal
completion; "error" indicates missing credentials, invalid user_id, or upstream failure.
Core Capabilities
🛠️ Post-Processing
This skill supports advanced post-processing of downloaded manga. It returns structured data including the output path of the generated file.
- 📦 Zip Compression: Pack an entire album or individual chapters into a ZIP file.
- 📄 PDF Conversion: Merge all images of an album into a single PDF document.
- 🖼️ Long Image Merging: Combine all pages of a chapter into one continuous long image.
post_process(album_id: str, process_type: str, params: dict = None) returns:
{
"status": "success" | "error",
"process_type": str, # Process type used
"album_id": str, # Album ID processed
"output_path": str, # Absolute path to generated file/directory (empty string on error)
"output_paths": list[str], # All files actually registered by the upstream plugin
"is_directory": bool, # True if output is a directory (e.g., photo-level zip), False on error
"message": str # Success/error message
}
All fields are always present. On error, output_path is empty, output_paths is empty, and is_directory is False.
Output Control: Use dir_rule (a {"rule": "DSL_STRING", "base_dir": "BASE_PATH"} dict) for custom output paths. If omitted, files are saved in the configured default directory. The DSL supports Bd (base_dir), Axxx/Pxxx album/photo attributes, and {attr} Python format placeholders. When looping over albums into one base_dir, include {Aid} or {Atitle} to avoid overwrites.
For the full set of ZIP/PDF/LongImg × album/photo dir_rule examples, see references/post_process.md.
This skill provides command-line utilities for JMComic operations. All utilities are Python scripts located in the scripts/ directory and should be executed using Python.
Data Structure Notes
Most search and browsing tools (e.g., search_album, browse_albums) return a consistent structure that supports pagination:
{
"albums": [ ... ],
"total_count": 1234
}
total_count provides the total number of items available across all pages, allowing you to calculate the number of remaining pages and decide if further searching is needed.
Important: Browse Albums Data Limitations
browse_albums is the unified tool for browsing albums by category, time_range, and order_by (ranking + category browsing in one interface). Its response is lightweight — each album has only id, title, tags, and cover_url, and no stats (likes/views/author). To get those, call get_album_detail(album_id) per album.
order_by accepts: latest (default), likes, views, pictures, score, comments. For the full enumeration, use-case recipes (rankings, category browsing, combined queries), and the "top 10 with details" workflow, see references/browse_albums.md.
Configuration Reference
For detailed configuration options, refer to:
references/reference.md: Human-readable configuration guideassets/option_schema.json: JSON Schema for validation
Common configuration examples:
# Change download directory
dir_rule:
base_dir: "/path/to/downloads"
rule: "Bd / Ptitle"
# Adjust concurrency
download:
threading:
image: 20 # Max concurrent image downloads
photo: 5 # Max concurrent chapter downloads
# Set proxy and async client
client:
impl: api
async_impl: null # null (default) auto-follows impl -> async_api / async_html
cache: level_option # Reuse metadata across clients from this option
postman:
meta_data:
proxies:
http: "http://proxy.example.com:8080"
https: "https://proxy.example.com:8080"
# Or use system proxy
client:
postman:
meta_data:
proxies: system
# Configure account auth (option v2.1 recommended; choose credentials OR cookies, never both)
auth:
username: "${JM_USERNAME}"
password: "${JM_PASSWORD}"
# Or authenticate by session cookie on impl: html (takes priority over postman cookies):
# cookies:
# AVS: "${JM_COOKIE_AVS}"
# Use plugins (zip granularity follows hook stage: after_photo vs after_album)
plugins:
after_photo:
- plugin: zip
kwargs:
suffix: zip
delete_original_file: true
Available Command-Line Tools
The scripts/ directory provides utility tools for common tasks. All tools support the --help flag for detailed usage. The table below summarizes each script; for full per-script examples and feature lists, see references/scripts.md.
| Script | Purpose |
|---|---|
doctor.py | Environment diagnostics: Python version, deps, config status, network/domain checks. |
check_domains.py | Comprehensive domain health checker: tests latency, HTTP status, redirect chains (301/302), Cloudflare WAF challenges (403), and SSL validity across API and HTML candidate domains; outputs best recommended domains. |
login.py | Authenticate with JMComic (API/HTML/both), query user statistics (UID, coins, EXP, level, favorites), and persist session cookies (--save) or top-level auth config (--save-auth env|password) to option.yml. |
daily_checkin.py | Perform daily account check-in and print structured JSON (checked_in / already_checked_in exit 0; error exits 1). |
batch_download.py | Download multiple albums from a list of IDs (CLI or file) with progress/error summary. |
download_photo.py | Download specific chapters/photos without fetching whole albums. |
validate_config.py | Validate option.yml (including redacted auth summary) and convert between YAML and JSON. |
search_export.py | Search by keyword/ranking/category and export to CSV or JSON (multi-page); --tags keeps only albums carrying every given tag, --enrich fills per-album stats. |
album_info.py | Query detailed metadata for one or many albums; print or export to JSON. |
album_comments.py | Fetch one page of album comments and recursive replies; print or export to JSON. |
forum_comments.py | Fetch one page of site-wide comments with source album IDs; print or export to JSON. |
favorite_folders.py | List favorite folders as JSON; supports --username, --output, and --option. |
favorite_albums.py | Browse one page of favorites as JSON; supports folder, page, sort, and username filters. |
add_favorite_album.py | Add one favorite and print its structured result as JSON; failures exit non-zero. |
delete_favorite_album.py | Delete one favorite and print its structured result as JSON; failures exit non-zero. |
download_covers.py | Batch download album cover images to a custom output directory. |
ranking_tracker.py | Track day/week/month rankings over time; export snapshots with timestamps. |
post_process.py | Convert downloads to ZIP/PDF/LongImg, with optional encryption and dir_rule DSL; --outdir uses a safe file rule and missing deps are auto-installed (--no-install-deps to opt out). |
download_latest_apk.py | Download the latest APK published by hect0x7/JMComic-APK; supports optional output_dir, --force, and --json (run --help for current usage). |
Script Parameters ↔ MCP Tools Mapping
The following table clarifies how script CLI parameters map to MCP tools.
| Script | Target Tool | Mapping Level | Notes |
|---|---|---|---|
search_export.py | search_album / browse_albums | Partial | --keyword maps to search_album; --ranking / --category maps to browse_albums. Ranking is a convenience mode based on time_range + configurable sort, not a separate backend API. |
post_process.py | post_process | High | --id→album_id, --type→process_type, optional flags to params. --dir-rule + --base-dir map to params.dir_rule. |
album_info.py | get_album_detail | Partial | Batch wrapper over repeated single-album calls; output format is script-defined. |
album_comments.py | get_album_comments | High | --id maps to album_id, --page maps to page, and the JSON response preserves the MCP result shape. |
forum_comments.py | get_forum_comments | High | --page maps to page, and each returned comment preserves its source album_id. |
favorite_folders.py | get_favorite_folders | High | --username maps to username; JSON preserves the MCP result shape. |
favorite_albums.py | browse_favorite_albums | High | --folder-id, --page, --order-by, --username map to the corresponding tool arguments. |
add_favorite_album.py | add_favorite_album | High | --id maps to album_id; an error result exits non-zero. |
delete_favorite_album.py | delete_favorite_album | High | --id maps to album_id; an error result exits non-zero. |
daily_checkin.py | daily_checkin | High | --user-id maps to user_id; JSON preserves the MCP result shape, and status="error" exits non-zero. |
download_covers.py | download_cover | Partial | Batch wrapper over repeated cover calls. |
ranking_tracker.py | browse_albums | Partial | Uses time-range/category browse semantics and exports snapshots. |
batch_download.py | plan_download / download_batch / task lifecycle | High | Shared native batch engine; --background launches an independent CLI worker. Query/cancel/retry with jmai task. |
download_photo.py | plan_download / download_batch / task lifecycle | High | Same batch engine with chapter mode fixed; supports --background. |
validate_config.py | update_option (adjacent) | None | Validation/format conversion utility; not a direct MCP tool wrapper. |
download_latest_apk.py | None | None | Reads the public hect0x7/JMComic-APK GitHub Release API directly. |
login.py | login | High | Supports --username, --password, --impl, --domain, --proxy, --save, and --save-auth to update option.yml. |
check_domains.py | None | None | Diagnostic domain health checker and benchmark utility; not a direct MCP tool wrapper. |
Mapping Policy
- For Skills workflows, follow the CLI/script
--helpand JSON results; no MCP connection is required. - In an MCP client, follow the registered tool schemas. The mapping above describes related capabilities, not a requirement to switch interfaces.
Important Notes
- Legal Compliance: Ensure you have the right to download content
- Rate Limiting: The platform may rate-limit requests; adjust threading if needed
- Storage: Downloads can be large; ensure sufficient disk space
- Configuration: Default config is at
~/.jmcomic/option.yml - Next action: After a successful manga download, offer to start the local reader for the returned
download_path. Start it automatically only when the user also asked to open, read, or view the result.
Troubleshooting
- Connection errors: Try updating the domain list in client config
- Slow downloads: Reduce threading concurrency
- Scrambled images: Ensure
download.image.decodeis set totrue
Related skills
Skill Builder & Optimizer
anthropics
Create, edit, and optimize Claude skills with performance testing and benchmarking.
Org Change Management
alirezarezvani
Guide teams through organizational changes using the ADKAR model and communication strategies.
Audio/Video Transcription
daymade
Transcribe audio and video files to text with fast local or remote processing.
Claude Export Conversation Fixer
daymade
Repair broken line wrapping in Claude Code exported conversation files.