agentleFS
hevangelhevangel/media-agent-skills/skills/qbittorrent/SKILL.md

qbittorrent

Skill4 starsChanged 22 days agoMITView on GitHub

Control qBittorrent via the qbittorrent-api Python package. List, add, pause, resume, and delete torrents. Use when managing torrent downloads.

  • Reads credentials

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    All settings are loaded from the .env file in the workspace root.

    line 12
  2. Very specific:

    Avoid python -c; create temp scripts instead.

    line 64

≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

qBittorrent Client

Configuration

All settings are loaded from the .env file in the workspace root.

QBITTORRENT_HOST=http://localhost:8080
QBITTORRENT_USERNAME=admin
QBITTORRENT_PASSWORD=your_password

Reference

Python Package

Available Functions (scripts/qbittorrent_client.py)

FunctionDescription
get_client()Create and authenticate a qBittorrent client
list_torrents(client)List all torrents with status info
add_magnet(client, magnet_link, save_path)Add a torrent via magnet link
resume_torrent(client, torrent_hash)Resume/start a torrent
pause_torrent(client, torrent_hash)Pause a torrent
delete_torrent(client, torrent_hash, delete_files)Delete a torrent
get_torrent_by_hash(client, torrent_hash)Get a specific torrent by hash

Usage

from skills.qbittorrent.scripts.qbittorrent_client import (
    get_client, list_torrents, add_magnet, resume_torrent,
)

client = get_client()

# List all torrents
for torrent in list_torrents(client):
    print(f"{torrent['name']}: {torrent['progress']:.1f}%")

# Add a magnet link
add_magnet(client, "magnet:?xt=urn:btih:...")

# Resume a torrent
resume_torrent(client, "torrent_hash_here")

Notes

  • Temporary files go in $WORKSPACE_PATH/temp/.
  • Avoid python -c; create temp scripts instead.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.