Skip to main content

Copilot Artifacts

GitHub Copilot extensibility artifacts provide AI-assisted workflows for dataset analysis, training job management, and coding standards enforcement. These artifacts are configured in .github/ and activate automatically in VS Code.

📋 Artifact Inventory

TypeNameDescriptionPath
AgentDataviewer DeveloperInteractive dataset analysis and tool development.github/agents/dataviewer-developer.agent.md
AgentOSMO Training ManagerLeRobot training lifecycle on OSMO with Azure ML.github/agents/osmo-training-manager.agent.md
AgentPhysical-AI RPICloud-agent RPI orchestrator (umbrella).github/agents/physical-ai-rpi.agent.md
AgentPhysical-AI RPI WorkerHidden generic subagent shell for Physical-AI RPI.github/agents/physical-ai-rpi-worker.agent.md
InstructionCommit MessagesConventional Commits format for all commit messages.github/instructions/commit-message.instructions.md
InstructionDataviewerCoding standards for dataviewer development.github/instructions/dataviewer.instructions.md
InstructionDocs Style and ConventionsWriting standards for all markdown files.github/instructions/docs-style-and-conventions.instructions.md
InstructionShell ScriptsImplementation standards for bash scripts.github/instructions/shell-scripts.instructions.md
Prompt/chatlogCreate and maintain conversation logs.github/prompts/chatlog.prompt.md
Prompt/check-training-statusMonitor OSMO training job progress.github/prompts/check-training-status.prompt.md
Prompt/start-dataviewerLaunch Dataset Analysis Tool.github/prompts/start-dataviewer.prompt.md
Prompt/submit-lerobot-trainingSubmit LeRobot training job to OSMO.github/prompts/submit-lerobot-training.prompt.md
SkilldataviewerDataset browsing, annotation, and export.github/skills/dataviewer/SKILL.md
Skillosmo-lerobot-trainingTraining submission, monitoring, and analysis.github/skills/osmo-lerobot-training/SKILL.md

🔗 Quick Reference

Want to...Use this artifact
Launch the Dataset Analysis Tool/start-dataviewer prompt → Dataviewer Developer
Browse and annotate training episodesDataviewer Developer agent
Submit a LeRobot training job/submit-lerobot-training prompt → OSMO Training Manager
Check training job status/check-training-status prompt → OSMO Training Manager
Save a conversation log/chatlog prompt
Enforce commit message standardscommit-message instruction (auto-applied)
Enforce coding standards in dataviewerdataviewer instruction (auto-applied)
Enforce markdown writing standardsdocs-style-and-conventions instruction (auto-applied)
Enforce shell script standardsshell-scripts instruction (auto-applied)

🤖 Agents

Dataviewer Developer

Interactive agent for launching, browsing, annotating, and improving the Dataset Analysis Tool.

PropertyValue
HandoffsStart Dataviewer, Browse Dataset, Annotate Episodes
ToolsAll (no restrictions)
Skilldataviewer
Prompts/start-dataviewer

Four-phase workflow: Launch/Configure → Interactive Browsing (Playwright) → Episode Annotation (API+UI) → Feature Development (React+FastAPI).

OSMO Training Manager

Multi-turn agent for managing LeRobot imitation learning training lifecycle on OSMO with Azure ML integration.

PropertyValue
HandoffsSubmit Training Job, Check Training Status, Run Inference Evaluation
Tools11 explicit (run_in_terminal, memory, runSubagent, ...)
Skillosmo-lerobot-training
Prompts/submit-lerobot-training, /check-training-status

Five-phase workflow: Submit → Monitor → Analyze → Summarize → Inference Evaluation. Handles VM eviction recovery, CUDA errors, and KeyError failures.

Physical-AI RPI (Umbrella) and Physical-AI RPI Worker

Paired cloud-agent profiles that surface the autonomous Research → Plan → Implement → Review workflow from microsoft/hve-core inside cloud-agent sessions for this repository. The umbrella is picker-visible; the worker is hidden and reachable only via the umbrella's agent tool fan-out.

PropertyUmbrella (physical-ai-rpi)Worker (physical-ai-rpi-worker)
Targetgithub-copilot (cloud-agent only)github-copilot (cloud-agent only)
PickerVisible (user-invocable: true, default)Hidden (user-invocable: false, disable-model-invocation: true)
Toolsread, edit, search, bash, agent, github/* write toolsread, edit, search, bash, read-only github/*
RoleOrchestrator: bootstrap verification, RPI procedure, persistenceContent-neutral executor: adopts upstream persona by name
PersistsPosts full phase artifacts as PR comments and maintains an "RPI Artifact Index" in the PR descriptionNone (umbrella owns PR comments and PR description)

The two-agent split exists because cloud-agent surface constraints cannot be satisfied with a single profile:

  • Picker visibility versus hiding. A profile is either selectable or not. The umbrella must surface in the picker; the worker must stay hidden so only the umbrella can dispatch it.
  • Subagent context isolation. The cloud-agent agent tool runs each dispatch target in a fresh context window. The umbrella needs that isolation when fanning out to upstream researcher-subagent and phase-implementor personas — without it, every research finding and implementation diff would pollute the orchestrator context.
  • Decoupling from microsoft/hve-core's subagent roster. The worker takes a persona: <stem> parameter and resolves it to .copilot-tracking/upstream/hve-core-rpi/subagents/<persona>.agent.md at dispatch time. New upstream personas auto-onboard via the next bootstrap with no PR in this repo.
  • Different tool grants. The umbrella holds github write tools for per-phase PR comments; the worker is read-only on github and never commits. Merging them would leak orchestrator write authority into every research and implementation invocation.

Upstream RPI persona bodies are downloaded into the workspace by .github/workflows/copilot-setup-steps.yml (Bootstrap hve-core RPI persona step). The umbrella body reads _audit.md for the resolved microsoft/hve-core@main SHA and fails fast with a PR comment if the bootstrap is missing.

📝 Instructions

Instructions activate automatically when files matching their applyTo pattern appear in the chat context.

NameApplies ToPurpose
Commit Messages**Conventional Commits format, scopes, line-length limits
Dataviewerdata-management/viewer/**SOLID principles, test-first, validation commands
Docs Style and Conventions**/*.mdDocument hierarchy, tables, voice/tone, frontmatter
Shell Scripts**/*.shScript template, library functions, deployment patterns

⚡ Prompts

Prompts are slash commands invoked via / in the chat input. Each prompt targets a specific agent.

CommandAgent TargetRequired Inputs
/chatlogGenericNone
/check-training-statusOSMO Training ManagerworkflowId (optional)
/start-dataviewerDataviewer DeveloperdatasetPath
/submit-lerobot-trainingOSMO Training Managerdataset (required)

🛠️ Skills

Skills provide multi-file capabilities with progressive 3-level loading: discovery (frontmatter only) → instructions (SKILL.md body) → resources (bundled reference files).

dataviewer

PropertyValue
Directory.github/skills/dataviewer/
Resourcesreferences/PLAYWRIGHT.md (selectors, interaction recipes, API endpoints)
Used byDataviewer Developer agent

osmo-lerobot-training

PropertyValue
Directory.github/skills/osmo-lerobot-training/
Resourcesreferences/DEFAULTS.md (env, datasets, GPU profiles), references/REFERENCE.md (CLI, inference, AzureML navigation)
Used byOSMO Training Manager agent

🔄 Workflow Chains

Agents compose prompts and skills into end-to-end workflows:

OSMO Training Manager (agent)
├── /submit-lerobot-training (prompt)
├── /check-training-status (prompt)
└── osmo-lerobot-training (skill)
├── references/DEFAULTS.md
└── references/REFERENCE.md

Dataviewer Developer (agent)
├── /start-dataviewer (prompt)
└── dataviewer (skill)
└── references/PLAYWRIGHT.md

Standalone:
└── /chatlog (prompt, generic)

➕ Adding New Artifacts

VS Code provides generator commands for scaffolding new artifacts:

  • /create-agent — Create a new custom agent
  • /create-instruction — Create a new instruction file
  • /create-prompt — Create a new prompt file
  • /create-skill — Create a new agent skill

Place new artifacts in the corresponding .github/ subdirectory and update this inventory page.

For broader project context, see these companion guides:


Crafted with precision by Copilot following brilliant human instruction, then carefully refined by our team of discerning human reviewers.