widget-rendering SKILL.md skillA
widget-rendering from baphuongna/pi-crew is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add baphuongna/pi-crew/widget-rendering@git:20260911.c97bc57Pins git:20260911.c97bc57 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- baphuongna/pi-crew
- Path
skills/widget-rendering/SKILL.md- Versions recorded
- 5
- Latest version
- git:20260911.c97bc57, committed Sep 11, 2026
- First version recorded
- May 29, 2026
- Size
- 12,378 bytes
- Repository stars
- 57
- License
- MIT
Pi TUI crew widget data sources, display priority, and rendering performance. When NOT to use: non-TUI displays; backend data sources without widget context (use runtime-state-reader).
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# widget-rendering The crew widget (`src/ui/crew-widget.ts`) displays active runs and their agents in the Pi TUI. It must render synchronously at TTY refresh rate without blocking. Understanding the data sources and timing rules is essential for debugging display issues. ## Three Data Sources The widget has three sources, used in priority order: ### 1. `liveAgents` Map (real-time, highest priority) In-memory map from `live-agent-manager.ts`. Provides: - Real-time tool names: `activeTools` Map (toolName → description) - Turn count, response text, compaction count - Session stats: context %, token usage - Status from the handle **When used:** Agents with `liveHandle && liveHandle.status === "running"` get the live activity description (tool labels, response text, turn counter). **When NOT used:** After `evictStaleLiveAgentHandles()` removes a handle, widget falls back to agent records on disk. ### 2. Snapshot cache (1500ms TTL) `RunSnapshotCache` from `run-snapshot-cache.ts` caches parsed manifests and agents for 1500ms. Reduces disk reads during rapid refresh. **When used:** As the fallback when no live handle exists. Prevents excessive disk reads on every render tick. …
Read the whole file at its exact version.
How to install
mdr add baphuongna/pi-crew/widget-rendering@sha256:fbe0a4868aa994b6The line at the top of this page pins the label git:20260911.c97bc57, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_zue5ihxeointrjuw)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between May 29, 2026 and Sep 11, 2026, about one every 26 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260911.c97bc57 latest | 2026-09-11 | c97bc57 | 12,378 B | A | view · diff |
| git:20260820.6a6900f | 2026-08-20 | 6a6900f | 12,266 B | A | view · diff |
| git:20260630.ed84900 | 2026-06-30 | ed84900 | 12,174 B | A | view · diff |
| git:20260603.fa30bc0 | 2026-06-03 | fa30bc0 | 10,142 B | A | view · diff |
| git:20260529.53de3c2 | 2026-05-29 | 53de3c2 | 10,128 B | A | view |
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 (12378 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
baphuongna/pi-crew · 57 stars · license MIT · pushed 2026-11-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_zue5ihxeointrjuw GET https://markdownregistry.com/api/v1/resolve?ref=baphuongna/pi-crew/widget-rendering GET https://markdownregistry.com/api/v1/blob/fbe0a4868aa994b682a8a83298b2cd734ecbb31952c518445953bd5bf7aaad80
Your AI assistant 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.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.