pretext-layout

v1.0.0

Integrate, debug, or prototype @chenglou/pretext for browser-based multiline text measurement and manual line layout. Use when replacing DOM height probes, b...

0· 98·0 current·0 all-time
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name and description match the contents: guidance about using @chenglou/pretext in browser contexts, usage patterns, caveats, and a small demo scaffold. The declared required binaries (bash, node, npm, python3) are reasonable for running demos or developer tooling and do not conflict with the stated purpose.
Instruction Scope
SKILL.md instructions focus on preparing and measuring text in browser runtimes and explicitly warn about server-side constraints. They do not instruct reading unrelated files, exporting secrets, or calling external endpoints. The only filesystem action is the scaffold script (writes index.html and demo.mjs) which is aligned with the declared 'scripts' usage.
Install Mechanism
There is no install spec (instruction-only), so nothing is downloaded or executed by the platform. The included scaffold references a typical /node_modules path for @chenglou/pretext; the skill does not automatically fetch remote archives or run installers, which keeps installation risk low.
Credentials
The skill requests no environment variables, secrets, or config paths. The absence of credentials is proportional to a library-integration helper. The only operational requirements are developer binaries (node/npm/python3) needed to run the scaffold/demo locally.
Persistence & Privilege
The skill is not always-on, does not request elevated persistence, and does not modify other skills or system-wide settings. It is user-invocable and can be invoked autonomously per platform defaults, which is expected for a utility skill.
Assessment
This skill appears to be a documentation + demo scaffold for the @chenglou/pretext library and is coherent with that goal. Before installing or using it: (1) confirm you actually want a browser-based integration (it intentionally does not promise Node-only support), (2) if you run the scaffold you'll need to install @chenglou/pretext via npm and serve the generated files from a dev server, (3) review the third-party package (@chenglou/pretext) from npm if you care about supply-chain risk, and (4) the included Python script only writes two local files (index.html and demo.mjs) — run it in a disposable directory if you want to be cautious. There are no credential requests or hidden network calls in the provided files.

Like a lobster shell, security has layers — review code before you run it.

latestvk97fc6ym98cdd05jg84x18wp5s83v1g2

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Runtime requirements

Binsbash, node, npm, python3

Comments