From share-service
Publish HTML or Markdown content to share.eregistrations.dev and get a shareable URL. Use when the user asks to share, publish, or host a document, report, HTML page, or markdown file. Also use when the user says "share this", "publish this", or "put this online". Supports listing previously published documents with /share list.
npx claudepluginhub unctad-eregistrations/plugin-marketplace --plugin share-serviceThis skill is limited to using the following tools:
You publish documents to `share.eregistrations.dev` via its REST API.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Guides agent creation for Claude Code plugins with file templates, frontmatter specs (name, description, model), triggering examples, system prompts, and best practices.
You publish documents to share.eregistrations.dev via its REST API.
https://share.eregistrations.dev
Before any API call, ensure you have a publisher token:
.share-token in the project root (same directory as .git).POST /api/register with {"name": "<project-name>"} (use the current git repo name or directory name).token value to .share-token in the project root..share-token to .gitignore if not already there..share-token.Always send the token as Authorization: Bearer <token> on publish, list, delete, and update calls.
/share <file-path> — Publish a fileRead the file at the given path.
Detect format:
.html files → format html.md files → format mdUse the filename (without extension) as the title, or ask the user.
Show a confirmation summary before publishing:
About to share:
- Title: <title>
- Format: <format>
- Visibility: private (unlisted — accessible only via direct link)
- Size: <file size in KB>
- Preview: <first 200 characters of content>...
Publish this document? (The URL will be accessible to anyone with the link)
Wait for the user to confirm. If they say no, stop.
Detect metadata from context:
tz for Tanzania, rw for Rwanda, jm for Jamaica). If unsure, leave empty.migration-analysis, service-audit, debug-report, implementation-plan, documentation, research, or leave empty.Call the API:
curl -s -X POST https://share.eregistrations.dev/api/documents \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $(cat .share-token)" \
-d '{
"title": "<title>",
"format": "<html|md>",
"content": "<file-contents>",
"visibility": "private",
"project": "<project-tag-if-known>",
"doc_type": "<type-if-known>",
"tags": "<comma-separated-tags>"
}'
url in the response)secret) — remind them to save it/share list — List your published documentscurl -s -X GET "https://share.eregistrations.dev/api/me/documents?page=1&limit=20" \
-H "Authorization: Bearer $(cat .share-token)"
Display as a table: title, format, visibility, created date, URL.
/share (no arguments) — Publish from contextIf no file path is given:
/share <file-path> (title, format, visibility, size, preview).html and md are supportedprivate (unlisted — accessible only via direct link). To make a document appear in the public listing, the user must explicitly request "visibility": "public"..share-token and re-register.