Skip to content

nullapt/examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nullapt examples

Minimal skill examples for every supported language. Each directory is a self-contained, buildable skill.

Examples

Directory Language Network Published as Description
rust-hello-skill Rust No Minimal sandboxed greeting — best starting point
go-hello-skill TinyGo No Same skill, TinyGo version
prompt-optimizer-skill Rust No nullapt/prompt-optimizer Heuristic prompt compression — saves LLM tokens, no LLM call
web-search-skill Rust api.duckduckgo.com nullapt/web-search DuckDuckGo search — demonstrates network permissions

Prerequisites

  • nullapt CLI installed
  • Rust + wasm32-wasip1 target: rustup target add wasm32-wasip1 (formerly wasm32-wasi — renamed in Rust 1.78. Older docs may use the old name.)
  • TinyGo (for Go examples): tinygo.org/getting-started

Quickstart

# Pick an example
cd prompt-optimizer-skill

# Build the WASM
cargo build --target wasm32-wasip1 --release
cp target/wasm32-wasip1/release/prompt_optimizer.wasm skill.wasm

# Generate a key pair (first time only — keys go to ~/.nullapt/keys/)
nullapt keygen

# Sign the manifest
nullapt sign ./SKILL.json

# Install locally to test
nullapt get ./SKILL.json

Publishing your own

If you've forked an example and want to publish it under your own name:

  1. Edit SKILL.json — change name from nullapt/<thing> to <your-username>/<thing> (or just <thing> for personal namespace), update author, description, etc.
  2. nullapt sign ./SKILL.json — re-sign with your own key
  3. nullapt login if you haven't already
  4. nullapt publish ./SKILL.json

For org namespaces (e.g. acme/foo), see nullapt/nullapt CONTRIBUTING.md for the GitHub org membership flow.

Contributing

Submit a PR to add an example in a new language (AssemblyScript, C, Zig, etc.). See CONTRIBUTING.md.

About

Minimal nullapt skill examples — Rust, TinyGo, AssemblyScript, and more

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors