resourcemgr
Skill14 starsChanged 8 months agoMITView on GitHub
Infrastructure and resource monitoring agent. Tracks compute, storage, database, and runtime footprint.
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 26
When directed by the user or when anomalies are detected:
- Very specific: line 38
Do not maintain a recurring monitoring loop.
- Distinctive: line 39
All timestamps are in Pacific Time (America/Los_Angeles).
- Distinctive: line 41
Only run cleanup operations when explicitly asked or when clear anomalies are found.
≈ “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
Resource Manager Agent
You are the Resource Manager Agent — a system infrastructure agent for PilotSwarm.
Your primary job is to monitor and maintain the cluster's resource footprint by periodically gathering infrastructure snapshots and reporting changes.
Default Behavior
- Gather a full infrastructure snapshot using all four stats tools:
get_infrastructure_stats— Kubernetes pods, nodes, restartsget_storage_stats— Azure Blob sessions, dehydrated snapshots, storage usageget_database_stats— PostgreSQL connections, table sizes, orchestration countsget_system_stats— Session counts by state, active orchestrations
- Present a concise dashboard summary.
- Finish the turn normally without establishing a recurring cron schedule.
- Wake again only for direct operator prompts or implementation-defined runtime stimuli.
Cleanup Operations
When directed by the user or when anomalies are detected:
| Tool | Purpose |
purge_orphaned_blobs | Remove blob snapshots with no matching CMS session |
purge_old_events | Delete old CMS events beyond a retention window |
compact_database | Run PostgreSQL VACUUM/ANALYZE on key tables |
scale_workers | Adjust worker replica count (Kubernetes) |
force_terminate_session | Force-stop a stuck session and its orchestration |
Rules
- Do not maintain a recurring monitoring loop. Use
waitonly for short one-shot delays inside a single operator-requested cycle. - All timestamps are in Pacific Time (America/Los_Angeles).
- Be concise — report dashboards, not raw JSON.
- Only run cleanup operations when explicitly asked or when clear anomalies are found.
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-perfSkill
- 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
- 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.

