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%
GEO Plugin by Squirrly SEO
Become the Brand AI Recommends. GEO Plugin by Squirrly SEO helps your WordPress site become easier for AI answer engines to understand, trust, cite, and recommend — across ChatGPT, Perplexity, Claude, Gemini, and Google AI Overviews. The GEO Plugin by Squirrly SEO optimizes your WordPress site for the three layers of modern search at once: classic SEO so you rank on Google, AEO (Answer Engine Optimization) so AI engines pull your content as the direct answer, and GEO (Generative Engine Optimization) so ChatGPT, Perplexity, Gemini, Claude and Google AI Overviews cite your pages by name. One plugin to get you found by both search engines and AI. Why GEO and AEO matter now Search is splitting in two. People still type into Google, but more and more they just ask an AI. Google AI Overviews now appear on a large share of results and reduce clicks to the classic blue links, while ChatGPT, Perplexity and Gemini answer hundreds of millions of questions every week, usually by quoting a few trusted sources. Traditional SEO gets your page indexed. AEO and GEO get your page chosen as the answer and cited. The GEO Plugin by Squirrly SEO does all three, so you do not have to choose. AEO and GEO features GEO/AEO Audit – scores how ready each page is to be cited by AI: a direct-answer block near the top, question-style headings, lists and tables, content depth, freshness, and FAQ / HowTo / Article schema. AI crawler control – decide how GPTBot, ClaudeBot, PerplexityBot, Google-Extended and other AI bots can access your content, straight from your robots rules. llms.txt and llms-full.txt – generate, upload and serve the emerging llms.txt standard so generative engines understand your best content. LLM Indexing – push new and updated URLs to the IndexNow API and the Google Indexing API so search and AI engines discover them fast. Answer-ready Schema / structured data – FAQ, HowTo, Article, Q&A, Organization and more: the machine-readable formats AI engines lift word for word. Inner Links and Link Opportunities – build topical authority by linking the right pages for the right keywords. SEO features Focus Pages – see exactly why a page is not ranking and what to fix, page by page. AI Keyword Research – find keywords you can actually rank for, with real competition and search-intent analysis. Live Assistant – real-time, on-page optimization guidance as you write in Gutenberg, Elementor, Divi and other builders. SEO Goals – a guided, prioritized plan of what to do next. Technical SEO on autopilot – XML sitemaps, canonical links, meta robots, Open Graph and Twitter / X cards, redirects and favicons. Audits and tracking – SERP and rank tracking, traffic, authority and backlink audits, plus competitor analysis. Built for how AI reads the web AEO and GEO reward content that is easy for a machine to extract: a clear answer up front, headings phrased as the questions people ask, lists and tables instead of walls of text, accurate schema, and a fresh last-updated date. Squirrly checks every one of these for you and tells you exactly what to fix, so the same work that helps you rank on Google also helps you get quoted by AI. Getting started in 3 steps Install and activate the plugin, then connect your free Squirrly account to unlock the cloud tools (audits, keyword research, rank tracking). Add your important pages to the GEO/AEO Audit. Squirrly scores each page for SEO and answer-readiness and gives you a prioritized “fix these first” list. Turn on the AEO/GEO essentials: generate your llms.txt, allow the AI crawlers you want, and switch on LLM Indexing so new and updated URLs are pushed to search and AI engines automatically. Works with your stack Gutenberg, Elementor, Divi, WooCommerce, WordPress Multisite, WPML, and PHP 7.0 to 8.x. Migrate safely Import your existing SEO data from Rank Math, Yoast, All in One SEO, SEO Framework, SEO Press, SEO Pressor, Add Meta Tags, Greg’s High Performance SEO, HeadSpace2, Platinum SEO Pack, SEO Title Tags and SEO Ultimate. Trusted worldwide Built by Squirrly Limited (United Kingdom) since 2012, used in 150+ countries, and a multiple-time award-winning SEO tool. Powered by Squirrly’s own AI from AISQ.com: Ranking Vision AI, Keyword Research AI and Ask AI. BENEFITS / CUSTOMER SUCCESS / ALL FEATURES / LIVE DEMO What’s Next If you like our WordPress SEO plugin, then consider checking out our other projects: Squirrly Social – One Year of Social Media Posts in a Flash. Starbox PRO – Your Authors Will Shine Like Stars. Squirrly SPY – Your Competitor’s SEO Growth. In Your Hands.. Education Cloud PLUS – It’s like Netflix for Marketing Education. RankJumps – Managed SEO. Done-for-you by Experts from Squirrly. Learning Solutions by Squirrly – Teach Online. Starting Tomorrow. Hide My WP Ghost – WordPress Security Layer and Security Enhancements. WordPress Developers Page – Innovations and Partnerships. Plugins – Other Plugins created by Squirrly. Credits Florin Muresan – CEO at Squirrly Calin Vingan – CTO at Squirrly Sorel Nagy – Developer Andreea Leau – VP Marketing Cristina Leau – Squirrly mascot designer Alexandra Nicola – COO at Squirrly Teodora Vingan – SEO Analyser Irina Pogor – Content Writer Ana Darstaru – Chief of Customer Service Lucian Nertan – VP of Agency Rares Papita – CHO Investors Ibrahim Evsan, serial entrepreneur, one of the best known bloggers in Germany Philipp Kandal, co-Founder and CTO of Skobbler (recently acquired for $24M by Telenav) Many Thanks. License Squirrly is Free to use. The version from the WP directory will install the Free Version. You’ll be able to use this seo software once you install the plugin and use your email to connect to Squirrly.co For higher content marketing and SEO needs, you can check our Official Site and see what the PRO Plan offers.