Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Um comando direto ignora o prompt de revisão. Verifique a origem antes de executá-lo.
Dynamic agent registry via js-doc-store-server. Store, version, and discover subagent definitions in a database instead of static markdown files.
Agent Registry — Dynamic Agent Discovery
This skill extends the subagent pattern with a hybrid discovery model: agents live both on the filesystem (~/.pi/agent/agents/*.md) and in a js-doc-store-server table. When a subagent task runs, pi discovers agents from both sources and merges them.
The content field stores the complete markdown including frontmatter:
---
name: scout
description: Fast codebase reconnaissance
tools: read, grep, find, ls, bash
model: qwen3.6:latest
---
You are a scout. Quickly investigate a codebase and return structured findings...
If the server is unreachable or the token is expired, discovery falls back silently to filesystem-only agents. No error is thrown — the subagent continues working with whatever agents are available.
Benefits
Benefit
Explanation
Cross-machine portability
Agents follow your js-doc-store-server
Versioning
Field version tracks agent evolution
Tag Search
Find agents by topic, not just filename
Cross-session persistence
Agents survive pi restarts
Easy Registration
New agent = 1 arch_insert call
Centralized Source
Single agents table
Hybrid Fallback
Works with or without server
Migration from Filesystem to Registry
Keep ~/.pi/agent/agents/*.md as local cache/fallback
Register agents in js-doc-store-server using arch_insert
Future sessions: pi loads from both sources, server takes priority