Search

PythonReactSEOPDF
OpenClaw

password-protect-pdf

Add password protection to a PDF by uploading it to the Solutions API, polling until completion, then returning a download URL for the protected PDF.

crossservicesolutions0 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install crossservicesolutions/password-protect-pdf

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

password-protect-pdf

Purpose

This skill password-protects a PDF by:

  1. accepting a PDF file from the user,
  2. accepting a password from the user,
  3. uploading both to the Solutions API,
  4. polling the job status until it is finished,
  5. returning the download URL for the password-protected PDF.

Credentials

The API requires an API key used as a Bearer token:

  • Authorization: Bearer <API_KEY>

How the user gets an API key:

Rule: never echo or log the API key.

API endpoints

Base URL:

  • https://api.xss-cross-service-solutions.com/solutions/solutions

Create password-protect job:

  • POST /api/32
  • multipart/form-data parameters:
    • file (PDF-Datei) — required — PDF file
    • userPass (Passwort) — required — string password

Get result by ID:

  • GET /api/<ID>

When done, the response contains:

  • output.files[] with { name, path } where path is a downloadable URL.

Inputs

Required
  • PDF file (binary)
  • Password (userPass, string)
  • API key (string)
Optional
  • None

Output

Return a structured result:

  • job_id (number)
  • status (string)
  • download_url (string, when done)
  • file_name (string, when available)

Example output:

{
  "job_id": 321,
  "status": "done",
  "download_url": "https://.../protected.pdf",
  "file_name": "protected.pdf"
}

Source information

Source
github
Repository
openclaw/skills
Path
skills/crossservicesolutions/password-protect-pdf
Version
—
Commit
c7810770b392234ef46c0e1179abdeaa279826a0
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

README


README.md

# password-protect-pdf (OpenClaw Skill)

Add password protection to a PDF using the Solutions API and return a download URL for the protected file.

## What you need
- A PDF file
- A password (will be used as `userPass`)
- A Solutions API key (Bearer token)
  - Register / get key: https://login.cross-service-solutions.com/register

## How it works
1) Upload PDF + password to:
   `POST https://api.xss-cross-service-solutions.com/solutions/solutions/api/32`
2) Poll:
   `GET  https://api.xss-cross-service-solutions.com/solutions/solutions/api/<job_id>`
3) Return `output.files[0].path` as the download URL

## Script (CLI)
```bash
python scripts/password_protect_pdf.py \
  --pdf "/path/to/file.pdf" \
  --password "YourPasswordHere" \
  --api-key "$SOLUTIONS_API_KEY"

Extracted content

SKILL.md
# password-protect-pdf

## Purpose
This skill password-protects a PDF by:
1) accepting a PDF file from the user,
2) accepting a password from the user,
3) uploading both to the Solutions API,
4) polling the job status until it is finished,
5) returning the download URL for the password-protected PDF.

## Credentials
The API requires an API key used as a Bearer token:
- `Authorization: Bearer <API_KEY>`

How the user gets an API key:
- https://login.cross-service-solutions.com/register
- Or the user can provide an API key directly.

**Rule:** never echo or log the API key.

## API endpoints
Base URL:
- `https://api.xss-cross-service-solutions.com/solutions/solutions`

Create password-protect job:
- `POST /api/32`
- `multipart/form-data` parameters:
  - `file` (PDF-Datei) — required — PDF file
  - `userPass` (Passwort) — required — string password

Get result by ID:
- `GET /api/<ID>`

When done, the response contains:
- `output.files[]` with `{ name, path }` where `path` is a downloadable URL.

## Inputs
### Required
- PDF file (binary)
- Password (`userPass`, string)
- API key (string)

### Optional
- None

## Output
Return a structured result:
- `job_id` (number)
- `status` (string)
- `download_url` (string, when done)
- `file_name` (string, when available)

Example output:
```json
{
  "job_id": 321,
  "status": "done",
  "download_url": "https://.../protected.pdf",
  "file_name": "protected.pdf"
}
README
---

## `README.md`

```md
# password-protect-pdf (OpenClaw Skill)

Add password protection to a PDF using the Solutions API and return a download URL for the protected file.

## What you need
- A PDF file
- A password (will be used as `userPass`)
- A Solutions API key (Bearer token)
  - Register / get key: https://login.cross-service-solutions.com/register

## How it works
1) Upload PDF + password to:
   `POST https://api.xss-cross-service-solutions.com/solutions/solutions/api/32`
2) Poll:
   `GET  https://api.xss-cross-service-solutions.com/solutions/solutions/api/<job_id>`
3) Return `output.files[0].path` as the download URL

## Script (CLI)
```bash
python scripts/password_protect_pdf.py \
  --pdf "/path/to/file.pdf" \
  --password "YourPasswordHere" \
  --api-key "$SOLUTIONS_API_KEY"

Related skills

OpenClaw

x402hub

capncoconut

Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...

OpenClaw

claw

capevace

Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.

OpenClaw

captchas-openclaw

captchasco

OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.