Walrus Sites Portal logo

Walrus Sites Portal

Organization
MystenLabs
walrus-sites-portal

Running a local Walrus Sites portal to view testnet sites. Use when the user needs to set up the portal server, fix portal 404 errors, resolve port conflicts, understand the original_package_id configuration, or learn why wal.app doesn't serve testnet sites. Also use when the user asks about portal architecture, base36 subdomains, or how site resolution works. For publishing and managing sites, see the `walrus-sites/publishing` skill.

Overview

PublisherMystenLabs
Repositoryskills
Skill namewalrus-sites-portal
Stars
21
Forks
12
Bundled files
1
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by MystenLabs on GitHub. Read the source before you install it.

Installation

Install the Walrus Sites Portal AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/MystenLabs/skills/tree/main/walrus-sites/portal
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/MystenLabs/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/walrus-sites/portal .claude/skills/walrus-sites-portal
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Walrus Sites Portal in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Walrus Sites Portal on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Walrus Sites Portal is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Running a Local Portal for Testnet

MCP tool: When available in your environment, also query the Sui documentation MCP server (https://sui.mcp.kapa.ai) for up-to-date answers. Use it for verification and for details not covered by these reference files.

Source constraint: All information sourced from MystenLabs/walrus-sites. Do not use third-party blogs or unofficial tutorials.

The public portal at wal.app only serves mainnet sites. To view testnet sites, you must self-host the portal from the MystenLabs/walrus-sites repository.

Prerequisites

  • Bun runtime — install with npm install -g bun
  • Git — to clone the portal repo

Setup

1. Clone the repository

bash
git clone --depth 1 https://github.com/MystenLabs/walrus-sites.git
cd walrus-sites/portal

2. Install dependencies

bash
bun install

3. Copy the testnet config

bash
cp server/portal-config.testnet.example.yaml server/portal-config.yaml

Do not modify original_package_id in the config. It must match the Walrus Sites framework package on testnet (site::Site type). The example config ships with the correct value. Changing it to your app's Move package ID will cause all site lookups to fail.

The config contains:

yaml
network: testnet
original_package_id: "0xf99aee9..."  # Walrus Sites framework — DO NOT CHANGE
landing_page_oid_b36: "..."

rpc_urls:
  - url: https://fullnode.testnet.sui.io
    retries: 2
    metric: 100

aggregator_urls:
  - url: https://aggregator.walrus-testnet.walrus.space
    retries: 3
    metric: 100

4. Start the portal

bash
cd walrus-sites/portal
bun -F server start

The portal runs on port 3000 by default.

Accessing your site

Site URLs use a base36-encoded site object ID as the subdomain:

http://<base36-site-id>.localhost:3000

The site-builder publish output provides the exact URL. Example:

http://3q7dwaf5a6egmuoi9fe0owij1x78d0csw1aid7opbwe8e7hp1m.localhost:3000

You can also convert a hex site object ID to base36:

bash
site-builder convert 0x95926fb4cd28705823af105900d704d1c56c17d55d994a0715479c175590f80a

Understanding original_package_id

This is the most common misconfiguration. The portal's original_package_id refers to the Walrus Sites framework package — the package that defines the site::Site Move type. It is not:

  • Your app's Move package ID
  • The site-builder's deployment package
  • Your published site's object ID

The framework package is what the site-builder uses internally to create Site objects. The portal needs it to look up dynamic fields on site objects. The testnet example config already has the correct value.

How to verify: run sui client object <your-site-object-id> and check objType. It will show something like:

objType: 0xf99aee9...::site::Site

The hex prefix in that type is the original_package_id the portal needs.

Troubleshooting

Portal returns "Page not found" (404)

  1. Blobs expired. Run site-builder sitemap <site-object-id> and check the "Earliest Expiration Date" column. If dates are in the past, re-publish with --epochs 30+.

  2. Wrong original_package_id. If you edited the portal config, restore the original value from the example file. Check with sui client object <site-id> — the objType prefix is the correct package ID.

  3. Portal is looking up the old site object. If you re-published (created a new site instead of updating), the URL changed. Check the site-builder publish output for the new base36 subdomain.

Port 3000 already in use

bash
# Find what's using port 3000
lsof -i :3000 -P | grep LISTEN

# Kill it
lsof -i :3000 -t | xargs kill

# Restart portal
cd walrus-sites/portal
bun -F server start

Common conflicts: Vite dev server, Next.js dev server, other Node processes.

Portal crashes on startup

  • Ensure portal-config.yaml exists in portal/server/.
  • Ensure bun install completed successfully in the portal/ directory.
  • Check that the Bun version is recent: bun --version (1.0+ required).

Mainnet vs testnet

AspectTestnetMainnet
Public portalNone — self-host requiredwal.app
URL format (self-hosted)<b36>.localhost:3000<b36>.wal.app
WAL tokensFaucet availableReal cost
Blob durabilityTestnet resets possibleProduction grade
Use caseDevelopment, stagingProduction

Portal architecture (how it works)

When you visit http://<b36-id>.localhost:3000/index.html:

  1. The portal extracts the subdomain and converts base36 to hex to get the site object ID.
  2. It queries Sui RPC for the site object and its dynamic fields.
  3. It finds the dynamic field matching the path /index.html.
  4. The dynamic field contains a Walrus blob ID (or quilt patch ID) for the resource.
  5. The portal fetches the blob from the Walrus aggregator.
  6. It decompresses (if needed) and serves the content as an HTTP response.

All of this happens per-request. The portal is stateless — it reads from Sui and Walrus on every request (with optional Redis caching in production).

Rules

  1. Don't change original_package_id unless you know the Walrus Sites framework package has been upgraded. The testnet example value is correct.
  2. wal.app is mainnet only. For testnet, self-host the portal.
  3. Kill port 3000 before starting the portal. Other dev servers commonly use this port.
  4. Run bun -F server start from the portal/ directory, not from the repo root.

Common mistakes

  • Changing original_package_id to your app's Move package ID. This breaks all site lookups. The portal needs the Walrus Sites framework package ID, not yours.
  • Trying to visit a testnet site on wal.app. It only serves mainnet.
  • Not killing port 3000 before starting the portal. The portal silently fails to bind.
  • Running bun -F server start from the wrong directory. Must be run from inside walrus-sites/portal/.
  • Forgetting to copy the config file. The portal needs portal-config.yaml in portal/server/. Without it, the server crashes on startup.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Walrus Sites Portal AI skill do?

Running a local Walrus Sites portal to view testnet sites. Use when the user needs to set up the portal server, fix portal 404 errors, resolve port conflicts, understand the original_package_id configuration, or learn why wal.app doesn't serve testnet sites. Also use when the user asks about portal architecture, base36 subdomains, or how site resolution works. For publishing and managing sites, see the `walrus-sites/publishing` skill.

Why use Walrus Sites Portal on TypingMind?

Because you install it once and use it with any model. Walrus Sites Portal is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Walrus Sites Portal in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/MystenLabs/skills/tree/main/walrus-sites/portal. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Walrus Sites Portal?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Walrus Sites Portal?

As many as you like. As long as a model supports skills, you can use Walrus Sites Portal with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Walrus Sites Portal AI skill free?

Yes. It is published on GitHub by MystenLabs under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇