Logo : Jmcomic

Jmcomic

Communauté
hect0x7
jmcomic

Search, browse, inspect album-specific or site-wide comments, list favorite folders, browse, add, and delete favorites, 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, 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.

Présentation

Éditeurhect0x7
Dépôtjmcomic-ai
Nom de la compétencejmcomic
Étoiles
122
Forks
10
Fichiers inclus
27
LicenceMIT
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont rédigées en Markdown et non sous forme de code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Fichiers inclus : 27

    Des scripts, des gabarits et des références que le modèle peut consulter pendant son travail. Les fichiers sont en lecture seule et ne sont jamais exécutés.

  • Open source

    Publiée par hect0x7 sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Jmcomic dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Copiez l’URL ci-dessous, qui pointe vers le dossier de la compétence, puis collez-la et confirmez.
    https://github.com/hect0x7/jmcomic-ai/tree/master/src/jmcomic_ai/skills/jmcomic
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter une compétence → Via une URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hect0x7/jmcomic-ai.git /tmp/jmcomic-ai
mkdir -p .claude/skills
cp -r /tmp/jmcomic-ai/src/jmcomic_ai/skills/jmcomic .claude/skills/jmcomic
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Jmcomic dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Jmcomic dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, la compétence Jmcomic n’est pas liée au modèle pour lequel elle a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

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
  • Download entire albums or specific chapters (Returns structured dict with status, paths, and metadata)
  • Get detailed information about a manga album
  • Configure download settings (paths, concurrency, proxies)
  • 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 --help to obtain the current upstream options, then invoke jms directly 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.

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.

python
{
    "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 or configure valid cookies. For HTML queries authenticated only by Cookie, pass username; after 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:

python
{"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:

python
{
    "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:

python
{
    "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.

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:

python
{
    "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:

json
{
  "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 guide
  • assets/option_schema.json: JSON Schema for validation

Common configuration examples:

yaml
# 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
client:
  async_impl: async_api  # Used by jmcomic native async APIs
  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 login cookies
client:
  postman:
    meta_data:
      cookies:
        AVS: "your_avs_cookie_value"

# Use plugins
plugins:
  after_album:
    - plugin: zip
      kwargs:
        level: photo
        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.

ScriptPurpose
doctor.pyEnvironment diagnostics: Python version, deps, config status, network/domain checks.
check_domains.pyComprehensive 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.pyAuthenticate with JMComic (API/HTML/both), query user statistics (UID, coins, EXP, level, favorites), and optionally persist session cookies (AVS) directly to option.yml (--save).
batch_download.pyDownload multiple albums from a list of IDs (CLI or file) with progress/error summary.
download_photo.pyDownload specific chapters/photos without fetching whole albums.
validate_config.pyValidate option.yml and convert between YAML and JSON.
search_export.pySearch 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.pyQuery detailed metadata for one or many albums; print or export to JSON.
album_comments.pyFetch one page of album comments and recursive replies; print or export to JSON.
forum_comments.pyFetch one page of site-wide comments with source album IDs; print or export to JSON.
favorite_folders.pyList favorite folders as JSON; supports --username, --output, and --option.
favorite_albums.pyBrowse one page of favorites as JSON; supports folder, page, sort, and username filters.
add_favorite_album.pyAdd one favorite and print its structured result as JSON; failures exit non-zero.
delete_favorite_album.pyDelete one favorite and print its structured result as JSON; failures exit non-zero.
download_covers.pyBatch download album cover images to a custom output directory.
ranking_tracker.pyTrack day/week/month rankings over time; export snapshots with timestamps.
post_process.pyConvert 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.pyDownload 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.

ScriptTarget ToolMapping LevelNotes
search_export.pysearch_album / browse_albumsPartial--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.pypost_processHigh--id→album_id, --type→process_type, optional flags to params. --dir-rule + --base-dir map to params.dir_rule.
album_info.pyget_album_detailPartialBatch wrapper over repeated single-album calls; output format is script-defined.
album_comments.pyget_album_commentsHigh--id maps to album_id, --page maps to page, and the JSON response preserves the MCP result shape.
forum_comments.pyget_forum_commentsHigh--page maps to page, and each returned comment preserves its source album_id.
favorite_folders.pyget_favorite_foldersHigh--username maps to username; JSON preserves the MCP result shape.
favorite_albums.pybrowse_favorite_albumsHigh--folder-id, --page, --order-by, --username map to the corresponding tool arguments.
add_favorite_album.pyadd_favorite_albumHigh--id maps to album_id; an error result exits non-zero.
delete_favorite_album.pydelete_favorite_albumHigh--id maps to album_id; an error result exits non-zero.
download_covers.pydownload_coverPartialBatch wrapper over repeated cover calls.
ranking_tracker.pybrowse_albumsPartialUses time-range/category browse semantics and exports snapshots.
batch_download.pyplan_download / download_batch / task lifecycleHighShared native batch engine; --background launches an independent CLI worker. Query/cancel/retry with jmai task.
download_photo.pyplan_download / download_batch / task lifecycleHighSame batch engine with chapter mode fixed; supports --background.
validate_config.pyupdate_option (adjacent)NoneValidation/format conversion utility; not a direct MCP tool wrapper.
download_latest_apk.pyNoneNoneReads the public hect0x7/JMComic-APK GitHub Release API directly.
login.pyloginHighSupports --username, --password, --impl, --domain, --proxy, and --save to update option.yml.
check_domains.pyNoneNoneDiagnostic domain health checker and benchmark utility; not a direct MCP tool wrapper.

Mapping Policy

  • For Skills workflows, follow the CLI/script --help and 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.decode is set to true

Fichiers inclus

Le modèle lit ces fichiers à la demande lorsque la compétence est chargée. Ils sont accessibles en lecture et ne sont jamais exécutés.

Foire aux questions

À quoi sert la compétence IA Jmcomic ?

Search, browse, inspect album-specific or site-wide comments, list favorite folders, browse, add, and delete favorites, 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, 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.

Pourquoi utiliser Jmcomic sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Jmcomic se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Jmcomic dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/hect0x7/jmcomic-ai/tree/master/src/jmcomic_ai/skills/jmcomic. TypingMind lit le fichier SKILL.md, regroupe les fichiers associés et installe le tout sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Jmcomic ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Jmcomic ?

Autant que vous le souhaitez. Vous pouvez utiliser Jmcomic avec tout modèle qui prend en charge les compétences : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Jmcomic est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par hect0x7 sous licence MIT. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, gabarits ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace de travail IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇