demo-setup skillA
demo-setup is agent-read markdown (skill) from dicklesworthstone/pi_agent_rust: Set up demo environments for Pi extensions to record videos or screenshots for the Pi package browser. Use when preparing a demo, recording a video, or creating preview assets for an extension or theme..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# Demo Setup
Set up self-contained demo directories for Pi extensions. The demo directory contains everything needed to showcase an extension: a prompt that runs through the features, fixture files, and pi configuration.
## Pi Package Browser
The Pi website has a package browser at `buildwithpi.ai/packages`. Packages can display preview media.
### Adding Preview Media to package.json
```json
{
"pi": {
"extensions": ["./index.ts"],
"video": "https://example.com/demo.mp4",
"image": "https://example.com/preview.png"
}
}
```
Both `video` and `image` are optional. Video takes precedence when present.
### Video/Image Specs
- **Aspect ratio**: 16:9 (enforced by `aspect-ratio: 16/9` CSS)
- **Recommended resolution**: 1920x1080
- **Object fit**: `contain` on black background
- **Modal max width**: 900px
- **Format**: `.mp4` for video, `.png`/`.jpg`/`.jpeg`/`.webp`/`.gif` for image
- **Caching**: Client-side localStorage, 15-minute TTL. New visitors or cleared cache see updates immediately.
### For Themes
Themes show better as images (screenshots of dark and light variants side by side). A single 16:9 image with both variants is ideal.
## Demo Directory Structure
…Read the whole file at its exact version.
How to install
mdr add dicklesworthstone/pi_agent_rust/demo-setup@git:20260205.788be98mdr add dicklesworthstone/pi_agent_rust/demo-setup@sha256:e7b68720bc336766Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_4ibfiba4ztcs73gb)
1 badge views in 30 days
Versions
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (4823 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
dicklesworthstone/pi_agent_rust · 1,776 stars · license NOASSERTION · pushed 2026-09-23 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_4ibfiba4ztcs73gb GET https://markdownregistry.com/api/v1/resolve?ref=dicklesworthstone/pi_agent_rust/demo-setup GET https://markdownregistry.com/api/v1/blob/e7b68720bc336766e11510624592f2ca4edb8ff4174555d45255e583162f030d
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
More from dicklesworthstone/pi_agent_rust
Every file in dicklesworthstone/pi_agent_rust