ugrc-lsof-warning-filter

ugrc-lsof-warning-filter is a skill for Claude Code, Codex from agrc/agent-skills. It costs 23 tokens per session (350 once invoked), scanned A, original, MIT.

A small project change that wraps Firebase emulator startup in a shell script and hides selected macOS `lsof` warnings. Firebase emulators are local versions of Firebase services used for development.

In plain words
What is it for?
It helps update project scripts, add the warning-filtering wrapper, and check that the shell script and Firebase commands are valid.
Why use it?
It keeps useful emulator output visible without filling the terminal with repetitive warning messages. Existing Firebase command options remain in use.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps update project scripts, add the warning-filtering wrapper, and check that the shell script and Firebase commands are valid.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agrc/agent-skills/ugrc-lsof-warning-filter
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add agrc/agent-skills --skill ugrc-lsof-warning-filter
Clone the repo
git clone --depth 1 https://github.com/agrc/agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ugrc-lsof-warning-filter

README.md
[![agentmods](https://agentmods.dev/badge/skills/agrc/agent-skills/ugrc-lsof-warning-filter/github.svg)](https://agentmods.dev/skills/agrc/agent-skills/ugrc-lsof-warning-filter)
Your own site
<a href="https://agentmods.dev/skills/agrc/agent-skills/ugrc-lsof-warning-filter"><img src="https://agentmods.dev/badge/skills/agrc/agent-skills/ugrc-lsof-warning-filter/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ugrc-lsof-warning-filter

Your own site · 80×15
<a href="https://agentmods.dev/skills/agrc/agent-skills/ugrc-lsof-warning-filter"><img src="https://agentmods.dev/badge/skills/agrc/agent-skills/ugrc-lsof-warning-filter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 350 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00023 $0.00350
Opus 5.5 $0.00009 $0.00140
Sonnet 5.5 $0.00005 $0.00070
Haiku 4.5 $0.00002 $0.00035

Measured 3mo ago against content hash 5fe06d5b4615, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ugrc-lsof-warning-filter scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/ugrc-lsof-warning-filter/SKILL.md · 34 lines

What it actually says

I’m seeing lots of lsof warnings in my terminal when I start the Firebase emulators in this project. Please:

  1. Inspect the project to find every existing firebase emulators:start invocation, especially in package.json scripts.
  2. Create a bash script wrapper that starts the emulators but filters out only the noisy lsof-related warnings from stderr, similar to this pattern:
#!/bin/bash

# Keep Firebase emulator output intact while filtering noisy macOS lsof warnings.
args=()

for arg in "$@"; do
  if [[ "$arg" != "--" ]]; then
    args+=("$arg")
  fi
done

firebase emulators:start "${args[@]}" 2> >(grep -Ev 'lsof|Output information may be incomplete|assuming "dev=.*" from mount table' >&2)
  1. Preserve the exact Firebase CLI arguments already used by this project so no existing functionality is lost.
  2. Replace the direct Firebase emulator CLI calls in package.json with calls to the new script.
  3. Make the smallest change possible and keep the project’s existing style and structure.
  4. Validate the result with a focused check, preferably by verifying the script syntax and confirming the updated package scripts still invoke Firebase correctly without changing their behavior.
  5. Tell me exactly what changed and note any caveats.

If the project uses multiple emulator commands with different flags, the script should support forwarding those arguments correctly. If needed, place the script in a sensible repo location like scripts/firebase-emulators.sh.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 34 lines · 23 tokens per session scan A 5fe06d5b4615

Subscribe to this mod's changes

ugrc-lsof-warning-filter is a skill published in the GitHub repository agrc/agent-skills (2 stars, last pushed 2mo ago), licensed MIT. It adds 23 tokens to every session and 350 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

ugrc-lsof-warning-filter compared with skills from other repositories

ugrc-lsof-warning-filter next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ugrc-lsof-warning-filteragrc/agent-skillsSkill22mo agoMITA23Claude Code, Codex
api-gateway-troubleshootinggoogle/skillsSkill25ktodayApache-2.0A196Claude Code, Codex
pathways-workloadgoogle/skillsSkill25ktodayApache-2.0A178Claude Code, Codex
gke-workload-scaling-troubleshootinggoogle/skillsSkill25ktodayApache-2.0A170Claude Code, Codex
gke-ai-troubleshooting-jobset-interruptiongoogle/skillsSkill25ktodayApache-2.0A83Claude Code, Codex
gke-node-notreadygoogle/skillsSkill25ktodayApache-2.0A112Claude Code, Codex
bigquery-troubleshootinggoogle/skillsSkill25ktodayApache-2.0A140Claude Code, Codex