Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here
collab-claw-spike-a logo

collab-claw-spike-a

collab-claw-spike-a

OtherClaude Codeby sankalpgunturi

Summary

Spike A — verify a marketplace-installed plugin's UserPromptSubmit hook fires and receives the prompt body.

Install to Claude Code

/plugin install collab-claw-spike-a@collab-claw-spike-a

Run in Claude Code. Add the marketplace first with /plugin marketplace add sankalpgunturi/collab-claw-spike-a if you haven't already.

README.md

collab-claw — Spike A

A throwaway plugin used to verify a single thing: a plugin distributed via the Claude Code public marketplace can register a UserPromptSubmit hook that POSTs the user's prompt to a local HTTP endpoint and exits 0, with Claude still processing the prompt normally.

Layout matches the production marketplace shape exactly:

collab-claw-spike-a/
├── .claude-plugin/
│   └── marketplace.json          ← repo-root marketplace catalog
└── plugin/
    ├── .claude-plugin/
    │   └── plugin.json           ← plugin manifest
    ├── hooks/
    │   └── hooks.json            ← single UserPromptSubmit entry
    └── bin/
        └── echo-prompt           ← bash hook script

listener.mjs is the local HTTP server that records every hook fire — it's not part of the plugin; it lives outside plugin/ and is run separately on the host's machine.

Run the spike

# Terminal 1 — start the listener
node listener.mjs

# Terminal 2 — install the plugin in claude
claude
> /plugin marketplace add sankalpgunturi/collab-claw-spike-a
> /plugin install collab-claw-spike-a@collab-claw-spike-a
> /reload-plugins

# Then type prompts. Watch terminal 1 for hook fires.

Test cases are in SPIKE_A_RESULTS.md at the root of the parent repo.

Cleanup

claude
> /plugin uninstall collab-claw-spike-a@collab-claw-spike-a
> /plugin marketplace remove collab-claw-spike-a

Related plugins

Browse all →