Agent skill

Deluge API

by tympanix in tympanix/Electorrent

Deluge Web JSON-RPC and core RPC reference covering session login, web methods, and commonly used core torrent operations.

GPL-3.0Auto-check passed

Install Deluge API

skills CLI
$ npx skills add tympanix/Electorrent --skill deluge-api -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install tympanix/Electorrent deluge-api --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/tympanix/Electorrent.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/deluge-api .claude/skills/deluge-api && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
deluge-api
GitHub stars
1.2k
Token cost
~1.2k tokens
SKILL.md length
425 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
GPL-3.0

At a glance

Deluge Web JSON-RPC and core RPC reference covering session login, web methods, and commonly used core torrent operations.

  • Works in 4 steps: auth.login(password) → web.get_hosts() → web.connect(host_id) → …
  • SKILL.md covers Purpose, Protocols, Session flow and Main Web methods, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Deluge API is an agent skill from tympanix/Electorrent. Deluge Web JSON-RPC and core RPC reference covering session login, web methods, and commonly used core torrent operations.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: A remote control client for µTorrent, qBittorrent, rTorrent, Transmission, Synology & Deluge. The licence is GPL-3.0.

Example prompts

  • “/deluge-api”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. auth.login(password)
  2. web.get_hosts()
  3. web.connect(host_id)
  4. Use web.* and core.* methods against the connected daemon

What it can do on your machine

Read from SKILL.md and the folder at commit d45444f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are json).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • deluge.readthedocs.io

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Deluge API loads about 1.2k tokens when it runs. Until then it costs about 33 tokens; SKILL.md has 425 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~33
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from tympanix/Electorrent at commit d45444f, republished under its GPL-3.0 licence (© tympanix). 425 words, ~1,207 tokens.

Download SKILL.mdSave it as .claude/skills/deluge-api/SKILL.md (or your agent's skills folder).
name
deluge-api
description
Deluge Web JSON-RPC and core RPC reference covering session login, web methods, and commonly used core torrent operations.

Skill: Deluge API

Purpose

Use this skill when you need to integrate with Deluge Web or reason about Deluge RPC calls exposed through the Web UI.

Protocols

Web API
  • Endpoint: /json
  • Spec: JSON-RPC v1-style request body
  • Typical request body:
json
{
  "method": "web.update_ui",
  "params": [["name", "progress"], {}],
  "id": 1
}
  • File uploads are sent to /upload
Core daemon RPC

DelugeRPC is the daemon/client wire protocol. Messages are zlib-compressed, rencode-encoded payloads.

  • Request: [[request_id, method, [args], {kwargs}], ...]
  • Response: [message_type, request_id, [return_value]]
  • Error: [message_type, request_id, exception_type, exception_msg, traceback]
  • Event: [message_type, event_name, data]

The Web UI exposes many core methods directly through the JSON endpoint, so callers often use JSON requests with core.*, auth.*, and web.* method names.

Session flow

Typical Web UI flow:

  1. auth.login(password)
  2. web.get_hosts()
  3. web.connect(host_id)
  4. Use web.* and core.* methods against the connected daemon

Main Web methods

MethodParametersPurpose
web.add_hosthost, port, username='', password=''Add daemon to host list
web.edit_hosthost_id, host, port, username='', password=''Edit host entry
web.remove_hosthost_idRemove host entry
web.get_hostsnoneReturn configured hosts
web.get_host_statushost_idGet daemon status
web.connecthost_idConnect Web UI to a daemon
web.connectednoneCheck connected state
web.disconnectnoneDisconnect current daemon
web.get_eventsnoneDrain queued events
web.register_event_listenereventSubscribe to event queue
web.deregister_event_listenereventRemove subscription
web.get_confignoneRead Web UI config
web.set_configconfigUpdate Web UI config
web.set_themethemeChange theme
web.get_pluginsnoneAvailable/enabled Web UI plugins
web.get_plugin_infonamePlugin details
web.get_plugin_resourcesnamePlugin resource files
web.upload_pluginfilename, pathUpload plugin
web.download_torrent_from_urlurl, cookie=NoneDownload torrent to temp path
web.get_magnet_infouriParse magnet metadata
web.get_torrent_infofilenameInspect torrent file on disk
web.get_torrent_filestorrent_idTorrent files tree
web.get_torrent_statustorrent_id, keysSelected torrent fields
web.update_uikeys, filter_dictIncremental UI snapshot
web.add_torrents[{path, options}]Add uploaded/downloaded torrent files
Show full SKILL.md (147 more words)Show less

Core methods commonly used through Web API

MethodParametersPurpose
core.get_config_values[keys]Read daemon config such as download_location
core.resume_torrent[hashes]Resume torrents
core.pause_torrent[hashes]Pause torrents
core.force_recheck[hashes]Recheck torrents
core.remove_torrent[hash, remove_data]Remove torrent, optionally deleting data
core.queue_up[hashes]Move up in queue
core.queue_down[hashes]Move down in queue
core.queue_top[hashes]Move to top
core.queue_bottom[hashes]Move to bottom

Important request and response details

  • web.connect(host_id) returns the list of methods the daemon supports
  • web.update_ui(keys, filter_dict) returns torrent/UI data keyed by torrent hash
  • web.add_torrents() expects uploaded files to be referenced by temporary path
  • web.download_torrent_from_url() returns the temporary filename to pass into web.add_torrents()
  • web.get_torrent_info() returns name, files_tree, and info_hash

Common options for web.add_torrents

Common per-torrent options include:

  • download_location
  • file_priorities
  • add_paused
  • compact_allocation
  • max_connections
  • max_download_speed
  • max_upload_slots
  • max_upload_speed
  • prioritize_first_last_pieces

Electorrent usage

Electorrent uses:

  • auth.login
  • web.get_hosts
  • web.connect
  • web.update_ui
  • web.download_torrent_from_url
  • web.add_torrents
  • core.get_config_values
  • core.resume_torrent
  • core.pause_torrent
  • core.force_recheck
  • core.remove_torrent
  • core.queue_up, core.queue_down, core.queue_top, core.queue_bottom

References

© tympanix, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/deluge-api of tympanix/Electorrent.

Open the folder on GitHubat commit d45444f

Compare with similar skills

Deluge API next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Deluge API compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Deluge API this skilltympanix/Electorrent1.2k—~1.2kAutomated safety check: PassGPL-3.0
Odoo Rpc APIsickn33/agentic-awesome-skills47k2 repos~1kAutomated safety check: NotesMIT
Hybrid Cloud Rpcgetsentry/sentry46k—~4kAutomated safety check: PassCustom licence
Adding Personhog RpcPostHog/posthog40k—~2.1kAutomated safety check: PassCustom licence
RpcBlockRunAI/blockrun-mcp391—~1.2kAutomated safety check: PassMIT
Rpc TransportNethereum/Nethereum2.3k—~833Automated safety check: PassMIT

Similar skills

  • Odoo Rpc API

    sickn33/agentic-awesome-skills

    Expert on Odoo's external JSON-RPC and XML-RPC APIs. An agent skill from sickn33/agentic-awesome-skills.

    47k GitHub starsUsed in 2 repos~1k tokens
    Backend & APIsAuto-check: notes
  • Hybrid Cloud Rpc

    getsentry/sentry

    Official

    Guide for creating, updating, and deprecating hybrid cloud RPC services in Sentry.

    46k GitHub stars~4k tokensUpdated today
    Backend & APIsAuto-check passed
  • Adding Personhog Rpc

    PostHog/posthog

    Official

    Guide for adding a new RPC to personhog-replica and personhog-router.

    40k GitHub stars~2.1k tokensUpdated today
    Backend & APIsAuto-check passed
  • Rpc

    BlockRunAI/blockrun-mcp

    A skill your agent uses when the user needs raw blockchain JSON-RPC access — contract reads (ethcall), native balances, blocks, transactions, logs, gas estimates, or any chain-native RPC method…

    391 GitHub stars~1.2k tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Rpc Transport

    Nethereum/Nethereum

    Choose and configure JSON-RPC transports in Nethereum. An agent skill from Nethereum/Nethereum.

    2.3k GitHub stars~833 tokensUpdated 4 days ago
    Backend & APIsAuto-check passed
  • Chainlist Rpc

    Nethereum/Nethereum

    Discover EVM chains, RPC endpoints, native currencies, block explorers, and faucets using the Chainlist registry via Nethereum.DataServices

    2.3k GitHub stars~842 tokensUpdated 4 days ago
    Backend & APIsAuto-check passed

More from tympanix/Electorrent

  • Electron Ipc

    tympanix/Electorrent

    Safe Electron IPC patterns for renderer-main communication with preload bridges, channel design, replies, and serialization limits.

    1.2k GitHub stars~1.2k tokensUpdated 5 days ago
    Auto-check passed
  • Synology API

    tympanix/Electorrent

    Synology Download Station Web API reference covering API discovery, authentication, request format, common errors, and Download Station task operations.

    1.2k GitHub stars~1.3k tokensUpdated 5 days ago
    Auto-check passed
  • Rtorrent API

    tympanix/Electorrent

    rTorrent XML-RPC command reference focused on remote control, multicall patterns, load methods, and the torrent commands used by Electorrent.

    1.2k GitHub stars~17k tokensUpdated 5 days ago
    Auto-check passed
  • Transmission API

    tympanix/Electorrent

    Transmission RPC reference covering JSON-RPC 2.0 transport, session token handling, torrent methods, session methods, and protocol versioning.

    1.2k GitHub stars~12k tokensUpdated 5 days ago
    Auto-check passed
  • Impl

    tympanix/Electorrent

    Implement a feature. An agent skill from tympanix/Electorrent.

    1.2k GitHub stars~834 tokensUpdated 5 days ago
    Auto-check passed

Questions about Deluge API

What does Deluge API do?

Deluge Web JSON-RPC and core RPC reference covering session login, web methods, and commonly used core torrent operations. Deluge API is an agent skill from tympanix/Electorrent. Deluge Web JSON-RPC and core RPC reference covering session login, web methods, and commonly used core torrent operations.

How do I install Deluge API in Claude Code?

Run `npx skills add tympanix/Electorrent --skill deluge-api -a claude-code`. Or copy the skill folder (.agents/skills/deluge-api in tympanix/Electorrent) into .claude/skills/deluge-api in your project. Claude Code loads it when a task matches its description.

How do I install Deluge API in Codex?

Run `npx skills add tympanix/Electorrent --skill deluge-api -a codex`. Or copy the skill folder (.agents/skills/deluge-api in tympanix/Electorrent) into .agents/skills/deluge-api in your project. Codex loads it when a task matches its description.

Can I use Deluge API in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add tympanix/Electorrent --skill deluge-api -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/deluge-api, .gemini/skills/deluge-api, .github/skills/deluge-api and .opencode/skills/deluge-api in your project.

What does Deluge API need to run?

SKILL.md names no scripts, command-line tools or credentials: Deluge API is instructions for the agent only.

Does Deluge API access the network?

SKILL.md names 1 domain. As links in the text: deluge.readthedocs.io. This is read from the text; nothing was executed.

Is Deluge API safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Deluge API use?

Deluge API is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Deluge API use?

About 1.2k tokens (SKILL.md is roughly 4.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Deluge API?

Skills that share tags, products or a category with Deluge API: Odoo Rpc API (sickn33/agentic-awesome-skills, 47k stars), Hybrid Cloud Rpc (getsentry/sentry, 46k stars), Adding Personhog Rpc (PostHog/posthog, 40k stars) and Rpc (BlockRunAI/blockrun-mcp, 391 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Deluge API?

tympanix (a GitHub user) maintains it in tympanix/Electorrent, which has 1,193 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 3, 2026.

Source: tympanix/Electorrent on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.