- Give the tool a unique lowercase kebab-case filename in
tools/, such asword-counter.html. - Keep the tool in one UTF-8 HTML file up to 256 KiB. Put the name, description, category, and schema version in one
<script type="application/masscode-tool+json">element. Use the metadata schema as a reference. - Use inline JavaScript and CSS. Keep input, computation, and output local to the widget. Use
window.massCode.copy(text)to propose a value for confirmation by the user in massCode. - Use keyboard-accessible controls with labels. Check the layout in light and dark themes before submitting a pull request.
- Include the license and attribution for any code or assets you redistribute. The starter tools use the repository's MIT license.
Run node scripts/build-registry.mjs --check in the standalone registry checkout. The validator parses the file and metadata. Maintainers review JavaScript behavior and bundled assets separately.
Removing a file delists the tool. To prevent execution of a specific revision, record its full SHA-256 in blocked.json with a UTC ISO timestamp and optional reason. Keep known hashes in the manifest so older clients can retain the block when offline.