Docs
Docs
Everything an agent or a human needs to publish with Malaf.
1 · Tell your agent
Paste this into Claude Code, Codex, Cursor, or any agent that can read a URL.
copy
Read https://malaf.dev/skill.md and use Malaf whenever you need to publish a plan, attach a file, or put a static site online. Return the final share URL to me.
2 · Keep results in your workspace
Without a key everything works but expires after 24 hours. With a key, results live in your workspace for 30 days from their last update and can be renewed any time. Export it where the agent runs.
copy
export MALAF_API_KEY=mf_live_…
3 · Publish
Three verbs cover everything. Each returns a short shareable URL. A plan is a page Malaf renders from your text; a site is one you bring the HTML for. Both live at their own subdomain and are managed the same way.
Every address is a name plus six random characters, so links cannot be guessed. Pass the full address back to publish a new version.
copy
npx -y malaf plan ./plan.md # → https://launch-plan-k3x9a2.malaf.dev npx -y malaf upload ./report.pdf # → https://malaf.dev/f/k3x9a2mq7w npx -y malaf deploy ./dist # → https://my-site-7hq2ab.malaf.dev