{"actions":{"bootstrapAndRun":{"effect":"installs rote if missing, inspects, prepares, and asks before running","href":"https://play.modiqo.ai/install?play=dotisacat/agent-resource-audit@0.2.1","method":"GET","rel":"https://rote.dev/rels/bootstrap-and-run","requiresConsent":true,"responseMediaType":"text/x-shellscript"},"inspect":{"command":"rote play inspect https://play.modiqo.ai/dotisacat/agent-resource-audit@0.2.1","effect":"read-only"},"installCliOnly":{"effect":"installs the rote CLI, nothing else","href":"https://play.modiqo.ai/install","method":"GET","rel":"https://rote.dev/rels/install-cli","requiresConsent":true,"responseMediaType":"text/x-shellscript"},"run":{"command":"rote play run https://play.modiqo.ai/dotisacat/agent-resource-audit@0.2.1","effect":"executes the play locally after consent","headless":{"approvalAssertion":"--yes","approvalRequiredBeforeInvocation":true,"commandTemplate":"rote play run https://play.modiqo.ai/dotisacat/agent-resource-audit@0.2.1 <name=value...> --yes","stdinPolicy":"never pipe input to automate the interactive Ready selector"},"requiresConsent":true}},"description":"Reports every agent-related process running on THIS machine right now -- Claude Code, Codex, Cursor and Windsurf helpers, Copilot, Aider, opencode, gemini-cli, MCP servers, codex-companion, and rote play or proc child processes -- grouped into harness-cli, desktop-app, mcp-server, companion, known-daemon, or helper, each with its resident memory, CPU percent, and age, ranked by memory alongside the total agent memory footprint against total system RAM. Two roots enumerate the process table and read total RAM in parallel, then one join step classifies and ranks. A process is only ever labeled orphan-suspect under a conservative rule -- reparented to launchd (ppid 1), agent-shaped (harness-cli, mcp-server, or companion), and running more than ten minutes -- never a certainty, and known daemons and desktop-app helpers are excluded from that label outright. The only signals collected are pid, ppid, resident memory, CPU percent, elapsed time, and the first 200 characters of the command line, plus (for the sessions","distribution":{"digest":"sha256:49b89ddd9118b07fb8a8aec96cbf73711fea76ce483ea82b547d968dc153ad0d","mediaType":"application/vnd.modiqo.rote-flow","size":67560,"verifiedBy":"rote verifies the downloaded archive against this digest before it runs"},"effects":{"credentialsProvidedBy":"runner","credentialsRemainLocal":true,"declaredWrites":[],"publisherReceivesCredentials":false},"id":"https://play.modiqo.ai/dotisacat/agent-resource-audit@0.2.1","inputPolicy":{"optionalWithDefault":"show_default_and_accept_override","optionalWithoutDefault":"omit_unless_supplied","required":"ask","secrets":"collect_locally_outside_conversation"},"links":{"docs":"https://rote.dev","page":"https://play.modiqo.ai/dotisacat/agent-resource-audit@0.2.1","protocol":"https://play.modiqo.ai/.well-known/rote","self":"https://play.modiqo.ai/dotisacat/agent-resource-audit@0.2.1.json"},"name":"agent-resource-audit","owner":{"kind":"user","slug":"dotisacat"},"parameters":[{"default":15,"description":"How many processes to show, ranked by memory (1-100)","example":15,"input":{"allowCustom":true,"choices":[],"label":"Top"},"name":"top","required":false,"type":"integer"},{"default":25,"description":"Only report processes holding at least this many MB of resident memory (0-4096)","example":25,"input":{"allowCustom":true,"choices":[],"label":"Min rss mb"},"name":"min_rss_mb","required":false,"type":"integer"},{"default":20,"description":"A running session with no transcript activity for this many minutes counts as idle (1-1440)","example":20,"input":{"allowCustom":true,"choices":[],"label":"Idle minutes"},"name":"idle_minutes","required":false,"type":"integer"},{"default":30,"description":"List on-disk sessions newer than this (1-365)","example":30,"input":{"allowCustom":true,"choices":[],"label":"Max age days"},"name":"max_age_days","required":false,"type":"integer"},{"default":"all","description":"Which harness sessions to scan -- valid values are all, claude, or codex","example":"all","input":{"allowCustom":true,"choices":[],"label":"Harness"},"name":"harness","required":false,"type":"string"}],"preparation":[{"action":{"command":"rote play inspect https://play.modiqo.ai/dotisacat/agent-resource-audit@0.2.1 --json","effect":"read-only"},"step":1,"type":"inspect_local_readiness"},{"references":["/parameters"],"step":2,"type":"collect_parameters"},{"references":["/parameters","/requirements","/effects"],"step":3,"type":"review"},{"consentBoundary":"the user approves the exact play and parameter values","references":["/parameters","/requirements","/effects"],"step":4,"type":"obtain_run_consent"},{"action":{"command":"rote play run https://play.modiqo.ai/dotisacat/agent-resource-audit@0.2.1","headlessCommandTemplate":"rote play run https://play.modiqo.ai/dotisacat/agent-resource-audit@0.2.1 <name=value...> --yes"},"preservesAcquisitionBoundaries":["adapter_selection","oauth_dcr","google_discovery","static_token_setup","runtime_security_checks"],"requiresConsent":true,"step":5,"type":"run"}],"producedBy":{"roteVersion":"0.77.0"},"publishedAt":"2026-09-02T21:13:37.016541+00:00","reference":"dotisacat/agent-resource-audit@0.2.1","requirements":{"adapters":[],"browser":{"dependencies":[],"runtime":false,"signIn":false},"localTools":["python3"],"roteCli":{"minimumVersion":"0.62.0"},"sessions":false},"resolution":"pinned","schema":"rote.play.v1","stats":{"downloads":2,"installs":0},"steps":{"count":4,"names":["classify_and_rank","enumerate_processes","scan_sessions","system_memory"]},"title":"agent-resource-audit","type":"play","version":"0.2.1","visibility":"public"}