BotCreds Agent Artifacts
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 and 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 — tags and other elements from submitted HTML are preserved in output External script support — 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 ( ) 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: 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. Add a scripts/deploy-artifact.sh to your project and reference it in your CLAUDE.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. Add deployment instructions to your AGENTS.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 curl -X POST "https://your-site.com/wp-json/wp/v2/artifacts" \ -u "username:application-password" \ -H "Content-Type: application/json" \ -d '{ "title": "My App", "status": "publish", "meta": { "artifact_html": " Hello. ", "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: fetch('https://api.openweathermap.org/data/2.5/weather?q=Denver&appid=YOUR_KEY') .then(r => r.json()) .then(d => document.getElementById('weather').textContent = d.weather[0].description); 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 env: WP_SITE: ${{ secrets.ARTIFACT_WP_SITE }} WP_USER: ${{ secrets.ARTIFACT_WP_USER }} WP_PASS: ${{ secrets.ARTIFACT_WP_PASS }} ARTIFACT_ID: ${{ vars.ARTIFACT_ID }} run: | PAYLOAD=$(jq -n --arg title "My Dashboard" --rawfile html dist/index.html \ '{title: $title, status: "publish", meta: {artifact_html: $html}}') ENDPOINT="$WP_SITE/wp-json/wp/v2/artifacts" [ -n "$ARTIFACT_ID" ] && ENDPOINT="$ENDPOINT/$ARTIFACT_ID" curl -sf -X POST "$ENDPOINT" -u "$WP_USER:$WP_PASS" \ -H "Content-Type: application/json" -d "$PAYLOAD" | jq -r '.link'
Top keywords
- artifact22×2.65%
- html17×2.05%
- wp17×2.05%
- artifacts14×1.69%
- deploy10×1.21%
- agent8×0.97%
- id8×0.97%
- post8×0.97%
- url8×0.97%
- api6×0.72%
- artifact id6×0.72%
- call5×0.60%
SEOPress – AI SEO Plugin & On-site SEO
SEOPress – The fast, privacy-first WordPress SEO plugin, ready for AI search Rank higher in Google AND in AI answer engines (ChatGPT, Claude, Perplexity, Gemini). SEOPress is the all-in-one WordPress SEO plugin trusted by 350,000+ websites since 2017: fully white label, privacy by design, and now AI-ready. ✔ One SEO plugin, every page builder: Universal SEO metabox for Gutenberg, Elementor, Divi, Bricks, Oxygen, Breakdance, WPBakery, Avada, Kadence and more. See all integrations. ✔ AI-powered metadata: Generate SEO titles, meta descriptions, Open Graph, X (Twitter) Cards and image alt text in bulk with OpenAI, Google Gemini, Anthropic Claude, MistralAI or DeepSeek. Learn more. ✔ Built for AI search (AEO / GEO): Native llms.txt support and one-click Agent Readiness toggle so ChatGPT, Claude, Perplexity & Gemini understand your content. ✔ Privacy-first & fully white label: No tracking, no data footprint, no upsells in admin. Your data stays yours. Why white label matters. ✔ Content analysis with unlimited target keywords: No artificial limit per post. ✔ Migrate in one click: From Yoast SEO, Rank Math, AIOSEO, The SEO Framework, Slim SEO, SmartCrawl, Squirrly, SEO Ultimate, WP Meta SEO, Premium SEO Pack, SiteSEO. Start migration. ✔ Translated into 27+ languages with professional translations. Help translate. SEOPress PRO from $49/year: 1 site • Unlimited sites for $149/year Features | Migrate | PRO | Integrations | Support | White Label | AI What’s new in SEOPress 10 Our biggest AI release yet: a brand new in-editor AI Assistant, your own AI credits, a smarter XML sitemap and a faster Redirections experience. 🤖 Brand new AI Assistant (PRO): A full assistant right inside the Block Editor — chat, quick actions, generate complete articles with /write, copy results in one click, and keep persistent conversations. 🔑 Your own AI, your way (PRO): Buy ready-to-use tokens from seopress.org, or connect your own OpenAI, Google Gemini or Anthropic Claude key — with WordPress Connectors (Abilities API) support on WordPress 7+ and credits you can top up directly. 🖼️ Finer AI image metadata (PRO): Per-field toggles to choose exactly which AI-generated alt, caption and description are written on upload. 🩺 XML Sitemap health check: A built-in tool that probes your sitemap index and sub-sitemaps, flags problems, reports coverage of optional content types, and offers one-click fixes. 📰 Google Preferred Sources: A new block & shortcode to add Google’s “Preferred Sources” follow button anywhere in your content. ⚡ Redirections & 404s, faster (PRO): Moved to a snappy DataViews screen, with a dedicated Rank Math CSV importer and an “Add another” button after each redirect. 🎬 Smarter Video sitemap (PRO): Now scans page builder content (Bricks and more) for YouTube embeds, with a keyless oEmbed fallback when the YouTube API quota is reached. 🚦 robots.txt editor refined (PRO): Contextual guidance on quick-insert buttons, clearer “Recommended” labels, and native WordPress tooltips. 🌍 Automatic language packs: Translations for your locale install on demand, no manual upload (Free and PRO). Read the full 10.0 release notes → Why SEOPress is the best WordPress SEO plugin? All-in-one: Schemas, redirections, XML sitemaps, GSC, image SEO, breadcrumbs, broken links and more in one plugin. Fewer plugins, fewer conflicts, lower maintenance. Modular: Don’t need a feature? Disable it in one click without losing your settings. Affordable: PRO from $49/year for 1 site. Unlimited sites for $149/year. No “agency” tax. White label by default: Replace plugin name, logo, links and screens. Perfect for agencies and freelancers. GDPR-friendly: Privacy by design. Built-in compatibility with consent platforms. Beginner to expert: Installation wizard for newcomers, hundreds of hooks, REST API and WP-CLI for developers. Free guides and SEO ebooks. Battle-tested: 350,000+ active installs, weekly releases, dedicated team since 2017. SEOPress Free Features Installation wizard: Get configured in minutes. Universal SEO metabox: Edit titles, descriptions, Open Graph, X Cards, schema, robots and canonical from any editor (Gutenberg, Elementor, Divi, Bricks, Oxygen, Breakdance, WPBakery, Avada, Kadence…). Command palette (Cmd/Ctrl+K): Jump to any setting instantly. Content analysis with **unlimited target keywords** to write content that ranks. Mobile & Desktop Google preview: See your SERP snippet before you publish. Facebook & X (Twitter) social preview for higher CTR on social. Titles & meta descriptions with dynamic variables (custom fields, terms, taxonomies). Open Graph & X (Twitter) Cards for Facebook, LinkedIn, Instagram, Pinterest, WhatsApp, Threads… Google Knowledge Graph: Organization data with address & legal fields (new in 9.8). llms.txt & Agent Readiness: Help AI search engines understand your site (new in 9.8). Google Analytics 4 & Matomo: Downloads tracking, custom dimensions, IP anonymization, remarketing, demographics, cross-domain tracking, GDPR-friendly. Microsoft Clarity integration: Free heatmaps and session recordings. Custom canonical URLs and meta robots (noindex, nofollow, noimageindex, nosnippet). XML sitemaps (posts, pages, CPTs, taxonomies, images, authors): faster than ever in 9.8. HTML sitemap for accessibility & navigation. Image XML sitemap for Google Images. Redirections at the post / page / CPT level. URL clean-up: Remove /category/, /product-category/, ?replytocom; redirect attachment pages to parent or file URL. Image SEO: Auto-set image title, alt, caption and description. Google Indexing API & IndexNow (Bing/Yandex) for instant indexing. Import/export settings from site to site. One-click migration from Yoast, Rank Math, AIOSEO, SEO Framework, SureRank, Slim SEO, SmartCrawl, Squirrly, SEO Ultimate, WP Meta SEO, Premium SEO Pack, SiteSEO. Check out all SEOPress Free features here SEOPress PRO: Take SEO further AI SEO: Auto-generate titles, descriptions, OG / X tags and image alt text in bulk with OpenAI, Google Gemini (incl. **Gemini 3 Flash & 3.1 Pro**), Anthropic Claude, MistralAI, DeepSeek. Site Audit: Full React + DataViews experience with **GSC-backed recommendations**, scan history, live progress, one-click AI alt text fixes, CSV export. SEO alerts: Be warned before SEO regressions hit production. Google Search Console: Clicks, impressions, CTR, average position right inside post lists. Google Suggestions in content analysis for long-tail keyword discovery. Redirect manager: Unlimited 301/302/307/410/451 redirects, regex, URL tester modal, categories, CSV/htaccess import & export. 404 monitoring & auto-redirect with email notifications. Broken link checker: Reliable CRON-based batch scan, even on the largest sites. Schema.org / JSON-LD editor with **live preview**: Article, LocalBusiness, Service, How-to, FAQ, Course, Recipe, SoftwareApplication, Video, Event, Product, JobPosting, Review, ProfilePage, Custom schema. Automatic schemas with advanced conditions (AND/OR, post types, taxonomies). Accessible breadcrumbs: Schema.org, A11Y-ready, live preview, custom per CPT/term. Local SEO: Local Business schema with opening hours, multiple stores. WooCommerce SEO: Product schema with global identifiers (GTIN, MPN, brand), Enhanced Ecommerce, OG price/currency, noindex on cart/checkout/account. Easy Digital Downloads integration. Internal linking suggestions. Video XML Sitemap with automatic YouTube discovery + **Google News sitemap**. Google Analytics dashboard: Metrics inside WordPress, no context switching. PageSpeed Insights & Core Web Vitals reports. robots.txt & .htaccess editor: Multisite / multidomain ready. Custom RSS feed options. Multilingual llms.txt with TranslatePress. Get SEOPress PRO → SEOPress Insights: Track rankings & backlinks inside WordPress Keyword rank tracker: 52 Google Search locations. Track 50 keywords/site daily. Competitor tracking: See who outranks you. Backlinks monitored weekly. Google Trends: Find new content angles. Lifetime data access: Export to CSV / PDF / Excel. Email & Slack alerts. Get SEOPress Insights → WooCommerce & EDD SEO (SEOPress PRO) Product schema with global identifiers (GTIN, MPN, brand). OG price & currency for richer social shares. XML sitemaps for products, including image galleries. Centralized noindex for cart/checkout/account/thank-you pages. Removes WooCommerce/EDD generator meta tag. Manual or automatic JSON-LD product schemas. Breadcrumbs with WooCommerce support. Global dynamic tags for titles & meta descriptions. Google Enhanced Ecommerce: purchases, product views, cart events. Boost your store’s SEO → Universal SEO metabox: works with every editor Edit your SEO directly inside Gutenberg, Elementor, Divi, Bricks, Oxygen, Breakdance, WPBakery, Avada, Kadence, WP Fusion. No more back-and-forth between page builder and WordPress admin. Built for developers Hundreds of hooks: Browse the hooks reference. REST API: Power headless and static sites. Get started. WP-CLI commands: Automate everything. CLI reference. 13+ new dev hooks in 9.8. From the same team Try MailerPress, the best email marketing plugin for WordPress