pilotswarm-perf
Skill14 starsChanged 8 months agoMITView on GitHub
Run and analyze PilotSwarm performance workflows, starting with SDK sub-agent spawn perf. Use when collecting fresh perf baselines, comparing runs, generating stable perf reports, or updating perf memory and next steps.
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 7 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill when the user wants performance numbers or follow-up analysis for this repository.
- Distinctive: line 10
Keep the workflow deterministic.
- Very specific: line 26
If the user wants fresh numbers, run npm run perf:spawn from repo root.
- Very specific: line 27
Treat npm run perf:spawn as the source of truth: it must generate latest.*, append history, and update perf/memory/perf-agent-memory.md …
- Very specific: line 30
If you add deeper interpretation beyond the generated memory, refine perf/memory/perf-agent-memory.md so the next run starts from the …
- Distinctive: line 35
Prefer repo scripts over ad hoc shell pipelines.
- Distinctive: line 36
Do not change perf assertions just to make results look better.
- Very specific: line 37
Treat latest.* files as generated outputs.
- Distinctive: line 38
Keep memory concise and cumulative.
- Distinctive: line 39
If worktree changes may affect perf validity, call that out explicitly in both the response and the memory file.
- Distinctive: line 43
If you add another perf surface later, give it all of the following:
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
PilotSwarm Perf
Use this skill when the user wants performance numbers or follow-up analysis for this repository.
Keep the workflow deterministic. Fresh numbers should come from repo-owned runners, and conclusions should be written back into repo memory.
Canonical Files
- Perf agent memory:
perf/memory/perf-agent-memory.md - Spawn perf runner:
scripts/perf/run-sdk-spawn-perf.mjs - Spawn perf command:
npm run perf:spawn - Raw spawn perf test:
packages/sdk/test/perf/spawn.perf.test.js - Perf Vitest config:
packages/sdk/vitest.perf.config.js - Latest generated report:
perf/reports/spawn/latest.md - Latest generated metrics:
perf/reports/spawn/latest.json - Historical run index:
perf/reports/spawn/history/index.json
Workflow
- Read
perf/memory/perf-agent-memory.md. - If the user wants fresh numbers, run
npm run perf:spawnfrom repo root. - Treat
npm run perf:spawnas the source of truth: it must generatelatest.*, append history, and updateperf/memory/perf-agent-memory.mdautomatically. - Base the analysis on
perf/reports/spawn/latest.jsonandperf/reports/spawn/latest.md, not on terminal snippets alone. - Compare the latest run against the prior latest run if the generated report includes a comparison section.
- If you add deeper interpretation beyond the generated memory, refine
perf/memory/perf-agent-memory.mdso the next run starts from the updated hypotheses and next steps. - In the user-facing summary, include exact measurements, notable comparisons, and the next recommended experiment or optimization.
Rules
- Prefer repo scripts over ad hoc shell pipelines.
- Do not change perf assertions just to make results look better.
- Treat
latest.*files as generated outputs. - Keep memory concise and cumulative. Replace stale hypotheses with confirmed findings when possible.
- If worktree changes may affect perf validity, call that out explicitly in both the response and the memory file.
Extending Perf Coverage
If you add another perf surface later, give it all of the following:
- a dedicated perf test under
packages/*/test/perf/ - a deterministic runner under
scripts/perf/ - generated outputs under
perf/reports/<surface>/ - a memory update in
perf/memory/perf-agent-memory.md
In this repository50 other files it gives its agents.
- packages/sdk/examples/repo-workspaces/seed/home/AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- agent-repair-loopSkill
- duroxide-orchestration-versioningSkill
- editorial-standardsSkill
- finance-research-standardsSkill
- valuation-methodsSkill
- pilotswarm-architectureSkill
- deployment-safetySkill
- incident-responseSkill
- add-activitySkill
- add-eventSkill
- add-testSkill
- add-toolSkill
- agent-versioningSkill
- azure-ps-test-runner-vmSkill
- debug-orchestrationSkill
- debug-testSkill
- horizondb-idiosyncrasiesSkill
- horizon-facts-eval-sweepSkill
- investigate-duroxide-runtimeSkill
- pilotswarm-aks-deploySkill
- pilotswarm-aks-resetSkill
- pilotswarm-new-env-deploySkill
- pilotswarm-portal-app-regSkill
- pilotswarm-portal-auth-assignmentsSkill
- pilotswarm-releaseSkill
- pilotswarm-tuiSkill
- pilotswarm-vpn-client-profileSkill
- schema-migrationSkill
- notesSkill
- share-a-fileSkill
- cost-latency-analysisSkill
- graph-debugSkill
- orchestration-session-lifecycleSkill
- resourcemgrSkill
- sweeperSkill
- canvas-appsSkill
- html-visualsSkill
- pilotswarm-agent-versioningSkill
- pilotswarm-aks-identitySkill
- pilotswarm-azure-deployerSkill
- pilotswarm-azure-lessonsSkill
- pilotswarm-cli-builderSkill
- pilotswarm-duroxide-versioningSkill
- pilotswarm-hybrid-datastoreSkill
- pilotswarm-knowledge-harvesterSkill
- pilotswarm-portal-builderSkill
- pilotswarm-sdk-builderSkill
- pilotswarm-three-tierSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

