WordPress plugin intelligence profile

BotCreds Agent Artifacts

Deploy self-contained HTML/CSS/JS apps to WordPress via REST API. One call from any AI agent or CI pipeline — plugin handles the rest.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.0
Current version1.3.6
WordPress coverageTested up to WordPress 7.0
Minimum stackWP 6.0 · PHP 7.4
Directory statusactive
Last directory update19 Jun 20264mo ago
Active installationsNewAdoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records BotCreds Agent Artifacts version 1.3.6 as active, updated 4mo ago and tested up to WordPress 7.0.

Overview

About this plugin

BotCreds Agent Artifacts gives AI agents a permanent home for their outputs.

Post a single HTML file to the REST API. The plugin parses it, extracts scripts and styles, saves them as static files, enqueues them properly via WordPress APIs, and serves the result at a clean public URL with strict security headers. No build tools.

No infrastructure. One API call.

How It Works

  • POST raw HTML to /wp-json/wp/v2/artifacts
  • The plugin extracts <script> and <style> blocks and saves them as static files in wp-content/uploads/artifacts/{id}/
  • JS and CSS are enqueued via wp_enqueue_script() / wp_enqueue_style() — no inline scripts in rendered output
  • The HTML body is sanitized with wp_kses() and an expanded allowed-tags list (canvas, SVG, inputs, video, audio, data-* attributes)
  • The artifact is served at yourdomain.com/artifacts/{slug}/ with a strict Content Security Policy

From the caller’s perspective: POST HTML, get URL. Everything else happens server-side.

Features

Deployment

  • Single REST API call — no SDK, no library, any HTTP client works
  • Update artifacts in place — POST to /wp-json/wp/v2/artifacts/{id} and the public URL stays the same
  • Optional artifact_description field for internal documentation
  • Head content preservation — <meta> tags and other <head> elements from submitted HTML are preserved in output
  • External script support — <script src="..."> tags are registered as external dependencies and enqueued alongside local assets
  • Asset cache busting — enqueued files are versioned with filemtime() so browsers fetch updates automatically
  • Clean redeploys — old asset files are deleted before new ones are written

Security

  • Content Security Policy on every artifact page — blocks external script injection and cross-origin data exfiltration by default
  • Trusted CDN list out of the box: cdn.jsdelivr.net, unpkg.com, cdnjs.cloudflare.com, esm.sh, cdn.skypack.dev — scripts and styles load from these without any configuration
  • Per-artifact API allowlist — artifacts that call external APIs declare their origins via an HTML pragma comment ( <!-- artifact:fetch https://api.example.com --> ) or a deploy-time meta field; the plugin adds them to connect-src automatically
  • Additional security headers: X-Content-Type-Options, X-Frame-Options, Referrer-Policy
  • Custom capability type — artifact capabilities are separate from standard post capabilities; only Administrators can create artifacts by default

Developer Hooks

  • botcreds_agent_artifacts_csp — filter the full CSP header value for any artifact
  • botcreds_agent_artifacts_allowed_html — filter the wp_kses allowed-tags array
  • botcreds_agent_artifacts_grant_to_role() — helper to grant capabilities to additional roles
  • Custom template — drop single-artifact.php in your active theme to replace the render template

Use Cases

OpenClaw (AI personal assistant)

OpenClaw agents can deploy interactive dashboards, daily digests, data visualizations, and mini-apps in a single tool call. Generate the HTML, POST it, get the URL — no manual steps, no context switching.

For artifacts that fetch live data, add a pragma comment to the HTML and the CSP is updated automatically:

org -->

For recurring reports (daily digests, weekly summaries), store the artifact ID after the first deploy and update in place on subsequent runs. The URL never changes.

Claude Code (terminal-based coding agent)

Claude Code sessions can invoke a shell deploy script directly after generating output. md — Claude will use it to ship outputs without leaving the terminal. No manual copy-paste, no browser switching.

Codex (OpenAI coding agent)

Same pattern as Claude Code. md and Codex can write HTML, call the deploy script, and report the live URL — all in one agent run.

GitHub Actions (versioned project)

For projects that build a static HTML output — dashboards, reports, documentation, changelogs — a GitHub Actions workflow can deploy to an artifact on every push to main. The artifact ID is stored as a repository variable so the public URL stays stable across all future deploys. Push → build → deploy → done.

Example: Deploy via REST API

</h1></body></html>", "artifact_description": "Built by my AI agent" } }'

The response link field is the public URL of the deployed artifact.

Example: Artifact with Live Data

Include the fetch pragma in your HTML — no configuration needed:

description); </script> </body> </html>

Example: GitHub Actions Deployment

name: Deploy Artifact on: push: branches: [main] jobs: deploy: runs-on: ubuntu-latest steps:

  • uses: actions/checkout@v4
  • run: npm ci && npm run build
  • name: Deploy to Artifact

link'

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • rest api
  • agents
  • ai
  • artifacts
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 7.0

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 7.0.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.0
Minimum requirementsWordPress 6.0 · PHP 7.4
Update activity19 Jun 20264mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.