JRB Remote Site API Skill
Interface with WordPress sites running the jrb-remote-site-api plugin. This skill enables AI agents to perform administrative tasks, content management, and integration with the Fluent suite (CRM, Forms, Support, etc.) via a secure REST API.
Configuration
Required environment variables for targeting a site:
JRB_API_URL: The base URL of the site (e.g., https://jrbconsulting.au)
JRB_API_TOKEN: The secure API token configured in the plugin settings
Core Capabilities
1. System & Auth
- Ping: Verify connection and token validity.
- Site Info: Get WordPress version, active theme, plugin version, and capabilities.
2. Content Management (CRUD)
- Posts & Pages: Create, read, update, delete, and list. Supports custom statuses (draft, publish, private).
- Media: Upload and manage files in the WordPress Media Library.
3. Plugin & Theme Management
- Plugins: List, install, activate, deactivate, update, and delete.
- Themes: List active/available themes, switch themes, install from URL.
4. Fluent Suite Integration (Modules)
- FluentCRM: Manage contacts, lists, tags, and campaigns.
- FluentSupport: Professional ticket management and customer support.
- FluentProject: Task and project management automation.
- FluentBoards: Advanced board and task management.
Usage Patterns
Verification
curl -H "X-JRB-Token: \$JRB_API_TOKEN" "\$JRB_API_URL/wp-json/jrb-remote/v1/site"
Create a Page
curl -X POST -H "X-JRB-Token: \$JRB_API_TOKEN" \\
-H "Content-Type: application/json" \\
-d '{"title": "New Page", "content": "Hello World", "status": "publish"}' \\
"\$JRB_API_URL/wp-json/jrb-remote/v1/pages"
Installation
This skill is designed to work with the JRB Remote Site API WordPress plugin.
To install:
clawhub install jrb-remote-site-api
1---2name: jrb-remote-site-api-skill3description: Interface with WordPress sites running the jrb-remote-site-api plugin. This skill enables AI agents to perform administrative tasks, content management, and integration with the Fluent suite (CRM, ...4---5
6# JRB Remote Site API Skill
7
8Interface with WordPress sites running the `jrb-remote-site-api` plugin. This skill enables AI agents to perform administrative tasks, content management, and integration with the Fluent suite (CRM, Forms, Support, etc.) via a secure REST API.
9
10## Configuration
11
12Required environment variables for targeting a site:
13- `JRB_API_URL`: The base URL of the site (e.g., `https://jrbconsulting.au`)
14- `JRB_API_TOKEN`: The secure API token configured in the plugin settings
15
16## Core Capabilities
17
18### 1. System & Auth
19- **Ping**: Verify connection and token validity.
20- **Site Info**: Get WordPress version, active theme, plugin version, and capabilities.
21
22### 2. Content Management (CRUD)
23- **Posts & Pages**: Create, read, update, delete, and list. Supports custom statuses (draft, publish, private).
24- **Media**: Upload and manage files in the WordPress Media Library.
25
26### 3. Plugin & Theme Management
27- **Plugins**: List, install, activate, deactivate, update, and delete.
28- **Themes**: List active/available themes, switch themes, install from URL.
29
30### 4. Fluent Suite Integration (Modules)
31- **FluentCRM**: Manage contacts, lists, tags, and campaigns.
32- **FluentSupport**: Professional ticket management and customer support.
33- **FluentProject**: Task and project management automation.
34- **FluentBoards**: Advanced board and task management.
35
36## Usage Patterns
37
38### Verification
39```bash
40curl -H "X-JRB-Token: \$JRB_API_TOKEN" "\$JRB_API_URL/wp-json/jrb-remote/v1/site"
41```
42
43### Create a Page
44```bash
45curl -X POST -H "X-JRB-Token: \$JRB_API_TOKEN" \\
46 -H "Content-Type: application/json" \\
47 -d '{"title": "New Page", "content": "Hello World", "status": "publish"}' \\
48 "\$JRB_API_URL/wp-json/jrb-remote/v1/pages"
49```
50
51## Installation
52This skill is designed to work with the **JRB Remote Site API** WordPress plugin.
53To install:
54`clawhub install jrb-remote-site-api`