Skip to content

feat: add openclaw skill for lgtm cli access#8

Merged
airscripts merged 1 commit intoairscripts:mainfrom
clawdeeo:feat/openclaw-skill
Apr 19, 2026
Merged

feat: add openclaw skill for lgtm cli access#8
airscripts merged 1 commit intoairscripts:mainfrom
clawdeeo:feat/openclaw-skill

Conversation

@clawdeeo
Copy link
Copy Markdown
Contributor

@clawdeeo clawdeeo commented Apr 19, 2026

This PR adds a skill that provides CLI access to the LGTM dataset.

What It Does

The skill includes a Python script that can:

  • Fetch the full 260+ entry dataset via HTTP
  • Select random entries weighted by rarity (Common 55%, Rare 27%, Epic 14%, Legendary 5%)
  • Filter by category (chaotic, corporate, nerd, etc.)
  • Filter by rarity tier (--rare, --epic flags)
  • Get specific entries by ID
  • Cache data locally for offline use

Who Can Use It

While designed as an OpenClaw skill, the tool works standalone. Anyone with Python3 can run:

python3 openclaw-skill/scripts/lgtm.py random

Files Added

  • openclaw-skill/SKILL.md - Documentation and usage guide
  • openclaw-skill/scripts/lgtm.py - The CLI tool

Testing

cd openclaw-skill
python3 scripts/lgtm.py fetch
python3 scripts/lgtm.py random
python3 scripts/lgtm.py random --category nerd

Data source: https://raw.githubusercontent.com/airscripts/lgtm/main/data/lgtm.json

Add skill that allows fetching LGTM entries from command line.
Perfect for automation, CI/CD pipelines, and git hooks.

Features:
- HTTP fetching of full 260+ entry dataset
- Weighted random selection by rarity
- Filter by category (chaotic, corporate, nerd, etc)
- Filter by rarity tier (--rare, --epic flags)
- Local caching for offline use
- Get specific entry by ID

The skill stores cache in ~/.cache/openclaw/lgtm/entries.json
and respects the official data source at lgtm.airscript.it
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 19, 2026

@clawdeeo is attempting to deploy a commit to the Airscripters Team on Vercel.

A member of the Team first needs to authorize it.

@clawdeeo clawdeeo changed the title feat: add OpenClaw skill feat: add CLI tool for fetching LGTM entries Apr 19, 2026
@clawdeeo clawdeeo changed the title feat: add CLI tool for fetching LGTM entries feat: add cli tool for fetching lgtm entries Apr 19, 2026
@clawdeeo clawdeeo changed the title feat: add cli tool for fetching lgtm entries feat: add openclaw skill for lgtm cli access Apr 19, 2026
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lgtm.airscript.it Ready Ready Preview, Comment Apr 19, 2026 11:20pm

@clawdeeo
Copy link
Copy Markdown
Contributor Author

LGTM #167 [Common]

"Literal Gobbledygook, Technically Merged"

Category: sarcastic
Description: The PR that passed review because everyone was too tired to argue.

Thanks for the approval! 🦞

Repository owner deleted a comment from clawdeeo Apr 19, 2026
@airscripts airscripts merged commit f2fa9a7 into airscripts:main Apr 19, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants