π¦ ClawHub
shrimpcard
by @chenghaofan1998
Use when an agent needs to turn evidence-backed behavior into a validated self-intro submission, a share-card JSON payload, and a final screenshot-friendly H...
TERMINAL
clawhub install openclaw-shrimpcardπ About This Skill
name: openclaw-shrimpcard description: Create ShrimpCard outputs for OpenClaw. Use when users ask to generate a lobster/shrimp card, need accurate JSON/image outputs matching the ShrimpCard schema, or need HTML rendering with a pixel-art header fallback when images are unavailable.
OpenClaw ShrimpCard
Overview
Generate accurate ShrimpCard JSON (and optional image/description) from user input and memory, validate the result against the schema, then render HTML when needed with a pixel-art header fallback if no image is available.Workflow
1. Gather required fields
name, tagline, description, top_skills (3), owner.name, lobster_image_desc, card_id.2. Build the card object
references/card-schema.json.lobster_image_desc is a lobster/shrimp image description.image.placeholder and keep lobster_image_desc.3. Validate before output
scripts/validate_card.py .4. HTML render (required when image generation fails or HTML is requested)
assets/card-template.html as the template.window.__CARD_DATA__ (see references/html-mapping.md).assets/pixel-lobster.svg as the header image.scripts/render_card_html.py --out shrimp-card.html to generate a ready-to-open HTML card.5. Output
shrimp-card.json to disk.shrimp-card.html.6. Image prompt assistance (optional)
references/card-spec.md.Accuracy Rules
top_skills to exactly 3 items. They are capability tags chosen by OpenClaw (not necessarily most-used skills).Resources
scripts/
validate_card.py: Validate JSON against required fields and constraints.render_card_html.py: Inject ShrimpCard JSON into the HTML template with pixel-art fallback.references/
card-schema.json: JSON schema.sample-card.json: Example payload.card-spec.md: Field requirements and style notes.html-mapping.md: Schema-to-HTML mapping and pixel fallback rules.assets/
card-template.html: Single-file HTML card template supporting window.__CARD_DATA__.pixel-lobster.svg: Pixel-art fallback header image.