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%
Chat Support for Telegram – Bubble & Button with Gutenberg, Elementor and Shortcode
Telegram chat is a WordPress plugin that allows website owners to easily add a Telegram chat button to their website. This allows visitors to quickly contact the website owner or support team through the Telegram messaging app. The plugin also includes features such as bubble with a single agent with a pre-filled message, bubble with name and message form, customizable buttons, automatic message pre-fill, offline message support and availability option based on your timezone. By using this plugin can increase the customer support, sales and conversions. 👁️Plugin Demo | 🚀Pro Version | 👩🏼💻Support | 🌟Rate this plugin WHY Chat Telegram Support Telegram has become one of the most popular messaging platforms in the world, with over 700 million active users. As a result, many businesses have begun using Telegram as a customer support channel. The Chat Telegram Support WordPress plugin has emerged as a popular solution for businesses looking to provide Telegram based customer support to their customers. First and foremost, the Chat Telegram Support plugin is incredibly easy to install and use. It is a lightweight plugin that can be installed with just a few clicks. Once installed, you need to configure the bubble from settings panel to show chat bubble in your website as you want, it allows your customers to initiate a chat with you directly from your website. This convenience makes it easier for customers to get in touch with you, and in turn, can lead to higher customer satisfaction rates. The plugin also allows you to customize the appearance and functionality of the Telegram chat button. You can choose from various button styles, sizes, and positions to make it fit seamlessly with your website’s design. Additionally, you can set up automated messages to greet your customers and provide them with helpful information or instructions. Another reason people use the Chat Telegram Support plugin is that it allows businesses to provide instant support to their customers. Unlike email or phone support, Telegram provides instant messaging that allows businesses to quickly respond to customer inquiries. This can lead to faster issue resolution and ultimately, happier customers. In addition to providing instant support, the Chat Telegram Support plugin allows businesses to save time and money. By using Telegram as a customer support channel, businesses can reduce the number of phone calls and emails they receive. This, in turn, can reduce the workload of customer support teams, allowing them to focus on other important tasks. Finally, the Chat Telegram Support plugin allows businesses to build stronger relationships with their customers. By providing fast and efficient customer support, businesses can increase customer satisfaction rates and build a loyal customer base. This can ultimately lead to increased revenue and growth for the business. The Chat Telegram Support plugin is a popular solution for businesses looking to provide Telegram based customer support to your customers. Its ease of use, customization options, instant support capabilities, time and totally free of use, and customer relationship building features make it a powerful tool for businesses of all sizes. CORE FEATURES Single agent support – This option will allow you to add a bubble with a single Telegram channel for receiving customers messages. Different call to action buttons – We provide a set of buttons to use anywhere on your website and all functionalities also can be set with each button. Availability time – You will have available time for a single agent and for the buttons. Set timezone – You will able to set your timezone so your time will work based on your time otherwise it will work from the user’s computer’s time. Let your audience know you’re offline – Based on your available time it will show you offline when you are not available GDPR compliance – You will able to enable GDPR compliance checkbox with your own custom notice/message. Floating bubble animations – We have lots of animations to show the button UI awesomely. Elementor buttons – The plugin provide a Elementor widget which has tons of options for crating amazing Chat Telegram buttons. Gutenberg Block for buttons – The plugin provide a Gutenberg block which has tons of options for crating amazing Chat Telegram buttons. PREMIUM FEATURES 👉 Everything in Free: You will get all the free features in premium version. 👉 Unlimited Chat agents You will able to add unlimited agents for chat in different way. There has several options to preset them like grid, list, search feature and many more. 👉 Premium Support If you face any issue and create a support ticket regarding that we will back to you within 6 hours with solution. 👉 Lifetime update The premium plugin is totally lifetime deal with lifetime new update. There is no need for yearly renewals. OTHER AMAZING PRODUCTS FROM ThemeAtelier ➡️ Better WhatsApp Chat Support – A WordPress plugin that allows website owners to easily add a WhatsApp chat bubble to their website and comes with Gutenberg, Elementor and Shortcode options. ➡️ Eventful – Events Showcase For The Events Calendar – Elevate your event management with this dynamic addon, enhancing ‘The Events Calendar’ with versatile layouts, advanced filtering, and user-friendly features for superior event showcasing. ➡️ Darkify Dark Mode – Lightweight, customizable WordPress dark mode plugin for a sleek, accessible, and eye-friendly experience on both frontend and admin dashboard. ➡️ Eventful for Elementor – Events Showcase For The Events Calendar and Elementor – Elevate your event management with this dynamic addon, enhancing ‘The Events Calendar’ with versatile layouts, advanced filtering, and user-friendly features for superior event showcasing. ➡️ Greet – Video Bubble Warm Welcome Plugin – A powerful and user-friendly video bubble plugin for WordPress that provides website owners with the opportunity to create a dynamic and engaging welcome experience for their visitors. ➡️ Domain For Sale – Transform your unused domain names into cash with this easy-to-use plugin that provides a professional template, customizable options, and a contact form for effortless selling.