Install
openclaw skills install @john-dong-ai/longxia-scanScan public GitHub agent skills before installation
openclaw skills install @john-dong-ai/longxia-scanStatically inspect a public GitHub agent skill before installation. Longxia reads supported text files remotely and returns evidence-based findings. It does not execute repository code.
https://github.com/ repository, folder, or
file URL from the user.https://longxia.cool/api/scans. Never
send local files, private repository contents, credentials, cookies, or
authorization headers.Confirm that the URL is one of these forms:
https://github.com/owner/repositoryhttps://github.com/owner/repository/tree/ref/pathhttps://github.com/owner/repository/blob/ref/pathAsk for a public GitHub URL if none was provided. Do not rewrite a private, local, shortened, or non-GitHub URL into an accepted form.
Resolve the directory containing this SKILL.md, then run:
sh scripts/scan.sh scan "https://github.com/owner/repository"
If the current working directory is not the skill directory, invoke
scripts/scan.sh by its absolute path.
Parse the returned JSON. POST /api/scans is synchronous: a successful
201 response already contains the completed result in scan. Do not poll
or repeat the POST. Repeating it consumes another anonymous scan allowance
and creates another report.
When persisted is true, construct the public report URL by resolving
shareUrl against https://longxia.cool. If the user explicitly asks to
reload or verify the stored report, read it once:
sh scripts/scan.sh report "00000000-0000-4000-8000-000000000000"
The report endpoint returns { "scan": ... }. Stored reports expire after
the expiresAt timestamp, normally 30 days after creation.
Report the result in this order:
file:line, evidence, and remediation;remaining anonymous scans.State the correct interpretation:
blocked: do not install until every critical/high finding is understood
and remediated;review: manually inspect the evidence and requested capabilities before
deciding;pass: no configured rule matched, but this is not a guarantee of safety.Always mention that Longxia performs a static pre-install scan and never executes repository code.
400: ask for a valid supported public GitHub URL under 500 characters.404: the repository/ref/report is unavailable, private, missing, or
expired.429: the daily anonymous limit was reached. Do not retry automatically;
report the Retry-After guidance.502 or 504: GitHub could not be read or timed out. Suggest a later
one-time retry only with user approval.error message without inventing a result.Never turn a failed or partial scan into a pass.