Agent skill

Debrid Providers in pipensx

by i3sey in i3sey/pipensx

Explains how debrid download providers are structured in the pipensx C++ app and what to touch when adding or changing one.

GPL-3.0Auto-check passedDevelopment

Install Debrid Providers in pipensx

skills CLI
$ npx skills add i3sey/pipensx --skill debrid -a claude-code

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

GitHub CLI
$ gh skill install i3sey/pipensx debrid --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/i3sey/pipensx.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/debrid .claude/skills/debrid && 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
debrid
GitHub stars
220
Token cost
~900 tokens
SKILL.md length
361 words
Files
1
Skills in repo
3
Repo updated
First seen
Licence
GPL-3.0

At a glance

Explains how debrid download providers are structured in the pipensx C++ app and what to touch when adding or changing one.

  • Adding a new debrid provider to the app
  • SKILL.md covers Adding a new provider, Provider test pattern, Account cleanup and Settings and state versioning
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Changing a provider client or the DebridProvider interface

What it does

The pipensx C++ app has four download sources, TorBox, TorrServer, Real-Debrid and AllDebrid, and each implements the DebridProvider interface in src/app/debrid_provider.hpp, a pure-virtual interface with eight methods: validate, createFromMagnet, createFromFile, fetchInfo, selectFiles, resolveDownloadUrl, remove and name.

Adding a provider follows the TorBox pattern across a table of touchpoints: the provider kind enum, a client and provider pair, settings fields and their serialization, download manager keys and the provider factory, UI helpers, the settings and first-run views, startup wiring, CMake and Makefile entries, locale strings and tests. Tests inject a Transport functor that returns canned JSON so no real HTTP calls happen, and removing a task cleans the remote account on a detached thread so callers never block on HTTPS while a mutex may be held.

When your agent uses it

  • Adding a new debrid provider to the app
  • Changing a provider client or the DebridProvider interface
  • Editing the first-run debrid cards or debrid settings UI
  • Changing how settings or download state are versioned and persisted

Example prompts

  • “Add a new debrid provider following the TorBox pattern, including settings, UI and tests.”
  • “Write tests for the Real-Debrid client using a mock transport.”
  • “Bump the persisted download-state version and update load and saveLocked to match.”

Requirements

  • The pipensx source tree and a C++ build setup

What it can do on your machine

Read from SKILL.md and the folder at commit 21cb83d. 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.

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

  • Network

    No URLs in SKILL.md.

    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

Debrid Providers in pipensx loads about 900 tokens when it runs. Until then it costs about 67 tokens; SKILL.md has 361 words of instructions outside code blocks.

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

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 i3sey/pipensx at commit 21cb83d, republished under its GPL-3.0 licence (© i3sey). 361 words, ~900 tokens.

Download SKILL.mdSave it as .claude/skills/debrid/SKILL.md (or your agent's skills folder).
name
debrid
description
Adding or changing a debrid provider (TorBox, TorrServer, Real-Debrid, AllDebrid), DebridProvider, *Client/*Provider, debrid UI, first-run debrid cards, or persisted settings/download-state versioning in app_settings.cpp and download_manager.cpp saveLocked/load.

Debrid providers and persisted state

Four download sources: TorBox (cloud), TorrServer (self-hosted LAN), Real-Debrid (cloud), and AllDebrid (cloud). Each implements DebridProvider (src/app/debrid_provider.hpp), a pure-virtual interface with eight required methods: validate, createFromMagnet, createFromFile, fetchInfo, selectFiles, resolveDownloadUrl, remove, and name.

Adding a new provider

Follow the existing pattern (TorboxProvider + TorboxClient). Touchpoints:

LayerFiles
Provider interfacesrc/app/debrid_provider.hpp — add to DebridProviderKind enum
Client + providersrc/app/<name>_client.{hpp,cpp}, src/app/<name>_provider.{hpp,cpp}
Settingssrc/app/app_settings.hpp — add key field; app_settings.cpp — serialize/deserialize field and provider kind string
Download managerdownload_manager.{hpp,cpp} — setXxxKey(), apiKeyFor() branch, makeProvider() branch, saveLocked/load provider name
UI helperssrc/ui/debrid_ui.hpp — activeDebridKey(), makeDebridProvider(), debridProviderName(), DebridLinkView members
Settings UIsrc/ui/settings/settings_view.hpp — selector list and applyValues()
First-runsrc/ui/first_run_view.hpp — option card, diagram kind, updateSelection() case
Switch initsrc/main_switch.cpp — call setXxxKey() on the manager after settings load
BuildCMakeLists.txt — add to APP_SERVICE_SOURCES; Makefile.pc — object rule, test targets, link into test_manager
Localeresources/i18n/*/pipensx.json — first-run and diagram strings
Teststests/test_<name>_client.cpp (static parsers), tests/test_<name>_provider.cpp (mock transport)

Provider test pattern

Tests inject a Transport functor (e.g. RdTransport) that returns canned JSON responses instead of making real HTTP calls. The provider and its client both accept a transport in their constructors so the curl path is never hit during testing. The transport matches requests by URL substring (endpoint name) and returns pre-baked JSON.

Show full SKILL.md (161 more words)Show less

Account cleanup

When a debrid task is removed, DownloadManager::removeFromDebridAsync fires a detached thread that calls makeProvider(…)->remove(id) to clean the account. A detached thread is used because the caller must never block on the HTTPS round-trip — mutex_ may be held. TorrServer also rems the torrent (memory + DB + disk cache) from DebridTransfer when the job finishes, so completed downloads do not sit in the LAN server's list until the user clears the queue.

Settings and state versioning

  • App settings (src/app/app_settings.cpp): kSettingsVersion (currently 3). Adding a new stored field that requires migration needs a version bump and a rule in parseSettings(). The old field comment "realdebrid" was a provider we no longer ship was written before Real-Debrid was added — do not cargo-cult it.
  • Download state (src/app/download_manager.cpp): saveLocked writes version 6 (bencode 7:versioni6e). The load() function gates optional fields behind version.ival >= N. Adding a new persisted task field requires bumping to 7, adding a version.ival >= 7 load gate, and writing the new key to saveLocked.

© i3sey, 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/debrid of i3sey/pipensx.

Open the folder on GitHubat commit 21cb83d

Compare with similar skills

Debrid Providers in pipensx 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.

Debrid Providers in pipensx compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Debrid Providers in pipensx this skilli3sey/pipensx220—~900Automated safety check: PassGPL-3.0
DDNS Provider DevelopmentNewFuture/DDNS4.7k—~558Automated safety check: PassMIT
WxJava API Contributorbinarywang/WxJava33k—~154Automated safety check: PassApache-2.0
OpenROAD Module Test AdderThe-OpenROAD-Project/OpenROAD3.2k—~1.8kAutomated safety check: PassBSD-3-Clause
LexGuard MCP Developer GuideSeoNaRu/lexguard-mcp131—~1.1kAutomated safety check: PassCustom licence
Tiger Brokers C++ OpenAPI SDKqusong0627/QuantMind1.7k—~942Automated safety check: PassApache-2.0

Similar skills

  • Adds or changes a DNS provider in the DDNS project while keeping its code, schemas, tests and Chinese and English docs consistent.

    4.7k GitHub stars~558 tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • WxJava API Contributor

    binarywang/WxJava

    Steps for adding or maintaining a WeChat official API in the WxJava SDK, following its Maven multi-module layout, Java 8 compatibility and TestNG test conventions.

    33k GitHub stars~154 tokensUpdated 12 days ago
    Backend & APIsAuto-check passed
  • OpenROAD Module Test Adder

    The-OpenROAD-Project/OpenROAD

    Adds integration or unit tests to an OpenROAD module: writes the Tcl test, generates golden files and registers it in both CMake and Bazel.

    3.2k GitHub stars~1.8k tokensUpdated yesterday
    Testing & QAAuto-check passed
  • LexGuard MCP Developer Guide

    SeoNaRu/lexguard-mcp

    Developer guide for the LexGuard Korean law MCP server: layer rules, adding tools and repositories, JSON-RPC responses, law API handling, answer rules and tests.

    131 GitHub stars~1.1k tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check passed
  • Tiger Brokers C++ OpenAPI SDK

    qusong0627/QuantMind

    Guides an agent through the Tiger Brokers OpenAPI C++ SDK for build setup, market data, orders and real-time push, defaulting to paper trading.

    1.7k GitHub stars~942 tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Build Gplates

    GPlates/GPlates

    Configure, build and test the GPlates desktop application. An agent skill from GPlates/GPlates.

    154 GitHub stars~750 tokensUpdated yesterday
    Testing & QAAuto-check passed

More from i3sey/pipensx

  • Decodes QR-code bug report photos and screenshots from the pipensx app into a log, then triages crashes and update, download or install failures.

    220 GitHub stars~1.5k tokensUpdated 6 days ago
    Auto-check: notes
  • Repo rules for editing libnx and Nintendo Switch homebrew code in pipensx: read the real headers first and keep shared code building for both Switch and PC.

    220 GitHub stars~1.3k tokensUpdated 6 days ago
    Auto-check passed

Works with

Categories

Questions about Debrid Providers in pipensx

What does Debrid Providers in pipensx do?

Explains how debrid download providers are structured in the pipensx C++ app and what to touch when adding or changing one. hpp, a pure-virtual interface with eight methods: validate, createFromMagnet, createFromFile, fetchInfo, selectFiles, resolveDownloadUrl, remove and name.

When should I use Debrid Providers in pipensx?

Debrid Providers in pipensx fits situations like: adding a new debrid provider to the app; changing a provider client or the DebridProvider interface; editing the first-run debrid cards or debrid settings UI; changing how settings or download state are versioned and persisted.

How do I install Debrid Providers in pipensx in Claude Code?

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

How do I install Debrid Providers in pipensx in Codex?

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

Can I use Debrid Providers in pipensx 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 i3sey/pipensx --skill debrid -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/debrid, .gemini/skills/debrid, .github/skills/debrid and .opencode/skills/debrid in your project.

What does Debrid Providers in pipensx need to run?

SKILL.md names no scripts, command-line tools or credentials: Debrid Providers in pipensx is instructions for the agent only. Our summary lists: The pipensx source tree and a C++ build setup.

Does Debrid Providers in pipensx access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Debrid Providers in pipensx 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 Debrid Providers in pipensx use?

Debrid Providers in pipensx 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 Debrid Providers in pipensx use?

About 900 tokens (SKILL.md is roughly 3.6k 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 Debrid Providers in pipensx?

Skills that share tags, products or a category with Debrid Providers in pipensx: DDNS Provider Development (NewFuture/DDNS, 4.7k stars), WxJava API Contributor (binarywang/WxJava, 33k stars), OpenROAD Module Test Adder (The-OpenROAD-Project/OpenROAD, 3.2k stars) and LexGuard MCP Developer Guide (SeoNaRu/lexguard-mcp, 131 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Debrid Providers in pipensx?

i3sey (a GitHub user) maintains it in i3sey/pipensx, which has 220 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 2, 2026.

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